Bug 155126

Summary: Last opened tab does not receive SetHiddenPageTimerThrottlingIncreaseLimit message
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: WebKit Misc.Assignee: Gavin Barraclough <barraclough>
Severity: Normal CC: commit-queue
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 155252    
Bug Blocks:    
Description Flags
cdumez: review+
Fix andersca: review+

Description Gavin Barraclough 2016-03-07 11:47:46 PST
WebPageProxy will increment the hidden page throttling counter from within its constructor, which currently causes the WebProcessPool to try to synchronously message all processes. The web page triggering the increment then fails to receive the message, since it was still being constructed. Make the update of the limit async, such that the page is fully constructed before the WebProcessPool processes the update.
Comment 1 Gavin Barraclough 2016-03-07 11:50:43 PST
Created attachment 273199 [details]
Comment 2 Gavin Barraclough 2016-03-07 11:51:22 PST
Comment on attachment 273199 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=273199&action=review

> Source/WebKit2/ChangeLog:14
> +

One too many newlines!
Comment 3 Chris Dumez 2016-03-07 12:08:08 PST
Comment on attachment 273199 [details]

Comment 4 Gavin Barraclough 2016-03-07 12:28:33 PST
Transmitting file data ...
Committed revision 197698.
Comment 5 WebKit Commit Bot 2016-03-09 13:14:06 PST
Re-opened since this is blocked by bug 155252
Comment 6 Gavin Barraclough 2016-03-09 14:39:33 PST
Created attachment 273486 [details]
Comment 7 Gavin Barraclough 2016-03-09 17:55:30 PST
Transmitting file data ...
Committed revision 197914.