Closed
Bug 763247
Opened 13 years ago
Closed 13 years ago
"ASSERTION: rescheduling interval timeout without a timer" with setInterval, sync XHR, mozRequestAnimationFrame
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jruderman, Assigned: froydnj)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
###!!! ASSERTION: rescheduling interval timeout without a timer!: 'timeout->mTimer', file dom/base/nsGlobalWindow.cpp, line 9337
This assertion was added in bug 748464.
Reporter | ||
Comment 1•13 years ago
|
||
![]() |
||
Comment 2•13 years ago
|
||
Nathan, can you take a look, please? Note the sync XHR spinning the event loop in there...
Assignee: nobody → nfroyd
Depends on: 748464
![]() |
Assignee | |
Comment 3•13 years ago
|
||
Ah, yes, in RescheduleTimeout, we say:
+ if (!aTimeout->mTimer) {
+ NS_ASSERTION(IsFrozen() || mTimeoutsSuspendDepth,
+ "How'd our timer end up null if we're not frozen or "
+ "suspended?");
+
+ aTimeout->mTimeRemaining = delay;
+ return true;
+ }
which will wind up hitting that added assertion. I'll prepare a patch to remove it.
![]() |
Assignee | |
Comment 4•13 years ago
|
||
Should be easy enough to review!
Attachment #632813 -
Flags: review?(bzbarsky)
![]() |
||
Comment 5•13 years ago
|
||
Comment on attachment 632813 [details] [diff] [review]
patch
r=me
Attachment #632813 -
Flags: review?(bzbarsky) → review+
![]() |
Assignee | |
Comment 6•13 years ago
|
||
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla16
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•