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

Unified Diff: LayoutTests/plugins/destroy-stream-twice.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/destroy-stream-twice.html
diff --git a/LayoutTests/plugins/destroy-stream-twice.html b/LayoutTests/plugins/destroy-stream-twice.html
deleted file mode 100644
index 9da60cfaa3eaf848cc7667708638ec6cc91e7b50..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/destroy-stream-twice.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<head>
-<script src="../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-function main()
-{
- if (!window.testRunner) {
- debug("This test can only run from within DumpRenderTree because it requires TestNetscapePlugin.\n");
- return;
- }
-
- testRunner.waitUntilDone();
-}
-main();
-
-function runTest()
-{
- debug("destroyStream() returns zero to indicate success, or a non-zero error code to indicate failure");
-
- shouldBe("document.getElementById('plugin').hasStream", "true");
- shouldBe("document.getElementById('plugin').destroyStream()", "2"); // we expect to fail because the stream should already have completed loading and destroyed itself
- shouldBe("document.getElementById('plugin').destroyStream()", "2"); // try again, just for good measure
-
- shouldBe("document.getElementById('plugin').destroyNullStream()", "2"); // Now try destroying a null stream
-
- debug("PASS: You didn't crash.\n");
-
- isSuccessfullyParsed();
- testRunner.notifyDone();
-}
-</script>
-<embed id="plugin"
- type="application/x-webkit-test-netscape"
- src="data:text/plain,"
- style="width:0; height:0"
- onstreamload="setTimeout(runTest, 0);">
-</embed>
-
-<script>
-description("Test for http://bugs.webkit.org/show_bug.cgi?id=13203: REGRESSION: Repro crash in -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] navigating away from page with DivX movie plugin");
-
-
-</script>
« no previous file with comments | « LayoutTests/plugins/destroy-reentry-expected.txt ('k') | LayoutTests/plugins/destroy-stream-twice-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698