| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/install-event-type.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/install-event-type.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/install-event-type.html
|
| deleted file mode 100644
|
| index 4b6d9b0b50445af086f67d1ddaad92e52a7a160e..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/install-event-type.html
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="resources/test-helpers.js"></script>
|
| -<script>
|
| -function wait_for_install_event(worker) {
|
| - return new Promise(function(resolve) {
|
| - worker.addEventListener('statechange', function(event) {
|
| - if (worker.state == 'installed')
|
| - resolve(true);
|
| - else if (worker.state == 'redundant')
|
| - resolve(false);
|
| - });
|
| - });
|
| -}
|
| -
|
| -promise_test(function(t) {
|
| - var script = 'resources/install-event-type-worker.js';
|
| - var scope = 'resources/install-event-type';
|
| - return service_worker_unregister_and_register(t, script, scope)
|
| - .then(function(registration) {
|
| - return wait_for_install_event(registration.installing);
|
| - })
|
| - .then(function(did_install) {
|
| - assert_true(did_install, 'The worker was installed');
|
| - })
|
| - }, 'install event type');
|
| -
|
| -</script>
|
|
|