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

Side by Side Diff: tests/srpc/srpc_nrd_xfer.html

Issue 1092005: Issue 1092005 (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 9 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
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 <html> 3 <html>
4 <!-- Copyright 2008 Google Inc. All rights reserved. --> 4 <!-- Copyright 2008 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <title> SRPC Descriptor Passing Test </title> 6 <title> SRPC Descriptor Passing Test </title>
7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
8 <META HTTP-EQUIV="Expires" CONTENT="-1"> 8 <META HTTP-EQUIV="Expires" CONTENT="-1">
9 <style type="text/css"> 9 <style type="text/css">
10 td.notrun { background-color: skyblue } 10 td.notrun { background-color: skyblue }
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 <td valign=top id="GeneralOutput"> </td> 267 <td valign=top id="GeneralOutput"> </td>
268 <td valign=top id="SocketAddressOutput"> </td> 268 <td valign=top id="SocketAddressOutput"> </td>
269 <td valign=top id="SharedMemoryOutput"> </td> 269 <td valign=top id="SharedMemoryOutput"> </td>
270 </tr> 270 </tr>
271 </table> 271 </table>
272 272
273 <div id=status>NO-STATUS</div> 273 <div id=status>NO-STATUS</div>
274 274
275 <embed type="application/x-nacl-srpc" id="nacl_client" 275 <embed type="application/x-nacl-srpc" id="nacl_client"
276 name="nacl_module" width="0" height="0" 276 name="nacl_module" width="0" height="0"
277 src="srpc_nrd_client.nexe" /> 277 nexe="srpc_nrd_client">
278 <noembed>
279 Your browser does not appear to support Native Client.
280 Visit http://code.google.com/p/nativeclient/ to get started.
281 <noembed/>
282 </embed>
278 <embed type="application/x-nacl-srpc" id="nacl_server" 283 <embed type="application/x-nacl-srpc" id="nacl_server"
279 name="nacl_module" width="0" height="0" 284 name="nacl_module" width="0" height="0"
280 src="srpc_nrd_server.nexe" /> 285 nexe="srpc_nrd_server">
286 <noembed>
287 Your browser does not appear to support Native Client.
288 Visit http://code.google.com/p/nativeclient/ to get started.
289 <noembed/>
290 </embed>
281 291
282 <script type="text/javascript" src="nacl_js_lib.js"></script> 292 <script type="text/javascript" src="nacl_js_lib.js"></script>
283 <script type="text/javascript"> 293 <script type="text/javascript">
284 //<![CDATA[ 294 //<![CDATA[
285 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), 295 var nacllib = new NaclLib(document.getElementsByName("nacl_module"),
286 document.getElementById("status"), 296 document.getElementById("status"),
287 100); 297 100);
288 298
289 nacllib.test = function() { 299 nacllib.test = function() {
290 server = document.getElementById("nacl_server"); 300 server = document.getElementById("nacl_server");
291 client = document.getElementById("nacl_client"); 301 client = document.getElementById("nacl_client");
292 RunAllTests(); 302 RunAllTests();
293 if (0 == num_passing && 0 == num_failing) { 303 if (0 == num_passing && 0 == num_failing) {
294 return "No tests run."; 304 return "No tests run.";
295 } else if (0 != num_failing) { 305 } else if (0 != num_failing) {
296 return "Tests failed."; 306 return "Tests failed.";
297 } else { 307 } else {
298 // Set the magic Selenium variable to signal success. 308 // Set the magic Selenium variable to signal success.
299 document.cookie = 'status=OK'; 309 document.cookie = 'status=OK';
300 return ""; 310 return "";
301 } 311 }
302 } 312 }
303 //]]> 313 //]]>
304 </script> 314 </script>
305 </body> 315 </body>
306 </html> 316 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698