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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 // No extended attributes on the interface; those go in TestInterface.idl | 36 // No extended attributes on the interface; those go in TestInterface.idl |
37 interface TestObject { | 37 interface TestObject { |
38 // Constants | 38 // Constants |
39 const unsigned short CONST_VALUE_0 = 0; | 39 const unsigned short CONST_VALUE_0 = 0; |
40 const unsigned short CONST_VALUE_1 = 1; | 40 const unsigned short CONST_VALUE_1 = 1; |
41 const unsigned short CONST_VALUE_2 = 2; | 41 const unsigned short CONST_VALUE_2 = 2; |
42 const unsigned short CONST_VALUE_4 = 4; | 42 const unsigned short CONST_VALUE_4 = 4; |
43 const unsigned short CONST_VALUE_8 = 8; | 43 const unsigned short CONST_VALUE_8 = 8; |
44 const short CONST_VALUE_9 = -1; | 44 const short CONST_VALUE_9 = -1; |
45 const DOMString CONST_VALUE_10 = "my constant string"; | |
46 const unsigned short CONST_VALUE_11 = 0xffffffff; | 45 const unsigned short CONST_VALUE_11 = 0xffffffff; |
47 const unsigned short CONST_VALUE_12 = 0x01; | 46 const unsigned short CONST_VALUE_12 = 0x01; |
48 const unsigned short CONST_VALUE_13 = 0X20; | 47 const unsigned short CONST_VALUE_13 = 0X20; |
49 const unsigned short CONST_VALUE_14 = 0x1abc; | 48 const unsigned short CONST_VALUE_14 = 0x1abc; |
50 const unsigned short CONST_VALUE_15 = 010; | 49 const unsigned short CONST_VALUE_15 = 010; |
51 const unsigned short CONST_VALUE_16 = -010; | 50 const unsigned short CONST_VALUE_16 = -010; |
52 const unsigned short CONST_VALUE_16 = -0x1A; | 51 const unsigned short CONST_VALUE_16 = -0x1A; |
53 const unsigned short CONST_VALUE_17 = -0X1a; | 52 const unsigned short CONST_VALUE_17 = -0X1a; |
54 const double CONST_VALUE_18 = 0.123; | 53 const double CONST_VALUE_18 = 0.123; |
55 const double CONST_VALUE_19 = 4e9; | 54 const double CONST_VALUE_19 = 4e9; |
56 const double CONST_VALUE_20 = 3.4e5; | 55 const double CONST_VALUE_20 = 3.4e5; |
57 const double CONST_VALUE_21 = -1.3; | 56 const double CONST_VALUE_21 = -1.3; |
58 const double CONST_VALUE_22 = -4e-9; | 57 const double CONST_VALUE_22 = -4e-9; |
59 const double CONST_VALUE_23 = .123; | 58 const double CONST_VALUE_23 = .123; |
60 const double CONST_VALUE_24 = 5E+4; | 59 const double CONST_VALUE_24 = 5E+4; |
61 const float CONST_VALUE_25 = 1; | 60 const float CONST_VALUE_25 = 1; |
62 | 61 |
63 // Extended attributes | 62 // Extended attributes |
64 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; | 63 [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1; |
65 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; | 64 [MeasureAs=Constant] const short MEASURED_CONSTANT = 1; |
66 [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1; | 65 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST1 = 1; |
| 66 [RuntimeEnabled=FeatureName1] const short FEATURE1_ENABLED_CONST2 = 2; |
| 67 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST1 = 3; |
| 68 [RuntimeEnabled=FeatureName2] const short FEATURE2_ENABLED_CONST2 = 4; |
| 69 [RuntimeEnabled=FeatureName3] const short FEATURE3_ENABLED_CONST1 = 5; |
| 70 [RuntimeEnabled=FeatureName1, OriginTrialEnabled=FeatureName1] const short F
EATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 1; |
| 71 [RuntimeEnabled=FeatureName1, OriginTrialEnabled=FeatureName1] const short F
EATURE1_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 2; |
| 72 [RuntimeEnabled=FeatureName2, OriginTrialEnabled=FeatureName2] const short F
EATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 3; |
| 73 [RuntimeEnabled=FeatureName2, OriginTrialEnabled=FeatureName2] const short F
EATURE2_RUNTIME_AND_EXPERIMENT_ENABLED_CONST2 = 4; |
| 74 [RuntimeEnabled=FeatureName3, OriginTrialEnabled=FeatureName3] const short F
EATURE3_RUNTIME_AND_EXPERIMENT_ENABLED_CONST1 = 5; |
67 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; | 75 [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1; |
68 | 76 |
69 stringifier attribute DOMString stringifierAttribute; | 77 stringifier attribute DOMString stringifierAttribute; |
70 | 78 |
71 // Attributes | 79 // Attributes |
72 // | 80 // |
73 // Naming convention: | 81 // Naming convention: |
74 // [ExtAttr] attribute Type extAttrTypeNameAttribute; | 82 // [ExtAttr] attribute Type extAttrTypeNameAttribute; |
75 // E.g., | 83 // E.g., |
76 // [Foo] attribute DOMString? fooStringOrNullAttribute | 84 // [Foo] attribute DOMString? fooStringOrNullAttribute |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // Extended attributes | 175 // Extended attributes |
168 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; | 176 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds
LongAttribute; |
169 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; | 177 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF
orAllWorldsLongAttribute; |
170 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; | 178 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF
orAllWorldsLongAttribute; |
171 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; | 179 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; |
172 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; | 180 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; |
173 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri
bute; | 181 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri
bute; |
174 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; | 182 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; |
175 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; | 183 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; |
176 [CallWith=(ExecutionContext,ScriptState)] attribute any callWithExecutionCon
textAndScriptStateAnyAttribute; | 184 [CallWith=(ExecutionContext,ScriptState)] attribute any callWithExecutionCon
textAndScriptStateAnyAttribute; |
177 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl
yDocumentAttribute; // All uses are read only | 185 [CheckSecurity=ReturnValue] readonly attribute Document checkSecurityForNode
ReadonlyDocumentAttribute; // All uses are read only |
178 [Conditional=CONDITION] attribute long conditionalLongAttribute; | |
179 // Constructors: FIXME: replace suffix with [ConstructorAttribute] | 186 // Constructors: FIXME: replace suffix with [ConstructorAttribute] |
180 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; | 187 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu
te; |
181 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; | 188 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes
tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; |
182 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; | 189 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea
tureNameTestInterfaceEmptyConstructorAttribute; |
183 [Custom] attribute object customObjectAttribute; | 190 [Custom] attribute object customObjectAttribute; |
184 [Custom=Getter] attribute long customGetterLongAttribute; | 191 [Custom=Getter] attribute long customGetterLongAttribute; |
185 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; | 192 [Custom=Getter] readonly attribute object customGetterReadonlyObjectAttribut
e; |
186 [Custom=Setter] attribute long customSetterLongAttribute; | 193 [Custom=Setter] attribute long customSetterLongAttribute; |
187 [Conditional=CONDITION, Custom] attribute long customLongAttribute; | |
188 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; | 194 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead
onlyLongAttribute; |
189 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; | 195 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; |
190 [EnforceRange] attribute long enforceRangeLongAttribute; | 196 [EnforceRange] attribute long enforceRangeLongAttribute; |
191 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; | 197 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long
experimentRuntimeEnabledLongAttribute; |
192 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; | 198 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; |
193 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; | 199 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; |
194 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; | 200 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customGetterImplementedAsLongAttribute; |
195 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; | 201 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l
ong customSetterImplementedAsLongAttribute; |
196 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; | 202 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; |
197 [NotEnumerable] attribute long notEnumerableLongAttribute; | 203 [NotEnumerable] attribute long notEnumerableLongAttribute; |
198 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; | 204 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea
donlyTestInterfaceEmptyAttribute; |
199 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; | 205 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging
AccessPerWorldBindingsLongAttribute; |
200 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; | 206 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola
tedWorldsPerWorldBindingsLongAttribute; |
201 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; | 207 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti
vityLoggingGetterPerWorldBindingsLongAttribute; |
202 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet
terForIsolatedWorldsPerWorldBindingsLongAttribute; | 208 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet
terForIsolatedWorldsPerWorldBindingsLongAttribute; |
203 [PutForwards=href] readonly attribute TestNode location; | 209 [PutForwards=href] readonly attribute TestNode location; |
204 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 210 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
205 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; | 211 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; |
206 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString; | 212 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString; |
207 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit
hPerWorldBindings; | 213 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit
hPerWorldBindings; |
208 [TypeChecking=Interface, PutForwards=href] readonly attribute TestNode locat
ionTypeCheckingInterface; | 214 [PutForwards=href, LegacyInterfaceTypeChecking] readonly attribute TestNode
locationLegacyInterfaceTypeChecking; |
209 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio
nGarbageCollected; | 215 [PutForwards=attr1] readonly attribute TestInterfaceGarbageCollected locatio
nGarbageCollected; |
210 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l
ocationWillBeGarbageCollected; | 216 [PutForwards=attr1] readonly attribute TestInterfaceWillBeGarbageCollected l
ocationWillBeGarbageCollected; |
211 [RaisesException] attribute long raisesExceptionLongAttribute; | 217 [RaisesException] attribute long raisesExceptionLongAttribute; |
212 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; | 218 [RaisesException=Getter] attribute long raisesExceptionGetterLongAttribute; |
213 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; | 219 [RaisesException=Setter] attribute long setterRaisesExceptionLongAttribute; |
214 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE
mptyAttribute; | 220 [RaisesException] attribute TestInterfaceEmpty raisesExceptionTestInterfaceE
mptyAttribute; |
215 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut
eRaisesExceptionGetterAnyAttribute; | 221 [CachedAttribute=isValueDirty, RaisesException] attribute any cachedAttribut
eRaisesExceptionGetterAnyAttribute; |
216 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; | 222 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; |
217 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; | 223 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; |
218 // [Reflect] exceptional types: exceptional getters, exceptional setters, | 224 // [Reflect] exceptional types: exceptional getters, exceptional setters, |
(...skipping 12 matching lines...) Expand all Loading... |
231 // Limited value attributes and enumerated attributes | 237 // Limited value attributes and enumerated attributes |
232 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; | 238 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; |
233 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO
nlyAttribute; | 239 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO
nlyAttribute; |
234 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited
ToOnlyOtherAttribute; | 240 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited
ToOnlyOtherAttribute; |
235 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri
ng limitedWithMissingDefaultAttribute; | 241 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri
ng limitedWithMissingDefaultAttribute; |
236 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn
valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; | 242 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn
valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; |
237 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo
us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu
te; | 243 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo
us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu
te; |
238 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty
="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute
DOMString limitedWithEmptyMissingInvalidAttribute; | 244 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty
="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute
DOMString limitedWithEmptyMissingInvalidAttribute; |
239 | 245 |
240 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; | 246 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; |
241 [Replaceable, ExposeJSAccessors] readonly attribute long replaceableReadonly
LongAccessor; | |
242 [PutForwards=href] readonly attribute TestNode locationPutForwards; | 247 [PutForwards=href] readonly attribute TestNode locationPutForwards; |
243 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; | 248 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; |
244 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; | |
245 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi
thActiveWindowAndFirstWindowStringAttribute; | 249 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi
thActiveWindowAndFirstWindowStringAttribute; |
246 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; | 250 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; |
247 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tribute; | 251 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tribute; |
248 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 252 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
249 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 253 [LegacyInterfaceTypeChecking] attribute float legacyInterfaceTypeCheckingFlo
atAttribute; // nop for non-interface types |
250 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 254 [LegacyInterfaceTypeChecking] attribute TestInterface legacyInterfaceTypeChe
ckingTestInterfaceAttribute; |
251 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu
te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; | 255 [LegacyInterfaceTypeChecking] attribute TestInterface? legacyInterfaceTypeCh
eckingTestInterfaceOrNullAttribute; |
252 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; | |
253 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; | |
254 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString
AsNullUSVStringAttribute; | |
255 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS
tringAsUndefinedUSVStringAttribute; | |
256 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute
; // nop for non-interface types | |
257 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; | |
258 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI
nterfaceOrNullAttribute; | |
259 [Reflect, URL] attribute DOMString urlStringAttribute; | 256 [Reflect, URL] attribute DOMString urlStringAttribute; |
260 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 257 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
261 [Unforgeable] attribute long unforgeableLongAttribute; | 258 [Unforgeable] attribute long unforgeableLongAttribute; |
262 [Measure] attribute long measuredLongAttribute; | 259 [Measure] attribute long measuredLongAttribute; |
263 [SameObject] attribute TestInterface sameObjectAttribute; | 260 [SameObject] attribute TestInterface sameObjectAttribute; |
264 [Unscopeable] attribute long unscopeableLongAttribute; | 261 [Unscopeable] attribute long unscopeableLongAttribute; |
| 262 [Unscopeable, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] at
tribute long unscopeableExperimentEnabledLongAttribute; |
265 [Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeE
nabledLongAttribute; | 263 [Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeE
nabledLongAttribute; |
266 [Unscopeable] void unscopeableVoidMethod(); | 264 [Unscopeable] void unscopeableVoidMethod(); |
267 [Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoid
Method(); | 265 [Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoid
Method(); |
268 | 266 |
269 | 267 |
270 // Methods | 268 // Methods |
271 // | 269 // |
272 // Naming convention: | 270 // Naming convention: |
273 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 271 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
274 // E.g., | 272 // E.g., |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 void voidMethodNodeArg(Node nodeArg); | 332 void voidMethodNodeArg(Node nodeArg); |
335 // Typed arrays | 333 // Typed arrays |
336 ArrayBuffer arrayBufferMethod(); | 334 ArrayBuffer arrayBufferMethod(); |
337 ArrayBufferView arrayBufferViewMethod(); | 335 ArrayBufferView arrayBufferViewMethod(); |
338 Float32Array float32ArrayMethod(); | 336 Float32Array float32ArrayMethod(); |
339 Int32Array int32ArrayMethod(); | 337 Int32Array int32ArrayMethod(); |
340 Uint8Array uint8ArrayMethod(); | 338 Uint8Array uint8ArrayMethod(); |
341 void voidMethodArrayBufferArg(ArrayBuffer arrayBufferArg); | 339 void voidMethodArrayBufferArg(ArrayBuffer arrayBufferArg); |
342 void voidMethodArrayBufferOrNullArg(ArrayBuffer? arrayBufferArg); | 340 void voidMethodArrayBufferOrNullArg(ArrayBuffer? arrayBufferArg); |
343 void voidMethodArrayBufferViewArg(ArrayBufferView arrayBufferViewArg); | 341 void voidMethodArrayBufferViewArg(ArrayBufferView arrayBufferViewArg); |
| 342 void voidMethodFlexibleArrayBufferViewArg([FlexibleArrayBufferView] ArrayBuf
ferView arrayBufferViewArg); |
| 343 void voidMethodFlexibleArrayBufferViewTypedArg([FlexibleArrayBufferView] Flo
at32Array typedArrayBufferViewArg); |
344 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); | 344 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); |
345 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); | 345 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); |
346 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg); | 346 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg); |
347 // Arrays | 347 // Arrays |
348 long[] longArrayMethod(); | 348 long[] longArrayMethod(); |
349 DOMString[] stringArrayMethod(); | 349 DOMString[] stringArrayMethod(); |
350 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod(); | 350 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod(); |
351 void voidMethodArrayLongArg(long[] arrayLongArg); | 351 void voidMethodArrayLongArg(long[] arrayLongArg); |
352 void voidMethodArrayStringArg(DOMString[] arrayStringArg); | 352 void voidMethodArrayStringArg(DOMString[] arrayStringArg); |
353 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); | 353 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte
rfaceEmptyArg); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); | 508 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); |
509 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); | 509 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); |
510 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); | 510 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); |
511 [CallWith=ScriptState] long callWithScriptStateLongMethod(); | 511 [CallWith=ScriptState] long callWithScriptStateLongMethod(); |
512 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC
ontextVoidMethod(); | 512 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC
ontextVoidMethod(); |
513 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethod(); | 513 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethod(); |
514 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); | 514 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum
entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); |
515 [CallWith=ActiveWindow] void callWithActiveWindow(); | 515 [CallWith=ActiveWindow] void callWithActiveWindow(); |
516 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); | 516 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow(
); |
517 [CallWith=ThisValue] void callWithThisValue(); | 517 [CallWith=ThisValue] void callWithThisValue(); |
518 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); | 518 [CheckSecurity=ReturnValue] void checkSecurityForNodeVoidMethod(); |
519 [Conditional=CONDITION] void conditionalConditionVoidMethod(); | |
520 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); | |
521 [Custom] void customVoidMethod(); | 519 [Custom] void customVoidMethod(); |
522 [Custom=CallPrologue] void customCallPrologueVoidMethod(); | 520 [Custom=CallPrologue] void customCallPrologueVoidMethod(); |
523 [Custom=CallEpilogue] void customCallEpilogueVoidMethod(); | 521 [Custom=CallEpilogue] void customCallEpilogueVoidMethod(); |
524 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); | |
525 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); | 522 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); |
526 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); | 523 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); |
527 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); | 524 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); |
| 525 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledVoidMethod(); |
| 526 [PerWorldBindings, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureNam
e1] void perWorldBindingsExperimentEnabledVoidMethod(); |
| 527 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledOverloadedVoidMethod(DOMString stringArg); |
| 528 [OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName1] void experimen
tEnabledOverloadedVoidMethod(long longArg); |
| 529 [OriginTrialEnabled=FeatureName1, RuntimeEnabled=FeatureName1] void partiall
yExperimentEnabledOverloadedVoidMethod(DOMString stringArg); |
| 530 [OriginTrialEnabled=FeatureName2, RuntimeEnabled=FeatureName1] void partiall
yExperimentEnabledOverloadedVoidMethod(TestInterface testInterfaceArg); |
| 531 void partiallyExperimentEnabledOverloadedVoidMethod(long longArg, DOMString
stringArg); |
| 532 [OriginTrialEnabled=FeatureName3] void partiallyExperimentEnabledOverloadedV
oidMethod(long longArg, DOMString stringArg, TestInterface testInterfaceArg); |
528 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); | 533 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); |
529 [MeasureAs=TestFeature] void measureAsVoidMethod(); | 534 [MeasureAs=TestFeature] void measureAsVoidMethod(); |
530 [Measure] void measureMethod(); | 535 [Measure] void measureMethod(); |
531 [Measure] void measureOverloadedMethod(); | 536 [Measure] void measureOverloadedMethod(); |
532 [Measure] void measureOverloadedMethod(long arg); | 537 [Measure] void measureOverloadedMethod(long arg); |
533 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); | 538 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); |
534 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); | 539 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); |
535 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); | 540 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); |
536 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg
); | 541 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg
); |
537 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); | 542 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); |
(...skipping 21 matching lines...) Expand all Loading... |
559 [RaisesException] XPathNSResolver raisesExceptionXPathNSResolverVoidMethod()
; | 564 [RaisesException] XPathNSResolver raisesExceptionXPathNSResolverVoidMethod()
; |
560 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); | 565 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); |
561 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 566 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
562 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); | 567 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); |
563 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); | 568 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); |
564 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); | 569 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); |
565 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); | 570 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); |
566 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterfaceArg); | 571 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterfaceArg); |
567 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg, DOMString str
ingArg); | 572 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg, DOMString str
ingArg); |
568 [RuntimeEnabled=FeatureName3] void partiallyRuntimeEnabledOverloadedVoidMeth
od(long longArg, DOMString stringArg, TestInterface testInterfaceArg); | 573 [RuntimeEnabled=FeatureName3] void partiallyRuntimeEnabledOverloadedVoidMeth
od(long longArg, DOMString stringArg, TestInterface testInterfaceArg); |
569 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 574 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest
InterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
570 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 575 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest
InterfaceEmptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); |
571 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt
eStringMethod(); | |
572 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn
definedByteStringMethod(); | |
573 [TreatReturnedNullStringAs=Null] USVString treatReturnedNullStringAsNullUSVS
tringMethod(); | |
574 [TreatReturnedNullStringAs=Undefined] USVString treatReturnedNullStringAsUnd
efinedUSVStringMethod(); | |
575 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); | |
576 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); | |
577 // Avoid redundant type checking | 576 // Avoid redundant type checking |
578 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithOptio
nalArg(Node node1, optional Node node2); | 577 void useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg(Node node1, option
al Node node2); |
579 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithNulla
bleArg(Node node1, Node? node2); | 578 void useToImpl4ArgumentsCheckingIfPossibleWithNullableArg(Node node1, Node?
node2); |
580 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithUndef
inedArg(Node node1, [Default=Undefined] optional Node node2); | 579 void useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg(Node node1, [Defa
ult=Undefined] optional Node node2); |
581 void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg(float floatArg, dou
ble doubleArg); | |
582 [Unforgeable] void unforgeableVoidMethod(); | 580 [Unforgeable] void unforgeableVoidMethod(); |
583 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); | 581 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); |
584 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); | 582 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); |
585 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 583 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
586 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 584 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
587 [NewObject] TestInterface newObjectTestInterfaceMethod(); | 585 [NewObject] TestInterface newObjectTestInterfaceMethod(); |
588 | 586 |
589 serializer DOMString serializerMethod(); | 587 serializer DOMString serializerMethod(); |
590 | 588 |
591 // Extended attributes on referenced interfaces | 589 // Extended attributes on referenced interfaces |
(...skipping 16 matching lines...) Expand all Loading... |
608 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | 606 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
609 [ImplementedInPrivateScript] attribute Node nodeAttribute; | 607 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
610 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); | 608 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl
y(short value1, short value2); |
611 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; | 609 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo
rPrivateScriptOnly; |
612 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); | 610 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv
ateScriptOnly(short value1, short value2); |
613 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; | 611 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
attributeForPrivateScriptOnly; |
614 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; | 612 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; |
615 | 613 |
616 maplike<long, DOMStringOrDouble>; | 614 maplike<long, DOMStringOrDouble>; |
617 }; | 615 }; |
OLD | NEW |