blob: 614eba745631160e73b5a3f9977a71d203021217 [file] [log] [blame]
#
# This file describes all IDL attributes.
# If any IDL file uses an IDL attribute not listed below, the WebKit build will fail.
# If you want to add a new IDL attribute, you need to
# (1) add the IDL attribute to this file
# (2) add the explanation to the WebKit IDL document (https://trac.webkit.org/wiki/WebKitIDL)
# (3) add test cases to run-bindings-tests
#
# The syntax of this file is as follows:
# - You can write one IDL attribute per one line.
# - "ATTR" means that the IDL attribute ATTR does not take any argument; i.e. [ATTR].
# - "ATTR=X" means that the IDL attribute ATTR always takes one argument X; i.e. [ATTR=X].
# - "ATTR=X|Y|Z" means that the IDL attribute ATTR takes one or more arguments
# and the arguments are X, Y or Z; e.g. [ATTR=X], [ATTR=Y], [ATTR=X|Z], [ATTR=X|Y|Z].
# - "ATTR=|X|Y|Z" means that the IDL attribute ATTR can take arguments
# and the arguments are X, Y or Z; e.g. [ATTR], [ATTR=X], [ATTR=Y], [ATTR=X|Z], [ATTR=X|Y|Z].
# - "ATTR=*" means that the IDL attribute ATTR can take arbitrary arguments;
# e.g. [ATTR=INDEXED_DATABASE], [ATTR=deleteFunction].
#
ActiveDOMObject
AppleCopyright
AtomicString
CachedAttribute
CallbackNeedsOperatorEqual
Callback=FunctionOnly
CallWith=Document|ScriptExecutionContext|ScriptState|ScriptArguments|CallStack|ActiveWindow|FirstWindow
CheckSecurity
CheckSecurityForNode
Clamp
Conditional=*
Constructor
ConstructorCallWith=Document|ScriptExecutionContext|ScriptState
ConstructorConditional=*
ConstructorRaisesException
ConstructorTemplate=Event|TypedArray
Custom
CustomCall
CustomConstructor
CustomDeleteProperty
CustomEnumerateProperty
CustomGetOwnPropertySlot
CustomGetter
CustomIndexedSetter
CustomIsReachable
CustomNamedGetter
CustomNamedSetter
CustomProxyToJSObject
CustomPutFunction
CustomReturn
CustomSetter
CustomToJSObject
Deletable
DoNotCheckConstants
DoNotCheckSecurity
DoNotCheckSecurityOnGetter
DoNotCheckSecurityOnSetter
DocumentEventHandler
EnabledAtRuntime=*
EnabledBySetting=*
EnforceRange
ExportMacro=WEBCORE_EXPORT|WEBCORE_TESTSUPPORT_EXPORT
Exposed=*
ForwardDeclareInHeader
GenerateIsReachable=|Impl|ImplWebGLRenderingContext|ImplDocument|ImplElementRoot|ImplFrame|ImplOwnerNodeRoot
GetterRaisesException
GetterRaisesExceptionWithMessage
Immutable
ImplementedAs=*
ImplementationLacksVTable
ImplementationNamespace=*
ImplementationReturnType=*
ImplicitThis
InitializedByEventConstructor
InterfaceName=*
IsWeakCallback
JSBuiltin
JSBuiltinConstructor
JSCustomDefineOwnProperty
JSCustomDefineOwnPropertyOnPrototype
JSCustomFinalize
JSCustomGetOwnPropertySlotAndDescriptor
JSCustomHeader
JSCustomMarkFunction
JSCustomNamedGetterOnPrototype
JSCustomPushEventHandlerScope
JSCustomToNativeObject
JSGenerateToJSObject
JSGenerateToNativeObject
JSLegacyParent=*
LenientThis
MasqueradesAsUndefined
NamedConstructor=*
InvokesCustomElementLifecycleCallbacks
NewImpurePropertyFiresWatchpoints
NewObject
NoInterfaceObject
Nondeterministic
NotEnumerable
ObjCCustomImplementation
ObjCExplicitAtomicString
ObjCImplementedAsUnsignedLong
ObjCLegacyUnnamedParameters
ObjCPolymorphic
ObjCProtocol
ObjCUseDefaultView
OverrideBuiltins
PassContext
Private
PutForwards=*
RaisesException
RaisesExceptionWithMessage
Reflect=*
Replaceable
ReportExtraMemoryCost
RequiresExistingAtomicString
SetterRaisesException
SetterRaisesExceptionWithMessage
SetterCallWith=ScriptExecutionContext|ScriptState|ScriptArguments|CallStack|ActiveWindow|FirstWindow
SkipVTableValidation
StrictTypeChecking
SuppressToJSObject
TreatNullAs=EmptyString|LegacyNullString
TreatReturnedNaNDateAs=Null|NaN
TypedArray=*
URL
Unforgeable
WindowEventHandler