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