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