2 # This file describes all IDL attributes.
3 # If any IDL file uses an IDL attribute not listed below, the WebKit build will fail.
4 # If you want to add a new IDL attribute, you need to
5 # (1) add the IDL attribute to this file
6 # (2) add the explanation to the WebKit IDL document (https://trac.webkit.org/wiki/WebKitIDL)
7 # (3) add test cases to run-bindings-tests
9 # The syntax of this file is as follows:
10 # - You can write one IDL attribute per one line.
11 # - "ATTR" means that the IDL attribute ATTR does not take any argument; i.e. [ATTR].
12 # - "ATTR=X" means that the IDL attribute ATTR always takes one argument X; i.e. [ATTR=X].
13 # - "ATTR=X|Y|Z" means that the IDL attribute ATTR takes one or more arguments
14 # and the arguments are X, Y or Z; e.g. [ATTR=X], [ATTR=Y], [ATTR=X|Z], [ATTR=X|Y|Z].
15 # - "ATTR=|X|Y|Z" means that the IDL attribute ATTR can take arguments
16 # and the arguments are X, Y or Z; e.g. [ATTR], [ATTR=X], [ATTR=Y], [ATTR=X|Z], [ATTR=X|Y|Z].
17 # - "ATTR=*" means that the IDL attribute ATTR can take arbitrary arguments;
18 # e.g. [ATTR=INDEXED_DATABASE], [ATTR=deleteFunction].
24 CallWith=ScriptExecutionContext|ScriptState|ScriptArguments|CallStack
31 ConstructorParameters=*
32 ConstructorRaisesException
33 ConstructorTemplate=Event
38 CustomEnumerateProperty
39 CustomGetOwnPropertySlot
52 DoNotCheckSecurityOnGetter
53 DoNotCheckSecurityOnSetter
55 ExtendsDOMGlobalObject
56 GenerateIsReachable=ImplElementRoot|ImplBaseRoot
60 InitializedByEventConstructor
66 JSCustomDefineOwnProperty
67 JSCustomDefineOwnPropertyOnPrototype
69 JSCustomGetOwnPropertySlotAndDescriptor
74 JSCustomNamedGetterOnPrototype
75 JSCustomPushEventHandlerScope
78 JSCustomToNativeObject
79 JSGenerateIsReachable=|Impl|ImplContext|ImplDocument|ImplElementRoot|ImplFrame|ImplBaseRoot
81 JSGenerateToNativeObject
82 JSInlineGetOwnPropertySlot
86 MasqueradesAsUndefined
91 ObjCCustomImplementation
92 ObjCLegacyUnnamedParameters
96 Optional=|DefaultIsNullString|DefaultIsUndefined
100 ReplaceableConstructor
106 TreatNullAs=NullString
107 TreatReturnedNullStringAs=False|Null|Undefined
108 TreatUndefinedAs=NullString
117 V8DoNotCheckSignature
119 V8EnabledPerContext=*
120 V8GenerateIsReachable=ImplElementRoot|ImplOwnerRoot|ImplOwnerNodeRoot|ImplBaseRoot