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

Issue 476509: Geolocation + Permissions API can lead to odd state

Reported by, Apr 13 2015 Project Member

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

Comment 1 by, Apr 14 2015

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


Comment 4 by, Nov 11 2015

Labels: -Cr-Blink Cr-Blink-Location

Comment 5 by, Nov 12 2015

mlamouri@, are you interested in picking up this bug?

Comment 6 by, Nov 30 2015

Labels: -Cr-Permissions Cr-Internals-Permissions

Comment 7 by, Mar 18 2016

Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Comment 8 by, Nov 22 2016

Components: Internals>Permissions>Model

Comment 9 by, Nov 22 2016

Components: Internals>Permissions>Model

Comment 10 by, Nov 29 2016

Components: -Internals>Permissions

Comment 11 by, Dec 15 2016


Comment 12 by, Jun 2 2017

Components: Blink>PermissionsAPI

Comment 13 by, Sep 22 2017

Components: Blink>Geolocation

Comment 14 by, Sep 22 2017

Components: -Blink>Location

Comment 15 by, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 16 by, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment