Bug 240286 - Re-send connection configuration if webpushd dies
Summary: Re-send connection configuration if webpushd dies
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ben Nham
Keywords: InRadar
Depends on:
Reported: 2022-05-10 13:12 PDT by Ben Nham
Modified: 2022-05-11 17:57 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ben Nham 2022-05-10 13:12:35 PDT
If webpushd dies, all future communication with it from NetworkProcess fails because we don't re-send the connection configuration to the daemon after the connection is interrupted. This manifests itself as an "invalid sender" AbortError from various PushManager methods because webpushd doesn't know the bundle identifier of the UIProcess it is working on behalf of.
Comment 1 Ben Nham 2022-05-10 13:13:45 PDT
Comment 2 Ben Nham 2022-05-10 16:32:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/583
Comment 3 EWS 2022-05-11 17:57:36 PDT
Committed r294084 (250475@main): <https://commits.webkit.org/250475@main>

Reviewed commits have been landed. Closing PR #583 and removing active labels.