blob: 36543ecf3495ecd145dc1760f7f2f10aeb4a42e2 [file] [log] [blame]
yael.aharon@nokia.comd9ea6b72009-11-20 21:40:38 +00001<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.org5cf7fa82012-06-15 07:38:37 +00008 if (window.testRunner)
9 testRunner.dumpAsText();
yael.aharon@nokia.comd9ea6b72009-11-20 21:40:38 +000010
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>