Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: tests/manifest_file/irt_manifest_file_test.html

Issue 7745047: Enable browser tests with glibc. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/manifest_file/irt_manifest_file.nmf ('k') | tests/manifest_file/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2011 The Native Client Authors. All rights reserved. 2 Copyright 2011 The Native Client Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can 3 Use of this source code is governed by a BSD-style license that can
4 be found in the LICENSE file. 4 be found in the LICENSE file.
5 --> 5 -->
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 7 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 <html> 8 <html>
9 <head> 9 <head>
10 <meta http-equiv="Pragma" content="no-cache" /> 10 <meta http-equiv="Pragma" content="no-cache" />
(...skipping 14 matching lines...) Expand all
25 style="background-color:gray" 25 style="background-color:gray"
26 type="application/x-nacl" /> 26 type="application/x-nacl" />
27 </div> 27 </div>
28 28
29 <script type="text/javascript"> 29 <script type="text/javascript">
30 //<![CDATA[ 30 //<![CDATA[
31 function setupTests(tester, plugin) { 31 function setupTests(tester, plugin) {
32 tester.addAsyncTest('Test_00_Init', function(status) { 32 tester.addAsyncTest('Test_00_Init', function(status) {
33 plugin.addEventListener('message', function(message_event) { 33 plugin.addEventListener('message', function(message_event) {
34 this.removeEventListener('message', arguments.callee, false); 34 this.removeEventListener('message', arguments.callee, false);
35 var golden = 'File Contents:\n// There should not be CRs in here, just LF termination!\n{\n "program": {\n "x86-32": {"url": "irt_manifest_file_test_x 86-32.nexe"},\n "x86-64": {"url": "irt_manifest_file_test_x86-64.nexe"},\n "arm": {"url": "irt_manifest_file_test_arm.nexe"}\n },\n "files": {\n " nmf says hello world": {\n "x86-32": {"url": "irt_manifest_file_test_x86-32 .nexe"},\n "x86-64": {"url": "irt_manifest_file_test_x86-64.nexe"},\n "arm": {"url": "irt_manifest_file_test_arm.nexe"}\n },\n "test_file": { \n "portable": {"url": "irt_manifest_file.nmf"}\n }\n }\n}\n'; 35 var golden = 'File Contents:\nTest File Content';
36 status.assertEqual(message_event.data, golden); 36 status.assertEqual(message_event.data, golden);
37 status.pass(); 37 status.pass();
38 }, false); 38 }, false);
39 plugin.postMessage('hello'); 39 plugin.postMessage('hello');
40 }); 40 });
41 } 41 }
42 42
43 var tester = new Tester(); 43 var tester = new Tester();
44 setupTests(tester, $('naclModule')); 44 setupTests(tester, $('naclModule'));
45 tester.waitFor($('naclModule')); 45 tester.waitFor($('naclModule'));
46 tester.run(); 46 tester.run();
47 //]]> 47 //]]>
48 </script> 48 </script>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW
« no previous file with comments | « tests/manifest_file/irt_manifest_file.nmf ('k') | tests/manifest_file/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698