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

RESOLVED FIXED

Status

()

RESOLVED FIXED
13 years ago
10 years ago

People

(Reporter: jruderman, Assigned: longsonr)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
assertion, testcase
Points:
---
Bug Flags:
wanted1.9.2 +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

13 years ago
###!!! 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
(Reporter)

Comment 1

13 years ago
Created attachment 212337 [details]
testcase
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.
(Reporter)

Comment 3

13 years ago
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
(Reporter)

Comment 4

13 years ago
Created attachment 212798 [details]
testcase
Attachment #212337 - Attachment is obsolete: true
(Reporter)

Comment 5

11 years ago
Still happens on trunk.

Updated

11 years ago
OS: Mac OS X → All
Hardware: Macintosh → All
(Reporter)

Comment 6

10 years ago
Still happens on trunk.

Updated

10 years ago
Flags: wanted1.9.2+
(Assignee)

Comment 7

10 years ago
Created attachment 379575 [details] [diff] [review]
patch
Assignee: general → longsonr
Attachment #379575 - Flags: review?(roc)
(Assignee)

Comment 8

10 years ago
checked in http://hg.mozilla.org/mozilla-central/rev/ccbb0f9567ac
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.