Support specifying port for EmbeddedTestServer
Adds the ability for the native and Java versions of EmbeddedTestServer to be started using a specified port instead of always using an auto selected one. The use case that prompted this is pixel tests in VR, which need to use the test server (instead of file URLs) in order to grant permissions to pages, but need the URL to remain constant so that captured images don't differ between test runs. Bug: 883940 Change-Id: I7c0fa1a86cdf15d0e3271de6722d315a0191327a Reviewed-on: https://chromium-review.googlesource.com/1225304Reviewed-by:Zhongyi Shi <zhongyi@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#591389}
Showing
Please register or sign in to comment