Closed Bug 1367025 Opened 8 years ago Closed 8 years ago

TimeoutManager::MaybeStartThrottleTrackingTimout is called when throttling already started

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: farre, Assigned: farre)

References

Details

Attachments

(1 file)

Blocks: 1355311
Assignee: nobody → afarre
This fixes an invariant that was broken that _could_ be the reason for Bug 1366812, but it's hard to test.
Attachment #8870417 - Flags: review?(bkelly)
Comment on attachment 8870417 [details] [diff] [review] 0001-Bug-1367025-Don-t-start-throttling-delay-timers-whil.patch Review of attachment 8870417 [details] [diff] [review]: ----------------------------------------------------------------- In the future we may want to make nsGlobalWindow::FreeInnerWindow() call Freeze() explicitly when its deleting its inner objects. Then we could just use a IsSuspended() check here and all our other IsSuspended() checks would work too. It would probably take some trial-and-error to get this right, though. So this patch is good for now.
Attachment #8870417 - Flags: review?(bkelly) → review+
Pushed by wchen@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/826ecf00de0a Don't start throttling delay timers while suspended. r=bkelly
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: