WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 245190
[GLib] Support push notifications
https://bugs.webkit.org/show_bug.cgi?id=245190
Summary
[GLib] Support push notifications
Merlijn Sebrechts
Reported
2022-09-14 13:12:15 PDT
Created
attachment 462338
[details]
Settings screen in Epiphany Ubuntu 22.04, Gnome Web 42.4, WebKitGTK 2.36.6 I am unable to turn on notifications in the Outlook Web App. The setting to turn it on on the website is not shown. What I have tried: * Turn off adblock * Turn off anti-tracking * Turn off anti-popup * Change user agent to chrome on Windows None of these options make the notification settings visible. Attached screenshots show the settings pane (
https://outlook.office.com/mail/options/general/notifications
) in Epiphany and in a different browser. Note how the settings to enable notifications isn't shown in Epiphany.
Attachments
Settings screen in Epiphany
(52.12 KB, image/png)
2022-09-14 13:12 PDT
,
Merlijn Sebrechts
no flags
Details
Settings screen in a different browser
(89.25 KB, image/png)
2022-09-14 13:13 PDT
,
Merlijn Sebrechts
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Merlijn Sebrechts
Comment 1
2022-09-14 13:13:07 PDT
Created
attachment 462339
[details]
Settings screen in a different browser
Michael Catanzaro
Comment 2
2022-09-14 13:39:59 PDT
OK, so I think the problem here is these are push notifications. Take a look at
https://webkit.org/blog/12945/meet-web-push/
to get an idea for how this works on Apple platforms. Setting up our own push server is surely not going to happen (even if we did, it looks like websites would just not support it) so we'd need to find a way to use push.apple.com. I'm not sure if that's possible or not, but it certainly looks like we're probably not intended to do that? Investigating that seems like the next step. I kinda suspect this is going to be yet another proprietary web feature that won't work outside the major browsers, but would love to be proven wrong.... We'd also need a new daemon equivalent to Apple's webpushd, but we are operating system developers, that would be the easy part.
Kdwk
Comment 3
2023-05-10 00:17:55 PDT
https://conf.linuxappsummit.org/event/5/contributions/149/
I wonder if this might be relevant
Michael Catanzaro
Comment 4
2023-05-11 05:21:38 PDT
And that leads to
https://unifiedpush.org/
. Haven't looked further yet but it looks like it's designed for use by applications and not by websites? Not sure. It's very likely that whatever we implement will not be web-compatible unless we use the exact same push server Apple, Chrome, or Firefox.
Kdwk
Comment 5
2023-05-11 05:35:48 PDT
I’m don’t fully understand the contents, but this page may (or may not) be helpful :
https://mozilla-push-service.readthedocs.io/en/latest/
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug