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