| Index: LayoutTests/http/tests/serviceworker/serviceworkerclients-openwindow-enumeration.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/serviceworkerclients-openwindow-enumeration.html b/LayoutTests/http/tests/serviceworker/serviceworkerclients-openwindow-enumeration.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..11e1aa6f4ea5ade0c11fd2c08fb98718ccb20770
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/serviceworker/serviceworkerclients-openwindow-enumeration.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<title>Service Worker: ServiceWorkerClients openWindow() vs. getAll() enumeration</title>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script src="resources/test-helpers.js"></script>
|
| +<script>
|
| +promise_test(function(test) {
|
| + var url = 'resources/serviceworkerclients-openwindow-enumeration-worker.js';
|
| + var scope = 'resources/';
|
| + return service_worker_unregister_and_register(test, url, scope)
|
| + .then(function(registration) {
|
| + add_completion_callback(function() {
|
| + registration.unregister();
|
| + });
|
| + return wait_for_update(test, registration)
|
| + .then(function(worker) {
|
| + return fetch_tests_from_worker(worker);
|
| + });
|
| + });
|
| +}, 'ServiceWorkerClients openWindow() vs. getAll() enumeration');
|
| +</script>
|
|
|