| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript"> | 3 <script type="text/javascript"> |
| 4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
| 5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
| 6 layoutTestController.setCanOpenWindows(); | 6 layoutTestController.setCanOpenWindows(); |
| 7 layoutTestController.waitUntilDone(); | 7 layoutTestController.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 22 matching lines...) Expand all Loading... |
| 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"><rdar://problem/6954546></a>) or when a window is next closed (<a href=
"rdar://problem/7090444"><rdar://problem/7090444></a>).</p> | 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"><rdar://problem/6954546></a>) or when a window is next closed (<a href=
"rdar://problem/7090444"><rdar://problem/7090444></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> |
| OLD | NEW |