OLD | NEW |
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 src="srpc_nrd_client.nexe" /> |
278 <embed type="application/x-nacl-srpc" id="nacl_server" | 278 <embed type="application/x-nacl-srpc" id="nacl_server" |
279 name="nacl_module" width="0" height="0" | 279 name="nacl_module" width="0" height="0" |
280 src="srpc_nrd_server.nexe" /> | 280 src="srpc_nrd_server.nexe" /> |
281 | 281 |
282 <script type="text/javascript" src="nacl_js_lib.js"></script> | 282 <script type="text/javascript" src="nacl_js_lib.js"></script> |
283 <script type="text/javascript"> | 283 <script type="text/javascript"> |
284 //<![CDATA[ | 284 //<![CDATA[ |
285 var nacllib = new NaclLib("nacl_module", "status", 100); | 285 var nacllib = new NaclLib("nacl_module", "status", 500); |
286 | 286 |
287 nacllib.test = function() { | 287 nacllib.test = function() { |
288 server = document.getElementById("nacl_server"); | 288 server = document.getElementById("nacl_server"); |
289 client = document.getElementById("nacl_client"); | 289 client = document.getElementById("nacl_client"); |
290 RunAllTests(); | 290 RunAllTests(); |
291 if (0 == num_passing && 0 == num_failing) { | 291 if (0 == num_passing && 0 == num_failing) { |
292 return "No tests run."; | 292 return "No tests run."; |
293 } else if (0 != num_failing) { | 293 } else if (0 != num_failing) { |
294 return "Tests failed."; | 294 return "Tests failed."; |
295 } else { | 295 } else { |
296 // Set the magic Selenium variable to signal success. | 296 // Set the magic Selenium variable to signal success. |
297 document.cookie = 'status=OK'; | 297 document.cookie = 'status=OK'; |
298 return ""; | 298 return ""; |
299 } | 299 } |
300 } | 300 } |
301 //]]> | 301 //]]> |
302 </script> | 302 </script> |
303 </body> | 303 </body> |
304 </html> | 304 </html> |
OLD | NEW |