Index: third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt b/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt |
index 1c914984c2b6b499cc6da2a0806262ac88307848..b27e2603d3f8fac4cb373c7e6f3e75e747282079 100644 |
--- a/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt |
+++ b/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt |
@@ -1,29 +1,29 @@ |
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() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
-enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
-getState() resolved with: {"enabled":false,"headerValue":"true"} |
-setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload is disabled by command line flag. |
-log from SW |
-Activate event handler |
-disable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
-enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
-getState() resolved with: {"enabled":false,"headerValue":"true"} |
-setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload is disabled by command line flag. |
-Fetch event handler |
-event.preloadResponse resolved with: undefined |
- |
+CONSOLE MESSAGE: line 79: disable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":false,"headerValue":"true"} |
+CONSOLE MESSAGE: line 79: setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: log from SW |
+CONSOLE MESSAGE: line 79: Activate event handler |
+CONSOLE MESSAGE: line 79: disable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: enable() rejected with: AbortError: Failed to enable or disable navigation preload: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: getState() resolved with: {"enabled":false,"headerValue":"true"} |
+CONSOLE MESSAGE: line 79: setHeaderValue() rejected with: AbortError: Failed to set navigation preload header: Navigation Preload is disabled by command line flag. |
+CONSOLE MESSAGE: line 79: Fetch event handler |
+CONSOLE MESSAGE: line 79: event.preloadResponse resolved with: undefined |
+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. |