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

Side by Side Diff: tests/prebuilt/x86/srpc_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/srpc_basic.html ('k') | tests/prebuilt/x86/srpc_nrd_xfer.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>SRPC Simple Plug-in</title> 4 <title>SRPC 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 <script type="text/javascript"> 10 <script type="text/javascript">
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 <p> Clicking on the "Call helloworld" button 49 <p> Clicking on the "Call helloworld" button
50 should open a popup dialog containing <b>hello, world</b> as value.</p> 50 should open a popup dialog containing <b>hello, world</b> as value.</p>
51 51
52 <h2>Status</h2> 52 <h2>Status</h2>
53 <div id=status>NO-STATUS</div> 53 <div id=status>NO-STATUS</div>
54 54
55 <script type="text/javascript" src="nacl_js_lib.js"></script> 55 <script type="text/javascript" src="nacl_js_lib.js"></script>
56 <script type="text/javascript"> 56 <script type="text/javascript">
57 //<![CDATA[ 57 //<![CDATA[
58 var nacllib = new NaclLib("nacl_module", "status", 100); 58 var nacllib = new NaclLib("nacl_module", "status", 500);
59 59
60 nacllib.test = function() { 60 nacllib.test = function() {
61 var plugin = document.getElementById("pluginobj"); 61 var plugin = document.getElementById("pluginobj");
62 if ('42' != plugin.fortytwo()) { 62 if ('42' != plugin.fortytwo()) {
63 return "expected 42"; 63 return "expected 42";
64 } 64 }
65 65
66 if ('hello, world.' != plugin.helloworld()) { 66 if ('hello, world.' != plugin.helloworld()) {
67 return "expected 'hello, world.'"; 67 return "expected 'hello, world.'";
68 } 68 }
69 69
70 document.cookie = 'status=OK'; 70 document.cookie = 'status=OK';
71 71
72 return ""; 72 return "";
73 }; 73 };
74 //]]> 74 //]]>
75 </script> 75 </script>
76 76
77 </body> 77 </body>
78 </html> 78 </html>
OLDNEW
« no previous file with comments | « tests/prebuilt/x86/srpc_basic.html ('k') | tests/prebuilt/x86/srpc_nrd_xfer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698