| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <script> | 2 <script> |
| 3 function runTest() | 3 function runTest() |
| 4 { | 4 { |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 | 7 |
| 8 var plugin = document.getElementById("testPlugin"); | 8 var plugin = document.getElementById("testPlugin"); |
| 9 var result = document.getElementById('result'); | 9 var result = document.getElementById('result'); |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 result.innerHTML = "FAILURE: getting undefinedProperty returned false"; | 29 result.innerHTML = "FAILURE: getting undefinedProperty returned false"; |
| 30 return; | 30 return; |
| 31 } | 31 } |
| 32 | 32 |
| 33 result.innerHTML = 'SUCCESS'; | 33 result.innerHTML = 'SUCCESS'; |
| 34 } | 34 } |
| 35 </script> | 35 </script> |
| 36 | 36 |
| 37 <body onload="runTest();"> | 37 <body onload="runTest();"> |
| 38 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei
ght="200"></embed> | 38 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei
ght="200"></embed> |
| 39 This tests that we return the correct return value when a plug-in calls NPN_GetP
roperty. | 39 This tests that we return the correct return value when a plugin calls NPN_GetPr
operty. |
| 40 <div id="result">FAILURE</div> | 40 <div id="result">FAILURE</div> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |