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> |
- |