3 <embed id="plg" type="application/x-webkit-test-netscape"></embed>
4 <p>Test for NPN_RelaodPlugin in which reloadOpenPages is true. You should see two alerts, indicating that the page was loaded twice.</p>
5 <div id='res'>FAILURE</div>
7 alert("Page was loaded");
9 if (window.sessionStorage) {
10 if (window.sessionStorage.reloadPluginsAndPagesCalled) {
13 window.sessionStorage.reloadPluginsAndPagesCalled = 1;
17 if (window.layoutTestController)
18 layoutTestController.dumpAsText();
22 if (window.layoutTestController)
23 layoutTestController.waitUntilDone();
24 document.getElementById('plg').reloadPluginsAndPages();
26 alert("Exception: " + ex.description + ". Test plugin was not found");
29 document.getElementById('res').innerHTML="SUCCESS";
30 if (window.layoutTestController)
31 layoutTestController.notifyDone();