| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <script> | 2 <script> |
| 3 function runtest() { | 3 function runtest() { |
| 4 if (window.testRunner) { | 4 if (window.testRunner) { |
| 5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 plg.getURLNotify("data:text/html,<body onload='testRunner.notifyDone()'>
</body>", "frame", "callback"); | 7 plg.getURLNotify("data:text/html,<body onload='testRunner.notifyDone()'>
</body>", "frame", "callback"); |
| 8 plg.parentNode.removeChild(plg) | 8 plg.parentNode.removeChild(plg) |
| 9 } else { | 9 } else { |
| 10 document.write("Cannot run interactively"); | 10 document.write("Cannot run interactively"); |
| 11 } | 11 } |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 <body onload="runtest()"> | 14 <body onload="runtest()"> |
| 15 <embed id="plg" type="application/x-webkit-test-netscape"></embed> | 15 <embed id="plg" type="application/x-webkit-test-netscape"></embed> |
| 16 This tests that we do not crash upon trying to deliver NPP_URLNotify to | 16 This tests that we do not crash upon trying to deliver NPP_URLNotify to |
| 17 a plugin that has been deleted. | 17 a plugin that has been deleted. |
| 18 <div id="result">SUCCESS</div> | 18 <div id="result">SUCCESS</div> |
| 19 <iframe id="frame"></iframe> | 19 <iframe id="frame"></iframe> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |