Home | History | Annotate | Download | only in npapi
      1 <html>
      2 
      3 <head>
      4 <script src="npapi.js"></script>
      5 </head>
      6 
      7 
      8 <body>
      9 <div id="statusPanel" style="border: 1px solid red; width: 100%">
     10 Test running....
     11 </div>
     12 
     13 
     14 NPP_NEW test<p>
     15 This test ensures we don't crash or assert if NPP_New fails.
     16 
     17 <embed	type="application/vnd.npapi-test" 
     18 	src="foo"
     19 	name="new_fails"
     20 	id="1"
     21 	mode="np_embed"
     22 >
     23 
     24 <script> 
     25     var height = document.body.offsetHeight;
     26     onSuccess("new_fails", 1);
     27 </script>
     28 
     29 </body>
     30 </html>
     31