New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Available
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Sign in to add a comment

Geolocation + Permissions API can lead to odd state

Project Member Reported by, Apr 13 2015

Issue description

Version: 44.0.2367.0 (Official Build) canary (64-bit)

What steps will reproduce the problem?
1. Grab the permissions sample from this repo: (In short term you may need to grab it from the PR here:
2. Click the geolocation button
3. When the permission dialog shows up, click the cross to dismiss it.
4. Notice the permission state is still prompt
5. Now click the geolocation button again
6. Notice no permission UI is displayed or Geolocation value supplied
7. Now repeat 2 - 6 but for notifications and notice the permission dialog re-appearing

What is the expected output? What do you see instead?
The status to change from prompt OR the permission prompt to be displayed again

Labels: -OS-Mac OS-All Cr-Permissions
The issue here is that the Geolocation code in Blink is caching the permission, making any change after the first result ignored.

Comment 2 by, Apr 23 2015

It's incredible

Comment 3 by, May 25 2015

Labels: -Cr-Blink Cr-Blink-Location

Comment 5 by, Nov 12 2015

mlamouri@, are you interested in picking up this bug?
Labels: -Cr-Permissions Cr-Internals-Permissions
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Components: Internals>Permissions>Model
Components: Internals>Permissions>Model
Components: -Internals>Permissions
Components: Blink>PermissionsAPI
Components: Blink>Geolocation
Components: -Blink>Location
Labels: Hotlist-EnamelAndFriendsFixIt
Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment