yael.aharon@nokia.com | d9ea6b7 | 2009-11-20 21:40:38 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <body> |
| 3 | <embed name="plg" type="application/x-webkit-test-netscape"></embed> |
| 4 | <p>Test for NPN_RelaodPlugin in which reloadOpenPages is false. You should see one alert, indicating that the page was loaded once.</p> |
| 5 | <div id='res'>FAILURE</div> |
| 6 | <script> |
| 7 | alert("Page was loaded"); |
rniwa@webkit.org | 5cf7fa8 | 2012-06-15 07:38:37 +0000 | [diff] [blame] | 8 | if (window.testRunner) |
| 9 | testRunner.dumpAsText(); |
yael.aharon@nokia.com | d9ea6b7 | 2009-11-20 21:40:38 +0000 | [diff] [blame] | 10 | |
| 11 | try { |
| 12 | plg.reloadPluginsNoPages(); |
| 13 | document.getElementById('res').innerHTML='SUCCESS'; |
| 14 | } catch (ex) { |
| 15 | alert("Exception: " + ex.description + ". Test plugin was not found"); |
| 16 | } |
| 17 | </script> |
| 18 | </body> |
| 19 | </html> |