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

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt

Issue 206223005: Forbid setting responseType on all sync XHRs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: waitUntilDone Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt
diff --git a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt
index e3a66363ce22e9009ee91b55fd9f2fdcf0976bab..ae9b46e4c22804de88088c2e8d4702dac902997f 100644
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt
@@ -6,10 +6,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed to set the 'responseType' property on 'XMLHttpRequest': The response type can only be changed for asynchronous HTTP requests made from a document..
PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed to set the 'responseType' property on 'XMLHttpRequest': The response type can only be changed for asynchronous HTTP requests made from a document..
PASS window.location.protocol is "file:"
-xhr.responseType = 'document';
-PASS xhr.responseType is "document"
-xhr.responseType = 'document';
-PASS xhr.responseType is "document"
+PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed to set the 'responseType' property on 'XMLHttpRequest': The response type can only be changed for asynchronous HTTP requests made from a document..
+PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed to set the 'responseType' property on 'XMLHttpRequest': The response type can only be changed for asynchronous HTTP requests made from a document..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request.html ('k') | Source/core/fetch/ResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698