B2G/gecko/dom/system/gonk/tests/marionette/test_geolocation.js
/**
 * Helper that compares the geolocation against the web API.
 */
Helper that compares the geolocation against the web API.
Helper that compares the geolocation against the web API .
function verifyLocation() {
  log("Sample:" + sample.join(','));
  log("Result:" + result.join(','));
  for (i in sample) {
    is(sample.pop(), result.pop());
  }
  window.setTimeout(cleanup, 0);
}
function verifyLocation ( ) { log ( "Sample:" + sample . join ( ',' ) ) ; log ( "Result:" + result . join ( ',' ) ) ; for ( i in sample ) { is ( sample . pop ( ) , result . pop ( ) ) ; } window . setTimeout ( cleanup , 0 ) ; }
Helper that compares the geolocation against the web API.
Helper that compares the geolocation against the web API .