1<html> 2<head> 3<title>Set Exception Test</title> 4<script src="npapi.js"></script> 5</head> 6 7<body> 8 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> 11 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); 21 } 22</script> 23</body> 24</html> 25