| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..03d57e5a5a2c72b27d0027590a6ab5f4a0682ebf
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt
|
| @@ -0,0 +1,30 @@
|
| +CONSOLE MESSAGE: line 65: --normal SW--
|
| +disable() rejected with: AbortError: Failed to enable or disable navigation preload: No valid Navigation Preload Orignin Trial token for the script.
|
| +enable() rejected with: AbortError: Failed to enable or disable navigation preload: No valid Navigation Preload Orignin Trial token for the script.
|
| +getState() resolved with: {"enabled":false,"headerValue":"true"}
|
| +setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: No valid Navigation Preload Orignin Trial token for the script.
|
| +log from SW
|
| +Activate event handler
|
| +registration.navigationPreload not found
|
| +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: Navigation Preload field trial is stopped.
|
| +enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload field trial is stopped.
|
| +getState() resolved with: {"enabled":false,"headerValue":"true"}
|
| +setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload field trial is stopped.
|
| +log from SW
|
| +Activate event handler
|
| +disable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload field trial is stopped.
|
| +enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload field trial is stopped.
|
| +getState() resolved with: {"enabled":false,"headerValue":"true"}
|
| +setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload field trial is stopped.
|
| +Fetch event handler
|
| +event.preloadResponse resolved with: undefined
|
| +
|
| +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.
|
| +Harness: the test ran to completion.
|
| +
|
|
|