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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/post-blob-content-type-async-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 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. 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. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode.
2 Test verifies that content MIME type is set correctly when Blob is sent using XM LHttpRequest asynchronously. 2 Test verifies that content MIME type is set correctly when Blob is sent using XM LHttpRequest asynchronously.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS postedMimeType is "text/plain;charset=utf-8" 7 PASS postedMimeType is "text/plain;charset=utf-8"
8 PASS postedMimeType === undefined is true 8 PASS postedMimeType === undefined is true
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 is "multipart/mixed;boundary=\"--blob-boundary\"" 15 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
16 PASS postedMimeType === undefined is true 16 PASS postedMimeType === undefined is true
17 PASS postedMimeType === undefined is true 17 PASS postedMimeType === undefined is true
18 PASS Exception should be thrown. 18 PASS Exception should be thrown.
19 PASS Cross-origin request without CORS headers should fail. 19 PASS Cross-origin request without CORS headers should fail.
20 PASS postedMimeType is "text/plain;charset=utf-8" 20 PASS postedMimeType is "text/plain;charset=utf-8"
21 PASS postedMimeType is "text/plain;charset=utf-8" 21 PASS postedMimeType is "text/plain;charset=utf-8"
22 PASS postedMimeType === undefined is true 22 PASS postedMimeType === undefined is true
23 PASS postedMimeType === undefined is true 23 PASS postedMimeType === undefined is true
24 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\"" 24 PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
25 PASS Exception should be thrown. 25 PASS Exception should be thrown.
26 PASS postedMimeType === undefined is true 26 PASS postedMimeType === undefined is true
27 PASS successfullyParsed is true 27 PASS successfullyParsed is true
28 28
29 TEST COMPLETE 29 TEST COMPLETE
30 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698