summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/npapi/new_fails.html
blob: a4b7de939d68471c32c0a4b02520dcb31e298df5 (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
25
26
27
28
29
30
<html>

<head>
<script src="npapi.js"></script>
</head>


<body>
<div id="statusPanel" style="border: 1px solid red; width: 100%">
Test running....
</div>


NPP_NEW test<p>
This test ensures we don't crash or assert if NPP_New fails.

<embed	type="application/vnd.npapi-test" 
	src="foo"
	name="new_fails"
	id="1"
	mode="np_embed"
>

<script> 
    var height = document.body.offsetHeight;
    onSuccess("new_fails", 1);
</script>

</body>
</html>