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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt

Issue 2637763002: Enable ServiceWorkerNavigationPreload by default for Origin-Trial. (Closed)
Patch Set: incorporated kinuko's comment Created 3 years, 11 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
« no previous file with comments | « content/public/common/content_features.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt
index 2250c47a860f1ad3e8b256132bc9e94c0f064693..f46dfb32d1f6efc82c14005a4891d73fc2abe7a7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt
@@ -10,18 +10,19 @@ Fetch event handler
event.preloadResponse not found
CONSOLE MESSAGE: line 76: --Origin-Trial enabled SW--
-disable() rejected with: AbortError: Failed to enable or disable navigation preload: The Navigation Preload Origin Trial has ended.
-enable() rejected with: AbortError: Failed to enable or disable navigation preload: The Navigation Preload Origin Trial has ended.
-getState() resolved with: {"enabled":false,"headerValue":"true"}
-setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: The Navigation Preload Origin Trial has ended.
+disable() resolved with: undefined
+enable() resolved with: undefined
+getState() resolved with: {"enabled":true,"headerValue":"world"}
+setHeaderValue() resolved with: undefined
log from SW
Activate event handler
-disable() rejected with: AbortError: Failed to enable or disable navigation preload: The Navigation Preload Origin Trial has ended.
-enable() rejected with: AbortError: Failed to enable or disable navigation preload: The Navigation Preload Origin Trial has ended.
-getState() resolved with: {"enabled":false,"headerValue":"true"}
-setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: The Navigation Preload Origin Trial has ended.
+disable() resolved with: undefined
+enable() resolved with: undefined
+getState() resolved with: {"enabled":true,"headerValue":"true"}
+setHeaderValue() resolved with: undefined
Fetch event handler
-event.preloadResponse resolved with: undefined
+event.preloadResponse resolved with: [object Response]
+Text of preloadResponse: [Service-Worker-Navigation-Preload header set: hello]
This is a testharness.js-based test.
PASS Calling Navigation preload related methods for normal SW.
« no previous file with comments | « content/public/common/content_features.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698