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

Unified Diff: LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt

Issue 389053003: Always report access control failure if accessing unsupported URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Include supported schemes in console error message Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
diff --git a/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt b/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
index 96c544c2a57edc8b32ff91d0f140e3fcbc22a347..728fa81290e874249eeef4ffec865dd1c383d0b8 100644
--- a/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
+++ b/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
@@ -1,7 +1,7 @@
-CONSOLE ERROR: EventSource cannot load ftp://127.0.0.1/. Cross origin requests are only supported for HTTP.
-CONSOLE ERROR: EventSource cannot load motd. Cross origin requests are only supported for HTTP.
-CONSOLE ERROR: EventSource cannot load localhost:8080/. Cross origin requests are only supported for HTTP.
-CONSOLE ERROR: EventSource cannot load tel:1234. Cross origin requests are only supported for HTTP.
+CONSOLE ERROR: EventSource cannot load ftp://127.0.0.1/. Cross origin requests are only supported for protocol schemes: http, data, https.
+CONSOLE ERROR: EventSource cannot load motd. Cross origin requests are only supported for protocol schemes: http, data, https.
+CONSOLE ERROR: EventSource cannot load localhost:8080/. Cross origin requests are only supported for protocol schemes: http, data, https.
+CONSOLE ERROR: EventSource cannot load tel:1234. Cross origin requests are only supported for protocol schemes: http, data, https.
[Worker] Test EventSource with non-HTTP protocol schemes in the URL.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Powered by Google App Engine
This is Rietveld 408576698