Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / platform / mac / http / tests / xmlhttprequest / origin-exact-matching / 36-expected.txt
1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%00http%3A%2F%2Flocalhost%3A8000. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
2
3
4 --------
5 Frame: '<!--framePath //<!--frame0-->-->'
6 --------
7 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
8
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
10
11
12 Should disallow origin: 'http://localhost:8000'
13 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=%00http%3A%2F%2Flocalhost%3A8000'..
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17