"ASSERTION: can't find nsISVGValue interface on mMatrix" after createSVGTransformFromMatrix is called with non-nsISVGValue param

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
14 years ago
10 years ago

People

(Reporter: jruderman, Assigned: longsonr)

Tracking

(Blocks 1 bug, {assertion, testcase})

Trunk
Points:
---
Dependency tree / graph
Bug Flags:
wanted1.9.2 +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

###!!! ASSERTION: can't find nsISVGValue interface on mMatrix: 'v', file mozilla/content/svg/content/src/nsSVGTransform.cpp, line 298

--DOMWINDOW == 9

###!!! ASSERTION: can't find nsISVGValue interface on mMatrix: 'v', file mozilla/content/svg/content/src/nsSVGTransform.cpp, line 121
Posted image testcase (obsolete) —
It doesn't matter that E4X is involved in this example. Passing in any object that doesn't implement nsISVGValue will cause this. We should use QI to check that the argument really does implement nsIDOMSVGMatrix I think.
Oops, I should have tried that while reducing.
Summary: "ASSERTION: can't find nsISVGValue interface on mMatrix" after createSVGTransformFromMatrix is called with E4X param → "ASSERTION: can't find nsISVGValue interface on mMatrix" after createSVGTransformFromMatrix is called with non-nsISVGValue param
Posted image testcase
Attachment #212337 - Attachment is obsolete: true
Still happens on trunk.
OS: Mac OS X → All
Hardware: Macintosh → All
Still happens on trunk.
Flags: wanted1.9.2+
Posted patch patchSplinter Review
Assignee: general → longsonr
Attachment #379575 - Flags: review?(roc)
checked in http://hg.mozilla.org/mozilla-central/rev/ccbb0f9567ac
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.