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

Unified Diff: LayoutTests/fast/notifications/notifications-document-close-crash.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-document-close-crash.html
diff --git a/LayoutTests/fast/notifications/notifications-document-close-crash.html b/LayoutTests/fast/notifications/notifications-document-close-crash.html
deleted file mode 100644
index 37ac369217f95fc7799d0a2a80db59ceb3675af0..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/notifications/notifications-document-close-crash.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<html>
- <body>
- <div id="result"></div>
- <script>
- if (window.testRunner)
- {
- testRunner.dumpAsText();
- testRunner.setCanOpenWindows();
- testRunner.grantWebNotificationPermission("file://");
- testRunner.waitUntilDone();
- }
-
- if (!window.webkitNotifications) {
- log("FAIL: No webkitNotifications interface!");
- }
-
- var target = window.open("about:blank");
- var notification = target.webkitNotifications;
- target.location.reload();
- var timer = setInterval("crash()", 60);
- setTimeout("finish()", 100);
-
- function crash()
- {
- var a = [];
- for (var i = 0; i < 0x100; i++)
- {
- try
- {
- a.push(new WebGLByteArray());
- }
- catch (e) {}
- a.push(Array(i).join("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"));
- }
- delete a;
- notification.requestPermission();
- }
-
- function finish()
- {
- clearInterval(timer);
- document.getElementById("result").innerHTML = "PASS";
- target.close();
- if (window.testRunner)
- testRunner.notifyDone();
- }
- </script>
- </body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698