2009-10-19 Nate Chapin <japhet@chromium.org>
[WebKit-https.git] / LayoutTests / plugins / netscape-invoke-failure.html
1 <html><body>
2 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
3 <div id="console">FAILURE: No exception caught.</div>
4 <script>
5     if (window.layoutTestController)
6         layoutTestController.dumpAsText();
7
8     try {
9         plg.testFail();
10     } catch (e) {
11         document.getElementById('console').innerHTML = 'SUCCESS: Exception caught: ' + e;
12     }
13 </script></body></html>