diff options
author | nasko <nasko@chromium.org> | 2014-09-29 08:53:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-29 15:53:33 +0000 |
commit | 14c66460be23532452ae32f3546e5578ab48c590 (patch) | |
tree | 1dcbc6742951ec2691adf8d9ea1552d79b33bf3f /content/test/data/accessibility/aria-sort-expected-win.txt | |
parent | 488516f064c0f28e21d7748d583e4d61affafe89 (diff) | |
download | chromium_src-14c66460be23532452ae32f3546e5578ab48c590.zip chromium_src-14c66460be23532452ae32f3546e5578ab48c590.tar.gz chromium_src-14c66460be23532452ae32f3546e5578ab48c590.tar.bz2 |
Add /cross-site/ request handler to testserver.py
Adding this handler will make authoring tests which exercise cross-site navigations much easier. This is harder in the current codebase, because testserver runs on a random port each time it is ran which requires boilerplate code in each test that needs it. Instead of computing the real URL in C++ code, just navigate using "/cross-site/hostname/path/and/more" and the server will redirect to the new host.
This requires browser tests to map all hosts to localhost, which is done by adding 'host_resolver()->AddRule("*", "127.0.0.1");' to the beginning of the test.
BUG=418236
Review URL: https://codereview.chromium.org/612533002
Cr-Commit-Position: refs/heads/master@{#297182}
Diffstat (limited to 'content/test/data/accessibility/aria-sort-expected-win.txt')
0 files changed, 0 insertions, 0 deletions