| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error.js
|
| deleted file mode 100644
|
| index 0d43ec3107b7e8d939106d63f033eff307bb05ce..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/error.js
|
| +++ /dev/null
|
| @@ -1,26 +0,0 @@
|
| -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;
|
|
|