Closed Bug 327756 Opened 20 years ago Closed 17 years ago

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

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: longsonr)

Details

(Keywords: assertion, testcase)

Attachments

(2 files, 1 obsolete file)

###!!! 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
Attached 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
Attached 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+
Attached patch patch — — Splinter Review
Assignee: general → longsonr
Attachment #379575 - Flags: review?(roc)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: