Closed
Bug 605345
Opened 14 years ago
Closed 14 years ago
"ABORT: Got a regular sample during startup state, expected an end sample instead"
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jruderman, Assigned: birtles)
References
Details
(Keywords: assertion, testcase)
Attachments
(1 file, 1 obsolete file)
4.95 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
###!!! ABORT: Got a regular sample during startup state, expected an end sample instead: 'mElementState != STATE_STARTUP || aEndOnly', file /builds/slave/mozilla-central-macosx64-debug/build/content/smil/nsSMILTimedElement.cpp, line 506
Assignee | ||
Comment 1•14 years ago
|
||
Assigning to me for now.
Assignee: nobody → birtles
Status: NEW → ASSIGNED
Assignee | ||
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 2•14 years ago
|
||
Nominating as a blocker until I have time to look at it properly.
blocking2.0: --- → ?
blocking2.0: ? → final+
Assignee | ||
Comment 3•14 years ago
|
||
The problem is that we end up getting negative container times because we're not being careful about how we handle pause state whilst a time container has no parent.
This patch fixes that behaviour.
I've also added two minor tweaks:
a) Clear the mStartAnimationOnBindToTree flag in nsSVGSVGElement after we've used it since it only makes sense to call Begin on a time container once.
b) Moved the point where we reset our max milestone in nsSMILTimedElement::BindToTree. This isn't strictly necessary, but it's a little more intuitive. Stepping through this with a debugger I noticed that we end up clearing this value and registering the milestone twice: firstly in Rewind and then again at the end of the method. That's no problem since nsSMILTimeContainer allows for that, but if we reset this value at the start of the method, then we'll skip registering the milestone a second time.
Attachment #484194 -
Attachment is obsolete: true
Attachment #488396 -
Flags: review?(dholbert)
Comment 4•14 years ago
|
||
Comment on attachment 488396 [details] [diff] [review]
Patch v1a
Looks great! r=dholbert
Attachment #488396 -
Flags: review?(dholbert) → review+
Assignee | ||
Updated•14 years ago
|
Flags: in-testsuite?
Whiteboard: [waiting to checkin]
Assignee | ||
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Whiteboard: [waiting to checkin]
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•