OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script> |
| 4 if (window.layoutTestController) { |
| 5 layoutTestController.setCanOpenWindows(); |
| 6 layoutTestController.dumpAsText(); |
| 7 layoutTestController.waitUntilDone(); |
| 8 } |
| 9 |
| 10 var w = open(); |
| 11 var p = w.navigator.mimeTypes.item(0); |
| 12 w.close(); |
| 13 w = null; |
| 14 |
| 15 setTimeout(function(){ |
| 16 p.enabledPlugin; |
| 17 if (window.layoutTestController) |
| 18 layoutTestController.notifyDone(); |
| 19 }, 50); // Pause is necessary for the page to get freed |
| 20 |
| 21 </script> |
| 22 </head> |
| 23 <body> |
| 24 If the page does not trigger a crash the test passed. |
| 25 </body> |
| 26 </html> |
OLD | NEW |