[Webkit-unassigned] [Bug 49564] createSVGTransformFromMatrix(undefined) => NULL ptr

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 5 04:48:42 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49564





--- Comment #2 from Nikolas Zimmermann <zimmermann at kde.org>  2010-12-05 04:48:41 PST ---
Good repo, I was aware of the problem, but forgot to file a bug about it.
The ASSERTION should turn in a throw.

createSVGTransformFromMatrix has to take an ExceptionCode& parameter, that's then set to a TYPE_MISMATCH_ERR.

Sth. like
if (!matrix) { ec = TYPE_MISMATCH_ERR; return 0; }

That should fix the problem.
Just required adding "raises (DOMException)" to the createSVGTransformFromMatrix method in the SVGTransformList.idl.

Rob, do you want to fix it? I'm busy this weekend..

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list