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

Side by Side Diff: tests/pnacl_client_translator/pnacl_test_example.html

Issue 9264026: Add support for generating nmfs for pnacl pexes with glibc (vs pnacl nexes). (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: add search path args for psos Created 8 years, 11 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 | « site_scons/site_tools/naclsdk.py ('k') | tests/pnacl_client_translator/pnacl_test_example.nmf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <!-- 3 <!--
4 Copyright (c) 2011 The Native Client Authors. All rights reserved. 4 Copyright (c) 2012 The Native Client Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <html> 8 <html>
9 <head> 9 <head>
10 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 10 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
11 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 11 <META HTTP-EQUIV="Expires" CONTENT="-1" />
12 <title>PNACL Test Example (PPAPI Test Example Clone)</title> 12 <title>PNACL Test Example (PPAPI Test Example Clone)</title>
13 <script type="text/javascript" src="nacltest.js"></script> 13 <script type="text/javascript" src="nacltest.js"></script>
14 <script type="text/javascript" src="ppapi_test_example.js"></script> 14 <script type="text/javascript" src="ppapi_test_example.js"></script>
(...skipping 19 matching lines...) Expand all
34 nexe_div.addEventListener('progress', updateProgress, true); 34 nexe_div.addEventListener('progress', updateProgress, true);
35 nexe_div.addEventListener('load', updateProgress, true); 35 nexe_div.addEventListener('load', updateProgress, true);
36 nexe_div.addEventListener('loadend', updateProgress, true); 36 nexe_div.addEventListener('loadend', updateProgress, true);
37 } 37 }
38 //]]> 38 //]]>
39 </script> 39 </script>
40 </head> 40 </head>
41 <body onload="pageDidLoad()"> 41 <body onload="pageDidLoad()">
42 42
43 <h1>PNACL Test Example</h1> 43 <h1>PNACL Test Example</h1>
44
44 <embed type="application/x-nacl" id="test_nexe" 45 <embed type="application/x-nacl" id="test_nexe"
45 name="nacl_module" 46 name="nacl_module"
46 src="pnacl_test_example.nmf" 47 src="pnacl_test_example.nmf"
47 width="0" height="0" /> 48 width="20" height="20"
49 style="background-color:gray" />
48 50
49 <script type="text/javascript"> 51 <script type="text/javascript">
50 //<![CDATA[ 52 //<![CDATA[
51 var tester = new Tester(); 53 var tester = new Tester();
52 setupTests(tester, $('test_nexe')); 54 setupTests(tester, $('test_nexe'));
53 tester.waitFor($('test_nexe')); 55 tester.waitFor($('test_nexe'));
54 tester.run(); 56 tester.run();
55 //]]> 57 //]]>
56 </script> 58 </script>
57 59
58 <p> This should tick when the UI thread is not blocked:</p> 60 <p> This should tick when the UI thread is not blocked:</p>
59 <div id="counter_area"> 0.0 </div> 61 <div id="counter_area"> 0.0 </div>
60 62
61 <p> Progress:</p> 63 <p> Progress:</p>
62 <div id="progress_area" style="font-size:28pt; color:#FF9900;"> </div> 64 <div id="progress_area" style="font-size:28pt; color:#FF9900;"> </div>
63 65
64 </body> 66 </body>
65 </html> 67 </html>
OLDNEW
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | tests/pnacl_client_translator/pnacl_test_example.nmf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698