summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/plugins/reloadplugins-no-pages.html
blob: 36543ecf3495ecd145dc1760f7f2f10aeb4a42e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<body>
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
<p>Test for NPN_RelaodPlugin in which reloadOpenPages is false. You should see one alert, indicating that the page was loaded once.</p>
<div id='res'>FAILURE</div>
<script>
    alert("Page was loaded");
    if (window.testRunner)
        testRunner.dumpAsText();

    try {
        plg.reloadPluginsNoPages();
        document.getElementById('res').innerHTML='SUCCESS';
    } catch (ex) {
        alert("Exception: " + ex.description + ". Test plugin was not found");
    }
</script>
</body>
</html>