| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/success.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success.html
|
| deleted file mode 100644
|
| index 2f3f8547add2beb4dfb24c461db4f98f6a007074..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/success.html
|
| +++ /dev/null
|
| @@ -1,39 +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("Tests Geolocation success callback using the mock service.");
|
| -
|
| -var mockLatitude = 51.478;
|
| -var mockLongitude = -0.166;
|
| -var mockAccuracy = 100;
|
| -
|
| -var position;
|
| -
|
| -geolocationServiceMock.then(mock => {
|
| - mock.setGeolocationPermission(true);
|
| - mock.setGeolocationPosition(mockLatitude,
|
| - mockLongitude,
|
| - mockAccuracy);
|
| -
|
| - navigator.geolocation.getCurrentPosition(function(p) {
|
| - position = p;
|
| - shouldBe('position.coords.latitude', 'mockLatitude');
|
| - shouldBe('position.coords.longitude', 'mockLongitude');
|
| - shouldBe('position.coords.accuracy', 'mockAccuracy');
|
| - finishJSTest();
|
| - }, function(e) {
|
| - testFailed('Error callback invoked unexpectedly');
|
| - finishJSTest();
|
| - });
|
| -});
|
| -
|
| -window.jsTestIsAsync = true;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|