OLD | NEW |
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck http://xhr.spec.whatwg.org/. | 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck http://xhr.spec.whatwg.org/. |
2 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%3F47. The 'Access-
Control-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/r
esources/origin-exact-matching-iframe.html?47' 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=http%3A%2F%2Flocalhost%3A8000%2Fx
mlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html%3F47. The 'Access-
Control-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/r
esources/origin-exact-matching-iframe.html?47' that is not equal to the supplied
origin. Origin 'http://localhost:8000' is therefore not allowed access. Either
change the header, or, if you want an opaque response, use the Fetch API in 'no-
cors' mode. |
3 | 3 |
4 | 4 |
5 -------- | 5 -------- |
6 Frame: '<!--framePath //<!--frame0-->-->' | 6 Frame: '<!--framePath //<!--frame0-->-->' |
7 -------- | 7 -------- |
8 Check that exact matching is used when comparing a request's originating url and
the value provided by Access-Control-Allow-Origin. | 8 Check that exact matching is used when comparing a request's originating url and
the value provided by Access-Control-Allow-Origin. |
9 | 9 |
10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
11 | 11 |
12 | 12 |
13 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e
xact-matching-iframe.html?47' | 13 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e
xact-matching-iframe.html?47' |
14 PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'X
MLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/a
ccess-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequ
est%2Fresources%2Forigin-exact-matching-iframe.html%3F47'.. | 14 PASS xhr.send(null) threw exception NetworkError: Failed to execute 'send' on 'X
MLHttpRequest': Failed to load 'http://127.0.0.1:8000/xmlhttprequest/resources/a
ccess-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequ
est%2Fresources%2Forigin-exact-matching-iframe.html%3F47'.. |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 | 18 |
OLD | NEW |