[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / plugins / reloadplugins-no-pages.html
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");
8     if (window.layoutTestController)
9         layoutTestController.dumpAsText();
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>