| 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 ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/x
mlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-Ori
gin' header is present on the requested resource. Origin 'http://127.0.0.1:8000'
is therefore not allowed access. | 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/x
mlhttprequest-sync-vs-async-assertion-failure.html. No 'Access-Control-Allow-Ori
gin' header is present on the requested resource. Origin 'http://127.0.0.1:8000'
is therefore not allowed access. |
| 2 Test for: | 3 Test for: |
| 3 | 4 |
| 4 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; | 5 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; |
| 5 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an
async one from onreadystatechange. | 6 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an
async one from onreadystatechange. |
| 6 Step 1: Same origin request | 7 Step 1: Same origin request |
| 7 readystatechange 4 | 8 readystatechange 4 |
| 8 load | 9 load |
| 9 loadend | 10 loadend |
| 10 | 11 |
| 11 Step 2: Cross origin request, disallowed | 12 Step 2: Cross origin request, disallowed |
| 12 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http
://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.
html'. | 13 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http
://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.
html'. |
| 13 | 14 |
| 14 Step 3: Cross origin request, allowed | 15 Step 3: Cross origin request, allowed |
| 15 readystatechange 4 | 16 readystatechange 4 |
| 16 load | 17 load |
| 17 loadend | 18 loadend |
| 18 | 19 |
| 19 Step 4: Cross origin request, check that preflight isn't attempted | 20 Step 4: Cross origin request, check that preflight isn't attempted |
| 20 readystatechange 4 | 21 readystatechange 4 |
| 21 load | 22 load |
| 22 loadend | 23 loadend |
| 23 | 24 |
| OLD | NEW |