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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html

Issue 2836233002: Upstream service worker `fetch` tests to WPT (Closed)
Patch Set: Extend "-expected.txt" file with reference to new sub-test Created 3 years, 8 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/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html
index 912e709ca38f2eb6fba7a3a36bf466499f4d130b..a2b93acfc5b240a148f07a33bd1a0d2a6ca75715 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-async-respond-with.https.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
-<script src="resources/testharness-helpers.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/test-helpers.sub.js"></script>
<script>
@@ -16,6 +15,7 @@ promise_test(function(t) {
return with_iframe(scope);
})
.then(function(frame) {
+ add_completion_callback(function() { frame.remove(); });
var channel = new MessageChannel();
var saw_message = new Promise(function(resolve) {
channel.port1.onmessage = function(e) { resolve(e.data); }
@@ -23,7 +23,6 @@ promise_test(function(t) {
var worker = frame.contentWindow.navigator.serviceWorker.controller;
worker.postMessage({port: channel.port2}, [channel.port2]);
- frame.remove();
return saw_message;
})
.then(function(message) {

Powered by Google App Engine
This is Rietveld 408576698