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

Unified Diff: LayoutTests/plugins/destroy-during-npp-new.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-during-npp-new.html
diff --git a/LayoutTests/plugins/destroy-during-npp-new.html b/LayoutTests/plugins/destroy-during-npp-new.html
deleted file mode 100644
index aa448cc2c8560765d06ca9cbeda7c470fa50fb98..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/destroy-during-npp-new.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-<head>
- <script type="text/javascript">
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.setCanOpenWindows();
- testRunner.waitUntilDone();
- }
-
- var newWindow = window.open("data:text/html,Hello world!")
-
- function tryCloseWindow(w) {
- if (!w)
- return;
-
- w.close();
-
- function doneIfClosed() {
- if (w.closed) {
- if (window.testRunner)
- testRunner.notifyDone();
- return;
- }
- setTimeout(doneIfClosed, 1);
- };
- doneIfClosed();
- }
-
- window.onload = function() {
- tryCloseWindow(newWindow);
-
- var testPlugin = document.getElementById('testPlugin');
- if (!testPlugin || !testPlugin.parentNode)
- document.documentElement.appendChild(document.createTextNode("SUCCESS"));
- }
- </script>
-</head>
-<body>
- <p>This tests a plugin that removes itself from the document during NPP_New. It passes if it does not crash during removal (<a href="rdar://problem/6954546">&lt;rdar://problem/6954546&gt;</a>) or when a window is next closed (<a href="rdar://problem/7090444">&lt;rdar://problem/7090444&gt;</a>).</p>
- <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" height="200" cleardocumentduringnew></embed>
-</body>
-</html>
« no previous file with comments | « LayoutTests/plugins/call-as-function-expected.txt ('k') | LayoutTests/plugins/destroy-during-npp-new-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698