diff options
Diffstat (limited to 'chrome/test/data/npapi/new_fails.html')
-rw-r--r-- | chrome/test/data/npapi/new_fails.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chrome/test/data/npapi/new_fails.html b/chrome/test/data/npapi/new_fails.html new file mode 100644 index 0000000..a4b7de9 --- /dev/null +++ b/chrome/test/data/npapi/new_fails.html @@ -0,0 +1,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> |