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 ca0abd25344f26acb395ea4bbd5c3420e1c89fa2..ef6aaf277f5c5518b5511b5b7713de64b0616fe0 100644 |
--- a/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt |
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt |
@@ -1,12 +1,10 @@ |
-CONSOLE MESSAGE: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context. |
-CONSOLE MESSAGE: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context. |
This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS xhr.responseType = 'document'; threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object.. |
-PASS xhr.responseType = 'document'; threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object.. |
+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" |