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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-sync-expected.txt

Issue 1300083002: Add suggestion to use "no-cors" with Fetch fails CORS check. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch CORS error expectation files to include message about Fetch CORS. Created 5 years, 4 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: 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 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. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.
3 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.
4 4
5 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 ".
6 6
7 7
8 PASS postedMimeType is "text/plain;charset=utf-8" 8 PASS postedMimeType is "text/plain;charset=utf-8"
9 PASS postedMimeType === undefined is true 9 PASS postedMimeType === undefined is true
10 PASS postedMimeType === undefined is true 10 PASS postedMimeType === undefined is true
11 PASS postedMimeType === undefined is true 11 PASS postedMimeType === undefined is true
12 PASS postedMimeType === undefined is true 12 PASS postedMimeType === undefined is true
13 PASS postedMimeType === undefined is true 13 PASS postedMimeType === undefined is true
14 PASS postedMimeType === undefined is true 14 PASS postedMimeType === undefined is true
15 PASS postedMimeType === undefined is true 15 PASS postedMimeType === undefined is true
16 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\"" 16 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
17 PASS postedMimeType === undefined is true 17 PASS postedMimeType === undefined is true
18 PASS postedMimeType === undefined is true 18 PASS postedMimeType === undefined is true
19 PASS Exception should be thrown. 19 PASS Exception should be thrown.
20 PASS Exception should be thrown. 20 PASS Exception should be thrown.
21 PASS postedMimeType is "text/plain;charset=utf-8" 21 PASS postedMimeType is "text/plain;charset=utf-8"
22 PASS postedMimeType is "text/plain;charset=utf-8" 22 PASS postedMimeType is "text/plain;charset=utf-8"
23 PASS postedMimeType === undefined is true 23 PASS postedMimeType === undefined is true
24 PASS postedMimeType === undefined is true 24 PASS postedMimeType === undefined is true
25 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\"" 25 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
26 PASS Exception should be thrown. 26 PASS Exception should be thrown.
27 PASS postedMimeType === undefined is true 27 PASS postedMimeType === undefined is true
28 PASS successfullyParsed is true 28 PASS successfullyParsed is true
29 29
30 TEST COMPLETE 30 TEST COMPLETE
31 31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698