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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 3 13:11:40 PST 2010


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


Rob Buis <rwlbuis at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rwlbuis at gmail.com




--- Comment #1 from Rob Buis <rwlbuis at gmail.com>  2010-12-03 13:11:40 PST ---
Some remarks on the bug.

- happens with Safari as well
- spec does not indicate what to do AFAICS
- tried with FF and Opera and both throw an exception

possible solutions:
1 have something similar to StrictTypeChecking flag but make it also
   throw on null/undefined
2 replace the assert with if (!matrix) return 0 in SVGTransformListPropertyTearO.h, fixes
   the crash but is not what other implementations do.
3 hack the bindings to do something special for SVGTransformList? Sounds more hacky than 1.

Waiting for feedback from the bindings experts :)
Cheers,

Rob.

-- 
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