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

Unified Diff: LayoutTests/plugins/get-url-with-blank-target2.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/get-url-with-blank-target2.html
diff --git a/LayoutTests/plugins/get-url-with-blank-target2.html b/LayoutTests/plugins/get-url-with-blank-target2.html
deleted file mode 100644
index 32b495f4056e9a53892201394342f886f599f49b..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/get-url-with-blank-target2.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<script>
-var NPERR_NO_ERROR = 0;
-var NPERR_GENERIC_ERROR = 1;
-
-function callback(result) {
- var d = document.getElementById('result');
-
- if (result == NPERR_NO_ERROR)
- d.innerHTML = "SUCCESS"
- else
- d.innerHTML = "FAILED - got error code " + result
-
- testRunner.notifyDone();
-}
-
-function runtest() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
- // The new window should close immediately after it opens and finishes
- // loading. The setTimeout allows NPP_URLNotify to run before the
- // window is closed.
- plg.getURLNotify("data:text/html,<body onload='setTimeout(function(){close()},0)'></body>", "_blank", "callback");
- } else {
- document.write("Cannot run interactively");
- }
-}
-</script>
-<body onload="runtest()">
-<embed id="plg" type="application/x-webkit-test-netscape"></embed>
-This tests that we won't crash when a plugin tries to open an URL in a new window when the application does not create the window. If this test is successful, the word SUCCESS should be seen below.
-<div id="result">FAILED</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698