OLD | NEW |
| (Empty) |
1 <head> | |
2 <script src="../resources/js-test.js"></script> | |
3 <script> | |
4 if (window.testRunner) { | |
5 testRunner.dumpAsText(); | |
6 testRunner.waitUntilDone(); | |
7 } | |
8 | |
9 function runTest() | |
10 { | |
11 var foo = document.getElementById("TestElement").someMadeUpBar; | |
12 | |
13 testPassed("Did not crash trying to access the plugin script object."); | |
14 | |
15 if (window.testRunner) | |
16 testRunner.notifyDone(); | |
17 } | |
18 | |
19 </script> | |
20 | |
21 </head> | |
22 <body onload="runTest();"> | |
23 <embed id="TestElement" type="application/x-webkit-test-netscape" test="npp-new-
fails"></embed> | |
24 <p id="description"></p> | |
25 <div id="console"></div> | |
26 </body> | |
27 | |
28 <script> | |
29 description("http://webkit.org/b/95026 - Tests that access to the plugin script
object after the plugin fails to initialize doesn't crash"); | |
30 </script> | |
OLD | NEW |