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

Side by Side Diff: third_party/WebKit/LayoutTests/plugins/window-open.html

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase; fix expectations for plugin-initiate-popup-window-expected Created 4 years, 9 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.setCanOpenWindows(); 5 testRunner.setCanOpenWindows();
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 </script> 10 </script>
11 <body style="margin:0px;overflow:hidden"> 11 <body style="margin:0px;overflow:hidden">
12 <object name="testPlugin" type="application/x-webkit-test-netscape" testwindowop en="true"> 12 <object name="testPlugin" type="application/x-blink-deprecated-test-plugin" test windowopen="true">
13 </object> 13 </object>
14 <div> 14 <div>
15 This tests that window.open invoked by a plugin via NPN_Invoke without a jav ascript context succeeds. 15 This tests that window.open invoked by a plugin without a javascript context succeeds.
16 </div> 16 </div>
17 <body> 17 <body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698