CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%00. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.


--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Should disallow origin: 'http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%00'..
PASS successfullyParsed is true

TEST COMPLETE


CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%00. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000\0' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.


--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Should disallow origin: 'http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%00'..
PASS successfullyParsed is true

TEST COMPLETE


Fix non-Mac 10.6 rebaseline of XHR test
Fix non-Mac 10.6 rebaseline of XHR test

BUG=
TBR=mkwst@chromium.org

Review URL: https://codereview.chromium.org/171533002

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@167372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
