Issue metadata
Sign in to add a comment
|
RequestPermission callback not called when pressing Esc
Reported by
tsek...@gmail.com,
May 6 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 Steps to reproduce the problem: 1. Open a page that request permissions to display notifications 2. When Notification bubble appears to ask you for permissions - press Escape Result: Notification bubble disappears, but the request callback is not called. Notification.requestPermission().then(callback); Callback is never called when pressing ESC on request permission bubble What is the expected behavior? Callback to be called when pressing esc and request permissions bubble is closed. What went wrong? NO callback is called Did this work before? N/A Chrome version: 50.0.2661.94 Channel: stable OS Version: OS X 10.11.4 Flash Version: Shockwave Flash 21.0 r0
,
May 12 2016
Here it is: https://jsfiddle.net/9wemx9yL/ If you press the x(close) button of the bubble, the callback is called with default permission level. If you press Allow - callback is called with granted permission level. If you press Decline - callback is called with denied permission level. But if you click somewhere on the bubble to focus it and then press escape key - the notification bubble is closed without calling the callback. I would expect the callback to be called with default permission level as is with clicking on the x(close) button.
,
May 13 2016
Thank you for providing more feedback. Adding requester "spqchan@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 13 2016
,
May 14 2016
,
May 14 2016
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by spqc...@chromium.org
, May 12 2016