WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
33190
Missing commas in IDL extended attributes
https://bugs.webkit.org/show_bug.cgi?id=33190
Summary
Missing commas in IDL extended attributes
Kent Tamura
Reported
2010-01-04 18:13:14 PST
Some IDL files lack "," delimiters for multiple extended attributes. For example, WebCore/css/WebKitCSSTransformValue.idl interface [ HasIndexGetter InterfaceUUID=303fe632-5dcf-4472-b977-33a5481e1d12, ImplementationUUID=eb49e5c6-6075-45b8-b5c4-7e775c01e7c4 ] WebKitCSSTransformValue : CSSValueList { There is no "," which should follow HasIndexGetter. In this case, both of HasIndexGetter and InterfaceUUID are not processed because they are recognized as a single attribute with spaces like "HasIndexGetter InterfaceUUID".
Attachments
Proposed patch
(2.64 KB, patch)
2010-01-05 17:24 PST
,
Kent Tamura
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2010-01-05 17:24:07 PST
Created
attachment 45946
[details]
Proposed patch - Fix commas - Check such attributes by IDLParser.pm Note: This patch will break Chromium build because of
Bug#33193
.
Darin Adler
Comment 2
2010-01-05 17:34:59 PST
Comment on
attachment 45946
[details]
Proposed patch Thanks for finding this. I would like to see test cases to demonstrate the bad thing that was happening due to HasIndexGetter and OmitConstructor being ignored in these two classes.
WebKit Review Bot
Comment 3
2010-01-05 17:56:44 PST
style-queue ran check-webkit-style on
attachment 45946
[details]
without any errors.
Kent Tamura
Comment 4
2010-01-05 18:07:14 PST
(In reply to
comment #2
)
> (From update of
attachment 45946
[details]
) > Thanks for finding this. I would like to see test cases to demonstrate the bad > thing that was happening due to HasIndexGetter and OmitConstructor being > ignored in these two classes.
This issue is not causing any real problems at this moment. WebKitCSSTransformValue is missing HasIndexGetter and generated code for it had no code for index getter. Fortunately the parent interface of WebKitCSSTransformValue has HasIndexGetter code. So WebKitCSSTransformValue objects supprot index getter. OmitConstructor is used only by CodeGeneratorJS. But JS binding excludes EventTarget.idl. (See JS_DOM_HEADERS in WebCore/DerivedSources.make)
WebKit Review Bot
Comment 5
2010-01-05 18:38:31 PST
Attachment 45946
[details]
did not build on chromium: Build output:
http://webkit-commit-queue.appspot.com/results/163557
Eric Seidel (no email)
Comment 6
2010-01-06 09:21:01 PST
Comment on
attachment 45946
[details]
Proposed patch OK. Please don't land until the chromium build fix is in. Won't this patch fail to apply now anyway? I thoguth we killed all of the COM stuff?
Eric Seidel (no email)
Comment 7
2010-01-06 09:31:06 PST
Attachment 45946
[details]
was posted by a committer and has review+, assigning to Kent Tamura for commit.
Kent Tamura
Comment 8
2010-01-06 20:55:00 PST
(In reply to
comment #6
)
> (From update of
attachment 45946
[details]
) > OK. Please don't land until the chromium build fix is in. > > Won't this patch fail to apply now anyway? I thoguth we killed all of the COM > stuff?
We can apply this patch for now because the patch of
Bug#32854
(Kill COM stuff) is not landed yet. Both of this and
Bug#32854
trigger a Chromium build failure. I'll commit
Bug#33193
first, then this, and
Bug#32854
.
WebKit Commit Bot
Comment 9
2010-01-07 03:35:50 PST
Comment on
attachment 45946
[details]
Proposed patch Clearing flags on attachment: 45946 Committed
r52915
: <
http://trac.webkit.org/changeset/52915
>
WebKit Commit Bot
Comment 10
2010-01-07 03:36:02 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.
Top of Page
Format For Printing
XML
Clone This Bug