Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/geofencing/resources/worker-service-not-available.js

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 importScripts('../../serviceworker/resources/worker-testharness.js');
2
3 promise_test(function(test) {
4 return promise_rejects(
5 test,
6 'AbortError',
7 navigator.geofencing.registerRegion(
8 new CircularGeofencingRegion({latitude: 37.421999,
9 longitude: -122.084015})),
10 'registerRegion should fail with an AbortError');
11 }, 'registerRegion should fail');
12
13 promise_test(function(test) {
14 return promise_rejects(
15 test,
16 'AbortError',
17 navigator.geofencing.unregisterRegion(""),
18 'unregisterRegion should fail with an AbortError');
19 }, 'unregisterRegion should fail');
20
21 promise_test(function(test) {
22 return promise_rejects(
23 test,
24 'AbortError',
25 navigator.geofencing.getRegisteredRegions(),
26 'getRegisteredRegions should fail with an AbortError');
27 }, 'getRegisteredRegions should fail');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698