| Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html
|
| index 5d3346e7b281a8f1fcfed2005cfb60bb1a15e8ca..cd6861a9d45361a9cbaab3ea639257a14accb349 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-event-respond-with-stops-propagation.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>
|
| @@ -17,6 +16,7 @@ promise_test(function(t) {
|
| return with_iframe(scope);
|
| })
|
| .then(function(frame) {
|
| + t.add_cleanup(function() { frame.remove(); });
|
| var channel = new MessageChannel();
|
| var saw_message = new Promise(function(resolve) {
|
| channel.port1.onmessage = function(e) { resolve(e.data); }
|
| @@ -24,7 +24,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) {
|
|
|