| document.getElementById('console').innerHTML += str + "<br>"; |
| function pluginCallback() { |
| testRunner.waitUntilDone(); |
| var plugin = document.plugin; |
| debug('plugin object is: ' + plugin); |
| plugin.getURL('javascript:pluginCallback()', '_self') |
| <body onload="runTest()"> |
| <object name="plugin" type="application/x-webkit-test-netscape"> |
| <embed name="plugin" type="application/x-webkit-test-netscape"></embed> |
| This tests that it's possible to control an embed that is nested inside an object with a span tag in between. |