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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt

Issue 1060113004: [XMLHttpRequest] Stop throwing for network error in async mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed #16. Updated cannot-read-self-from-file.html Created 5 years, 5 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
OLDNEW
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https.
3 CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin request s are only supported for protocol schemes: http, data, chrome, https. 3 CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin request s are only supported for protocol schemes: http, data, chrome, https.
4 CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin request s are only supported for protocol schemes: http, data, chrome, https. 4 CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin request s are only supported for protocol schemes: http, data, chrome, https.
5 CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https. 5 CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https.
6 CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https. 6 CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, chrome, https.
7 CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are on ly supported for protocol schemes: http, data, chrome, https. 7 CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are on ly supported for protocol schemes: http, data, chrome, https.
8 CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are on ly supported for protocol schemes: http, data, chrome, https. 8 CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are on ly supported for protocol schemes: http, data, chrome, https.
9 Test cross-origin XHRs to CORS-unsupported protocol schemes in the URL. 9 Test cross-origin XHRs to CORS-unsupported protocol schemes in the URL.
10 10
11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
12 12
13 13
14 PASS errorEvent.type is "error" 14 PASS errorEvent.type is "error"
15 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'http://localhost:1291a/'.. 15 PASS xhr.send() did not throw exception.
sof 2015/07/14 09:30:58 The information loss here is slightly unfortunate,
16 PASS errorEvent.type is "error" 16 PASS errorEvent.type is "error"
17 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'http://localhost:1291a/'.. 17 PASS xhr.send() did not throw exception.
18 PASS errorEvent.type is "error" 18 PASS errorEvent.type is "error"
19 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'ftp://127.0.0.1/'.. 19 PASS xhr.send() did not throw exception.
20 PASS errorEvent.type is "error" 20 PASS errorEvent.type is "error"
21 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'ftp://127.0.0.1/'.. 21 PASS xhr.send() did not throw exception.
22 PASS errorEvent.type is "error" 22 PASS errorEvent.type is "error"
23 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'localhost:8080/'.. 23 PASS xhr.send() did not throw exception.
24 PASS errorEvent.type is "error" 24 PASS errorEvent.type is "error"
25 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'localhost:8080/'.. 25 PASS xhr.send() did not throw exception.
26 PASS errorEvent.type is "error" 26 PASS errorEvent.type is "error"
27 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'tel:1234'.. 27 PASS xhr.send() did not throw exception.
28 PASS errorEvent.type is "error" 28 PASS errorEvent.type is "error"
29 PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHt tpRequest': Failed to load 'tel:1234'.. 29 PASS xhr.send() did not throw exception.
30 PASS successfullyParsed is true 30 PASS successfullyParsed is true
31 31
32 TEST COMPLETE 32 TEST COMPLETE
33 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698