WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193121
Bring back presentingApplicationPID
https://bugs.webkit.org/show_bug.cgi?id=193121
Summary
Bring back presentingApplicationPID
Keith Rollin
Reported
2019-01-03 12:49:20 PST
Bug 192961
removes presentingApplicationPID from NetworkProcessCreationParameters because it was (a) stored in some global state, the use of which is being minimized, and (b) it was largely unused. However, it was actually still being used in some useful logging in order to tie together child processes with their parent process. Re-introduce this value to NetworkProcessCreationParameters so that we can log it. But, this time, just use it locally instead of storing it in some global state for later retrieval. Make a similar change to WebContentProcess for consistency purposes.
Attachments
Patch
(10.23 KB, patch)
2019-01-03 16:22 PST
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
Fix windows build.
(10.24 KB, patch)
2019-01-03 17:04 PST
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
Oh, let's be generous ... fix *all* the builds.
(10.42 KB, patch)
2019-01-03 17:16 PST
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
Patch
(10.73 KB, patch)
2019-01-04 10:42 PST
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-01-03 12:49:35 PST
<
rdar://problem/47031634
>
Keith Rollin
Comment 2
2019-01-03 13:28:15 PST
Actually, it sounds like the plans are for a Network Process to possibly have different parents, not necessarily just the one that actually created it. Therefore, instead of establishing a parent PID just once at startup, pass it in on every resource load request.
Keith Rollin
Comment 3
2019-01-03 16:22:39 PST
Created
attachment 358287
[details]
Patch
Keith Rollin
Comment 4
2019-01-03 17:04:04 PST
Created
attachment 358292
[details]
Fix windows build.
Keith Rollin
Comment 5
2019-01-03 17:16:16 PST
Created
attachment 358293
[details]
Oh, let's be generous ... fix *all* the builds.
Alex Christensen
Comment 6
2019-01-04 10:23:54 PST
Comment on
attachment 358293
[details]
Oh, let's be generous ... fix *all* the builds. View in context:
https://bugs.webkit.org/attachment.cgi?id=358293&action=review
> Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:271 > + loadParameters.parentPID = getCurrentProcessID();
This would be the pid of the WebProcess. Is this what you wanted? presentingApplicationPID would be the pid of the UIProcess.
Keith Rollin
Comment 7
2019-01-04 10:32:44 PST
Oh, right.
Keith Rollin
Comment 8
2019-01-04 10:42:18 PST
Created
attachment 358334
[details]
Patch
WebKit Commit Bot
Comment 9
2019-01-04 11:02:08 PST
Comment on
attachment 358334
[details]
Patch Clearing flags on attachment: 358334 Committed
r239622
: <
https://trac.webkit.org/changeset/239622
>
WebKit Commit Bot
Comment 10
2019-01-04 11:02:09 PST
All reviewed patches have been landed. Closing bug.
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