| Index: LayoutTests/http/tests/geofencing/service-not-available.html
|
| diff --git a/LayoutTests/http/tests/geofencing/apis_not_implemented.html b/LayoutTests/http/tests/geofencing/service-not-available.html
|
| similarity index 93%
|
| rename from LayoutTests/http/tests/geofencing/apis_not_implemented.html
|
| rename to LayoutTests/http/tests/geofencing/service-not-available.html
|
| index 55f5e24119cb4efcab1222c45fd917f7e31ea573..88cf994521534f95f4db7bcb67137f81b0c42af6 100644
|
| --- a/LayoutTests/http/tests/geofencing/apis_not_implemented.html
|
| +++ b/LayoutTests/http/tests/geofencing/service-not-available.html
|
| @@ -1,5 +1,5 @@
|
| <!DOCTYPE html>
|
| -<title>Tests that all geofencing methods exposed on a service worker registration always reject.</title>
|
| +<title>Tests that all geofencing methods exposed on a service worker registration always reject if no geofencing service is available.</title>
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| <script src="../resources/testharness-helpers.js"></script>
|
| @@ -8,6 +8,8 @@
|
| var sw_url = 'resources/emptyworker.js';
|
| var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
|
|
|
| +testRunner.setGeofencingMockProvider(false);
|
| +
|
| promise_test(function(test) {
|
| return assert_promise_rejects(
|
| service_worker_unregister_and_register(test, sw_url, sw_scope + '/register')
|
|
|