| Index: chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| diff --git a/ppapi/native_client/tests/nacl_browser/manifest_file/irt_manifest_file_test.html b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| similarity index 74%
|
| rename from ppapi/native_client/tests/nacl_browser/manifest_file/irt_manifest_file_test.html
|
| rename to chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| index 3745f134988f5bebd775b3e71f122fc59a8c1b6d..b4e1fbb970af238c420b85cb5ea93be22a938615 100644
|
| --- a/ppapi/native_client/tests/nacl_browser/manifest_file/irt_manifest_file_test.html
|
| +++ b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| @@ -15,19 +15,27 @@
|
|
|
| <body>
|
| <h1>Native Client Open Resource Before PPAPI Test</h1>
|
| - <div>
|
| - <embed id="naclModule"
|
| - name="naclModule"
|
| - width=400 height=400
|
| - src="irt_manifest_file.nmf"
|
| - basic_tests="1"
|
| - stress_tests="0"
|
| - style="background-color:gray"
|
| - type="application/x-nacl" />
|
| - </div>
|
|
|
| <script type="text/javascript">
|
| //<![CDATA[
|
| +function createModule(id, src, type) {
|
| + return createNaClEmbed({
|
| + id: id,
|
| + src: src,
|
| + width: 400,
|
| + height: 400,
|
| + type: type
|
| + });
|
| +}
|
| +var mime = 'application/x-nacl';
|
| +if (getTestArguments()['pnacl'] !== undefined) {
|
| + mime = 'application/x-pnacl';
|
| +}
|
| +var embed = createModule('naclModule', 'irt_manifest_file.nmf', mime);
|
| +embed.basic_tests ='2';
|
| +embed.stress_tests = '0';
|
| +document.body.appendChild(embed);
|
| +
|
| function setupTests(tester, plugin) {
|
| tester.addAsyncTest('Test_00_Init', function(status) {
|
| plugin.addEventListener('message', function(message_event) {
|
|
|