| 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) {
|
|
|