Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / origin-exact-matching / 11-expected.txt
1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:://localhost:8000'. 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: A network error occurred..
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17