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

Unified Diff: third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt

Issue 2713523004: service worker: Add console.warn output to enable -expected.txt files (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
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 4166f51ac698763bc157a74d100bb7c19f0f7d9a..1c914984c2b6b499cc6da2a0806262ac88307848 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,4 +1,5 @@
-CONSOLE MESSAGE: line 65: --normal SW--
+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"}
@@ -9,7 +10,7 @@ registration.navigationPreload not found
Fetch event handler
event.preloadResponse not found
-CONSOLE MESSAGE: line 76: --Origin-Trial enabled SW--
+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"}

Powered by Google App Engine
This is Rietveld 408576698