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

Side by Side 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: EventSource cannot load ftp://127.0.0.1/. Cross origin requests a re only supported for HTTP. 1 CONSOLE ERROR: EventSource cannot load ftp://127.0.0.1/. Cross origin requests a re only supported for protocol schemes: http, data, https.
2 CONSOLE ERROR: EventSource cannot load motd. Cross origin requests are only supp orted for HTTP. 2 CONSOLE ERROR: EventSource cannot load motd. Cross origin requests are only supp orted for protocol schemes: http, data, https.
3 CONSOLE ERROR: EventSource cannot load localhost:8080/. Cross origin requests ar e only supported for HTTP. 3 CONSOLE ERROR: EventSource cannot load localhost:8080/. Cross origin requests ar e only supported for protocol schemes: http, data, https.
4 CONSOLE ERROR: EventSource cannot load tel:1234. Cross origin requests are only supported for HTTP. 4 CONSOLE ERROR: EventSource cannot load tel:1234. Cross origin requests are only supported for protocol schemes: http, data, https.
5 [Worker] Test EventSource with non-HTTP protocol schemes in the URL. 5 [Worker] Test EventSource with non-HTTP protocol schemes in the URL.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 Starting worker: ../script-tests/eventsource-cors-non-http.js 10 Starting worker: ../script-tests/eventsource-cors-non-http.js
11 PASS [Worker] es.readyState is EventSource.CLOSED 11 PASS [Worker] es.readyState is EventSource.CLOSED
12 PASS [Worker] es.readyState is EventSource.CLOSED 12 PASS [Worker] es.readyState is EventSource.CLOSED
13 PASS [Worker] es.readyState is EventSource.CLOSED 13 PASS [Worker] es.readyState is EventSource.CLOSED
14 PASS [Worker] es.readyState is EventSource.CLOSED 14 PASS [Worker] es.readyState is EventSource.CLOSED
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698