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
256648
WebProcessProxy should use default settings values for near-suspended assertions when they have no page
https://bugs.webkit.org/show_bug.cgi?id=256648
Summary
WebProcessProxy should use default settings values for near-suspended asserti...
Chris Dumez
Reported
2023-05-11 08:36:24 PDT
WebProcessProxy should use default settings values for near-suspended assertions when they have no page. In WebKit, settings come from pages. The WebProcessProxy therefore iterate through pages to figure out if it should take near-suspended assertions and if it should drop them after a delay. However, if the process doesn't have any pages, it would fall back to a value that is not the default value for these settings, which would lead to unexpected behavior in some case. This is particularly noticeable for service worker processes which often don't have pages.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-05-11 08:36:35 PDT
<
rdar://108292314
>
Chris Dumez
Comment 2
2023-05-11 08:39:26 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13759
EWS
Comment 3
2023-05-11 10:24:30 PDT
Committed
263975@main
(a6ed791b6aab): <
https://commits.webkit.org/263975@main
> Reviewed commits have been landed. Closing PR #13759 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