Bug 134622 - Should not take background task assertion for NetworkProcess
Summary: Should not take background task assertion for NetworkProcess
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 17:55 PDT by Gavin Barraclough
Modified: 2014-07-03 18:13 PDT (History)
5 users (show)

See Also:


Attachments
Fix (8.77 KB, patch)
2014-07-03 17:59 PDT, Gavin Barraclough
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2014-07-03 17:55:06 PDT
When the WebContent wants to complete a task in the background we take a process assertion on the child process, and also need to prevent the UI process from suspending.
(see:
     https://bugs.webkit.org/show_bug.cgi?id=134563
)

However for the NetworkProcess we always just hold a process assertion, and don't want this to interfere with UIApp suspension.
Comment 1 Gavin Barraclough 2014-07-03 17:59:27 PDT
Created attachment 234385 [details]
Fix
Comment 2 Gavin Barraclough 2014-07-03 18:13:15 PDT
Transmitting file data .......
Committed revision 170785.