Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / origin-exact-matching / 17-expected.txt
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%20%2F. The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8000 /', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
3
4
5 --------
6 Frame: '<!--framePath //<!--frame0-->-->'
7 --------
8 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
9
10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
11
12
13 Should disallow origin: 'http://localhost:8000 /'
14 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%20%2F'..
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18