Index: LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt |
diff --git a/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt b/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..29ad2f44cae59f13a5a5cf85b46ad2aff5709cbe |
--- /dev/null |
+++ b/LayoutTests/http/tests/xmlhttprequest/cross-origin-unsupported-url-expected.txt |
@@ -0,0 +1,33 @@ |
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:1291a/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load ftp://127.0.0.1/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are only supported for protocol schemes: http, data, https. |
+CONSOLE ERROR: XMLHttpRequest cannot load tel:1234. Cross origin requests are only supported for protocol schemes: http, data, https. |
+Test cross-origin XHRs to CORS-unsupported protocol schemes in the URL. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:1291a/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:1291a/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ftp://127.0.0.1/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'ftp://127.0.0.1/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'localhost:8080/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'localhost:8080/'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'tel:1234'.. |
+PASS errorEvent.type is "error" |
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'tel:1234'.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |