RESOLVED FIXED 77165
JSC idl code generator generates bad code for [CachedAttribute] attributes
https://bugs.webkit.org/show_bug.cgi?id=77165
Summary JSC idl code generator generates bad code for [CachedAttribute] attributes
Pablo Flouret
Reported 2012-01-26 17:22:51 PST
JSC idl code generator generates bad code for [CachedAttribute] attributes
Attachments
Patch (6.27 KB, patch)
2012-01-26 17:29 PST, Pablo Flouret
no flags
Pablo Flouret
Comment 1 2012-01-26 17:29:03 PST
Oliver Hunt
Comment 2 2012-01-26 17:44:50 PST
Comment on attachment 124223 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=124223&action=review > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3000 > + return "$value ? $value->deserialize(exec, castedThis->globalObject(), 0) : jsNull()"; what is the additional argument here for?
Pablo Flouret
Comment 3 2012-01-26 17:47:33 PST
(In reply to comment #2) > (From update of attachment 124223 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=124223&action=review > > > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3000 > > + return "$value ? $value->deserialize(exec, castedThis->globalObject(), 0) : jsNull()"; > > what is the additional argument here for? MessagePortArray* MessageEvent (the only one declaring CachedAttributes so far) uses a custom getter, so i imagine that's why this has gone unnoticed.
WebKit Review Bot
Comment 4 2012-01-26 18:25:15 PST
Comment on attachment 124223 [details] Patch Clearing flags on attachment: 124223 Committed r106077: <http://trac.webkit.org/changeset/106077>
WebKit Review Bot
Comment 5 2012-01-26 18:25:19 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.