blob: 4e78e69e634f08ccd2693e526b7a52d4545dcf85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<html>
<head>
<title>Set Exception Test</title>
<script src="npapi.js"></script>
</head>
<body>
<h2>Test that if NPN_SetException is called by an out of process plugin, the
exception is sent to the proper renderer.</h2>
<div id="PluginDiv">
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
</div>
<script>
var plg = window.document["plg"];
try {
plg.testThrowException();
} catch (e) {
onSuccess("npobject_set_exception", 1);
}
</script>
</body>
</html>
|