Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/success-clear-watch.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success-clear-watch.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success-clear-watch.html |
deleted file mode 100644 |
index 8a86b81757ad5efc155bd8640f7948404edac858..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success-clear-watch.html |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-<script src="../../../resources/mojo-helpers.js"></script> |
-<script src="resources/geolocation-mock.js"></script> |
-</head> |
-<body> |
-<script> |
-description("This tests removing the watcher from a position callback does not causes assertions."); |
- |
-var mockLatitude = 51.478; |
-var mockLongitude = -0.166; |
-var mockAccuracy = 100; |
- |
-geolocationServiceMock.then(mock => { |
- mock.setGeolocationPermission(true); |
- mock.setGeolocationPosition(mockLatitude, |
- mockLongitude, |
- mockAccuracy); |
- |
- var watchId = navigator.geolocation.watchPosition(function() { |
- navigator.geolocation.clearWatch(watchId); |
- finishJSTest(); |
- }, function(e) { |
- navigator.geolocation.clearWatch(watchId); |
- finishJSTest(); |
- }); |
-}); |
- |
-window.jsTestIsAsync = true; |
-</script> |
-</body> |
-</html> |