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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_features.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE MESSAGE: line 65: --normal SW-- 1 CONSOLE MESSAGE: line 65: --normal SW--
2 disable() rejected with: AbortError: Failed to enable or disable navigation prel oad: The service worker script does not have a valid Navigation Preload Origin T rial token. 2 disable() rejected with: AbortError: Failed to enable or disable navigation prel oad: The service worker script does not have a valid Navigation Preload Origin T rial token.
3 enable() rejected with: AbortError: Failed to enable or disable navigation prelo ad: The service worker script does not have a valid Navigation Preload Origin Tr ial token. 3 enable() rejected with: AbortError: Failed to enable or disable navigation prelo ad: The service worker script does not have a valid Navigation Preload Origin Tr ial token.
4 getState() resolved with: {"enabled":false,"headerValue":"true"} 4 getState() resolved with: {"enabled":false,"headerValue":"true"}
5 setHeaderValue() rejected with: AbortError: Failed to set navigation preload hea der: The service worker script does not have a valid Navigation Preload Origin T rial token. 5 setHeaderValue() rejected with: AbortError: Failed to set navigation preload hea der: The service worker script does not have a valid Navigation Preload Origin T rial token.
6 log from SW 6 log from SW
7 Activate event handler 7 Activate event handler
8 registration.navigationPreload not found 8 registration.navigationPreload not found
9 Fetch event handler 9 Fetch event handler
10 event.preloadResponse not found 10 event.preloadResponse not found
11 11
12 CONSOLE MESSAGE: line 76: --Origin-Trial enabled SW-- 12 CONSOLE MESSAGE: line 76: --Origin-Trial enabled SW--
13 disable() rejected with: AbortError: Failed to enable or disable navigation prel oad: The Navigation Preload Origin Trial has ended. 13 disable() resolved with: undefined
14 enable() rejected with: AbortError: Failed to enable or disable navigation prelo ad: The Navigation Preload Origin Trial has ended. 14 enable() resolved with: undefined
15 getState() resolved with: {"enabled":false,"headerValue":"true"} 15 getState() resolved with: {"enabled":true,"headerValue":"world"}
16 setHeaderValue() rejected with: AbortError: Failed to set navigation preload hea der: The Navigation Preload Origin Trial has ended. 16 setHeaderValue() resolved with: undefined
17 log from SW 17 log from SW
18 Activate event handler 18 Activate event handler
19 disable() rejected with: AbortError: Failed to enable or disable navigation prel oad: The Navigation Preload Origin Trial has ended. 19 disable() resolved with: undefined
20 enable() rejected with: AbortError: Failed to enable or disable navigation prelo ad: The Navigation Preload Origin Trial has ended. 20 enable() resolved with: undefined
21 getState() resolved with: {"enabled":false,"headerValue":"true"} 21 getState() resolved with: {"enabled":true,"headerValue":"true"}
22 setHeaderValue() rejected with: AbortError: Failed to set navigation preload hea der: The Navigation Preload Origin Trial has ended. 22 setHeaderValue() resolved with: undefined
23 Fetch event handler 23 Fetch event handler
24 event.preloadResponse resolved with: undefined 24 event.preloadResponse resolved with: [object Response]
25 Text of preloadResponse: [Service-Worker-Navigation-Preload header set: hello]
25 26
26 This is a testharness.js-based test. 27 This is a testharness.js-based test.
27 PASS Calling Navigation preload related methods for normal SW. 28 PASS Calling Navigation preload related methods for normal SW.
28 PASS Calling Navigation preload related methods for Origin-Trial enabled SW. 29 PASS Calling Navigation preload related methods for Origin-Trial enabled SW.
29 Harness: the test ran to completion. 30 Harness: the test ran to completion.
30 31
OLDNEW
« 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