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

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

Issue 23041002: Improve 'XMLHttpRequest' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ExceptionMessages. Created 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: XMLHttpRequest.responseType cannot be changed for synchronous H TTP(S) requests made from the window context.
2 CONSOLE MESSAGE: XMLHttpRequest.responseType cannot be changed for synchronous H TTP(S) requests made from the window context.
3 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests. 1 This tests that the XMLHttpRequest responseType attribute is not modifiable for synchronous HTTP(S) requests.
4 2
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 4
7 5
8 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: A parame ter or an operation was not supported by the underlying object.. 6 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': the response type can onl y be changed for asynchronous HTTP requests made from a document..
9 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: A parame ter or an operation was not supported by the underlying object.. 7 PASS xhr.responseType = 'document'; threw exception InvalidAccessError: Failed t o set the 'responseType' property on 'XMLHttpRequest': the response type can onl y be changed for asynchronous HTTP requests made from a document..
10 PASS window.location.protocol is "file:" 8 PASS window.location.protocol is "file:"
11 xhr.responseType = 'document'; 9 xhr.responseType = 'document';
12 PASS xhr.responseType is "document" 10 PASS xhr.responseType is "document"
13 xhr.responseType = 'document'; 11 xhr.responseType = 'document';
14 PASS xhr.responseType is "document" 12 PASS xhr.responseType is "document"
15 PASS successfullyParsed is true 13 PASS successfullyParsed is true
16 14
17 TEST COMPLETE 15 TEST COMPLETE
18 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698