B2G/gecko/netwerk/test/unit/test_spdy.js
// Support for making sure XHR works over SPDY
Support for making sure XHR works over SPDY
Support for making sure XHR works over SPDY
function checkXhr(xhr) {
  if (xhr.readyState != 4) {
    return;
  }
  do_check_eq(xhr.status, 200);
  do_check_eq(checkIsSpdy(xhr), true);
  run_next_test();
  do_test_finished();
}
function checkXhr ( xhr ) { if ( xhr . readyState != 4 ) { return ; } do_check_eq ( xhr . status , 200 ) ; do_check_eq ( checkIsSpdy ( xhr ) , true ) ; run_next_test ( ) ; do_test_finished ( ) ; }
Support for making sure XHR works over SPDY
Support for making sure XHR works over SPDY