Changes between Version 64 and Version 65 of WebKitIDL


Ignore:
Timestamp:
Mar 21, 2012 5:53:47 PM (12 years ago)
Author:
haraken@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v64 v65  
    981981
    982982X of [ConstructorParameters=X] is the maximum number of arguments, including optional arguments.
    983 For example, if a constructor signature is [Constructor(in int a, in int b, in [Optional] int c, in [Optional] int d)], then X is 4.
     983For example, if a constructor signature is [Constructor(in int a, in int b, in [Optional=DefaultIsUndefined] int c, in [Optional=DefaultIsUndefined] int d)], then X is 4.
    984984
    985985You do not need to specify [ConstructorParameters] if the interface does not have any of [JSCustomConstructor], [V8CustomConstructor] or [CustomConstructor].
     986
     987Note: Currently [Constructor(...)] does not yet support [Optional] arguments. It just supports [Optional=DefaultIsUndefined] or [Optional=DefaultIsNullString].
    986988
    987989== [Conditional](i,m,a) == #Conditional