| OLD | NEW |
| (Empty) |
| 1 # | |
| 2 # This file describes all Blink IDL extended attributes and allowed values. | |
| 3 # If any IDL file uses an extended attribute or values not listed below, the | |
| 4 # build will fail. | |
| 5 # If you would like to add a new extended attribute or value, please: | |
| 6 # (1) add the extended attribute or value to this file | |
| 7 # (2) add an explanation to the Blink IDL extended attributes document: | |
| 8 # http://www.chromium.org/blink/webidl/blink-idl-extended-attributes | |
| 9 # (3) add appropriate test cases to run-bindings-tests | |
| 10 # | |
| 11 # The syntax of this file is as follows: | |
| 12 # - One extended attribute per one line: Name and (optionally) Values. | |
| 13 # - "Attr" means that the Attr does not take a value, i.e. [Attr]. | |
| 14 # - "Attr=X" means that Attr takes a required value, which must be X; | |
| 15 # i.e. [Attr=X]. | |
| 16 # - "Attr=X|Y|Z" means that Attr takes a required value, and the valid | |
| 17 # values are X, Y, and Z, and combinations thereof; | |
| 18 # e.g. [Attr=X], [Attr=Y], [Attr=X|Z]. | |
| 19 # The separator must be | or &, so [Attr=X&Z] is also valid; the | |
| 20 # separator makes a difference for Conditional, but otherwise is simply | |
| 21 # a style convention. | |
| 22 # - "Attr=|X|Y|Z" means that Attr takes an optional value, whose valid | |
| 23 # values (if present) are X, Y, and Z, and combinations thereof; e.g. | |
| 24 # [Attr], [Attr=X], [Attr=Y], [Attr=X|Z], [Attr=X|Y|Z], [Attr=X&Z]. | |
| 25 # Note that including an empty value in the list, as in [Attr=X||Y], | |
| 26 # is NOT valid: the value is optional, but empty values are not allowed. | |
| 27 # - "Attr=*" means that Attr takes a required value, which can be | |
| 28 # arbitrary, and combinations thereof, e.g. [Attr=IndexedDB], | |
| 29 # [Attr=DeleteFunction], [Attr=X|Y]. | |
| 30 # - "Attr=|*" means that Attr takes an optional value, which can be | |
| 31 # arbitrary, e.g. [Attr], [Attr=X]. | |
| 32 # - "Attr=X|*" means that Attr takes an required value, which can be | |
| 33 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo]. | |
| 34 # | |
| 35 | |
| 36 ActiveDOMObject | |
| 37 CachedAttribute=* | |
| 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|T
hisValue | |
| 39 Constructor | |
| 40 # FIXME: remove [ConstructorCallWith=Document], as can instead use | |
| 41 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) | |
| 42 ConstructorCallWith=ExecutionContext|Document | |
| 43 Custom=|Getter|Setter|VisitDOMWrapper|Wrap|PropertyGetter|PropertyEnumerator|Pro
pertyQuery | |
| 44 CustomConstructor | |
| 45 CustomElementCallbacks | |
| 46 Default=Undefined | |
| 47 DependentLifetime | |
| 48 DoNotCheckConstants | |
| 49 EnforceRange | |
| 50 EventConstructor | |
| 51 Exposed=* | |
| 52 Global=|* | |
| 53 Immutable | |
| 54 ImplementedAs=* | |
| 55 InitializedByEventConstructor | |
| 56 Iterable | |
| 57 LegacyTreatAsPartialInterface | |
| 58 NamedConstructor=* | |
| 59 NoImplHeader | |
| 60 NoInterfaceObject | |
| 61 NotEnumerable | |
| 62 NotScriptWrappable | |
| 63 OverrideBuiltins | |
| 64 PartialInterfaceImplementedAs=* | |
| 65 PutForwards=* | |
| 66 RaisesException=|Getter|Setter|Constructor | |
| 67 Reflect=|* | |
| 68 ReflectEmpty=* | |
| 69 ReflectInvalid=* | |
| 70 ReflectMissing=* | |
| 71 ReflectOnly=* | |
| 72 Replaceable | |
| 73 SetWrapperReferenceFrom=* | |
| 74 SetWrapperReferenceTo=* | |
| 75 SetterCallWith=ExecutionContext|ScriptArguments|ActiveWindow|FirstWindow | |
| 76 SpecialWrapFor=* | |
| 77 TreatNullAs=NullString|EmptyString | |
| 78 TreatReturnedNullStringAs=Null|Undefined | |
| 79 TreatUndefinedAs=NullString | |
| 80 TypeChecking=Interface|Unrestricted | |
| 81 URL | |
| OLD | NEW |