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

Side by Side Diff: LayoutTests/plugins/destroy-during-npp-new-object-with-fallback-content.html

Issue 1005223002: Blink: Replace all "plug-in" with "plugin". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert netscape-dom-access tests. Created 5 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 type="text/javascript"> 3 <script type="text/javascript">
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.setCanOpenWindows(); 6 testRunner.setCanOpenWindows();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 var newWindow = window.open("data:text/html,Hello world!") 10 var newWindow = window.open("data:text/html,Hello world!")
(...skipping 18 matching lines...) Expand all
29 window.onload = function() { 29 window.onload = function() {
30 tryCloseWindow(newWindow); 30 tryCloseWindow(newWindow);
31 31
32 var testPlugin = document.getElementById('testPlugin'); 32 var testPlugin = document.getElementById('testPlugin');
33 if (!testPlugin || !testPlugin.parentNode) 33 if (!testPlugin || !testPlugin.parentNode)
34 document.documentElement.appendChild(document.createTextNode("SUCCES S")); 34 document.documentElement.appendChild(document.createTextNode("SUCCES S"));
35 } 35 }
36 </script> 36 </script>
37 </head> 37 </head>
38 <body> 38 <body>
39 <p>This tests a plug-in that removes itself from the document during NPP_New . It passes if it does not crash during removal (<a href="rdar://problem/695454 6">&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> 39 <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>
40 <object id="testPlugin" type="application/x-webkit-test-netscape" width="200 " height="200" cleardocumentduringnew>fallback content</object> 40 <object id="testPlugin" type="application/x-webkit-test-netscape" width="200 " height="200" cleardocumentduringnew>fallback content</object>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/destroy-during-npp-new.html ('k') | LayoutTests/plugins/destroy-on-setwindow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698