WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
65569
Remove LegacyDefaultOptionalArguments flag from Console.idl
https://bugs.webkit.org/show_bug.cgi?id=65569
Summary
Remove LegacyDefaultOptionalArguments flag from Console.idl
Mark Pilgrim (Google)
Reported
2011-08-02 14:10:00 PDT
As discussed in IRC, we are migrating our IDL files away from the interface-level "LegacyDefaultOptionalArguments" flag and onto argument-level [Optional] or [Optional=CallWithDefaultValue] flags. This patch migrates Console.idl. It does not change any behavior, i.e. it does not make any arguments required that were previously optional, nor vice-versa.
Attachments
Patch
(2.52 KB, patch)
2011-08-02 14:10 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
Patch
(1.47 KB, patch)
2011-08-03 14:32 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2011-08-02 14:10:38 PDT
Created
attachment 102697
[details]
Patch
Adam Barth
Comment 2
2011-08-02 15:34:20 PDT
Comment on
attachment 102697
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=102697&action=review
> Source/WebCore/page/Console.idl:44 > - [V8Custom, CustomArgumentHandling, ImplementationFunction=assertCondition] void assert(in boolean condition); > + [V8Custom, CustomArgumentHandling, ImplementationFunction=assertCondition] void assert(in [Optional=CallWithDefaultValue] boolean condition);
I suspect this attribute doesn't do anything here either because this function has CustomArgumentHandling.
> Source/WebCore/page/Console.idl:51 > + [Custom] void profile(in [Optional=CallWithDefaultValue] DOMString title); > + [Custom] void profileEnd(in [Optional=CallWithDefaultValue] DOMString title);
This attribute doesn't do anything for [Custom] bindings. We can omit it.
> Source/WebCore/page/Console.idl:55 > + void time(in [ConvertUndefinedOrNullToNullString,Optional=CallWithDefaultValue] DOMString title); > + [CustomArgumentHandling] void timeEnd(in [ConvertUndefinedOrNullToNullString,Optional=CallWithDefaultValue] DOMString title);
This one might need to stay though. I'm not sure how CustomArgumentHandling works on V8.
Mark Pilgrim (Google)
Comment 3
2011-08-03 14:32:55 PDT
Created
attachment 102826
[details]
Patch
WebKit Review Bot
Comment 4
2011-08-03 16:32:03 PDT
Comment on
attachment 102826
[details]
Patch Clearing flags on attachment: 102826 Committed
r92328
: <
http://trac.webkit.org/changeset/92328
>
WebKit Review Bot
Comment 5
2011-08-03 16:32:08 PDT
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