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

Unified Diff: LayoutTests/plugins/destroy-plugin-from-callback.html

Issue 1207793002: Remove LayoutTests/plugins/destroy-plugin-from-callback.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/plugins/destroy-plugin-from-callback-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/plugins/destroy-plugin-from-callback.html
diff --git a/LayoutTests/plugins/destroy-plugin-from-callback.html b/LayoutTests/plugins/destroy-plugin-from-callback.html
deleted file mode 100644
index 135eec1dd0d27c8658f85f9d899dc07b8a84af3f..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/destroy-plugin-from-callback.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<body onload="test()">
-<embed name="plg" type="application/x-webkit-test-netscape">
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function gc()
- {
- if (window.GCController)
- return GCController.collect();
-
- for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
- var s = new String("abc");
- }
- }
-
- var recursionsRemaining = 2;
-
- function pluginCallback()
- {
- if (--recursionsRemaining)
- test();
- else {
- document.write("PASS if no crash.<br>");
- gc();
- }
- }
-
- function test()
- {
- try {
- plg.testCallback("pluginCallback");
- } catch (ex) {
- alert("Exception: " + ex.description + ". Test plugin was not found");
- }
- }
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/plugins/destroy-plugin-from-callback-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698