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

Unified Diff: third_party/WebKit/LayoutTests/virtual/off-main-thread-fetch/http/tests/fetch/workers/block-mixed-content-base-https-expected.txt

Issue 2880733002: Partially implement WorkerFetchContext and WorkerThreadableLoadingContext and add virtual tests (Closed)
Patch Set: incorporated kinuko's comment Created 3 years, 7 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: third_party/WebKit/LayoutTests/virtual/off-main-thread-fetch/http/tests/fetch/workers/block-mixed-content-base-https-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/off-main-thread-fetch/http/tests/fetch/workers/block-mixed-content-base-https-expected.txt b/third_party/WebKit/LayoutTests/virtual/off-main-thread-fetch/http/tests/fetch/workers/block-mixed-content-base-https-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cce97ca86b1943aaac17bdb472050086c6754a89
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/off-main-thread-fetch/http/tests/fetch/workers/block-mixed-content-base-https-expected.txt
@@ -0,0 +1,18 @@
+CONSOLE ERROR: line 157: Fetch API cannot load http://example.test:8000/serviceworker/resources/fetch-access-control.php?ACAOrigin=*&label=test1-same-origin. Request mode is "same-origin" but the URL's origin is not same as the request origin https://127.0.0.1:8443.
+CONSOLE ERROR: Fetch API cannot load https://127.0.0.1:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=http%3A%2F%2Fexample.test%3A8000%2Fserviceworker%2Fresources%2Ffetch-access-control.php%3FACAOrigin%3D*%26label%3Dtest2-same-origin. Redirect failed.
+CONSOLE ERROR: line 170: Fetch API cannot load http://example.test:8000/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=https%3A%2F%2F127.0.0.1%3A8443%2Fserviceworker%2Fresources%2Ffetch-access-control.php%3FACAOrigin%3D*%26label%3Dtest3-same-origin. Request mode is "same-origin" but the URL's origin is not same as the request origin https://127.0.0.1:8443.
+CONSOLE ERROR: line 188: Fetch API cannot load https://localhost:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=https%3A%2F%2F127.0.0.1%3A8443%2Fserviceworker%2Fresources%2Ffetch-access-control.php%3FACAOrigin%3D*%26label%3Dtest5-same-origin. Request mode is "same-origin" but the URL's origin is not same as the request origin https://127.0.0.1:8443.
+This is a testharness.js-based test.
+PASS Startup
+PASS Mixed content fetch (same-origin, HTTPS->HTTP)
+PASS Mixed content redirect (same-origin, HTTPS->HTTPS->HTTP)
+PASS Mixed content redirect same-origin, HTTPS->HTTP->HTTPS)
+PASS Same origin redirect (same-origin, HTTPS->HTTPS->HTTPS)
+PASS Cross origin redirect (same-origin, HTTPS->HTTPS->HTTPS
+FAIL Mixed content fetch (cors, HTTPS->HTTP) assert_unreached: unexpected fulfillment: [object Response] Reached unreachable code
+FAIL Mixed content redirect (cors, HTTPS->HTTPS->HTTP) assert_unreached: unexpected fulfillment: [object Response] Reached unreachable code
+FAIL Mixed content redirect cors, HTTPS->HTTP->HTTPS) assert_unreached: unexpected fulfillment: [object Response] Reached unreachable code
+PASS Same origin redirect (cors, HTTPS->HTTPS->HTTPS)
+PASS Cross origin redirect (cors, HTTPS->HTTPS->HTTPS
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698