Bug 98980
Summary: | meta: WebKit IDL syntax should conform to the Web IDL syntax | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kentaro Hara <haraken> |
Component: | WebCore JavaScript | Assignee: | Takashi Sakamoto <tasak> |
Status: | NEW | ||
Severity: | Normal | CC: | abarth, darin, haraken, krit, sam |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 99160, 99007, 99012, 103362 | ||
Bug Blocks: |
Kentaro Hara
A new sane IDL parser landed at r129723 (https://bugs.webkit.org/show_bug.cgi?id=26398), and now it's easy to modify WebKit IDL syntax. We should remove legacy WebKit IDL syntax from IDL files and make them conform to the Web IDL spec (http://www.w3.org/TR/WebIDL/).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Kentaro Hara
tasak: To clarify what we should do, would you roughly list up the legacy WebKit IDL syntaxes you are going to remove?
Adam Barth
Maybe it would make sense to change one IDL file at a time, perhaps starting with a simple one?
Kentaro Hara
tasak: Our objective is to remove xxxOld() methods from the IDL parser. I think we've removed almost all (or all?) old syntaxes from WebKit IDL files, but the Safari's internal build is still using a couple of old syntaxes. We need to ask Apple guys to remove the old syntaxes before removing xxxOld() from the IDL parser. Would you list up old syntaxes that should be removed from their IDL files? (If you are busy, I'm happy to write patches. But I'm not fully familiar with old syntaxes like you:-)
Dirk Schulze
Do we already support "implements"? This would be necessary to move SVG to WebIDL (which has multiple inheritance at the moment).
Adam Barth
> Do we already support "implements"?
Our current implementation of implements has a slightly different syntax, but we should be able to support "implements" without too much trouble.