WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249550
Give clients the ability to override the WKPreferences that a ServiceWorker gets
https://bugs.webkit.org/show_bug.cgi?id=249550
Summary
Give clients the ability to override the WKPreferences that a ServiceWorker gets
Brady Eidson
Reported
2022-12-17 20:11:21 PST
Give clients the ability to override the WKPreferences that a ServiceWorker gets Right now, they either get preferences from the first page in a process pool, or a default set of preferences if the process pool has never had any. In practice, clients need to control the WKPreferences a ServiceWorker gets - Even if they've never created a WKWebView! e.g. When an app wakes up to handle a web push message. New WKWebsiteDataStore SPI will allow specifying "override preferences for a ServiceWorker"
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-17 20:29:44 PST
<
rdar://problem/103487822
>
Brady Eidson
Comment 2
2022-12-17 20:30:52 PST
Pull request:
https://github.com/WebKit/WebKit/pull/7823
EWS
Comment 3
2022-12-20 19:21:42 PST
Committed
258175@main
(20f6befea658): <
https://commits.webkit.org/258175@main
> Reviewed commits have been landed. Closing PR #7823 and removing active labels.
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