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

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

Issue 1196423003: Improve console log message for CORS failure (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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. Received response but it doesn't pass t he access control check: No 'Access-Control-Allow-Origin' header is present on t he requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed a ccess.
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