Index: LayoutTests/http/tests/push_messaging/has-permission-default-in-document.html |
diff --git a/LayoutTests/http/tests/push_messaging/has-permission-default-in-document.html b/LayoutTests/http/tests/push_messaging/has-permission-default-in-document.html |
deleted file mode 100644 |
index 88cd9e04945f4617fd29e40fae3ff8f3c2d05fd4..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/push_messaging/has-permission-default-in-document.html |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<title>Push API: hasPermission resolves with default when no permission is set</title> |
-<link rel="manifest" href="resources/push_manifest.json"> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="../serviceworker/resources/test-helpers.js"></script> |
-</head> |
-<body> |
-<script> |
-async_test(function(test) { |
- if (window.testRunner) |
- testRunner.setPermission('push-messaging', 'prompt', location.origin, location.origin); |
- |
- var workerUrl = 'resources/empty_worker.js'; |
- var workerScope = 'resources/scope/' + location.pathname; |
- service_worker_unregister_and_register(test, workerUrl, workerScope) |
- .then(function(serviceWorkerRegistration) { |
- // If running manually, clear permissions before running this test. |
- return serviceWorkerRegistration.pushManager.hasPermission(); |
- }) |
- .then(function(permissionStatus) { |
- assert_equals(permissionStatus, 'default'); |
- return service_worker_unregister_and_done(test, workerScope); |
- }) |
- .catch(unreached_rejection(test)); |
-}, 'Push API: hasPermission resolves with default when permission is not set'); |
-</script> |
-</body> |
-</html> |