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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 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/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html
index 003e703b1f34dfc2178f6d2648ac9829177ee3fc..b2029ae426147a4bd748cce3c8c94199f18c56ba 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/extendable-event-waituntil.https.html
@@ -68,11 +68,13 @@ async_test(function(t) {
async_test(function(t) {
var scope = 'resources/install-reject-precedence';
var onRegister = function(worker) {
+ var obj = {};
wait_for_state(t, worker, 'redundant')
.then(function() {
service_worker_unregister_and_done(t, scope);
})
.catch(unreached_rejection(t));
+ syncWorker(t, worker, obj);
};
runTest(t, scope, onRegister);
}, 'Test ExtendableEvent waitUntil reject precedence.');

Powered by Google App Engine
This is Rietveld 408576698