RESOLVED FIXED 121919
JS wrappers should have strongly typed impl() functions.
https://bugs.webkit.org/show_bug.cgi?id=121919
Summary JS wrappers should have strongly typed impl() functions.
Andreas Kling
Reported 2013-09-25 12:03:14 PDT
We should generate strongly-typed JSFoo::impl() for every wrapper class, not just those marked with JSGenerateToNativeObject. This'll reduce the need for magical casting all over WebCore.
Attachments
Patch (55.12 KB, patch)
2013-09-25 12:06 PDT, Andreas Kling
ggaren: review+
Andreas Kling
Comment 1 2013-09-25 12:06:46 PDT
Geoffrey Garen
Comment 2 2013-09-25 12:23:29 PDT
Comment on attachment 212613 [details] Patch Please update run-bindings-tests results before landing.
Antonio Gomes
Comment 3 2013-09-25 12:32:22 PDT
Comment on attachment 212613 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212613&action=review > Source/WebCore/ChangeLog:9 > + not just those marked with JSGenerateToNativeObject. is JSGenerateToNativeObject support still needed by now?
Andreas Kling
Comment 4 2013-09-25 12:33:58 PDT
(In reply to comment #3) > (From update of attachment 212613 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=212613&action=review > > > Source/WebCore/ChangeLog:9 > > + not just those marked with JSGenerateToNativeObject. > > is JSGenerateToNativeObject support still needed by now? Yes, it's still needed for objects that want an autogenerated toWebCoreFoo() function.
Andreas Kling
Comment 5 2013-09-25 13:00:24 PDT
Note You need to log in before you can comment on or make changes to this bug.