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

Geolocation + Permissions API can lead to odd state

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

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

 
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
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?
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
Cc: -mvanouwe...@chromium.org
Cc: -egm@chromium.org -f...@chromium.org
Components: Blink>PermissionsAPI
Components: Blink>Geolocation
Components: -Blink>Location
Labels: Hotlist-EnamelAndFriendsFixIt
Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment