| 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 # |
| (...skipping 18 matching lines...) Expand all Loading... |
| 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 CachedAttribute=* | 37 CachedAttribute=* |
| 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|T
hisValue | 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|T
hisValue |
| 39 CheckSecurity=Frame|Node|Window | |
| 40 Clamp | |
| 41 Conditional=* | |
| 42 Constructor | 39 Constructor |
| 43 # FIXME: remove [ConstructorCallWith=Document], as can instead use | 40 # FIXME: remove [ConstructorCallWith=Document], as can instead use |
| 44 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) | 41 # [ConstructorCallWith=ExecutionContext] + toDocument(executionContext) |
| 45 ConstructorCallWith=ExecutionContext|Document | 42 ConstructorCallWith=ExecutionContext|Document |
| 46 Custom=|Getter|Setter|LegacyCallAsFunction|ToV8|VisitDOMWrapper|Wrap|PropertyGet
ter|PropertyEnumerator|PropertyQuery | 43 Custom=|Getter|Setter|VisitDOMWrapper|Wrap|PropertyGetter|PropertyEnumerator|Pro
pertyQuery |
| 47 CustomConstructor | 44 CustomConstructor |
| 48 CustomElementCallbacks | 45 CustomElementCallbacks |
| 49 Default=Undefined | 46 Default=Undefined |
| 50 DependentLifetime | 47 DependentLifetime |
| 51 DeprecateAs=* | |
| 52 DoNotCheckConstants | 48 DoNotCheckConstants |
| 53 DoNotCheckSecurity=|Setter | |
| 54 DoNotCheckSignature | |
| 55 EnforceRange | 49 EnforceRange |
| 56 EventConstructor | 50 EventConstructor |
| 57 ExposeJSAccessors | |
| 58 Exposed=* | 51 Exposed=* |
| 59 Global=|* | 52 Global=|* |
| 60 Immutable | 53 Immutable |
| 61 ImplementedAs=* | 54 ImplementedAs=* |
| 62 InitializedByEventConstructor | 55 InitializedByEventConstructor |
| 63 Iterable | 56 Iterable |
| 64 LegacyTreatAsPartialInterface | 57 LegacyTreatAsPartialInterface |
| 65 LogPreviousValue | |
| 66 MeasureAs=* | |
| 67 NamedConstructor=* | 58 NamedConstructor=* |
| 68 NoImplHeader | 59 NoImplHeader |
| 69 NoInterfaceObject | 60 NoInterfaceObject |
| 70 NotEnumerable | 61 NotEnumerable |
| 71 NotScriptWrappable | 62 NotScriptWrappable |
| 72 OverrideBuiltins | 63 OverrideBuiltins |
| 73 PartialInterfaceImplementedAs=* | 64 PartialInterfaceImplementedAs=* |
| 74 PerWorldBindings | |
| 75 PrimaryGlobal=|* | |
| 76 PutForwards=* | 65 PutForwards=* |
| 77 RaisesException=|Getter|Setter|Constructor | 66 RaisesException=|Getter|Setter|Constructor |
| 78 Reflect=|* | 67 Reflect=|* |
| 79 ReflectEmpty=* | 68 ReflectEmpty=* |
| 80 ReflectInvalid=* | 69 ReflectInvalid=* |
| 81 ReflectMissing=* | 70 ReflectMissing=* |
| 82 ReflectOnly=* | 71 ReflectOnly=* |
| 83 Replaceable | 72 Replaceable |
| 84 # Valid values for [RuntimeEnabled] are the Runtime Enabled Features, listed in | |
| 85 # engine/core/page/RuntimeEnabledFeatures.in | |
| 86 RuntimeEnabled=* | |
| 87 SetWrapperReferenceFrom=* | 73 SetWrapperReferenceFrom=* |
| 88 SetWrapperReferenceTo=* | 74 SetWrapperReferenceTo=* |
| 89 SetterCallWith=ExecutionContext|ScriptArguments|ActiveWindow|FirstWindow | 75 SetterCallWith=ExecutionContext|ScriptArguments|ActiveWindow|FirstWindow |
| 90 SpecialWrapFor=* | 76 SpecialWrapFor=* |
| 91 TreatNullAs=NullString|EmptyString | 77 TreatNullAs=NullString|EmptyString |
| 92 TreatReturnedNullStringAs=Null|Undefined | 78 TreatReturnedNullStringAs=Null|Undefined |
| 93 TreatUndefinedAs=NullString | 79 TreatUndefinedAs=NullString |
| 94 TypeChecking=Interface|Unrestricted | 80 TypeChecking=Interface|Unrestricted |
| 95 URL | 81 URL |
| 96 Unforgeable | |
| OLD | NEW |