blob: 59245b18cc1a47fa26054cabae7603ef490b43be [file] [log] [blame]
<html>
<head>
<script>
if (window.layoutTestController) {
layoutTestController.setCanOpenWindows();
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
var w = open();
var p = w.navigator.mimeTypes.item(0);
w.close();
w = open();
p = w.navigator.mimeTypes.item(0);
w.navigator.plugins.refresh();
w.close();
w = null;
setTimeout(function(){
p.enabledPlugin;
if (window.layoutTestController)
layoutTestController.notifyDone();
}, 50); // Pause is necessary for the page to get freed
</script>
</head>
<body>
If the page does not trigger a crash the test passed.
</body>
</html>