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

Unified Diff: LayoutTests/plugins/npruntime/leak-window-scriptable-object.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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/plugins/npruntime/leak-window-scriptable-object.html
diff --git a/LayoutTests/plugins/npruntime/leak-window-scriptable-object.html b/LayoutTests/plugins/npruntime/leak-window-scriptable-object.html
deleted file mode 100644
index 2cceff3302098cdde5b9419fdacbd6347770e8ed..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/leak-window-scriptable-object.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description("Test that a plugin that fails to release the window script object doesn't result in the window's document being leaked");
-
-if (window.internals) {
- // Test that the live document count returns to the initial value, rather than to a specific value, so this test is robust to leaks in preceding tests.
- gc();
- var initialLiveDocumentCount = window.internals.numberOfLiveDocuments();
-
- var iframe = document.createElement('iframe');
- document.body.appendChild(iframe);
- iframe.contentWindow.document.documentElement.innerHTML = '<embed id="plugin" type="application/x-webkit-test-netscape" test="leak-window-scriptable-object"></embed>';
-
- shouldBeTrue("window.internals.numberOfLiveDocuments() > initialLiveDocumentCount");
-
- document.body.removeChild(iframe);
-
- gc();
- shouldBeTrue("window.internals.numberOfLiveDocuments() == initialLiveDocumentCount");
-}
-
-var successfullyParsed = true;
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698