Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-service-connection-error.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-service-connection-error.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-service-connection-error.html |
deleted file mode 100644 |
index d4f7a3d8c9180c32cf09cbf9b13e143d6a7ae0f5..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/permission-service-connection-error.html |
+++ /dev/null |
@@ -1,32 +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 the permission service connection fails."); |
- |
-var error; |
- |
-geolocationServiceMock.then(mock => { |
- |
- mock.rejectPermissionConnections(); |
- |
- 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> |