Bug 260969

Summary: Consider letting extensions receive push messages through the WebPush API without receiving notifications
Product: WebKit Reporter: Kiara Rose <kiara_rose>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

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>