4 document
.getElementById('console').innerHTML
+= str
+ "<br>";
7 function pluginCallback() {
10 testRunner
.notifyDone();
14 if (window
.testRunner
) {
15 testRunner
.dumpAsText();
16 testRunner
.waitUntilDone();
19 var plugin
= document
.plugin
;
21 debug('plugin object is: ' + plugin
);
22 plugin
.getURL('javascript:pluginCallback()', '_self')
25 <body onload=
"runTest()">
26 <object name=
"plugin" type=
"application/x-webkit-test-netscape">
28 <embed name=
"plugin" type=
"application/x-webkit-test-netscape"></embed>
32 This tests that it's possible to control an embed that is nested inside an object with a span tag in between.