| Index: chrome/test/data/nacl/manifest_file/irt_manifest_file_fail_test.html
|
| diff --git a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html b/chrome/test/data/nacl/manifest_file/irt_manifest_file_fail_test.html
|
| similarity index 81%
|
| copy from chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| copy to chrome/test/data/nacl/manifest_file/irt_manifest_file_fail_test.html
|
| index be9df7111c0c038a55c43894af7b8492979e586e..03495e2cee8a75c26c9324556e0415f3161c816b 100644
|
| --- a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
|
| +++ b/chrome/test/data/nacl/manifest_file/irt_manifest_file_fail_test.html
|
| @@ -10,11 +10,11 @@
|
| <meta http-equiv="Pragma" content="no-cache" />
|
| <meta http-equiv="Expires" content="-1" />
|
| <script type="text/javascript" src="nacltest.js"></script>
|
| - <title>Native Client Open Resource Before PPAPI Test</title>
|
| + <title>Native Client failing Open Resource Before PPAPI Test</title>
|
| </head>
|
|
|
| <body>
|
| - <h1>Native Client Open Resource Before PPAPI Test</h1>
|
| + <h1>Native Client failing Open Resource Before PPAPI Test</h1>
|
|
|
| <script type="text/javascript">
|
| //<![CDATA[
|
| @@ -31,7 +31,7 @@ var mime = 'application/x-nacl';
|
| if (getTestArguments()['pnacl'] !== undefined) {
|
| mime = 'application/x-pnacl';
|
| }
|
| -var embed = createModule('naclModule', 'irt_manifest_file.nmf', mime);
|
| +var embed = createModule('naclModule', 'irt_manifest_file_fail.nmf', mime);
|
| embed.basic_tests ='2';
|
| embed.stress_tests = '0';
|
| document.body.appendChild(embed);
|
| @@ -40,8 +40,7 @@ function setupTests(tester, plugin) {
|
| tester.addAsyncTest('Test_00_Init', function(status) {
|
| plugin.addEventListener('message', function(message_event) {
|
| this.removeEventListener('message', arguments.callee, false);
|
| - var golden = 'File Contents:\nTest File Content';
|
| - status.assertEqual(message_event.data, golden);
|
| + status.assertEqual(message_event.data, 2); // ENOENT should be returned.
|
| status.pass();
|
| }, false);
|
| plugin.postMessage('hello');
|
|
|