Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-using-registration.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-using-registration.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-using-registration.https.html |
similarity index 90% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-using-registration.html |
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-using-registration.https.html |
index 5056ee7483f98a26475f414ec0349af9772d6da6..5f84f0b8eda21624c8493c6a65bea6af639d4153 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-using-registration.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-using-registration.https.html |
@@ -1,8 +1,9 @@ |
<!DOCTYPE html> |
<title>Service Worker: Skip waiting using registration</title> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="resources/test-helpers.js"></script> |
+<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> |
promise_test(function(t) { |
@@ -44,12 +45,12 @@ promise_test(function(t) { |
.then(function(registration) { |
sw_registration = registration; |
add_completion_callback(function() { |
+ frame.remove(); |
registration.unregister(); |
}); |
return saw_controllerchanged; |
}) |
.then(function() { |
- frame.remove(); |
assert_not_equals(sw_registration.active, null, |
'Registration active worker should not be null'); |
fetch_tests_from_worker(sw_registration.active); |