1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <!-- Copyright (c) 2011 Google Inc. All rights reserved. -->
6 <meta http-equiv=
"Pragma" content=
"no-cache" />
7 <meta http-equiv=
"Expires" content=
"-1" />
8 <script type=
"text/javascript" src=
"nacltest.js"></script>
9 <script type=
"text/javascript" src=
"ppapi_ppp_instance.js"></script>
10 <title>PPAPI PPP_Instance Test
</title>
13 <h1>PPAPI PPP_Instance Test
</h1>
15 <div id=
"test_nexe_parent">
16 <!-- NOTE: The width and height must be different from the values checked
17 in PPP_Instance::DidChangeView so when we set them, they change -->
20 <script type=
"text/javascript">
22 function createModule(id
, src
, type
) {
23 return createNaClEmbed({
32 var mime
= 'application/x-nacl';
33 if (getTestArguments()['pnacl'] !== undefined) {
34 mime
= 'application/x-pnacl';
36 var embed
= createModule('test_nexe', 'ppapi_ppp_instance.nmf', mime
);
37 $('test_nexe_parent').appendChild(embed
);
39 var tester
= new Tester();
40 setupTests(tester
, $('test_nexe'));
41 tester
.waitFor($('test_nexe'));