| 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 Open URL as NaCl Descriptor Test</title> | 6 <title>SRPC Open URL as NaCl Descriptor 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 pre.notrun { background-color: skyblue } | 10 pre.notrun { background-color: skyblue } |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 <b> | 156 <b> |
| 157 NOTE: Some versions of some WebKit-based browsers do not correctly report | 157 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 158 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 158 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 159 the above tests to spuriously report failure. | 159 the above tests to spuriously report failure. |
| 160 </b> | 160 </b> |
| 161 </p> | 161 </p> |
| 162 | 162 |
| 163 <div id="status">NO-STATUS</div> | 163 <div id="status">NO-STATUS</div> |
| 164 | 164 |
| 165 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 165 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
| 166 width="0" height="0" src="cat.nexe" /> | 166 width="0" height="0" nexe="cat"> |
| 167 <noembed> |
| 168 Your browser does not appear to support Native Client. |
| 169 Visit http://code.google.com/p/nativeclient/ to get started. |
| 170 <noembed/> |
| 171 </embed> |
| 167 | 172 |
| 168 <script type="text/javascript" src="nacl_js_lib.js"></script> | 173 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 169 <script type="text/javascript"> | 174 <script type="text/javascript"> |
| 170 //<![CDATA[ | 175 //<![CDATA[ |
| 171 var nacllib = new NaclLib(document.getElementsByName('nacl_module'), | 176 var nacllib = new NaclLib(document.getElementsByName('nacl_module'), |
| 172 document.getElementById('status'), | 177 document.getElementById('status'), |
| 173 100); | 178 100); |
| 174 | 179 |
| 175 // Returns true ("wait") to the NaclLib test driver until all of the | 180 // Returns true ("wait") to the NaclLib test driver until all of the |
| 176 // tests are complete. I.e., either all of the file load callbacks have | 181 // tests are complete. I.e., either all of the file load callbacks have |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 return 'Generic test failure.'; | 217 return 'Generic test failure.'; |
| 213 } else { | 218 } else { |
| 214 document.cookie = 'status=OK'; | 219 document.cookie = 'status=OK'; |
| 215 return ''; | 220 return ''; |
| 216 } | 221 } |
| 217 } | 222 } |
| 218 //]]> | 223 //]]> |
| 219 </script> | 224 </script> |
| 220 </body> | 225 </body> |
| 221 </html> | 226 </html> |
| OLD | NEW |