OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const double CONST_VALUE_19 = 4e9; | 55 const double CONST_VALUE_19 = 4e9; |
56 const double CONST_VALUE_20 = 3.4e5; | 56 const double CONST_VALUE_20 = 3.4e5; |
57 const double CONST_VALUE_21 = -1.3; | 57 const double CONST_VALUE_21 = -1.3; |
58 const double CONST_VALUE_22 = -4e-9; | 58 const double CONST_VALUE_22 = -4e-9; |
59 const double CONST_VALUE_23 = .123; | 59 const double CONST_VALUE_23 = .123; |
60 const double CONST_VALUE_24 = 5E+4; | 60 const double CONST_VALUE_24 = 5E+4; |
61 const float CONST_VALUE_25 = 1; | 61 const float CONST_VALUE_25 = 1; |
62 | 62 |
63 // Extended attributes | 63 // Extended attributes |
64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
| 65 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; |
65 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; | 66 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; |
66 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 67 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
67 | 68 |
68 stringifier attribute DOMString stringifierAttribute; | 69 stringifier attribute DOMString stringifierAttribute; |
69 | 70 |
70 // Attributes | 71 // Attributes |
71 // | 72 // |
72 // Naming convention: | 73 // Naming convention: |
73 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
74 // E.g., | 75 // E.g., |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 158 |
158 // Extended attributes | 159 // Extended attributes |
159 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; | 160 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; |
160 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; | 161 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; |
161 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; | 162 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; |
162 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; | 163 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; |
163 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; | 164 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; |
164 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri
bute; | 165 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri
bute; |
165 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; | 166 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; |
166 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; | 167 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; |
167 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte
xtAndScriptStateAnyAttribute; | 168 [CallWith=(ExecutionContext,ScriptState)] attribute any callWithExecutionCon
textAndScriptStateAnyAttribute; |
168 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl
yDocumentAttribute; // All uses are read only | 169 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl
yDocumentAttribute; // All uses are read only |
169 [Conditional=CONDITION] attribute long conditionalLongAttribute; | 170 [Conditional=CONDITION] attribute long conditionalLongAttribute; |
170 [Conditional=(CONDITION_1,CONDITION_2)] attribute long conditionalAndLongAtt
ribute; | |
171 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib
ute; | |
172 // Constructors: FIXME: replace suffix with [ConstructorAttribute] | 171 // Constructors: FIXME: replace suffix with [ConstructorAttribute] |
173 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; | 172 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; |
174 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; | 173 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; |
175 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; | 174 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; |
176 [Custom] attribute object customObjectAttribute; | 175 [Custom] attribute object customObjectAttribute; |
177 [Custom=Getter] attribute long customGetterLongAttribute; | 176 [Custom=Getter] attribute long customGetterLongAttribute; |
178 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; | 177 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; |
179 [Custom=Setter] attribute long customSetterLongAttribute; | 178 [Custom=Setter] attribute long customSetterLongAttribute; |
180 [Conditional=CONDITION, Custom] attribute long customLongAttribute; | 179 [Conditional=CONDITION, Custom] attribute long customLongAttribute; |
181 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; | 180 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 [Reflect] attribute unsigned long reflectUnsignedLongAttribute; | 216 [Reflect] attribute unsigned long reflectUnsignedLongAttribute; |
218 // [Reflect] exceptional names | 217 // [Reflect] exceptional names |
219 [Reflect] attribute DOMString id; | 218 [Reflect] attribute DOMString id; |
220 [Reflect] attribute DOMString name; | 219 [Reflect] attribute DOMString name; |
221 [Reflect] attribute DOMString class; | 220 [Reflect] attribute DOMString class; |
222 [Reflect=id] attribute DOMString reflectedId; | 221 [Reflect=id] attribute DOMString reflectedId; |
223 [Reflect=name] attribute DOMString reflectedName; | 222 [Reflect=name] attribute DOMString reflectedName; |
224 [Reflect=class] attribute DOMString reflectedClass; | 223 [Reflect=class] attribute DOMString reflectedClass; |
225 // Limited value attributes and enumerated attributes | 224 // Limited value attributes and enumerated attributes |
226 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; | 225 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; |
227 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl
yAttribute; | 226 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO
nlyAttribute; |
228 [Reflect=other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT
oOnlyOtherAttribute; | 227 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited
ToOnlyOtherAttribute; |
229 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString
limitedWithMissingDefaultAttribute; | 228 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri
ng limitedWithMissingDefaultAttribute; |
230 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva
lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; | 229 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn
valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; |
231 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; | 230 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo
us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu
te; |
232 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; | 231 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty
="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute
DOMString limitedWithEmptyMissingInvalidAttribute; |
233 | 232 |
234 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; | 233 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; |
235 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; | 234 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; |
236 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; | 235 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; |
237 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; | 236 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; |
238 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; | 237 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; |
239 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi
thActiveWindowAndFirstWindowStringAttribute; | 238 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi
thActiveWindowAndFirstWindowStringAttribute; |
240 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; | 239 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; |
241 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tribute; | 240 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tribute; |
242 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 241 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
243 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 242 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
244 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 243 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
245 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu
te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; | 244 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu
te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; |
246 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; | 245 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; |
247 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; | 246 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; |
248 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu
llStringAsNullScalarValueStringAttribute; | 247 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu
llStringAsNullScalarValueStringAttribute; |
249 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur
nedNullStringAsUndefinedScalarValueStringAttribute; | 248 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur
nedNullStringAsUndefinedScalarValueStringAttribute; |
250 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute
; // nop for non-interface types | 249 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute
; // nop for non-interface types |
251 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; | 250 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; |
252 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI
nterfaceOrNullAttribute; | 251 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI
nterfaceOrNullAttribute; |
253 [Reflect, URL] attribute DOMString urlStringAttribute; | 252 [Reflect, URL] attribute DOMString urlStringAttribute; |
254 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 253 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
255 [Unforgeable] attribute long unforgeableLongAttribute; | 254 [Unforgeable] attribute long unforgeableLongAttribute; |
256 [LogActivity=SetterOnly, LogPreviousValue] attribute DOMString? activityLogg
ingSetterOnlyLogPreviousValueAttribute; | |
257 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; | |
258 | 255 |
259 | 256 |
260 // Methods | 257 // Methods |
261 // | 258 // |
262 // Naming convention: | 259 // Naming convention: |
263 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 260 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
264 // E.g., | 261 // E.g., |
265 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); | 262 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); |
266 void voidMethod(); | 263 void voidMethod(); |
267 static void staticVoidMethod(); | 264 static void staticVoidMethod(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 // Interface types | 301 // Interface types |
305 TestInterfaceEmpty testInterfaceEmptyMethod(); | 302 TestInterfaceEmpty testInterfaceEmptyMethod(); |
306 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); | 303 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); |
307 void voidMethodLongArgTestInterfaceEmptyArg(long longArg, TestInterfaceEmpty
testInterfaceEmptyArg); | 304 void voidMethodLongArgTestInterfaceEmptyArg(long longArg, TestInterfaceEmpty
testInterfaceEmptyArg); |
308 // Callback function type | 305 // Callback function type |
309 VoidCallbackFunction voidCallbackFunctionMethod(); | 306 VoidCallbackFunction voidCallbackFunctionMethod(); |
310 AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyArgMethod(); | 307 AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyArgMethod(); |
311 void voidMethodVoidCallbackFunctionArg(VoidCallbackFunction voidCallbackFunc
tionArg); | 308 void voidMethodVoidCallbackFunctionArg(VoidCallbackFunction voidCallbackFunc
tionArg); |
312 void voidMethodAnyCallbackFunctionOptionalAnyArg(AnyCallbackFunctionOptional
AnyArg anyCallbackFunctionOptionalAnyArgArg); | 309 void voidMethodAnyCallbackFunctionOptionalAnyArg(AnyCallbackFunctionOptional
AnyArg anyCallbackFunctionOptionalAnyArgArg); |
313 // Custom type conversions | 310 // Custom type conversions |
314 CompareHow compareHowMethod(); | |
315 any anyMethod(); | 311 any anyMethod(); |
316 void voidMethodCompareHowArg(CompareHow compareHowArg); | |
317 void voidMethodEventTargetArg(EventTarget eventTargetArg); | 312 void voidMethodEventTargetArg(EventTarget eventTargetArg); |
318 void voidMethodMediaQueryListListenerArg(MediaQueryListListener mediaQueryLi
stListenerArg); | |
319 void voidMethodAnyArg(any anyArg); | 313 void voidMethodAnyArg(any anyArg); |
320 // DOM node types | 314 // DOM node types |
321 void voidMethodAttrArg(Attr attrArg); | 315 void voidMethodAttrArg(Attr attrArg); |
322 void voidMethodDocumentArg(Document documentArg); | 316 void voidMethodDocumentArg(Document documentArg); |
323 void voidMethodDocumentTypeArg(DocumentType documentTypeArg); | 317 void voidMethodDocumentTypeArg(DocumentType documentTypeArg); |
324 void voidMethodElementArg(Element elementArg); | 318 void voidMethodElementArg(Element elementArg); |
325 void voidMethodNodeArg(Node nodeArg); | 319 void voidMethodNodeArg(Node nodeArg); |
326 // Typed arrays | 320 // Typed arrays |
327 ArrayBuffer arrayBufferMethod(); | 321 ArrayBuffer arrayBufferMethod(); |
328 ArrayBufferView arrayBufferViewMethod(); | 322 ArrayBufferView arrayBufferViewMethod(); |
(...skipping 13 matching lines...) Expand all Loading... |
342 void voidMethodArrayLongArg(long[] arrayLongArg); | 336 void voidMethodArrayLongArg(long[] arrayLongArg); |
343 void voidMethodArrayStringArg(DOMString[] arrayStringArg); | 337 void voidMethodArrayStringArg(DOMString[] arrayStringArg); |
344 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); | 338 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); |
345 // Sequences | 339 // Sequences |
346 sequence<long> longSequenceMethod(); | 340 sequence<long> longSequenceMethod(); |
347 sequence<DOMString> stringSequenceMethod(); | 341 sequence<DOMString> stringSequenceMethod(); |
348 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); | 342 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); |
349 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); | 343 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); |
350 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); | 344 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); |
351 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te
stInterfaceEmptySequenceArg); | 345 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te
stInterfaceEmptySequenceArg); |
| 346 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st
ringSequenceSequenceArg); |
352 // Nullable types | 347 // Nullable types |
353 long? nullableLongMethod(); | 348 long? nullableLongMethod(); |
354 DOMString? nullableStringMethod(); | 349 DOMString? nullableStringMethod(); |
355 TestInterface? nullableTestInterfaceMethod(); | 350 TestInterface? nullableTestInterfaceMethod(); |
356 sequence<long>? nullableLongSequenceMethod(); | 351 sequence<long>? nullableLongSequenceMethod(); |
| 352 // Union types |
| 353 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr
DOMStringMethod(); |
| 354 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG
arbageCollectedOrTestDictionaryMethod(); |
| 355 (sequence<long> or DOMString[] or unrestricted double) longSequenceOrDOMStri
ngArrayOrUnrestrictedDoubleMethod(); |
357 // Currently only used on interface type arguments | 356 // Currently only used on interface type arguments |
358 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI
nterfaceEmptyArg); | 357 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI
nterfaceEmptyArg); |
359 // Callback interface types | 358 // Callback interface types |
360 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn
terfaceArg); | 359 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn
terfaceArg); |
361 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa
ce optionalTestCallbackInterfaceArg); | 360 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa
ce optionalTestCallbackInterfaceArg); |
362 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal
lbackInterfaceArg); | 361 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal
lbackInterfaceArg); |
363 // Enumerations | 362 // Enumerations |
364 TestEnum testEnumMethod(); | 363 TestEnum testEnumMethod(); |
365 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); | 364 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); |
366 // Exceptional types | 365 // Exceptional types |
367 Dictionary dictionaryMethod(); | 366 Dictionary dictionaryMethod(); |
368 NodeFilter nodeFilterMethod(); | 367 NodeFilter nodeFilterMethod(); |
369 Promise promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString.
.. variadic); | 368 Promise promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString.
.. variadic); |
370 Promise promiseMethodWithoutExceptionState(Dictionary arg1); | 369 Promise promiseMethodWithoutExceptionState(Dictionary arg1); |
371 SerializedScriptValue serializedScriptValueMethod(); | 370 SerializedScriptValue serializedScriptValueMethod(); |
372 XPathNSResolver xPathNSResolverMethod(); | 371 XPathNSResolver xPathNSResolverMethod(); |
373 void voidMethodDictionaryArg(Dictionary dictionaryArg); | 372 void voidMethodDictionaryArg(Dictionary dictionaryArg); |
374 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); | 373 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); |
375 void voidMethodPromiseArg(Promise promiseArg); | 374 void voidMethodPromiseArg(Promise promiseArg); |
376 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri
ptValueArg); | 375 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri
ptValueArg); |
377 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); | 376 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); |
378 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence
Arg); | 377 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence
Arg); |
| 378 Promise overloadedPromiseMethod(long arg); |
| 379 Promise overloadedPromiseMethod(DOMString arg); |
379 | 380 |
380 // Arguments | 381 // Arguments |
381 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); | 382 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); |
382 // Optional arguments | 383 // Optional arguments |
383 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); | 384 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); |
384 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt
ionalTestInterfaceEmptyArg); | 385 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt
ionalTestInterfaceEmptyArg); |
385 void voidMethodOptionalLongArg(optional long optionalLongArg); | 386 void voidMethodOptionalLongArg(optional long optionalLongArg); |
386 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); | 387 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); |
387 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt
ionalLongArg); | 388 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt
ionalLongArg); |
388 long longMethodOptionalLongArg(optional long optionalLongArg); | 389 long longMethodOptionalLongArg(optional long optionalLongArg); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 void overloadedMethodE(long longArg); | 427 void overloadedMethodE(long longArg); |
427 void overloadedMethodE(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 428 void overloadedMethodE(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
428 void overloadedMethodF(optional DOMString stringArg); | 429 void overloadedMethodF(optional DOMString stringArg); |
429 void overloadedMethodF(double doubleArg); | 430 void overloadedMethodF(double doubleArg); |
430 void overloadedMethodG(long longArg); | 431 void overloadedMethodG(long longArg); |
431 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull
Arg = null); | 432 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull
Arg = null); |
432 void overloadedMethodH(TestInterface testInterfaceArg); | 433 void overloadedMethodH(TestInterface testInterfaceArg); |
433 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg); | 434 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg); |
434 void overloadedMethodI(DOMString stringArg); | 435 void overloadedMethodI(DOMString stringArg); |
435 void overloadedMethodI(double doubleArg); | 436 void overloadedMethodI(double doubleArg); |
| 437 void overloadedMethodJ(DOMString stringArg); |
| 438 void overloadedMethodJ(TestDictionary testDictionaryArg); |
436 | 439 |
437 | 440 |
438 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); | 441 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); |
439 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); | 442 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); |
440 | 443 |
441 static void overloadedStaticMethod(long longArg); | 444 static void overloadedStaticMethod(long longArg); |
442 static void overloadedStaticMethod(long longArg1, long longArg2); | 445 static void overloadedStaticMethod(long longArg1, long longArg2); |
443 | 446 |
444 // Extended attributes for arguments | 447 // Extended attributes for arguments |
445 // [Clamp] | 448 // [Clamp] |
(...skipping 15 matching lines...) Expand all Loading... |
461 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); | 464 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); |
462 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); | 465 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); |
463 [CallWith=ScriptState] long callWithScriptStateLongMethod(); | 466 [CallWith=ScriptState] long callWithScriptStateLongMethod(); |
464 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC
ontextVoidMethod(); | 467 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC
ontextVoidMethod(); |
465 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethod(); | 468 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethod(); |
466 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); | 469 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); |
467 [CallWith=ActiveWindow] void callWithActiveWindow(); | 470 [CallWith=ActiveWindow] void callWithActiveWindow(); |
468 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); | 471 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); |
469 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); | 472 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); |
470 [Conditional=CONDITION] void conditionalConditionVoidMethod(); | 473 [Conditional=CONDITION] void conditionalConditionVoidMethod(); |
471 [Conditional=(CONDITION_1,CONDITION_2)] void conditionalCondition1AndConditi
on2VoidMethod(); | |
472 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); | 474 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); |
473 [Custom] void customVoidMethod(); | 475 [Custom] void customVoidMethod(); |
474 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); | 476 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); |
475 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); | 477 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); |
476 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); | 478 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); |
477 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); | 479 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); |
478 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); | 480 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); |
479 [MeasureAs=TestFeature] void measureAsVoidMethod(); | 481 [MeasureAs=TestFeature] void measureAsVoidMethod(); |
480 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); | 482 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); |
481 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); | 483 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri
vateScript(Node value); | 544 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri
vateScript(Node value); |
543 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI
nPrivateScript(Document document, Node node, short value1, double value2, DOMStr
ing string); | 545 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI
nPrivateScript(Document document, Node node, short value1, double value2, DOMStr
ing string); |
544 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; | 546 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; |
545 [ImplementedInPrivateScript] attribute short shortAttribute; | 547 [ImplementedInPrivateScript] attribute short shortAttribute; |
546 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 548 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
547 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 549 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
548 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); | 550 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); |
549 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; | 551 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; |
550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); | 552 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); |
551 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; | 553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; |
| 554 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; |
552 }; | 555 }; |
OLD | NEW |