blob: 964f3eaf701c89faebce2036884bdc7d9ff51c70 [file] [log] [blame]
Tests that navigator.geolocation.watchPosition() returns error POSITION_UNAVAILABLE when called from a document in a sandboxed iframe.
--------
Frame: '<!--frame1-->'
--------
PASS error.code is error.POSITION_UNAVAILABLE.
PASS error.message is "Origin does not have permission to use Geolocation service".