| 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 a3bdeb720ed5a7c778225a76c6318e9b713b031f..7cd29079c642c93dedaabd2120c4ab5abefb804e 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
|
| @@ -1,30 +1,30 @@
|
| CONSOLE WARNING: line 13: This test relies on console message comparison so there can be different -expected.txt files for virtual test suites.
|
| CONSOLE MESSAGE: line 68: --normal SW--
|
| -disable() rejected with: AbortError: Failed to enable or disable navigation preload: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| -enable() rejected with: AbortError: Failed to enable or disable navigation preload: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| -getState() resolved with: {"enabled":false,"headerValue":"true"}
|
| -setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| -log from SW
|
| -Activate event handler
|
| -registration.navigationPreload not found
|
| -Fetch event handler
|
| -event.preloadResponse not found
|
| -
|
| +CONSOLE MESSAGE: line 68: disable() rejected with: AbortError: Failed to enable or disable navigation preload: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| +CONSOLE MESSAGE: line 68: enable() rejected with: AbortError: Failed to enable or disable navigation preload: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| +CONSOLE MESSAGE: line 68: getState() resolved with: {"enabled":false,"headerValue":"true"}
|
| +CONSOLE MESSAGE: line 68: setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: The service worker script does not have a valid Navigation Preload Origin Trial token.
|
| +CONSOLE MESSAGE: line 68: log from SW
|
| +CONSOLE MESSAGE: line 68: Activate event handler
|
| +CONSOLE MESSAGE: line 68: registration.navigationPreload not found
|
| +CONSOLE MESSAGE: line 68: Fetch event handler
|
| +CONSOLE MESSAGE: line 68: event.preloadResponse not found
|
| +CONSOLE MESSAGE: line 68:
|
| CONSOLE MESSAGE: line 79: --Origin-Trial enabled SW--
|
| -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() 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: [object Response]
|
| -Text of preloadResponse: [Service-Worker-Navigation-Preload header set: hello]
|
| -
|
| +CONSOLE MESSAGE: line 79: disable() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: enable() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":true,"headerValue":"world"}
|
| +CONSOLE MESSAGE: line 79: setHeaderValue() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: log from SW
|
| +CONSOLE MESSAGE: line 79: Activate event handler
|
| +CONSOLE MESSAGE: line 79: disable() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: enable() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":true,"headerValue":"true"}
|
| +CONSOLE MESSAGE: line 79: setHeaderValue() resolved with: undefined
|
| +CONSOLE MESSAGE: line 79: Fetch event handler
|
| +CONSOLE MESSAGE: line 79: event.preloadResponse resolved with: [object Response]
|
| +CONSOLE MESSAGE: line 79: Text of preloadResponse: [Service-Worker-Navigation-Preload header set: hello]
|
| +CONSOLE MESSAGE: line 79:
|
| This is a testharness.js-based test.
|
| PASS Calling Navigation preload related methods for normal SW.
|
| PASS Calling Navigation preload related methods for Origin-Trial enabled SW.
|
|
|