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

Side by Side Diff: LayoutTests/plugins/get-url-with-blank-target.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
4 <script>
5 var NPERR_GENERIC_ERROR = 1;
6
7 function callback(result) {
8 var d = document.getElementById('result');
9
10 if (result == NPERR_GENERIC_ERROR)
11 d.innerHTML = "SUCCESS"
12 else
13 d.innerHTML = "FAILED - Expected error code 1 but got error code " + res ult
14
15 testRunner.notifyDone();
16 }
17
18 if (window.testRunner) {
19 testRunner.dumpAsText();
20 testRunner.waitUntilDone();
21
22 plg.getURLNotify("http://www.apple.com", "_blank", "callback");
23 } else {
24 document.write("Cannot run interactively");
25 }
26 </script>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 succ essful, the word SUCCESS should be seen below.
27 <div id="result">FAILED</div>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698