| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/error.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/error.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/error.html
|
| deleted file mode 100644
|
| index d7486231fc1d84939d95af60de830fabd8f2b041..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/error.html
|
| +++ /dev/null
|
| @@ -1,38 +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 error callback using the mock service.");
|
| -
|
| -var mockMessage = "debug";
|
| -
|
| -var error;
|
| -
|
| -geolocationServiceMock.then(mock => {
|
| - mock.setGeolocationPermission(true);
|
| - mock.setGeolocationPositionUnavailableError(mockMessage);
|
| -
|
| - navigator.geolocation.getCurrentPosition(function(p) {
|
| - testFailed('Success callback invoked unexpectedly');
|
| - finishJSTest();
|
| - }, function(e) {
|
| - error = e;
|
| - shouldBe('error.code', 'error.POSITION_UNAVAILABLE');
|
| - shouldBe('error.message', 'mockMessage');
|
| - shouldBe('error.UNKNOWN_ERROR', 'undefined');
|
| - shouldBe('error.PERMISSION_DENIED', '1');
|
| - shouldBe('error.POSITION_UNAVAILABLE', '2');
|
| - shouldBe('error.TIMEOUT', '3');
|
| - finishJSTest();
|
| - });
|
| -});
|
| -
|
| -window.jsTestIsAsync = true;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|