| Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-without-using-registration.https.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-without-using-registration.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-without-using-registration.https.html
|
| similarity index 84%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-without-using-registration.html
|
| copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-without-using-registration.https.html
|
| index c3902aeada40cd3e302ace28792a879ada68e475..2535ffe09fc7cbda605af06aa1485a30aa41df11 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/skip-waiting-without-using-registration.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/skip-waiting-without-using-registration.https.html
|
| @@ -1,8 +1,9 @@
|
| <!DOCTYPE html>
|
| <title>Service Worker: Skip waiting without 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) {
|
| @@ -24,6 +25,7 @@ promise_test(function(t) {
|
| .then(function(registration) {
|
| sw_registration = registration;
|
| add_completion_callback(function() {
|
| + frame.remove();
|
| registration.unregister();
|
| });
|
| return wait_for_state(t, registration.installing, 'activated');
|
| @@ -34,7 +36,6 @@ promise_test(function(t) {
|
| assert_not_equals(sw_registration.active, null,
|
| 'Registration active worker should not be null');
|
| fetch_tests_from_worker(sw_registration.active);
|
| - frame.remove();
|
| });
|
| }, 'Test skipWaiting while a client is not being controlled');
|
|
|
|
|