| Index: chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html
|
| diff --git a/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html b/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html
|
| index 797b16cf2b3a862b4d057135532ad1a7557a7ffa..46041575d6fdf71b45f7691aea8709ec3120d54f 100644
|
| --- a/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html
|
| +++ b/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html
|
| @@ -48,13 +48,25 @@
|
| <body>
|
| <h1>PPAPI PPB_Core Test</h1>
|
|
|
| - <embed type="application/x-nacl" id="test_nexe"
|
| - name="nacl_module"
|
| - src="ppapi_ppb_core.nmf"
|
| - width="0" height="0" />
|
| -
|
| <script type="text/javascript">
|
| //<![CDATA[
|
| + function createModule(id, src, type) {
|
| + return createNaClEmbed({
|
| + id: id,
|
| + src: src,
|
| + width: 0,
|
| + height: 0,
|
| + type: type
|
| + });
|
| + }
|
| +
|
| + var mime = "application/x-nacl";
|
| + if (getTestArguments()["pnacl"] !== undefined) {
|
| + mime = "application/x-pnacl";
|
| + }
|
| + var embed = createModule("test_nexe", "ppapi_ppb_core.nmf", mime);
|
| + document.body.appendChild(embed);
|
| +
|
| var tester = new Tester();
|
| setupTests(tester, $('test_nexe'));
|
| tester.waitFor($('test_nexe'));
|
|
|