JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / plugins / npruntime / evaluate.html
1
2 <script src="../../fast/js/resources/js-test-pre.js"></script>
3 </head>
4 <script>
5 function runTest() {
6     plugin = document.getElementById('plugin');
7
8     shouldBe("plugin.testEvaluate('1')", "1");
9     shouldBe("plugin.testEvaluate('plugin')", "plugin");
10     shouldBe("plugin.testEvaluate('window')", "window");
11     shouldBe("plugin.testEvaluate('1 + 1')", "2");
12 }
13 </script>
14 <body onLoad="runTest()">
15 <embed id="plugin" type="application/x-webkit-test-netscape" width=100 height=100></embed>
16 <p id="description"></p>
17 <div id="console"></div>
18
19 <script>
20 description("Test NPN_Evaluate");
21
22 </script>