WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112760
do not use string reference for enum support in CodeGeneratorJS.pm
https://bugs.webkit.org/show_bug.cgi?id=112760
Summary
do not use string reference for enum support in CodeGeneratorJS.pm
arno.
Reported
2013-03-19 17:54:40 PDT
Hi, as discussed in
bug #112475 comment 13
, this is about not using String reference in generated binding for enum values.
Attachments
patch proposal
(4.23 KB, patch)
2013-03-19 17:56 PDT
,
arno.
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
arno.
Comment 1
2013-03-19 17:56:27 PDT
Created
attachment 193958
[details]
patch proposal
Kentaro Hara
Comment 2
2013-03-19 18:03:30 PDT
Comment on
attachment 193958
[details]
patch proposal Thanks for the quick fix.
WebKit Review Bot
Comment 3
2013-03-19 19:13:44 PDT
Comment on
attachment 193958
[details]
patch proposal Clearing flags on attachment: 193958 Committed
r146292
: <
http://trac.webkit.org/changeset/146292
>
WebKit Review Bot
Comment 4
2013-03-19 19:13:47 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 5
2013-03-20 10:55:35 PDT
Comment on
attachment 193958
[details]
patch proposal View in context:
https://bugs.webkit.org/attachment.cgi?id=193958&action=review
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:2147 > + push(@implContent, " const String string = value.isEmpty() ? String() : value.toString(exec)->value(exec);\n");
Not sure why the const is here. It’s OK, but unneeded.
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:2789 > + push(@$outputArray, " const String ${name}(${argValue}.isEmpty() ? String() : ${argValue}.toString(exec)->value(exec));\n");
Ditto.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug