| OLD | NEW |
| 1 # | 1 # |
| 2 # This file describes all Blink IDL extended attributes and allowed values. | 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 | 3 # If any IDL file uses an extended attribute or values not listed below, the |
| 4 # build will fail. | 4 # build will fail. |
| 5 # If you would like to add a new extended attribute or value, please: | 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 | 6 # (1) add the extended attribute or value to this file |
| 7 # (2) add an explanation to the Blink IDL extended attributes document: | 7 # (2) add an explanation to the Blink IDL extended attributes document: |
| 8 # http://www.chromium.org/blink/webidl/blink-idl-extended-attributes | 8 # http://www.chromium.org/blink/webidl/blink-idl-extended-attributes |
| 9 # (3) add appropriate test cases to run-bindings-tests | 9 # (3) add appropriate test cases to run-bindings-tests |
| 10 # | 10 # |
| 11 # The syntax of this file is as follows: | 11 # The syntax of this file is as follows: |
| 12 # - One extended attribute per one line: Name and (optionally) Values. | 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]. | 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; | 14 # - "Attr=X" means that Attr takes a required value, which must be X; |
| 15 # i.e. [Attr=X]. | 15 # i.e. [Attr=X]. |
| 16 # - "Attr=X|Y|Z" means that Attr takes a required value, and the valid | 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; | 17 # values are X, Y, and Z, and combinations thereof; |
| 18 # e.g. [Attr=X], [Attr=Y], [Attr=X|Z]. | 18 # e.g. [Attr=X], [Attr=Y], [Attr=X|Z]. |
| 19 # The separator must be | or &, so [Attr=X&Z] is also valid; the | 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 | 20 # separator makes a difference for Conditional, but otherwise is simply |
| 21 # a style convention. | 21 # a style convention. |
| 22 # - "Attr=|X|Y|Z" means that Attr takes an optional value, whose valid | 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. | 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]. | 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], | 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. | 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 | 27 # - "Attr=*" means that Attr takes a required value, which can be |
| 28 # arbitrary and combinations thereof, e.g. [Attr=IndexedDB], | 28 # arbitrary, and combinations thereof, e.g. [Attr=IndexedDB], |
| 29 # [Attr=DeleteFunction], [Attr=X|Y]. | 29 # [Attr=DeleteFunction], [Attr=X|Y]. |
| 30 # - "Attr=|*" means that Attr takes an optional value, which can be | 30 # - "Attr=|*" means that Attr takes an optional value, which can be |
| 31 # arbitrary, e.g. [Attr], [Attr=X]. | 31 # arbitrary, e.g. [Attr], [Attr=X]. |
| 32 # - "Attr=X|*" means that Attr takes an required value, which can be | 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]. | 33 # arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo]. |
| 34 # | 34 # |
| 35 | 35 |
| 36 ActiveDOMObject | 36 ActiveDOMObject |
| 37 ActivityLogging=ForAllWorlds|GetterForAllWorlds|SetterForAllWorlds|ForIsolatedWo
rlds|GetterForIsolatedWorlds|SetterForIsolatedWorlds | 37 ActivityLogging=ForAllWorlds|GetterForAllWorlds|SetterForAllWorlds|ForIsolatedWo
rlds|GetterForIsolatedWorlds|SetterForIsolatedWorlds |
| 38 CachedAttribute=* | 38 CachedAttribute=* |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 ReadOnly | 77 ReadOnly |
| 78 Reflect=|* | 78 Reflect=|* |
| 79 ReflectEmpty=* | 79 ReflectEmpty=* |
| 80 ReflectInvalid=* | 80 ReflectInvalid=* |
| 81 ReflectMissing=* | 81 ReflectMissing=* |
| 82 ReflectOnly=* | 82 ReflectOnly=* |
| 83 Replaceable | 83 Replaceable |
| 84 # Valid values for [RuntimeEnabled] are the Runtime Enabled Features, listed in | 84 # Valid values for [RuntimeEnabled] are the Runtime Enabled Features, listed in |
| 85 # Source/core/page/RuntimeEnabledFeatures.in | 85 # Source/core/page/RuntimeEnabledFeatures.in |
| 86 RuntimeEnabled=* | 86 RuntimeEnabled=* |
| 87 SetWrapperReferenceFrom=document|element|owner|ownerNode|virtualOwnerNode | 87 SetWrapperReferenceFrom=* |
| 88 SetWrapperReferenceFromReference=document|element|owner|ownerNode|virtualOwnerNo
de | 88 SetWrapperReferenceFromReference=* |
| 89 SetWrapperReferenceTo=* | 89 SetWrapperReferenceTo=* |
| 90 SetterCallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWi
ndow | 90 SetterCallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWi
ndow |
| 91 SpecialWrapFor=* | 91 SpecialWrapFor=* |
| 92 StrictTypeChecking | 92 StrictTypeChecking |
| 93 TreatNullAs=NullString | 93 TreatNullAs=NullString |
| 94 TreatReturnedNullStringAs=Null|Undefined | 94 TreatReturnedNullStringAs=Null|Undefined |
| 95 TreatUndefinedAs=NullString | 95 TreatUndefinedAs=NullString |
| 96 URL | 96 URL |
| 97 Unforgeable | 97 Unforgeable |
| OLD | NEW |