Bug 184889 - WebProcessProxy frequently re-takes a process assertion for the network process even though is already has one
Summary: WebProcessProxy frequently re-takes a process assertion for the network proce...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-04-23 10:07 PDT by Chris Dumez
Modified: 2018-04-23 13:29 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.43 KB, patch)
2018-04-23 10:10 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2018-04-23 10:07:51 PDT
WebProcessProxy frequently re-takes a process assertion for the network process even though is already has one. This causes repeated logging such as:
2018-03-04 23:56:39.403025+0200 0xb6424    Default     0x0                  8873   sup: (WebKit) [com.apple.WebKit.ProcessSuspension] 0x122bd3a80 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
2018-03-04 23:56:39.403028+0200 0xb6424    Default     0x0                  8873   sup: (WebKit) [com.apple.WebKit.ProcessSuspension] 0x122bd3a80 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
2018-03-04 23:56:39.403028+0200 0xb6424    Default     0x0                  8873   sup: (WebKit) [com.apple.WebKit.ProcessSuspension] 0x122bd3a80 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
2018-03-04 23:56:39.403029+0200 0xb6424    Default     0x0                  8873   sup: (WebKit) [com.apple.WebKit.ProcessSuspension] 0x122bd3a80 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
Comment 1 Chris Dumez 2018-04-23 10:08:10 PDT
<rdar://problem/38151530>
Comment 2 Chris Dumez 2018-04-23 10:10:47 PDT
Created attachment 338591 [details]
Patch
Comment 3 WebKit Commit Bot 2018-04-23 13:29:42 PDT
Comment on attachment 338591 [details]
Patch

Clearing flags on attachment: 338591

Committed r230918: <https://trac.webkit.org/changeset/230918>
Comment 4 WebKit Commit Bot 2018-04-23 13:29:43 PDT
All reviewed patches have been landed.  Closing bug.