Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320)
[chromium-blink-merge.git] / content / test / data / npapi / npobject_set_exception.html
blob1eeacbfb533738b5cb50fb170202ace780b108ca
1 <html>
2 <head>
3 <title>Set Exception Test</title>
4 <script src="npapi.js"></script>
5 </head>
7 <body>
9 <h2>Test that if NPN_SetException is called by an out of process plugin, the
10 exception is sent to the proper renderer.</h2>
12 <div id="PluginDiv">
13 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
14 </div>
15 <script>
16 var plg = window.document["plg"];
17 try {
18 plg.testThrowException();
19 } catch (e) {
20 onSuccess("npobject_set_exception", 1);
22 </script>
23 </body>
24 </html>