Summary: | [WK2] Reduce amount of IPC needed by BroadcastChannel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | achristensen, beidson, darin, esprehn+autocc, ews-watchlist, ggaren, kangil.han, kkinnunen, sam, webkit-bug-importer, youennf | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 161472, 228089 | ||||||||||||
Attachments: |
|
Description
Chris Dumez
2021-09-10 16:50:51 PDT
Created attachment 437925 [details]
WIP patch
Created attachment 437943 [details]
Patch
Created attachment 437953 [details]
Patch
Comment on attachment 437953 [details]
Patch
I'm assuming this already handles the case where a process crashes, right?
(In reply to Alex Christensen from comment #4) > Comment on attachment 437953 [details] > Patch > > I'm assuming this already handles the case where a process crashes, right? No, we don't currently have good handling for network process crashes, meaning that the BroadcastChannelRegistry doesn't get repopulated after a network process relaunch. This is something we should improve but: 1. I don't think it is made worse by this patch (if anything it is better because messaging between BroadcastChannels inside the same WebProcess will still work after a network process relaunch). 2. I suspect we have issues for MessagePort. Created attachment 438086 [details]
Patch
(In reply to Alex Christensen from comment #4) > Comment on attachment 437953 [details] > Patch > > I'm assuming this already handles the case where a process crashes, right? I filed Bug 230236 to track this issue. Will fix in a follow-up. Committed r282377 (241639@main): <https://commits.webkit.org/241639@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438086 [details]. |