| OLD | NEW |
| (Empty) | |
| 1 <html> |
| 2 <script> |
| 3 function runtest() { |
| 4 if (window.layoutTestController) { |
| 5 layoutTestController.dumpAsText(); |
| 6 layoutTestController.waitUntilDone(); |
| 7 plg.getURLNotify("data:text/html,<body onload='layoutTestController.noti
fyDone()'></body>", "frame", "callback"); |
| 8 plg.parentNode.removeChild(plg) |
| 9 } else { |
| 10 document.write("Cannot run interactively"); |
| 11 } |
| 12 } |
| 13 </script> |
| 14 <body onload="runtest()"> |
| 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 |
| 17 a plugin that has been deleted. |
| 18 <div id="result">SUCCESS</div> |
| 19 <iframe id="frame"></iframe> |
| 20 </body> |
| 21 </html> |
| OLD | NEW |