| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-denied.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-denied.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-denied.html
|
| deleted file mode 100644
|
| index 6f61b9cde44d1fcc8b5a830277ad8af6062f137b..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-denied.html
|
| +++ /dev/null
|
| @@ -1,33 +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 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;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|