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 2009 Google Inc. All rights reserved. --> | 4 <!-- Copyright 2009 Google Inc. All rights reserved. --> |
5 <head> | 5 <head> |
6 <title> SRPC Socket Address API Test </title> | 6 <title> SRPC Socket Address API 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 <p> | 220 <p> |
221 <b> | 221 <b> |
222 NOTE: Some versions of some WebKit-based browsers do not correctly report | 222 NOTE: Some versions of some WebKit-based browsers do not correctly report |
223 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 223 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
224 the above tests to spuriously report failure. | 224 the above tests to spuriously report failure. |
225 </b> | 225 </b> |
226 </p> | 226 </p> |
227 | 227 |
228 <div id=status>NO-STATUS</div> | 228 <div id=status>NO-STATUS</div> |
229 | 229 |
230 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 230 <embed type="application/x-nacl" id="nacl_server" name="nacl_module" |
231 width="0" height="0" src="srpc_nrd_server.nexe" /> | 231 width="0" height="0" src="srpc_nrd_server.nexe" /> |
232 | 232 |
233 <script type="text/javascript" src="nacl_js_lib.js"></script> | 233 <script type="text/javascript" src="nacl_js_lib.js"></script> |
234 <script type="text/javascript"> | 234 <script type="text/javascript"> |
235 //<![CDATA[ | 235 //<![CDATA[ |
236 var nacllib = new NaclLib("nacl_module", "status", 500); | 236 var nacllib = new NaclLib("nacl_module", "status", 500); |
237 | 237 |
238 nacllib.test = function() { | 238 nacllib.test = function() { |
239 server = document.getElementById("nacl_server"); | 239 server = document.getElementById("nacl_server"); |
240 EnqueueAndRunTests(); | 240 EnqueueAndRunTests(); |
241 if (0 == testQueue.length) { | 241 if (0 == testQueue.length) { |
242 return "No tests run."; | 242 return "No tests run."; |
243 } else if (0 != failing_count) { | 243 } else if (0 != failing_count) { |
244 return "Tests failed."; | 244 return "Tests failed."; |
245 } else { | 245 } else { |
246 return ""; | 246 return ""; |
247 } | 247 } |
248 } | 248 } |
249 //]]> | 249 //]]> |
250 </script> | 250 </script> |
251 </body> | 251 </body> |
252 </html> | 252 </html> |
OLD | NEW |