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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/zero-length-response-sync-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month 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 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 Test for bug 5924 - zero-length responses to XMLHTTPRequest mishandled. 2 Test for bug 5924 - zero-length responses to XMLHTTPRequest mishandled.
2 3
3 after creation: Uninitialized 4 after creation: Uninitialized
4 ResponseText: "" 5 ResponseText: ""
5 after setting onreadystatechange: Uninitialized 6 after setting onreadystatechange: Uninitialized
6 after open(): Open 7 after open(): Open
7 after overrideMimeType(): Open 8 after overrideMimeType(): Open
8 after send(): Loaded 9 after send(): Loaded
9   Status: 200 10   Status: 200
10   StatusText: "OK" 11   StatusText: "OK"
11   ResponseText: "" 12   ResponseText: ""
12   ResponseXML: null 13   ResponseXML: null
13   ResponseXML serialized: n/a 14   ResponseXML serialized: n/a
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698