2 <script src=
"../resources/js-test.js"></script>
4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 var foo
= document
.getElementById("TestElement").someMadeUpBar
;
13 testPassed("Did not crash trying to access the plugin script object.");
15 if (window
.testRunner
)
16 testRunner
.notifyDone();
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>
29 description("http://webkit.org/b/95026 - Tests that access to the plugin script object after the plugin fails to initialize doesn't crash");