blob: 7cbb5be191c1ae55881c35422905ac518f5926cb [file] [log] [blame]
CONSOLE WARNING: line 49: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
CONSOLE ERROR: line 52: Access to XMLHttpRequest at 'http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Test verifies that content MIME type is set correctly when Blob is sent using XMLHttpRequest synchronously.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS postedMimeType is "text/plain;charset=utf-8"
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS Exception should be thrown.
PASS postedMimeType is "text/plain;charset=utf-8"
PASS postedMimeType is "text/plain;charset=utf-8"
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS postedMimeType is "multipart/mixed;boundary=\"--blob-boundary\""
PASS postedMimeType === undefined is true
PASS postedMimeType === undefined is true
PASS successfullyParsed is true
TEST COMPLETE