Index: trunk/src/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html |
=================================================================== |
--- trunk/src/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html (revision 205338) |
+++ trunk/src/chrome/test/data/nacl/ppapi/ppb_core/ppapi_ppb_core.html (working copy) |
@@ -48,25 +48,13 @@ |
<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')); |