| 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 WARNING: isValidHTTPHeaderValue() will be deprecated and will be removed
in future. |
| 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. | 3 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. |
| 3 Test for: | 4 Test for: |
| 4 | 5 |
| 5 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; | 6 bug 40996: Progress event should not be fired during synchronous XMLHttpRequest; |
| 6 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an
async one from onreadystatechange. | 7 bug 17502: Assertion failure when trying to restart a sync XMLHttpRequest as an
async one from onreadystatechange. |
| 7 Step 1: Same origin request | 8 Step 1: Same origin request |
| 8 readystatechange 4 | 9 readystatechange 4 |
| 9 load | 10 load |
| 10 loadend | 11 loadend |
| 11 | 12 |
| 12 Step 2: Cross origin request, disallowed | 13 Step 2: Cross origin request, disallowed |
| 13 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http
://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.
html'. | 14 NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http
://localhost:8000/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.
html'. |
| 14 | 15 |
| 15 Step 3: Cross origin request, allowed | 16 Step 3: Cross origin request, allowed |
| 16 readystatechange 4 | 17 readystatechange 4 |
| 17 load | 18 load |
| 18 loadend | 19 loadend |
| 19 | 20 |
| 20 Step 4: Cross origin request, check that preflight isn't attempted | 21 Step 4: Cross origin request, check that preflight isn't attempted |
| 21 readystatechange 4 | 22 readystatechange 4 |
| 22 load | 23 load |
| 23 loadend | 24 loadend |
| 24 | 25 |
| OLD | NEW |