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

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

Issue 345813005: Rework EventSource CORS tests to be usable from Workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Generalize redirect.php?cors_enabled to cors_allow_origin Created 6 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 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/eventsource-cors-non-http-expected.txt b/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
similarity index 62%
copy from LayoutTests/http/tests/eventsource/eventsource-cors-non-http-expected.txt
copy to LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
index 39c0a0eaa9a0978d2bb226c9d163d29469a2cb82..96c544c2a57edc8b32ff91d0f140e3fcbc22a347 100644
--- a/LayoutTests/http/tests/eventsource/eventsource-cors-non-http-expected.txt
+++ b/LayoutTests/http/tests/eventsource/workers/eventsource-cors-non-http-expected.txt
@@ -2,15 +2,16 @@ CONSOLE ERROR: EventSource cannot load ftp://127.0.0.1/. Cross origin requests a
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.
-Test EventSource with non-HTTP protocol schemes in the URL.
+[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".
-PASS got error event and readyState is CLOSED
-PASS got error event and readyState is CLOSED
-PASS got error event and readyState is CLOSED
-PASS got error event and readyState is CLOSED
+Starting worker: ../script-tests/eventsource-cors-non-http.js
+PASS [Worker] es.readyState is EventSource.CLOSED
+PASS [Worker] es.readyState is EventSource.CLOSED
+PASS [Worker] es.readyState is EventSource.CLOSED
+PASS [Worker] es.readyState is EventSource.CLOSED
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698