OLD | NEW |
| (Empty) |
1 <html> | |
2 <script> | |
3 if (window.testRunner) | |
4 testRunner.dumpAsText(); | |
5 | |
6 function runTest() { | |
7 var c = document.getElementById('console'); | |
8 var p = document.getElementById('plg'); | |
9 var x = p(); | |
10 c.innerHTML += 'plg() = ' + x + '<br>'; | |
11 | |
12 var y = p.testObject(); | |
13 c.innerHTML += 'plg.testObject() = ' + y + '<br>'; | |
14 } | |
15 </script> | |
16 <body onload='runTest()'> | |
17 <embed id="plg" type="application/x-webkit-test-netscape"></embed><P> | |
18 | |
19 This tests that call a plugin object (NPObject) as a function invokes | |
20 invokeDefault() function on the object. | |
21 | |
22 <div id="console"></div> | |
23 </body> | |
24 </html> | |
25 | |
OLD | NEW |