Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Subresource loads should not prevent page throttling
https://bugs.webkit.org/show_bug.cgi?id=123757 Reviewed by Alexey Proskuryakov. The page-is-loading test for inhibiting process supression is currently too conservative, preventing supression of pages with infinitely loading resources (commonly XHRs). Instead, just rely on the FrameLoader being active (with hysteresis). * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::init): (WebCore::SubresourceLoader::checkForHTTPStatusCodeError): (WebCore::SubresourceLoader::didFinishLoading): (WebCore::SubresourceLoader::didFail): (WebCore::SubresourceLoader::willCancel): * loader/SubresourceLoader.h: - remove m_activityAssertion from SubresourceLoader. Canonical link: https://commits.webkit.org/142029@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Gavin Barraclough
committed
Nov 6, 2013
1 parent
99814d8
commit 18634a0
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters