[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. Review URL: https://codereview.chromium.org/1137543004 Cr-Commit-Position: refs/heads/master@{#330950}
Showing
Please register or sign in to comment