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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-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: Updated patch with reset -expected.txt files. Created 6 years, 2 months 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: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/access-control-allow-lists.php. 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/access-control-allow-lists.php. 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 Test verifies that content MIME type is set correctly when Blob is sent using XM LHttpRequest synchronously. 3 Test verifies that content MIME type is set correctly when Blob is sent using XM LHttpRequest synchronously.
3 4
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 6
6 7
7 PASS postedMimeType is "text/plain;charset=utf-8" 8 PASS postedMimeType is "text/plain;charset=utf-8"
8 PASS postedMimeType is "" 9 PASS postedMimeType is ""
9 PASS postedMimeType is "" 10 PASS postedMimeType is ""
10 PASS postedMimeType is "" 11 PASS postedMimeType is ""
(...skipping 10 matching lines...) Expand all
21 PASS postedMimeType is "text/plain;charset=utf-8" 22 PASS postedMimeType is "text/plain;charset=utf-8"
22 PASS postedMimeType is "" 23 PASS postedMimeType is ""
23 PASS postedMimeType is "" 24 PASS postedMimeType is ""
24 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\"" 25 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
25 PASS Exception should be thrown. 26 PASS Exception should be thrown.
26 PASS postedMimeType is "" 27 PASS postedMimeType is ""
27 PASS successfullyParsed is true 28 PASS successfullyParsed is true
28 29
29 TEST COMPLETE 30 TEST COMPLETE
30 31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698