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 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; | 31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; |
32 | 32 |
33 callback VoidCallbackFunction = void (); | 33 callback VoidCallbackFunction = void (); |
34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg); | 34 callback AnyCallbackFunctionOptionalAnyArg = any (optional any optionalAnyArg); |
35 | 35 |
36 dictionary TestDict { | |
37 boolean booleanMember; | |
38 long longMember1 = 1; | |
39 }; | |
40 | |
41 dictionary TestDictDerived : TestDict { | |
42 unsigned short unsignedShortMember; | |
43 float floatMember4 = 4.0; | |
44 }; | |
45 | |
46 // No extended attributes on the interface; those go in TestInterface.idl | 36 // No extended attributes on the interface; those go in TestInterface.idl |
47 interface TestObject { | 37 interface TestObject { |
48 // Constants | 38 // Constants |
49 const unsigned short CONST_VALUE_0 = 0; | 39 const unsigned short CONST_VALUE_0 = 0; |
50 const unsigned short CONST_VALUE_1 = 1; | 40 const unsigned short CONST_VALUE_1 = 1; |
51 const unsigned short CONST_VALUE_2 = 2; | 41 const unsigned short CONST_VALUE_2 = 2; |
52 const unsigned short CONST_VALUE_4 = 4; | 42 const unsigned short CONST_VALUE_4 = 4; |
53 const unsigned short CONST_VALUE_8 = 8; | 43 const unsigned short CONST_VALUE_8 = 8; |
54 const short CONST_VALUE_9 = -1; | 44 const short CONST_VALUE_9 = -1; |
55 const DOMString CONST_VALUE_10 = "my constant string"; | 45 const DOMString CONST_VALUE_10 = "my constant string"; |
56 const unsigned short CONST_VALUE_11 = 0xffffffff; | 46 const unsigned short CONST_VALUE_11 = 0xffffffff; |
57 const unsigned short CONST_VALUE_12 = 0x01; | 47 const unsigned short CONST_VALUE_12 = 0x01; |
58 const unsigned short CONST_VALUE_13 = 0X20; | 48 const unsigned short CONST_VALUE_13 = 0X20; |
59 const unsigned short CONST_VALUE_14 = 0x1abc; | 49 const unsigned short CONST_VALUE_14 = 0x1abc; |
60 const unsigned short CONST_VALUE_15 = 010; | 50 const unsigned short CONST_VALUE_15 = 010; |
61 const unsigned short CONST_VALUE_16 = -010; | 51 const unsigned short CONST_VALUE_16 = -010; |
62 const unsigned short CONST_VALUE_16 = -0x1A; | 52 const unsigned short CONST_VALUE_16 = -0x1A; |
63 const unsigned short CONST_VALUE_17 = -0X1a; | 53 const unsigned short CONST_VALUE_17 = -0X1a; |
| 54 const double CONST_VALUE_18 = 0.123; |
| 55 const double CONST_VALUE_19 = 4e9; |
| 56 const double CONST_VALUE_20 = 3.4e5; |
| 57 const double CONST_VALUE_21 = -1.3; |
| 58 const double CONST_VALUE_22 = -4e-9; |
| 59 const double CONST_VALUE_23 = .123; |
| 60 const double CONST_VALUE_24 = 5E+4; |
| 61 const float CONST_VALUE_25 = 1; |
64 | 62 |
65 // Extended attributes | 63 // Extended attributes |
66 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
67 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; | 65 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; |
68 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 66 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
69 | 67 |
| 68 stringifier attribute DOMString stringifierAttribute; |
70 | 69 |
71 // Attributes | 70 // Attributes |
72 // | 71 // |
73 // Naming convention: | 72 // Naming convention: |
74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 73 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
75 // E.g., | 74 // E.g., |
76 // [Foo] attribute DOMString? fooStringOrNullAttribute | 75 // [Foo] attribute DOMString? fooStringOrNullAttribute |
77 // | 76 // |
78 // Type name reference: | 77 // Type name reference: |
79 // http://heycam.github.io/webidl/#dfn-type-name | 78 // http://heycam.github.io/webidl/#dfn-type-name |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 static attribute long staticLongAttribute; | 154 static attribute long staticLongAttribute; |
156 // Exceptional type | 155 // Exceptional type |
157 attribute EventHandler eventHandlerAttribute; | 156 attribute EventHandler eventHandlerAttribute; |
158 | 157 |
159 // Extended attributes | 158 // Extended attributes |
160 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; | 159 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; |
161 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; | 160 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; |
162 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; | 161 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; |
163 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; | 162 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; |
164 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; | 163 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; |
| 164 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri
bute; |
165 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; | 165 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; |
166 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; | 166 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; |
167 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte
xtAndScriptStateAnyAttribute; | 167 [CallWith=ExecutionContext|ScriptState] attribute any callWithExecutionConte
xtAndScriptStateAnyAttribute; |
168 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl
yDocumentAttribute; // All uses are read only | 168 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl
yDocumentAttribute; // All uses are read only |
169 [Conditional=CONDITION] attribute long conditionalLongAttribute; | 169 [Conditional=CONDITION] attribute long conditionalLongAttribute; |
170 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri
bute; | 170 [Conditional=(CONDITION_1,CONDITION_2)] attribute long conditionalAndLongAtt
ribute; |
171 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib
ute; | 171 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib
ute; |
172 // Constructors: FIXME: replace suffix with [ConstructorAttribute] | 172 // Constructors: FIXME: replace suffix with [ConstructorAttribute] |
173 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; | 173 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; |
174 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; | 174 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; |
175 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; | 175 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; |
176 [Custom] attribute object customObjectAttribute; | 176 [Custom] attribute object customObjectAttribute; |
177 [Custom=Getter] attribute long customGetterLongAttribute; | 177 [Custom=Getter] attribute long customGetterLongAttribute; |
178 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; | 178 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; |
179 [Custom=Setter] attribute long customSetterLongAttribute; | 179 [Custom=Setter] attribute long customSetterLongAttribute; |
180 [Conditional=CONDITION, Custom] attribute long customLongAttribute; | 180 [Conditional=CONDITION, Custom] attribute long customLongAttribute; |
181 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; | 181 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; |
182 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; | 182 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; |
183 [EnforceRange] attribute long enforceRangeLongAttribute; | 183 [EnforceRange] attribute long enforceRangeLongAttribute; |
184 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; | 184 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; |
185 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; | 185 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; |
186 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; | 186 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; |
187 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; | 187 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; |
188 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; | 188 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; |
189 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; | 189 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; |
190 [NotEnumerable] attribute long notEnumerableLongAttribute; | 190 [NotEnumerable] attribute long notEnumerableLongAttribute; |
191 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut
e; | 191 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut
e; |
192 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; | 192 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; |
193 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; | 193 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; |
194 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; | 194 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; |
195 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; | 195 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; |
196 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet
terForIsolatedWorldsPerWorldBindingsLongAttribute; | 196 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet
terForIsolatedWorldsPerWorldBindingsLongAttribute; |
197 [PutForwards=href] readonly attribute TestNode location; | 197 [PutForwards=href] readonly attribute TestNode location; |
198 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 198 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
199 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; | 199 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; |
| 200 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString; |
200 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit
hPerWorldBindings; | 201 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit
hPerWorldBindings; |
| 202 [TypeChecking=Interface, PutForwards=href] readonly attribute TestNode locat
ionTypeCheckingInterface; |
201 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio
nGarbageCollected; | 203 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio
nGarbageCollected; |
202 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l
ocationWillBeGarbageCollected; | 204 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l
ocationWillBeGarbageCollected; |
203 [RaisesException] attribute long raisesExceptionLongAttribute; | 205 [RaisesException] attribute long raisesExceptionLongAttribute; |
204 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; | 206 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; |
205 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; | 207 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; |
206 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE
mptyAttribute; | 208 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE
mptyAttribute; |
207 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut
eRaisesExceptionGetterAnyAttribute; | 209 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut
eRaisesExceptionGetterAnyAttribute; |
208 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; | 210 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; |
209 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; | 211 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; |
210 // [Reflect] exceptional types: exceptional getters, exceptional setters, | 212 // [Reflect] exceptional types: exceptional getters, exceptional setters, |
(...skipping 16 matching lines...) Expand all Loading... |
227 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString
limitedWithMissingDefaultAttribute; | 229 [Reflect, ReflectOnly="rsa"|"dsa", ReflectMissing="rsa"] attribute DOMString
limitedWithMissingDefaultAttribute; |
228 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva
lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; | 230 [Reflect, ReflectOnly="ltr"|"rtl"|"auto", ReflectMissing="auto", ReflectInva
lid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; |
229 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; | 231 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; |
230 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; | 232 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; |
231 | 233 |
232 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; | 234 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; |
233 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; | 235 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; |
234 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; | 236 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; |
235 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; | 237 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; |
236 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; | 238 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; |
237 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith
ActiveWindowAndFirstWindowStringAttribute; | 239 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi
thActiveWindowAndFirstWindowStringAttribute; |
238 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; | 240 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; |
| 241 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tribute; |
239 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 242 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
240 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 243 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
241 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 244 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
| 245 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu
te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; |
242 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; | 246 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; |
243 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; | 247 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; |
244 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu
llStringAsNullScalarValueStringAttribute; | 248 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu
llStringAsNullScalarValueStringAttribute; |
245 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur
nedNullStringAsUndefinedScalarValueStringAttribute; | 249 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur
nedNullStringAsUndefinedScalarValueStringAttribute; |
246 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types | 250 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute
; // nop for non-interface types |
247 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; | 251 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; |
248 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; | 252 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI
nterfaceOrNullAttribute; |
249 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; | |
250 [Reflect, URL] attribute DOMString urlStringAttribute; | 253 [Reflect, URL] attribute DOMString urlStringAttribute; |
251 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 254 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
252 [Unforgeable] attribute long unforgeableLongAttribute; | 255 [Unforgeable] attribute long unforgeableLongAttribute; |
253 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet
terOnlyLogPreviousValueAttribute; | 256 [LogActivity=SetterOnly, LogPreviousValue] attribute DOMString? activityLogg
ingSetterOnlyLogPreviousValueAttribute; |
254 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; | 257 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; |
255 | 258 |
256 | 259 |
257 // Methods | 260 // Methods |
258 // | 261 // |
259 // Naming convention: | 262 // Naming convention: |
260 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 263 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
261 // E.g., | 264 // E.g., |
262 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); | 265 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra
yArg); |
263 void voidMethod(); | 266 void voidMethod(); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 void voidMethodArrayStringArg(DOMString[] arrayStringArg); | 343 void voidMethodArrayStringArg(DOMString[] arrayStringArg); |
341 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); | 344 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); |
342 // Sequences | 345 // Sequences |
343 sequence<long> longSequenceMethod(); | 346 sequence<long> longSequenceMethod(); |
344 sequence<DOMString> stringSequenceMethod(); | 347 sequence<DOMString> stringSequenceMethod(); |
345 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); | 348 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); |
346 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); | 349 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); |
347 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); | 350 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); |
348 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te
stInterfaceEmptySequenceArg); | 351 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te
stInterfaceEmptySequenceArg); |
349 // Nullable types | 352 // Nullable types |
| 353 long? nullableLongMethod(); |
| 354 DOMString? nullableStringMethod(); |
| 355 TestInterface? nullableTestInterfaceMethod(); |
| 356 sequence<long>? nullableLongSequenceMethod(); |
350 // Currently only used on interface type arguments | 357 // Currently only used on interface type arguments |
351 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI
nterfaceEmptyArg); | 358 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI
nterfaceEmptyArg); |
352 // Callback interface types | 359 // Callback interface types |
353 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn
terfaceArg); | 360 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn
terfaceArg); |
354 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa
ce optionalTestCallbackInterfaceArg); | 361 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa
ce optionalTestCallbackInterfaceArg); |
355 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal
lbackInterfaceArg); | 362 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal
lbackInterfaceArg); |
356 // Enumerations | 363 // Enumerations |
357 TestEnum testEnumMethod(); | 364 TestEnum testEnumMethod(); |
358 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); | 365 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); |
359 // Exceptional types | 366 // Exceptional types |
360 Dictionary dictionaryMethod(); | 367 Dictionary dictionaryMethod(); |
361 NodeFilter nodeFilterMethod(); | 368 NodeFilter nodeFilterMethod(); |
362 Promise promiseMethod(); | 369 Promise promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString.
.. variadic); |
| 370 Promise promiseMethodWithoutExceptionState(Dictionary arg1); |
363 SerializedScriptValue serializedScriptValueMethod(); | 371 SerializedScriptValue serializedScriptValueMethod(); |
364 XPathNSResolver xPathNSResolverMethod(); | 372 XPathNSResolver xPathNSResolverMethod(); |
365 void voidMethodDictionaryArg(Dictionary dictionaryArg); | 373 void voidMethodDictionaryArg(Dictionary dictionaryArg); |
366 void voidMethodEventListenerArg(EventListener eventListenerArg); | |
367 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); | 374 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); |
368 void voidMethodPromiseArg(Promise promiseArg); | 375 void voidMethodPromiseArg(Promise promiseArg); |
369 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri
ptValueArg); | 376 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri
ptValueArg); |
370 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); | 377 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); |
371 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence
Arg); | 378 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence
Arg); |
372 | 379 |
373 // Arguments | 380 // Arguments |
374 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); | 381 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); |
375 // Optional arguments | 382 // Optional arguments |
376 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); | 383 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); |
377 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt
ionalTestInterfaceEmptyArg); | 384 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt
ionalTestInterfaceEmptyArg); |
378 void voidMethodOptionalLongArg(optional long optionalLongArg); | 385 void voidMethodOptionalLongArg(optional long optionalLongArg); |
379 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); | 386 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); |
380 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt
ionalLongArg); | 387 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt
ionalLongArg); |
381 long longMethodOptionalLongArg(optional long optionalLongArg); | 388 long longMethodOptionalLongArg(optional long optionalLongArg); |
382 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo
ngArg); | 389 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo
ngArg); |
383 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional
long optionalLongArg1, optional long optionalLongArg2); | 390 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional
long optionalLongArg1, optional long optionalLongArg2); |
384 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T
estInterfaceEmpty optionalTestInterfaceEmpty); | 391 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T
estInterfaceEmpty optionalTestInterfaceEmpty); |
385 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio
nalTestInterfaceEmpty, optional long longArg); | 392 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio
nalTestInterfaceEmpty, optional long longArg); |
386 // Optional arguments: exceptional case | 393 // Optional arguments: exceptional case |
387 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA
rg); | 394 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA
rg); |
388 | 395 |
389 // Optional arguments with defaults | 396 // Optional arguments with defaults |
| 397 void voidMethodDefaultByteStringArg(optional ByteString defaultByteStringArg
= "foo"); |
390 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo")
; | 398 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo")
; |
391 void voidMethodDefaultNullStringArg(optional DOMString defaultStringArg = nu
ll); | 399 void voidMethodDefaultIntegerArgs(optional long defaultLongArg = 10, |
392 void voidMethodDefaultLongArg(optional long defaultLongArg = 10); | 400 optional long long defaultLongLongArg = -1
0, |
| 401 optional unsigned long defaultUnsignedArg
= 0xFFFFFFFF); |
393 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5); | 402 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5); |
394 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr
ue); | 403 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr
ue); |
395 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f
alse); | 404 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f
alse); |
| 405 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri
ngArg = null); |
396 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg
= null); | 406 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg
= null); |
397 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau
ltTestInterfaceArg = null); | 407 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau
ltTestInterfaceArg = null); |
398 | 408 |
399 // Variadic operations | 409 // Variadic operations |
400 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); | 410 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); |
401 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString...
variadicStringArgs); | 411 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString...
variadicStringArgs); |
402 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT
estInterfaceEmptyArgs); | 412 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT
estInterfaceEmptyArgs); |
403 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf
aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty
Args); | 413 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf
aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty
Args); |
404 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage
Collected... variadicTestInterfaceGarbageCollectedArg); | 414 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage
Collected... variadicTestInterfaceGarbageCollectedArg); |
405 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW
illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); | 415 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW
illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); |
(...skipping 29 matching lines...) Expand all Loading... |
435 // [Clamp] | 445 // [Clamp] |
436 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); | 446 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); |
437 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); | 447 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); |
438 // [Default] | 448 // [Default] |
439 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); | 449 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); |
440 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); | 450 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); |
441 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); | 451 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); |
442 // [EnforceRange] | 452 // [EnforceRange] |
443 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); | 453 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); |
444 // [TreatNullAs], [TreatUndefinedAs] | 454 // [TreatNullAs], [TreatUndefinedAs] |
| 455 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM
String treatNullAsEmptyStringStringArg); |
445 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); | 456 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); |
446 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); | 457 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); |
447 | 458 |
448 // Extended attributes for methods | 459 // Extended attributes for methods |
449 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); | 460 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); |
450 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); | 461 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); |
451 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); | 462 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); |
452 [CallWith=ScriptState] long callWithScriptStateLongMethod(); | 463 [CallWith=ScriptState] long callWithScriptStateLongMethod(); |
453 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon
textVoidMethod(); | 464 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC
ontextVoidMethod(); |
454 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen
tsVoidMethod(); | 465 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethod(); |
455 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen
tsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); | 466 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); |
456 [CallWith=ActiveWindow] void callWithActiveWindow(); | 467 [CallWith=ActiveWindow] void callWithActiveWindow(); |
457 [CallWith=ActiveWindow&FirstWindow] void callWithActiveWindowScriptWindow(); | 468 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); |
458 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); | 469 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); |
459 [Conditional=CONDITION] void conditionalConditionVoidMethod(); | 470 [Conditional=CONDITION] void conditionalConditionVoidMethod(); |
460 [Conditional=CONDITION_1&CONDITION_2] void conditionalCondition1AndCondition
2VoidMethod(); | 471 [Conditional=(CONDITION_1,CONDITION_2)] void conditionalCondition1AndConditi
on2VoidMethod(); |
461 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); | 472 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); |
462 [Custom] void customVoidMethod(); | 473 [Custom] void customVoidMethod(); |
463 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); | 474 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); |
464 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); | 475 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); |
465 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); | 476 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); |
466 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); | 477 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); |
467 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); | 478 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); |
468 [MeasureAs=TestFeature] void measureAsVoidMethod(); | 479 [MeasureAs=TestFeature] void measureAsVoidMethod(); |
469 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); | 480 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); |
470 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); | 481 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); |
(...skipping 15 matching lines...) Expand all Loading... |
486 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test
InterfaceEmpty testInterfaceEmptyArg); | 497 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test
InterfaceEmpty testInterfaceEmptyArg); |
487 [LogActivity, LogAllWorlds, PerWorldBindings] void activityLoggingForAllWorl
dsPerWorldBindingsVoidMethod(); | 498 [LogActivity, LogAllWorlds, PerWorldBindings] void activityLoggingForAllWorl
dsPerWorldBindingsVoidMethod(); |
488 [LogActivity, PerWorldBindings] void activityLoggingForIsolatedWorldsPerWorl
dBindingsVoidMethod(); | 499 [LogActivity, PerWorldBindings] void activityLoggingForIsolatedWorldsPerWorl
dBindingsVoidMethod(); |
489 [RaisesException] void raisesExceptionVoidMethod(); | 500 [RaisesException] void raisesExceptionVoidMethod(); |
490 [RaisesException] DOMString raisesExceptionStringMethod(); | 501 [RaisesException] DOMString raisesExceptionStringMethod(); |
491 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon
g optionalLongArg); | 502 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon
g optionalLongArg); |
492 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes
tCallbackInterface testCallbackInterfaceArg); | 503 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes
tCallbackInterface testCallbackInterfaceArg); |
493 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac
eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); | 504 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac
eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); |
494 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); | 505 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); |
495 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); | 506 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); |
496 [ReadOnly] void readOnlyVoidMethod(); | |
497 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); | |
498 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 507 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
499 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); | 508 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); |
500 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); | 509 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); |
501 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); | 510 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); |
502 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); | 511 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); |
503 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterface); | 512 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterface); |
504 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); | 513 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); |
505 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 514 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); |
506 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 515 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); |
507 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt
eStringMethod(); | 516 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt
eStringMethod(); |
508 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn
definedByteStringMethod(); | 517 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn
definedByteStringMethod(); |
509 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs
NullScalarValueStringMethod(); | 518 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs
NullScalarValueStringMethod(); |
510 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr
ingAsUndefinedScalarValueStringMethod(); | 519 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr
ingAsUndefinedScalarValueStringMethod(); |
511 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); | 520 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
512 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt
yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 521 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); |
513 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth
odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | |
514 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD
oubleArg(float floatArg, double doubleArg); | 522 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD
oubleArg(float floatArg, double doubleArg); |
515 [Unforgeable] void unforgeableVoidMethod(); | 523 [Unforgeable] void unforgeableVoidMethod(); |
516 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); | 524 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); |
517 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); | 525 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); |
518 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 526 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 527 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
520 | 528 |
521 // Extended attributes on referenced interfaces | 529 // Extended attributes on referenced interfaces |
522 // (not self; self-reference tests at interface themselves) | 530 // (not self; self-reference tests at interface themselves) |
523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 531 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 532 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 533 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 534 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 535 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
| 536 |
| 537 // Private scripts |
| 538 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript(); |
| 539 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript(); |
| 540 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn
PrivateScript(short value); |
| 541 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme
ntedInPrivateScript(DOMString value); |
| 542 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri
vateScript(Node value); |
| 543 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI
nPrivateScript(Document document, Node node, short value1, double value2, DOMStr
ing string); |
| 544 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; |
| 545 [ImplementedInPrivateScript] attribute short shortAttribute; |
| 546 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
| 547 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
| 548 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); |
| 549 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; |
| 550 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); |
| 551 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; |
528 }; | 552 }; |
OLD | NEW |