2 Get a plugin array from an iframe, detach the iframe, and refresh plugins. We pass if we don't crash.
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() {
14 testRunner
.notifyDone();
18 <iframe id=
"i" src=
"resources/failure.html"></iframe>