OLD | NEW |
1 CONSOLE WARNING: line 13: This test relies on console message comparison so ther
e can be different -expected.txt files for virtual test suites. | 1 CONSOLE WARNING: line 13: This test relies on console message comparison so ther
e can be different -expected.txt files for virtual test suites. |
2 CONSOLE MESSAGE: line 68: --normal SW-- | 2 CONSOLE MESSAGE: line 68: --normal SW-- |
3 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 CONSOLE MESSAGE: line 68: disable() rejected with: AbortError: Failed to enable
or disable navigation preload: The service worker script does not have a valid N
avigation Preload Origin Trial token. |
4 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 CONSOLE MESSAGE: line 68: enable() rejected with: AbortError: Failed to enable o
r disable navigation preload: The service worker script does not have a valid Na
vigation Preload Origin Trial token. |
5 getState() resolved with: {"enabled":false,"headerValue":"true"} | 5 CONSOLE MESSAGE: line 68: getState() resolved with: {"enabled":false,"headerValu
e":"true"} |
6 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 CONSOLE MESSAGE: line 68: setHeaderValue() rejected with: AbortError: Failed to
set navigation preload header: The service worker script does not have a valid N
avigation Preload Origin Trial token. |
7 log from SW | 7 CONSOLE MESSAGE: line 68: log from SW |
8 Activate event handler | 8 CONSOLE MESSAGE: line 68: Activate event handler |
9 registration.navigationPreload not found | 9 CONSOLE MESSAGE: line 68: registration.navigationPreload not found |
10 Fetch event handler | 10 CONSOLE MESSAGE: line 68: Fetch event handler |
11 event.preloadResponse not found | 11 CONSOLE MESSAGE: line 68: event.preloadResponse not found |
12 | 12 CONSOLE MESSAGE: line 68: |
13 CONSOLE MESSAGE: line 79: --Origin-Trial enabled SW-- | 13 CONSOLE MESSAGE: line 79: --Origin-Trial enabled SW-- |
14 disable() resolved with: undefined | 14 CONSOLE MESSAGE: line 79: disable() resolved with: undefined |
15 enable() resolved with: undefined | 15 CONSOLE MESSAGE: line 79: enable() resolved with: undefined |
16 getState() resolved with: {"enabled":true,"headerValue":"world"} | 16 CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":true,"headerValue
":"world"} |
17 setHeaderValue() resolved with: undefined | 17 CONSOLE MESSAGE: line 79: setHeaderValue() resolved with: undefined |
18 log from SW | 18 CONSOLE MESSAGE: line 79: log from SW |
19 Activate event handler | 19 CONSOLE MESSAGE: line 79: Activate event handler |
20 disable() resolved with: undefined | 20 CONSOLE MESSAGE: line 79: disable() resolved with: undefined |
21 enable() resolved with: undefined | 21 CONSOLE MESSAGE: line 79: enable() resolved with: undefined |
22 getState() resolved with: {"enabled":true,"headerValue":"true"} | 22 CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":true,"headerValue
":"true"} |
23 setHeaderValue() resolved with: undefined | 23 CONSOLE MESSAGE: line 79: setHeaderValue() resolved with: undefined |
24 Fetch event handler | 24 CONSOLE MESSAGE: line 79: Fetch event handler |
25 event.preloadResponse resolved with: [object Response] | 25 CONSOLE MESSAGE: line 79: event.preloadResponse resolved with: [object Response] |
26 Text of preloadResponse: [Service-Worker-Navigation-Preload header set: hello] | 26 CONSOLE MESSAGE: line 79: Text of preloadResponse: [Service-Worker-Navigation-Pr
eload header set: hello] |
27 | 27 CONSOLE MESSAGE: line 79: |
28 This is a testharness.js-based test. | 28 This is a testharness.js-based test. |
29 PASS Calling Navigation preload related methods for normal SW. | 29 PASS Calling Navigation preload related methods for normal SW. |
30 PASS Calling Navigation preload related methods for Origin-Trial enabled SW. | 30 PASS Calling Navigation preload related methods for Origin-Trial enabled SW. |
31 Harness: the test ran to completion. | 31 Harness: the test ran to completion. |
32 | 32 |
OLD | NEW |