Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: LayoutTests/fast/notifications/notifications-without-permission.html

Issue 184733002: Remove support for legacy WebKit Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove tests which no longer apply Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/notifications/notifications-without-permission.html
diff --git a/LayoutTests/fast/notifications/notifications-without-permission.html b/LayoutTests/fast/notifications/notifications-without-permission.html
deleted file mode 100644
index 40ae65a66358146a83a04ae11d7fad4b0f395796..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/notifications/notifications-without-permission.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script type="text/javascript">
- function log(message)
- {
- document.getElementById("result").innerHTML += message + "<br>";
- }
-
- function runTests()
- {
- if (window.testRunner) {
- // NO PERMISSION testRunner.grantWebNotificationPermission("file://");
- testRunner.dumpAsText();
- }
-
- if (!window.webkitNotifications) {
- log("FAIL: No webkitNotifications interface!");
- }
-
- try {
- var N = window.webkitNotifications.createNotification("http://0.0.0.0/my_icon.png", "New E-mail", "Meet me tonight at 8!");
- N.show();
- log("FAIL: Should have thrown security exception.");
- } catch (e) {
- log("PASS: Exception thrown.");
- }
- }
- </script>
-</head>
-<body>
-<p>Sending notifications without permission...</p>
-<div id="result"></div>
-
-<script type="text/javascript">
-runTests();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698