Closed Bug 630760 Opened 9 years ago Closed 9 years ago

DOMSVGLengthList ctor synchronizes animVal instances to the baseVal internal list

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

The DOMSVGLengthList ctor erroneously synchronizes animVal instances to the baseVal internal list because it is using InternalList(). As long as there is no animation going on then this is actually what we want, but if there's animation then we are probably going to create a DOM wrapper who's length is out of sync with its internal wrappee.
Attachment #508986 - Flags: review?(roc)
blocking2.0: --- → final+
Comment on attachment 508986 [details] [diff] [review]
patch + comment fixes/sync'ing

Can you write a test for this?
Attachment #508986 - Flags: review?(roc) → review+
http://hg.mozilla.org/mozilla-central/rev/1e03f7e81637
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.