Bug 260969 - Consider letting extensions receive push messages through the WebPush API without receiving notifications
Summary: Consider letting extensions receive push messages through the WebPush API wit...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-31 09:13 PDT by Kiara Rose
Modified: 2023-09-07 09:14 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kiara Rose 2023-08-31 09:13:06 PDT
Consider letting extensions receive push messages through the WebPush API without receiving notifications. Instead of creating a new web extensions API, we could utilize WebPush to allow extensions to receive messages if we remove the requirement to display a notification on receiving a push message. This is something developers expressed a lot of interest in the Web Extensions Community Group (WECG). In order to do this, extensions would need to be able to set { userVisibleOnly: false }.

Things to consider for Safari:
- How would we push messages to an extension whose url changes on new launches of Safari?
- It's currently HTTPS only in WebKit, and we would need figure out a way this could work with web extension URLs

Link WECG issue: https://github.com/w3c/webextensions/issues/208
Comment 1 Radar WebKit Bug Importer 2023-09-07 09:14:15 PDT
<rdar://problem/115119386>