Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / plugin-array-detach.html
blob8b8301a9537493080f9603e43567c13bedc1ba21
1 <body>
2 Get a plugin array from an iframe, detach the iframe, and refresh plugins. We pass if we don't crash.
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
9 window.onload = function() {
10 p = frames[0].navigator.plugins;
11 document.body.removeChild(document.getElementById("i"));
12 setTimeout(function() {
13 p.refresh(true);
14 testRunner.notifyDone();
15 }, 0);
17 </script>
18 <iframe id="i" src="resources/failure.html"></iframe>
19 </body>