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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt

Issue 2712843005: Use asserts in origin trials layout tests (Closed)
Patch Set: Address more comments 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/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt
index e8d3a95fec17fafe9192bf24f7a29bdf5dd6322f..88ed3b3fd6aaf8cb5cd303379869c2149d97845e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/foreignfetch-origin-trial-interfaces-expected.txt
@@ -1,27 +1,9 @@
-CONSOLE MESSAGE: line 20: Interfaces in Service Worker - no origin trial
-interface ForeignFetchEvent
- getter origin
- getter request
- method constructor
- method respondWith
-interface InstallEvent
- method registerForeignFetch
-global object
- getter onforeignfetch
- setter onforeignfetch
-CONSOLE MESSAGE: line 32: Interfaces in Service Worker - origin trial enabled.
-interface ForeignFetchEvent
- getter origin
- getter request
- method constructor
- method respondWith
-interface InstallEvent
- method registerForeignFetch
-global object
- getter onforeignfetch
- setter onforeignfetch
This is a testharness.js-based test.
PASS ForeignFetch related interfaces in SW - no origin trial.
PASS ForeignFetch related interfaces in SW - origin trial enabled.
+FAIL ForeignFetch related properties on interfaces in service worker, without trial. assert_equals: Property registerForeignFetch exists on InstallEvent expected false but got true
+FAIL ForeignFetch related interfaces in service worker, without trial. assert_equals: Interface ForeignFetchEvent exists on provided object expected false but got true
+PASS ForeignFetch related properties on interfaces in service worker, with trial enabled.
+PASS ForeignFetch related interfaces in service worker, with trial enabled.
Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698