RESOLVED FIXED 4249
SVG JavaScript bindings are busted in latest WebCore+SVG
https://bugs.webkit.org/show_bug.cgi?id=4249
Summary SVG JavaScript bindings are busted in latest WebCore+SVG
Eric Seidel (no email)
Reported 2005-08-01 03:13:49 PDT
REGRESSION: JavaScript support is busted in WebCore+SVG JavaScript used to work fine in WebCore+SVG. I believe this was a result of mjs JavaScriptCore optimizations. (http://bugzilla.opendarwin.org/show_bug.cgi?id=4124)
Attachments
One example of a busted SVG (which used to work) (2.32 KB, image/svg+xml)
2005-08-01 03:15 PDT, Eric Seidel (no email)
no flags
First stab and turning some of these back on (142.20 KB, patch)
2006-05-30 04:15 PDT, Eric Seidel (no email)
no flags
Much better patch, ready for review. (330.65 KB, patch)
2006-05-30 14:58 PDT, Eric Seidel (no email)
andersca: review+
Eric Seidel (no email)
Comment 1 2005-08-01 03:15:00 PDT
Created attachment 3192 [details] One example of a busted SVG (which used to work)
Eric Seidel (no email)
Comment 2 2005-08-28 02:49:21 PDT
Ben is working on this one.
Eric Seidel (no email)
Comment 3 2005-12-06 04:24:30 PST
Actually, this is going to require more heavy lifting than ben will be able to give us. Maciej or I need to re- work the underlying WebCore javascript bindings to be autogenerated, and then make SVG use those autogenerated bindings as well. With KDOM now removed from WebCore+SVG it's no longer possible for the SVG javascript bindings to sit on top of KDOM's bindings, but rather they need to be ported over to WebCore's once WebCore's bindings are fixed to be autogenerated.
Joost de Valk (AlthA)
Comment 4 2006-01-22 04:34:06 PST
Adding Regression keyword.
Eric Seidel (no email)
Comment 5 2006-01-25 14:21:26 PST
Basic DOM autobinding support has been landed. It will probably be a couple more weeks before it's ready to support SVG however.
Eric Seidel (no email)
Comment 6 2006-01-26 14:27:30 PST
Marking as P2, and adding to the SVG HitList. We could never ship SVG w/o some form of SVG JS bindings.
Eric Seidel (no email)
Comment 7 2006-05-30 04:15:13 PDT
Created attachment 8601 [details] First stab and turning some of these back on This patch is not quite ready for review. I'm posting it hear for discussion purposes.
Eric Seidel (no email)
Comment 8 2006-05-30 14:58:26 PDT
Created attachment 8610 [details] Much better patch, ready for review. This patch also has some various style cleanups (sorry).
Anders Carlsson
Comment 9 2006-05-31 08:14:21 PDT
Comment on attachment 8610 [details] Much better patch, ready for review. Some comments: - if (@{$dataNode->parents} > 1) { - die "A class can't have more than one parent"; - } + #if (@{$dataNode->parents} > 1) { + # die "A class can't have more than one parent"; + #} There should be a comment explaining why this is commented out. I think the IDL files should be LGPL
Note You need to log in before you can comment on or make changes to this bug.