| Index: LayoutTests/http/tests/serviceworker/getregistrations.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/getregistrations.html b/LayoutTests/http/tests/serviceworker/getregistrations.html
|
| index 3f6fbaba10767f668317472669ec9226e369e8f4..2f514751500df4e1d671e45ad85fae459c3f87d3 100644
|
| --- a/LayoutTests/http/tests/serviceworker/getregistrations.html
|
| +++ b/LayoutTests/http/tests/serviceworker/getregistrations.html
|
| @@ -2,14 +2,13 @@
|
| <title>Service Worker: getRegistrations()</title>
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/testharness-helpers.js"></script>
|
| <script src="resources/test-helpers.js"></script>
|
| <script src="../resources/get-host-info.js"></script>
|
| <script>
|
| // Purge the existing registrations for the origin.
|
| // getRegistrations() is used in order to avoid adding additional complexity
|
| // e.g. adding an internal function.
|
| -sequential_promise_test(function(t) {
|
| +promise_test(function(t) {
|
| var resolve;
|
| var timer;
|
| var p = new Promise(function(r) { resolve = r; });
|
| @@ -35,7 +34,7 @@ sequential_promise_test(function(t) {
|
| return p;
|
| }, 'Purge the existing registrations.');
|
|
|
| -sequential_promise_test(function(t) {
|
| +promise_test(function(t) {
|
| var scope = 'resources/scope/getregistrations/normal';
|
| var script = 'resources/empty-worker.js';
|
| var registrations = [];
|
| @@ -53,7 +52,7 @@ sequential_promise_test(function(t) {
|
| });
|
| }, 'Register then getRegistrations');
|
|
|
| -sequential_promise_test(function(t) {
|
| +promise_test(function(t) {
|
| var scope1 = 'resources/scope/getregistrations/scope1';
|
| var scope2 = 'resources/scope/getregistrations/scope2';
|
| var script = 'resources/empty-worker.js';
|
| @@ -79,7 +78,7 @@ sequential_promise_test(function(t) {
|
| });
|
| }, 'Register multiple times then getRegistrations');
|
|
|
| -sequential_promise_test(function(t) {
|
| +promise_test(function(t) {
|
| var scope = 'resources/scope/getregistrations/register-unregister';
|
| var script = 'resources/empty-worker.js';
|
| return service_worker_unregister_and_register(t, script, scope)
|
| @@ -97,7 +96,7 @@ sequential_promise_test(function(t) {
|
| });
|
| }, 'Register then Unregister then getRegistrations');
|
|
|
| -sequential_promise_test(function(t) {
|
| +promise_test(function(t) {
|
| // Top-level window's origin: http://127.0.0.1:8000.
|
| // Frame's origin: http://localhost:8000.
|
| var host_info = get_host_info();
|
|
|