Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / access-after-page-destroyed.html
blob61630cf7f1c094e35e5124685f8eeffe21d15be7
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.setCanOpenWindows();
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 var w = open();
11 var p = w.navigator.mimeTypes.item(0);
12 w.close();
13 w = open();
14 p = w.navigator.mimeTypes.item(0);
15 w.navigator.plugins.refresh();
16 w.close();
17 w = null;
19 setTimeout(function(){
20 p.enabledPlugin;
21 if (window.testRunner)
22 testRunner.notifyDone();
23 }, 50); // Pause is necessary for the page to get freed
25 </script>
26 </head>
27 <body>
28 If the page does not trigger a crash the test passed.
29 </body>
30 </html>