| <embed id="plg" type="application/x-webkit-test-netscape"></embed> |
| <p>Test for NPN_RelaodPlugin in which reloadOpenPages is true. You should see two alerts, indicating that the page was loaded twice.</p> |
| <div id='res'>FAILURE</div> |
| alert("Page was loaded"); |
| if (window.sessionStorage) { |
| if (window.sessionStorage.reloadPluginsAndPagesCalled) { |
| window.sessionStorage.reloadPluginsAndPagesCalled = 1; |
| testRunner.waitUntilDone(); |
| document.getElementById('plg').reloadPluginsAndPages(); |
| alert("Exception: " + ex.description + ". Test plugin was not found"); |
| document.getElementById('res').innerHTML="SUCCESS"; |