Bug 1190093 - Stop throttling frame requests for loading pages by checking Hidden(), not isShowing. r=tnikkel

This commit is contained in:
Ross Lovas 2015-11-19 03:43:34 -06:00
parent 1262c58ac3
commit 9c07cb9430

View File

@ -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;
}