DescriptionUpdate geolocation over HTTP error to use PERMISSION_DENIED
When geolocation is used over HTTP, we had been using
POSITION_UNAVAILABLE, but it was pointed out that using geolocation over
a file:// URL uses PERMISSION_DENIED instead. To be consistent, this
updates the HTTP failure to use PERMISSION_DENIED.
BUG=561641
Committed: https://crrev.com/5e9d2e8a2e8d288c87f192a55c1b5fe57388d7c2
Cr-Commit-Position: refs/heads/master@{#372841}
Patch Set 1 #Patch Set 2 : Add test for correct error code #
Total comments: 6
Patch Set 3 : Address nits #
Messages
Total messages: 15 (5 generated)
|