blob: 531e6d8a1a016d652415741e31de0961668f90fe [file] [log] [blame]
Tests that when Geolocation permission has been denied prior to a call to a Geolocation method, the error callback is invoked with code PERMISSION_DENIED, when the Geolocation service encounters an error.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS error.code is error.PERMISSION_DENIED
PASS error.message is "User denied Geolocation"
PASS error.code is error.PERMISSION_DENIED
PASS error.message is "User denied Geolocation"
PASS successfullyParsed is true
TEST COMPLETE