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

Side by Side Diff: tests/prebuilt/x86/npapi_hw.html

Issue 2853014: The Mac Selenium tests are flaky, failing every now and then because of a... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 6 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/prebuilt/x86/OldAbiVersion/srpc_hw.html ('k') | tests/prebuilt/x86/srpc_basic.html » ('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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>NPAPI Simple Plug-in</title> 4 <title>NPAPI Simple Plug-in</title>
5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
6 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 6 <META HTTP-EQUIV="Expires" CONTENT="-1" />
7 </head> 7 </head>
8 <body onload="nacllib.waitForModulesAndRunTests();" 8 <body onload="nacllib.waitForModulesAndRunTests();"
9 onunload="nacllib.cleanUp();" > 9 onunload="nacllib.cleanUp();" >
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 <p> Clicking on the "Call helloworld" button 47 <p> Clicking on the "Call helloworld" button
48 should open a popup dialog containing <b>hello, world</b> as value.</p> 48 should open a popup dialog containing <b>hello, world</b> as value.</p>
49 49
50 <h2>Status</h2> 50 <h2>Status</h2>
51 <div id=status>NO-STATUS</div> 51 <div id=status>NO-STATUS</div>
52 52
53 <script type="text/javascript" src="nacl_js_lib.js"></script> 53 <script type="text/javascript" src="nacl_js_lib.js"></script>
54 <script type="text/javascript"> 54 <script type="text/javascript">
55 //<![CDATA[ 55 //<![CDATA[
56 var nacllib = new NaclLib("nacl_module", "status", 50); 56 var nacllib = new NaclLib("nacl_module", "status", 500);
57 57
58 // we use a custom detector for whether a module is ready or not 58 // we use a custom detector for whether a module is ready or not
59 nacllib.numModulesReady = function(modules) { 59 nacllib.numModulesReady = function(modules) {
60 var count = 0; 60 var count = 0;
61 for (var i = 0; i < modules.length; i++) { 61 for (var i = 0; i < modules.length; i++) {
62 try { 62 try {
63 var foo = modules[i].fortytwo(); 63 var foo = modules[i].fortytwo();
64 count += 1; 64 count += 1;
65 } catch(e) { 65 } catch(e) {
66 // do nothing 66 // do nothing
(...skipping 19 matching lines...) Expand all
86 document.cookie = 'status=OK'; 86 document.cookie = 'status=OK';
87 87
88 return ""; 88 return "";
89 }; 89 };
90 90
91 //]]> 91 //]]>
92 </script> 92 </script>
93 93
94 </body> 94 </body>
95 </html> 95 </html>
OLDNEW
« no previous file with comments | « tests/prebuilt/x86/OldAbiVersion/srpc_hw.html ('k') | tests/prebuilt/x86/srpc_basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698