4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
9 function printResults()
11 alert(document
.getElementById("plugin").testCallback
);
13 if (window
.testRunner
)
14 testRunner
.notifyDone();
19 var pluginDiv
= document
.getElementById("pluginDiv");
20 pluginDiv
.style
.display
= 'inline';
21 pluginDiv
.innerHTML
= '<object id="plugin" width="300" height="300" type="application/x-webkit-test-netscape"/>';
22 setTimeout("printResults()", 1);
26 <body onload=
"setPlugin();">
27 <div id=
"pluginDiv" style=
"display: none;"></div>