Bug 1823720 Comment 15 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to John Schanck [:jschanck] from comment #14)
> On Windows the UI is presented by the platform. On Mac and Linux we use `PopupNotifications.show` [here](https://searchfox.org/mozilla-central/rev/962a843f6d96283c45162c788dc72bf217fca7df/browser/base/content/browser.js#7848).

If we passed the `autofocus` option to this call, it should steal focus as Edgar suggested in comment 12. Is there any reason not to do that? And do we have a security delay implemented on any buttons this popup shows to prevent clickjacking / keyjacking, if we do start autofocusing it?
(In reply to John Schanck [:jschanck] from comment #14)
> On Windows the UI is presented by the platform. On Mac and Linux we use `PopupNotifications.show` [here](https://searchfox.org/mozilla-central/rev/962a843f6d96283c45162c788dc72bf217fca7df/browser/base/content/browser.js#7848).

Thanks! If we passed the `autofocus` option to this call, it should steal focus as Edgar suggested in comment 12. Is there any reason not to do that? And do we have a security delay implemented on any buttons this popup shows to prevent clickjacking / keyjacking, if we do start autofocusing it?

Back to Bug 1823720 Comment 15