OLD | NEW |
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r
esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. | 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r
esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. |
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r
esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. | 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r
esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. |
3 Test that upload progress events are not dispatched for simple cross-origin requ
ests (i.e. if the listener is set after calling send(), and there are no other r
easons to make a preflight request). | 3 Test that upload progress events are not dispatched for simple cross-origin requ
ests (i.e. if the listener is set after calling send(), and there are no other r
easons to make a preflight request). |
4 | 4 |
5 Test 1: The URL is allowed for cross-origin requests | 5 Test 1: The URL is allowed for cross-origin requests |
6 onprogress | 6 onprogress |
7 onload | 7 onload |
8 Response length: 8388608 | 8 Response length: 8388608 |
9 | 9 |
10 Test 2: The URL is not allowed for cross-origin requests | 10 Test 2: The URL is not allowed for cross-origin requests |
| 11 onprogress |
11 onerror (expected) | 12 onerror (expected) |
12 Response length: 0 | 13 Response length: 0 |
13 | 14 |
14 Test 3: The URL is not allowed for cross-origin requests and at least one upload
event is listened for before doing the send. | 15 Test 3: The URL is not allowed for cross-origin requests and at least one upload
event is listened for before doing the send. |
15 upload.onloadstart | 16 upload.onloadstart |
| 17 upload.onprogress |
16 upload.onerror (expected) | 18 upload.onerror (expected) |
| 19 onprogress |
17 onerror (expected) | 20 onerror (expected) |
18 Response length: 0 | 21 Response length: 0 |
19 | 22 |
OLD | NEW |