GNOME Bugzilla – Bug 764593
Duplicated message bars asking for notification permissions
Last modified: 2016-08-08 03:06:01 UTC
I'll try to find the website that caused us problems shortly, but wanted to file a bug ASAP. In GNOME 3.20, you could see multiple message bars at the top of the tab asking whether a particular website was allowed to send notifications. The message bars were all for the same domain.
The website is: http://play.dogmazic.net/ Click on one song, it'll play and ask whether to show notifications, click another song, and a second notification shows.
Created attachment 332733 [details] notifications!!! The site requires an account, but just leaving the page opened will spam you. The result is that the window becomes unresizable, and grows bigger than the screen.
Eh, I hear music. Wasn't expecting a random music site to use unencumbered codecs. I actually got really confused at first, as my headphones were placed near my desktop, the sound was faint, and I had no expectation of hearing music on a music site, that there was a moment I thought some incredible computer hackers had set my hard drive to operate to some beat.
The following fix has been pushed: 48ee58d web-view: limit permission request info bars
Created attachment 332905 [details] [review] web-view: limit permission request info bars Else a web page can fill the browser window with unlimited notification permission requests. Limit ourselves to one info bar per permission request type, same as we already limit ourselves to one password info bar.