Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/register-wait-forever-in-install-worker.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/register-wait-forever-in-install-worker.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/register-wait-forever-in-install-worker.html |
deleted file mode 100644 |
index 07a85d51599a814614bbe114d824e9ae11aa7f15..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/register-wait-forever-in-install-worker.html |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-<!DOCTYPE html> |
-<title>Service Worker: Register wait-forever-in-install-worker</title> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="resources/test-helpers.js"></script> |
-<script> |
- |
-promise_test(function(t) { |
- var bad_script = 'resources/wait-forever-in-install-worker.js'; |
- var good_script = 'resources/empty-worker.js'; |
- var scope = 'resources/wait-forever-in-install-worker'; |
- return navigator.serviceWorker.register(bad_script, {scope: scope}) |
- .then(function(registration) { |
- assert_equals(registration.installing.scriptURL, |
- normalizeURL(bad_script)); |
- return navigator.serviceWorker.register(good_script, {scope: scope}); |
- }) |
- .then(function(registration) { |
- assert_equals(registration.installing.scriptURL, |
- normalizeURL(good_script)); |
- return wait_for_state(t, registration.installing, 'activated'); |
- }) |
- .then(function() { |
- return service_worker_unregister_and_done(t, scope); |
- }) |
- }, 'register worker that calls waitUntil with a promise that never ' + |
- 'resolves in oninstall'); |
- |
-</script> |