mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1190093 - Stop throttling frame requests for loading pages by checking Hidden(), not isShowing. r=tnikkel
This commit is contained in:
parent
1262c58ac3
commit
9c07cb9430
@ -3716,8 +3716,8 @@ nsIDocument::ShouldThrottleFrameRequests()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mIsShowing) {
|
||||
// We're not showing (probably in a background tab or the bf cache).
|
||||
if (Hidden()) {
|
||||
// We're not visible (probably in a background tab or the bf cache).
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user