New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug
Team-Security-UX



Sign in to add a comment
link

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

Reported by mattgaunt@chromium.org, Apr 13 2015 Project Member

Issue description

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

What steps will reproduce the problem?
1. Grab the permissions sample from this repo: https://github.com/GoogleChrome/samples (In short term you may need to grab it from the PR here: https://github.com/GoogleChrome/samples/pull/107)
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 mlamouri@chromium.org, Apr 14 2015

Cc: mlamouri@chromium.org mvanouwe...@chromium.org
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 johnma...@gmail.com, Apr 23 2015

It's incredible

Comment 3 by f...@chromium.org, May 25 2015

Cc: raymes@chromium.org f...@chromium.org

Comment 4 by cbiesin...@chromium.org, Nov 11 2015

Labels: -Cr-Blink Cr-Blink-Location

Comment 5 by f...@chromium.org, Nov 12 2015

Cc: egm@chromium.org
mlamouri@, are you interested in picking up this bug?

Comment 6 by mlamouri@chromium.org, Nov 30 2015

Labels: -Cr-Permissions Cr-Internals-Permissions

Comment 7 by miguelg@chromium.org, Mar 18 2016

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

Comment 8 by lgar...@chromium.org, Nov 22 2016

Components: Internals>Permissions>Model

Comment 9 by lgar...@chromium.org, Nov 22 2016

Components: Internals>Permissions>Model

Comment 10 by raymes@chromium.org, Nov 29 2016

Components: -Internals>Permissions

Comment 11 by mvanouwe...@chromium.org, Dec 15 2016

Cc: -mvanouwe...@chromium.org

Comment 12 by raymes@chromium.org, Jun 2 2017

Cc: -egm@chromium.org -f...@chromium.org
Components: Blink>PermissionsAPI

Comment 13 by benhenry@chromium.org, Sep 22 2017

Components: Blink>Geolocation

Comment 14 by benhenry@chromium.org, Sep 22 2017

Components: -Blink>Location

Comment 15 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 16 by est...@chromium.org, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment