Home | History | Annotate | Download | only in Geolocation
      1 Tests formatting of position.toString().
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 PASS position.coords.latitude is mockLatitude
      7 PASS position.coords.longitude is mockLongitude
      8 PASS position.coords.accuracy is mockAccuracy
      9 PASS position.toString() is "[object Geoposition]"
     10 PASS position.coords.toString() is "[object Coordinates]"
     11 PASS successfullyParsed is true
     12 
     13 TEST COMPLETE
     14 
     15