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