blob: 55e95c5be60aaadaab533bf787ba68b885450f04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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 has a good position.
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
|