After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764593 - Duplicated message bars asking for notification permissions
Duplicated message bars asking for notification permissions
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
3.20.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-04 15:23 UTC by Bastien Nocera
Modified: 2016-08-08 03:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
notifications!!! (123.51 KB, image/png)
2016-08-04 14:40 UTC, Bastien Nocera
  Details
web-view: limit permission request info bars (4.18 KB, patch)
2016-08-08 03:06 UTC, Michael Catanzaro
committed Details | Review

Description Bastien Nocera 2016-04-04 15:23:08 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.
Comment 1 Bastien Nocera 2016-04-05 21:18:23 UTC
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.
Comment 2 Bastien Nocera 2016-08-04 14:40:18 UTC
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.
Comment 3 Michael Catanzaro 2016-08-08 02:55:58 UTC
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.
Comment 4 Michael Catanzaro 2016-08-08 03:05:57 UTC
The following fix has been pushed:
48ee58d web-view: limit permission request info bars
Comment 5 Michael Catanzaro 2016-08-08 03:06:01 UTC
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.