WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
236629
Make sure there is a default Networking process to provide the Launch Services database
https://bugs.webkit.org/show_bug.cgi?id=236629
Summary
Make sure there is a default Networking process to provide the Launch Service...
Per Arne Vollan
Reported
2022-02-14 19:19:09 PST
The WebContent processes relies on getting the Launch Services database from the Networking process. We should make sure there always is a Networking process to provide the database.
Attachments
Patch
(1.51 KB, patch)
2022-02-14 19:25 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(1.89 KB, patch)
2022-02-14 19:36 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(1.52 KB, patch)
2022-02-14 19:37 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(1.98 KB, patch)
2022-02-14 19:40 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(574 bytes, patch)
2022-02-15 08:04 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(658 bytes, patch)
2022-02-15 17:26 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(3.05 KB, patch)
2022-02-15 19:29 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(3.54 KB, patch)
2022-02-16 14:14 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Patch
(3.56 KB, patch)
2022-02-17 06:46 PST
,
Per Arne Vollan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(8)
View All
Add attachment
proposed patch, testcase, etc.
Per Arne Vollan
Comment 1
2022-02-14 19:25:52 PST
Created
attachment 451981
[details]
Patch
Per Arne Vollan
Comment 2
2022-02-14 19:36:24 PST
Created
attachment 451982
[details]
Patch
Per Arne Vollan
Comment 3
2022-02-14 19:37:20 PST
Created
attachment 451983
[details]
Patch
Per Arne Vollan
Comment 4
2022-02-14 19:40:16 PST
Created
attachment 451985
[details]
Patch
Per Arne Vollan
Comment 5
2022-02-15 08:04:27 PST
Created
attachment 452025
[details]
Patch
Radar WebKit Bug Importer
Comment 6
2022-02-15 16:21:11 PST
<
rdar://problem/88993803
>
Per Arne Vollan
Comment 7
2022-02-15 17:26:23 PST
Created
attachment 452113
[details]
Patch
Per Arne Vollan
Comment 8
2022-02-15 19:29:15 PST
Created
attachment 452124
[details]
Patch
Chris Dumez
Comment 9
2022-02-15 19:41:41 PST
Comment on
attachment 452124
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=452124&action=review
> Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm:-155 > - while ([WKWebsiteDataStore _defaultNetworkProcessExists])
This seems like a bad regression. It is important for the network process to go away once it is no longer needed. Otherwise, any app that would use a WKWebView to display a simple help page once would carry an extra process and all its associated memory, forever. You are essentially disabling this important API test and I don’t think it is ok.
Per Arne Vollan
Comment 10
2022-02-16 08:27:26 PST
(In reply to Chris Dumez from
comment #9
)
> Comment on
attachment 452124
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=452124&action=review
> > > Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm:-155 > > - while ([WKWebsiteDataStore _defaultNetworkProcessExists]) > > This seems like a bad regression. It is important for the network process to > go away once it is no longer needed. Otherwise, any app that would use a > WKWebView to display a simple help page once would carry an extra process > and all its associated memory, forever. >
Will it go away, though? There will still be a reference to the NetworkProcessProxy from a Website data store, preventing the Network process form exiting, I believe. I have checked the test above in the debugger, and the Network process does not exit when spinning the run loop after the test (also without the code change in this patch). Or perhaps I am mistaken? Perhaps we should reset all references to the Network process proxy in the remaining Website data stores when the last Web process pool is deleted? I think that would make the Network process exit in the above test.
Per Arne Vollan
Comment 11
2022-02-16 14:14:37 PST
Created
attachment 452248
[details]
Patch
Per Arne Vollan
Comment 12
2022-02-17 06:46:32 PST
Created
attachment 452361
[details]
Patch
Brent Fulgham
Comment 13
2022-02-25 11:19:27 PST
Comment on
attachment 452361
[details]
Patch r=me
Per Arne Vollan
Comment 14
2022-02-25 11:21:53 PST
Comment on
attachment 452361
[details]
Patch Thanks for reviewing!
EWS
Comment 15
2022-02-25 12:10:11 PST
Committed
r290521
(
247804@main
): <
https://commits.webkit.org/247804@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 452361
[details]
.
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