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