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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context canno t have XMLHttpRequest.responseType set. 1 CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context canno t have XMLHttpRequest.responseType set.
2 CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context canno t have XMLHttpRequest.responseType set. 2 CONSOLE MESSAGE: Synchronous HTTP(S) requests made from the window context canno t have XMLHttpRequest.responseType set.
3 This tests that XMLHttpRequest open() disallows synchronous HTTP(S) requests whe n a non-default responseType is set. 3 This tests that XMLHttpRequest open() disallows synchronous HTTP(S) requests whe n a non-default responseType is set.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 xhr.responseType = 'document'; 8 xhr.responseType = 'document';
9 PASS xhr.open('GET', 'http://mydomain/', false); threw exception Error: InvalidA ccessError: DOM Exception 15. 9 PASS xhr.open('GET', 'http://mydomain/', false); threw exception InvalidAccessEr ror: A parameter or an operation was not supported by the underlying object..
10 xhr.responseType = 'document'; 10 xhr.responseType = 'document';
11 PASS xhr.open('GET', 'https://mysecuredomain/', false); threw exception Error: I nvalidAccessError: DOM Exception 15. 11 PASS xhr.open('GET', 'https://mysecuredomain/', false); threw exception InvalidA ccessError: A parameter or an operation was not supported by the underlying obje ct..
12 PASS window.location.protocol is "file:" 12 PASS window.location.protocol is "file:"
13 xhr.responseType = 'document'; 13 xhr.responseType = 'document';
14 xhr.open('GET', window.location.href, false); 14 xhr.open('GET', window.location.href, false);
15 PASS xhr.responseType is "document" 15 PASS xhr.responseType is "document"
16 xhr.responseType = 'document'; 16 xhr.responseType = 'document';
17 xhr.open('GET', dataUrl, false); 17 xhr.open('GET', dataUrl, false);
18 PASS xhr.responseType is "document" 18 PASS xhr.responseType is "document"
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698