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.
Created attachment 212613 [details] Patch
Comment on attachment 212613 [details] Patch Please update run-bindings-tests results before landing.
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?
(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.
Committed r156419: <http://trac.webkit.org/changeset/156419>