NEW 222392
Hold assertion while waiting for WebContent process to finish initializing
https://bugs.webkit.org/show_bug.cgi?id=222392
Summary Hold assertion while waiting for WebContent process to finish initializing
Per Arne Vollan
Reported 2021-02-24 16:17:27 PST
Make sure the WebContent process is not suspended during initialization by holding assertion while waiting for WebContent process to finish initializing.
Attachments
Patch (5.67 KB, patch)
2021-02-24 16:22 PST, Per Arne Vollan
no flags
Patch (5.70 KB, patch)
2021-02-24 17:19 PST, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2021-02-24 16:22:10 PST
Per Arne Vollan
Comment 2 2021-02-24 17:19:29 PST
Chris Dumez
Comment 3 2021-02-25 08:29:44 PST
Comment on attachment 421485 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421485&action=review > Source/WebKit/UIProcess/WebProcessPool.cpp:849 > + process.sendWithAsyncReply(Messages::WebProcess::InitializeWebProcess(parameters), [initializationActivity = WTFMove(initializationActivity)] { So the thing is. I tried this exact change in the past and had to revert it due to regression. I suggest you take a look at: Unreviewed, revert r255662 as it seems to cause blank views in SVC. https://bugs.webkit.org/show_bug.cgi?id=207144 <rdar://problem/59334011>
Chris Dumez
Comment 4 2021-02-25 08:31:22 PST
Comment on attachment 421485 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421485&action=review > Source/WebKit/ChangeLog:3 > + Hold assertion while waiting for WebContent process to finish initializing The title is misleading since we are already going that. You are merely doing it in a different way.
Per Arne Vollan
Comment 5 2021-02-25 14:34:57 PST
(In reply to Chris Dumez from comment #3) > Comment on attachment 421485 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=421485&action=review > > > Source/WebKit/UIProcess/WebProcessPool.cpp:849 > > + process.sendWithAsyncReply(Messages::WebProcess::InitializeWebProcess(parameters), [initializationActivity = WTFMove(initializationActivity)] { > > So the thing is. I tried this exact change in the past and had to revert it > due to regression. I suggest you take a look at: > Unreviewed, revert r255662 as it seems to cause blank views in SVC. > https://bugs.webkit.org/show_bug.cgi?id=207144 > <rdar://problem/59334011> Ah, that is interesting! Do you think it is possible that the process could suspend before the assertion is taken? Thanks for reviewing!
Chris Dumez
Comment 6 2021-02-25 14:42:32 PST
(In reply to Per Arne Vollan from comment #5) > (In reply to Chris Dumez from comment #3) > > Comment on attachment 421485 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=421485&action=review > > > > > Source/WebKit/UIProcess/WebProcessPool.cpp:849 > > > + process.sendWithAsyncReply(Messages::WebProcess::InitializeWebProcess(parameters), [initializationActivity = WTFMove(initializationActivity)] { > > > > So the thing is. I tried this exact change in the past and had to revert it > > due to regression. I suggest you take a look at: > > Unreviewed, revert r255662 as it seems to cause blank views in SVC. > > https://bugs.webkit.org/show_bug.cgi?id=207144 > > <rdar://problem/59334011> > > Ah, that is interesting! > > Do you think it is possible that the process could suspend before the > assertion is taken? No idea. RunningBoard logging would tell you though.
Radar WebKit Bug Importer
Comment 7 2021-03-03 16:18:15 PST
Note You need to log in before you can comment on or make changes to this bug.