Chromium Code Reviews| Index: chrome/test/data/nacl/exit_status/pm_exit_status_test.html |
| diff --git a/chrome/test/data/nacl/exit_status/pm_exit_status_test.html b/chrome/test/data/nacl/exit_status/pm_exit_status_test.html |
| index 3f3473e8f48ff55e779a771c6e00f7755a257600..22d901ed23c3ae605eed44729d569f48746485bc 100644 |
| --- a/chrome/test/data/nacl/exit_status/pm_exit_status_test.html |
| +++ b/chrome/test/data/nacl/exit_status/pm_exit_status_test.html |
| @@ -15,7 +15,7 @@ |
| <body> |
| <h1>Native Client Exit Status Test</h1> |
| - <div> |
| + <!-- |
|
jvoung (off chromium)
2013/06/04 22:27:25
could remove the commented out html
sehr
2013/06/06 22:03:45
Done.
|
| <embed id="naclModule" |
| name="naclModule" |
| width=400 height=400 |
| @@ -24,10 +24,29 @@ |
| 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", "pm_exit_status_test.nmf", mime); |
| +embed.basic_tests = "2"; |
| +embed.stress_tests = "0"; |
| +document.body.appendChild(embed); |
| + |
| var tester = new Tester($('body')); |
| var args = getTestArguments({'expected_exit' : |
| 'THIS TEST CANNOT RUN STANDALONE -- run using scons instead'}); |