Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: LayoutTests/platform/linux/http/tests/xmlhttprequest/origin-exact-matching-expected.txt

Issue 109773002: Improve precision of error messages from failed CORS checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A800 0. The 'Access-Control-Allow-Origin' whitelists only 'http://www2.localhost:8000 '. Origin 'http://localhost:8000' is not in the list, and is therefore not allow ed access. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A800 0. The 'Access-Control-Allow-Origin' header has a value 'http://www2.localhost:8 000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000. The 'Acce ss-Control-Allow-Origin' header contains the invalid value '//localhost:8000'. O rigin 'http://localhost:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000. The 'Acce ss-Control-Allow-Origin' header contains the invalid value '//localhost:8000'. O rigin 'http://localhost:8000' is therefore not allowed access.
3 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000. The 'A ccess-Control-Allow-Origin' header contains the invalid value '://localhost:8000 '. Origin 'http://localhost:8000' is therefore not allowed access. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000. The 'A ccess-Control-Allow-Origin' header contains the invalid value '://localhost:8000 '. Origin 'http://localhost:8000' is therefore not allowed access.
4 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' whitelists only 'ftp://localhost:8000'. Origin 'h ttp://localhost:8000' is not in the list, and is therefore not allowed access. 4 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'ftp://localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore n ot allowed access.
5 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:://lo calhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access. 5 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:://lo calhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
6 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000. The ' Access-Control-Allow-Origin' whitelists only 'http:/localhost:8000'. Origin 'htt p://localhost:8000' is not in the list, and is therefore not allowed access. 6 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000. The ' Access-Control-Allow-Origin' header has a value 'http:/localhost:8000' that is n ot equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
7 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000. The 'Acc ess-Control-Allow-Origin' whitelists only 'http:localhost:8000'. Origin 'http:// localhost:8000' is not in the list, and is therefore not allowed access. 7 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000. The 'Acc ess-Control-Allow-Origin' header has a value 'http:localhost:8000' that is not e qual to the supplied origin. Origin 'http://localhost:8000' is therefore not all owed access.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=localhost%3A8000. The 'Access-Con trol-Allow-Origin' whitelists only 'localhost:8000'. Origin 'http://localhost:80 00' is not in the list, and is therefore not allowed access. 8 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=localhost%3A8000. The 'Access-Con trol-Allow-Origin' header has a value 'localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
9 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3F. The 'Access-Control-Allow-Origin' whitelists only 'http://localhost:8000?'. Ori gin 'http://localhost:8000' is not in the list, and is therefore not allowed acc ess. 9 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3F. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000?' t hat is not equal to the supplied origin. Origin 'http://localhost:8000' is there fore not allowed access.
10 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2F. The 'Access-Control-Allow-Origin' whitelists only 'http://localhost:8000/'. Ori gin 'http://localhost:8000' is not in the list, and is therefore not allowed acc ess. 10 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2F. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000/' t hat is not equal to the supplied origin. Origin 'http://localhost:8000' is there fore not allowed access.
11 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%20% 2F. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:// localhost:8000 /'. Origin 'http://localhost:8000' is therefore not allowed acces s. 11 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%20% 2F. The 'Access-Control-Allow-Origin' header contains multiple values 'http://lo calhost:8000 /', but only one is allowed. Origin 'http://localhost:8000' is ther efore not allowed access.
12 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%23. The 'Access-Control-Allow-Origin' whitelists only 'http://localhost:8000#'. Ori gin 'http://localhost:8000' is not in the list, and is therefore not allowed acc ess. 12 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%23. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000#' t hat is not equal to the supplied origin. Origin 'http://localhost:8000' is there fore not allowed access.
13 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%252 3. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://l ocalhost:8000%23'. Origin 'http://localhost:8000' is therefore not allowed acces s. 13 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%252 3. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://l ocalhost:8000%23'. Origin 'http://localhost:8000' is therefore not allowed acces s.
14 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3A8 0. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://l ocalhost:8000:80'. Origin 'http://localhost:8000' is therefore not allowed acces s. 14 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3A8 0. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://l ocalhost:8000:80'. Origin 'http://localhost:8000' is therefore not allowed acces s.
15 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C% 20*. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:/ /localhost:8000, *'. Origin 'http://localhost:8000' is therefore not allowed acc ess. 15 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C% 20*. The 'Access-Control-Allow-Origin' header contains multiple values 'http://l ocalhost:8000, *', but only one is allowed. Origin 'http://localhost:8000' is th erefore not allowed access.
16 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=HTTP%3A%2F%2FLOCALHOST%3A8000. Th e 'Access-Control-Allow-Origin' whitelists only 'HTTP://LOCALHOST:8000'. Origin 'http://localhost:8000' is not in the list, and is therefore not allowed access. 16 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=HTTP%3A%2F%2FLOCALHOST%3A8000. Th e 'Access-Control-Allow-Origin' header has a value 'HTTP://LOCALHOST:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
17 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=HTTP%3A%2F%2Flocalhost%3A8000. Th e 'Access-Control-Allow-Origin' whitelists only 'HTTP://localhost:8000'. Origin 'http://localhost:8000' is not in the list, and is therefore not allowed access. 17 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=HTTP%3A%2F%2Flocalhost%3A8000. Th e 'Access-Control-Allow-Origin' header has a value 'HTTP://localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
18 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=-. The 'Access-Control-Allow-Orig in' header contains the invalid value '-'. Origin 'http://localhost:8000' is the refore not allowed access. 18 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=-. The 'Access-Control-Allow-Orig in' header contains the invalid value '-'. Origin 'http://localhost:8000' is the refore not allowed access.
19 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=**. The 'Access-Control-Allow-Ori gin' header contains the invalid value '**'. Origin 'http://localhost:8000' is t herefore not allowed access. 19 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=**. The 'Access-Control-Allow-Ori gin' header contains the invalid value '**'. Origin 'http://localhost:8000' is t herefore not allowed access.
20 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%00*. No 'Access-Control-Allow-Or igin' header is present on the requested resource. Origin 'http://localhost:8000 ' is therefore not allowed access. 20 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%00*. No 'Access-Control-Allow-Or igin' header is present on the requested resource. Origin 'http://localhost:8000 ' is therefore not allowed access.
21 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%27*%27. The 'Access-Control-Allo w-Origin' header contains the invalid value ''*''. Origin 'http://localhost:8000 ' is therefore not allowed access. 21 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%27*%27. The 'Access-Control-Allo w-Origin' header contains the invalid value ''*''. Origin 'http://localhost:8000 ' is therefore not allowed access.
22 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%22*%22. The 'Access-Control-Allo w-Origin' header contains the invalid value '"*"'. Origin 'http://localhost:8000 ' is therefore not allowed access. 22 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%22*%22. The 'Access-Control-Allo w-Origin' header contains the invalid value '"*"'. Origin 'http://localhost:8000 ' is therefore not allowed access.
23 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%20*. The 'Access-Control-Allow- Origin' header contains the invalid value '* *'. Origin 'http://localhost:8000' is therefore not allowed access. 23 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%20*. The 'Access-Control-Allow- Origin' header contains multiple values '* *', but only one is allowed. Origin ' http://localhost:8000' is therefore not allowed access.
24 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2F*. The 'Access-Cont rol-Allow-Origin' header contains the invalid value '*http://*'. Origin 'http:// localhost:8000' is therefore not allowed access. 24 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2F*. The 'Access-Cont rol-Allow-Origin' header contains the invalid value '*http://*'. Origin 'http:// localhost:8000' is therefore not allowed access.
25 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2Flocalhost%3A8000. T he 'Access-Control-Allow-Origin' header contains the invalid value '*http://loca lhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access. 25 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*http%3A%2F%2Flocalhost%3A8000. T he 'Access-Control-Allow-Origin' header contains the invalid value '*http://loca lhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
26 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%20http%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. 26 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%20http%3A%2F%2Flocalhost%3A8000 . The 'Access-Control-Allow-Origin' header contains multiple values '* http://lo calhost:8000', but only one is allowed. Origin 'http://localhost:8000' is theref ore not allowed access.
27 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%2C%20http%3A%2F%2Flocalhost%3A8 000. The 'Access-Control-Allow-Origin' header contains the invalid value '*, htt p://localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed acc ess. 27 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=*%2C%20http%3A%2F%2Flocalhost%3A8 000. The 'Access-Control-Allow-Origin' header contains multiple values '*, http: //localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is th erefore not allowed access.
28 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%00http%3A%2F%2Flocalhost%3A8000. No 'Access-Control-Allow-Origin' header is present on the requested resource. O rigin 'http://localhost:8000' is therefore not allowed access. 28 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=%00http%3A%2F%2Flocalhost%3A8000. No 'Access-Control-Allow-Origin' header is present on the requested resource. O rigin 'http://localhost:8000' is therefore not allowed access.
29 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=null%20http%3A%2F%2Flocalhost%3A8 000. The 'Access-Control-Allow-Origin' header contains the invalid value 'null h ttp://localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed a ccess. 29 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=null%20http%3A%2F%2Flocalhost%3A8 000. The 'Access-Control-Allow-Origin' header contains multiple values 'null htt p://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
30 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net. The 'Ac cess-Control-Allow-Origin' whitelists only 'http://example.net'. Origin 'http:// localhost:8000' is not in the list, and is therefore not allowed access. 30 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net. The 'Ac cess-Control-Allow-Origin' header has a value 'http://example.net' that is not e qual to the supplied origin. Origin 'http://localhost:8000' is therefore not all owed access.
31 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net%20http%3 A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multi ple values 'http://example.net http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
32 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net%2C%20htt p%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains mu ltiple values 'http://example.net, http://localhost:8000', but only one is allow ed. Origin 'http://localhost:8000' is therefore not allowed access.
33 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origins=http%3A%2F%2Fexample.net,http%3A %2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multip le values 'http://example.net, http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
34 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origins=http%3A%2F%2Flocalhost%3A8000,ht tp%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains m ultiple values 'http://localhost:8000, http://localhost:8000', but only one is a llowed. Origin 'http://localhost:8000' is therefore not allowed access.
31 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=null. The 'Access-Control-Allow-O rigin' header contains the invalid value 'null'. Origin 'http://localhost:8000' is therefore not allowed access. 35 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=null. The 'Access-Control-Allow-O rigin' header contains the invalid value 'null'. Origin 'http://localhost:8000' is therefore not allowed access.
32 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=. No 'Access-Control-Allow-Origin ' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access. 36 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=. No 'Access-Control-Allow-Origin ' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
33 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Contr ol-Allow-Origin' whitelists only 'http://localhost:8000/xmlhttprequest/resources /origin-exact-matching-iframe.html'. Origin 'http://localhost:8000' is not in th e list, and is therefore not allowed access. 37 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Contr ol-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/resour ces/origin-exact-matching-iframe.html' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
34 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2F. The 'Access-Control-Allow-Origin' whitelists only 'http://localhost:8000/xmlhttprequest/resources/'. Origin 'http://localhost:8000 ' is not in the list, and is therefore not allowed access. 38 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2F. The 'Access-Control-Allow-Origin' header has a val ue 'http://localhost:8000/xmlhttprequest/resources/' that is not equal to the su pplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
35 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Contr ol-Allow-Origin' whitelists only 'http://localhost:8000/xmlhttprequest/resources /origin-exact-matching-iframe.html'. Origin 'http://localhost:8000' is not in th e list, and is therefore not allowed access. 39 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fx mlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Contr ol-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/resour ces/origin-exact-matching-iframe.html' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
36 40
37 41
38 -------- 42 --------
39 Frame: '<!--framePath //<!--frame0-->-->' 43 Frame: '<!--framePath //<!--frame0-->-->'
40 -------- 44 --------
41 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin. 45 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
42 46
43 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 47 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
44 48
45 49
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Should disallow origin: '* http://localhost:8000' 114 Should disallow origin: '* http://localhost:8000'
111 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 115 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
112 Should disallow origin: '*, http://localhost:8000' 116 Should disallow origin: '*, http://localhost:8000'
113 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 117 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
114 Should disallow origin: 'http://localhost:8000' 118 Should disallow origin: 'http://localhost:8000'
115 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 119 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
116 Should disallow origin: 'null http://localhost:8000' 120 Should disallow origin: 'null http://localhost:8000'
117 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 121 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
118 Should disallow origin: 'http://example.net' 122 Should disallow origin: 'http://example.net'
119 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 123 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
124 Should disallow origin: 'http://example.net http://localhost:8000'
125 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
126 Should disallow origin: 'http://example.net, http://localhost:8000'
127 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
128 Should disallow origin: 'http://example.net,http://localhost:8000'
129 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
130 Should disallow origin: 'http://localhost:8000,http://localhost:8000'
131 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
120 Should disallow origin: 'null' 132 Should disallow origin: 'null'
121 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 133 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
122 Should disallow origin: '' 134 Should disallow origin: ''
123 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 135 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
124 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html' 136 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html'
125 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 137 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
126 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/' 138 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/'
127 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 139 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
128 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html' 140 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html'
129 PASS xhr.send(null) threw exception NetworkError: A network error occurred.. 141 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
130 PASS successfullyParsed is true 142 PASS successfullyParsed is true
131 143
132 TEST COMPLETE 144 TEST COMPLETE
133 145
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698