blob: 322d6977ab0264aa67d06f62b040555c4d0f4fd2 [file] [log] [blame]
Tests that navigator.geolocation.getCurrentPosition() 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".