| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied.js
|
| deleted file mode 100644
|
| index 46153900a8b35af51bbcddb78bd2350aa453600b..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied.js
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -description("Tests Geolocation when permission is denied, using the mock service.");
|
| -
|
| -var error;
|
| -
|
| -geolocationServiceMock.then(mock => {
|
| -
|
| - mock.setGeolocationPermission(false);
|
| - mock.setGeolocationPosition(51.478, -0.166, 100.0);
|
| -
|
| - navigator.geolocation.getCurrentPosition(function(p) {
|
| - testFailed('Success callback invoked unexpectedly');
|
| - finishJSTest();
|
| - }, function(e) {
|
| - error = e;
|
| - shouldBe('error.code', 'error.PERMISSION_DENIED');
|
| - shouldBe('error.message', '"User denied Geolocation"');
|
| - finishJSTest();
|
| - });
|
| -});
|
| -
|
| -window.jsTestIsAsync = true;
|
|
|