Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-html-imports.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-html-imports.https.html |
similarity index 89% |
rename from third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html |
rename to third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-html-imports.https.html |
index 639ae5b48d94c769d8d2d5efb994706b7b4a0e05..d4939d60cd5fa8a453cfa4573e4f3233410d7b0b 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-request-html-imports.https.html |
@@ -1,9 +1,9 @@ |
<!DOCTYPE html> |
<title>Service Worker: FetchEvent for HTMLImports</title> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="../resources/get-host-info.js?pipe=sub"></script> |
-<script src="resources/test-helpers.js"></script> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<script src="/common/get-host-info.sub.js?pipe=sub"></script> |
Marijn Kruisselbrink
2017/05/04 18:38:19
nit: no need for the ?pipe=sub
mike3
2017/05/05 16:44:00
Acknowledged.
|
+<script src="resources/test-helpers.sub.js"></script> |
<script> |
async_test(function(t) { |
var SCOPE = 'resources/fetch-request-html-imports-iframe.html'; |
@@ -15,6 +15,9 @@ async_test(function(t) { |
}) |
.then(function() { return with_iframe(SCOPE); }) |
.then(function(frame) { |
+ t.add_cleanup(function() { |
+ frame.remove(); |
+ }); |
var same = frame.contentWindow.document.getElementById("same").import; |
var same_same = same.getElementById("same-same").import; |
var same_other = same.getElementById("same-other").import; |