Description[Permission Bubble] Allow re-display after ESC
Permission bubbles on Mac would not re-display for new permissions after
dismissing a bubble with ESC.
The root cause is that ESC would close the bubble, but not clean out the
pending requests. This change ensures pending requests are removed when
a bubble closes, for whatever reason.
BUG=385088
TEST= 1) Navigate to adrifelt.github.io/demos/all-permissions.html
2) Click on location, observer permission bubble popping up.
3) Click in permission bubble to give focus to bubble - DO NOT
click on any UI elements in the bubble, just the text.
4) Press ESC, observe bubble being dismissed.
5) Click on "notifications" on the web page. With the change,
observe a new bubble. Without, no new bubble.
Committed: https://crrev.com/3f2fe29dce19b9ed2479313fd6ee631a160a23f6
Cr-Commit-Position: refs/heads/master@{#330950}
Patch Set 1 #
Messages
Total messages: 10 (2 generated)
|