RESOLVED FIXED 79357
Support [Supplemental] on static methods
https://bugs.webkit.org/show_bug.cgi?id=79357
Summary Support [Supplemental] on static methods
Kentaro Hara
Reported Thursday, February 23, 2012 12:04:48 PM UTC
[Supplemental] on static methods does not work in CodeGeneratorJS.pm and CodeGeneratorV8.pm due to mis-ordered if-elsif statements. We should fix it.
Attachments
Patch (15.01 KB, patch)
2012-02-23 04:08 PST, Kentaro Hara
no flags
patch for landing (15.12 KB, patch)
2012-02-23 16:41 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 Thursday, February 23, 2012 12:08:45 PM UTC
Kentaro Hara
Comment 2 Thursday, February 23, 2012 12:10:58 PM UTC
This fix is needed for making DOMURLMediaStream.idl.
Adam Barth
Comment 3 Thursday, February 23, 2012 6:28:54 PM UTC
Comment on attachment 128453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=128453&action=review > Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp:155 > +static v8::Handle<v8::Value> supplementalMethod4Callback(const v8::Arguments& args) > +{ > + INC_STATS("DOM.TestInterface.supplementalMethod4"); > + TestSupplemental::supplementalMethod4(imp); > + return v8::Handle<v8::Value>(); > +} How does this build? There's no imp declared in this function.
Kentaro Hara
Comment 4 Friday, February 24, 2012 12:41:45 AM UTC
Created attachment 128601 [details] patch for landing
Kentaro Hara
Comment 5 Friday, February 24, 2012 12:43:41 AM UTC
Comment on attachment 128601 [details] patch for landing > How does this build? There's no imp declared in this function. Fixed it. Thanks. The run-bindings-tests results for ObjC, GObject and CPP are wrong, but it is OK since they do not yet support static methods.
WebKit Review Bot
Comment 6 Friday, February 24, 2012 9:55:47 AM UTC
Comment on attachment 128601 [details] patch for landing Clearing flags on attachment: 128601 Committed r108757: <http://trac.webkit.org/changeset/108757>
Note You need to log in before you can comment on or make changes to this bug.