Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: bindings/tests/idls/core/TestObject.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // TestInterfaceEmpty is used as a stub interface type, for testing behavior 81 // TestInterfaceEmpty is used as a stub interface type, for testing behavior
82 // that should not depend on particular type (beyond "interface or not"). 82 // that should not depend on particular type (beyond "interface or not").
83 // read only 83 // read only
84 readonly attribute DOMString readonlyStringAttribute; 84 readonly attribute DOMString readonlyStringAttribute;
85 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute; 85 readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute;
86 readonly attribute long readonlyLongAttribute; 86 readonly attribute long readonlyLongAttribute;
87 // Basic types 87 // Basic types
88 attribute Date dateAttribute; 88 attribute Date dateAttribute;
89 attribute DOMString stringAttribute; 89 attribute DOMString stringAttribute;
90 attribute ByteString byteStringAttribute; 90 attribute ByteString byteStringAttribute;
91 attribute ScalarValueString scalarValueStringAttribute; 91 attribute USVString usvStringAttribute;
92 attribute DOMTimeStamp domTimeStampAttribute; 92 attribute DOMTimeStamp domTimeStampAttribute;
93 attribute boolean booleanAttribute; 93 attribute boolean booleanAttribute;
94 attribute byte byteAttribute; 94 attribute byte byteAttribute;
95 attribute double doubleAttribute; 95 attribute double doubleAttribute;
96 attribute float floatAttribute; 96 attribute float floatAttribute;
97 attribute long longAttribute; 97 attribute long longAttribute;
98 attribute long long longLongAttribute; 98 attribute long long longLongAttribute;
99 attribute octet octetAttribute; 99 attribute octet octetAttribute;
100 attribute short shortAttribute; 100 attribute short shortAttribute;
101 attribute unrestricted double unrestrictedDoubleAttribute; 101 attribute unrestricted double unrestrictedDoubleAttribute;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Arrays 143 // Arrays
144 attribute DOMString[] stringArrayAttribute; 144 attribute DOMString[] stringArrayAttribute;
145 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; 145 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute;
146 attribute float[] floatArrayAttribute; 146 attribute float[] floatArrayAttribute;
147 // Nullable attributes 147 // Nullable attributes
148 attribute DOMString? stringOrNullAttribute; 148 attribute DOMString? stringOrNullAttribute;
149 attribute long? longOrNullAttribute; 149 attribute long? longOrNullAttribute;
150 attribute TestInterface? testInterfaceOrNullAttribute; 150 attribute TestInterface? testInterfaceOrNullAttribute;
151 // Enumerations 151 // Enumerations
152 attribute TestEnum testEnumAttribute; 152 attribute TestEnum testEnumAttribute;
153 attribute TestEnum? testEnumOrNullAttribute;
153 // Static attributes 154 // Static attributes
154 static attribute DOMString staticStringAttribute; 155 static attribute DOMString staticStringAttribute;
155 static attribute long staticLongAttribute; 156 static attribute long staticLongAttribute;
156 // Exceptional type 157 // Exceptional type
157 attribute EventHandler eventHandlerAttribute; 158 attribute EventHandler eventHandlerAttribute;
159 // Union types
160 attribute (double or DOMString) doubleOrStringAttribute;
161 attribute (double or DOMString)? doubleOrStringOrNullAttribute;
162 attribute (double? or DOMString) doubleOrNullStringAttribute;
163 attribute (DOMString or sequence<DOMString>) stringOrStringSequenceAttribute ;
164 attribute (TestEnum or double) testEnumOrDoubleAttribute;
165 attribute (unrestricted double or DOMString) unrestrictedDoubleOrStringAttri bute;
158 166
159 // Extended attributes 167 // Extended attributes
160 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds LongAttribute; 168 [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorlds LongAttribute;
161 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute; 169 [LogActivity=GetterOnly, LogAllWorlds] attribute long activityLoggingGetterF orAllWorldsLongAttribute;
162 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute; 170 [LogActivity=SetterOnly, LogAllWorlds] attribute long activityLoggingSetterF orAllWorldsLongAttribute;
163 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 171 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
164 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute; 172 [CachedAttribute=isArrayDirty] attribute DOMString[] cachedArrayAttribute;
165 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri bute; 173 [CachedAttribute=isStringDirty] attribute DOMString? cachedStringOrNoneAttri bute;
166 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 174 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
167 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute; 175 [CallWith=ScriptState] attribute any callWithScriptStateAnyAttribute;
(...skipping 12 matching lines...) Expand all
180 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute; 188 [CustomElementCallbacks] readonly attribute long customElementsCallbacksRead onlyLongAttribute;
181 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute; 189 [DeprecateAs=LongAttribute] attribute long deprecatedLongAttribute;
182 [EnforceRange] attribute long enforceRangeLongAttribute; 190 [EnforceRange] attribute long enforceRangeLongAttribute;
183 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute; 191 [ExposeJSAccessors] attribute long exposeJSAccessorsLongAttribute;
184 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; 192 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute;
185 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp lementedAsLongAttribute; 193 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp lementedAsLongAttribute;
186 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customGetterImplementedAsLongAttribute; 194 [Custom=Getter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customGetterImplementedAsLongAttribute;
187 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute; 195 [Custom=Setter, ImplementedAs=implementedAsNameWithCustomGetter] attribute l ong customSetterImplementedAsLongAttribute;
188 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; 196 [MeasureAs=TestFeature] attribute long measureAsLongAttribute;
189 [NotEnumerable] attribute long notEnumerableLongAttribute; 197 [NotEnumerable] attribute long notEnumerableLongAttribute;
190 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut e;
191 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute; 198 [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsRea donlyTestInterfaceEmptyAttribute;
192 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging AccessPerWorldBindingsLongAttribute; 199 [LogActivity, LogAllWorlds, PerWorldBindings] attribute long activityLogging AccessPerWorldBindingsLongAttribute;
193 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola tedWorldsPerWorldBindingsLongAttribute; 200 [LogActivity, PerWorldBindings] attribute long activityLoggingAccessForIsola tedWorldsPerWorldBindingsLongAttribute;
194 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti vityLoggingGetterPerWorldBindingsLongAttribute; 201 [LogActivity=GetterOnly, LogAllWorlds, PerWorldBindings] attribute long acti vityLoggingGetterPerWorldBindingsLongAttribute;
195 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet terForIsolatedWorldsPerWorldBindingsLongAttribute; 202 [LogActivity=GetterOnly, PerWorldBindings] attribute long activityLoggingGet terForIsolatedWorldsPerWorldBindingsLongAttribute;
196 [PutForwards=href] readonly attribute TestNode location; 203 [PutForwards=href] readonly attribute TestNode location;
197 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 204 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
198 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith; 205 [PutForwards=hrefCallWith] readonly attribute TestNode locationWithCallWith;
199 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString; 206 [PutForwards=hrefByteString] readonly attribute TestNode locationByteString;
200 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings; 207 [PerWorldBindings, PutForwards=href] readonly attribute TestNode locationWit hPerWorldBindings;
(...skipping 23 matching lines...) Expand all
224 // Limited value attributes and enumerated attributes 231 // Limited value attributes and enumerated attributes
225 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e; 232 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut e;
226 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO nlyAttribute; 233 [Reflect, ReflectOnly=("Per","Paal","Espen")] attribute DOMString limitedToO nlyAttribute;
227 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited ToOnlyOtherAttribute; 234 [Reflect=other, ReflectOnly=("Value1","Value2")] attribute DOMString limited ToOnlyOtherAttribute;
228 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri ng limitedWithMissingDefaultAttribute; 235 [Reflect, ReflectOnly=("rsa","dsa"), ReflectMissing="rsa"] attribute DOMStri ng limitedWithMissingDefaultAttribute;
229 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; 236 [Reflect, ReflectOnly=("ltr","rtl","auto"), ReflectMissing="auto", ReflectIn valid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute;
230 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te; 237 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te;
231 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute; 238 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute;
232 239
233 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 240 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
234 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea ble; 241 [Replaceable, ExposeJSAccessors] readonly attribute long replaceableReadonly LongAccessor;
242 [PutForwards=href] readonly attribute TestNode locationPutForwards;
235 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 243 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
236 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
237 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 244 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
238 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute; 245 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute;
239 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 246 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
240 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute; 247 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute;
241 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 248 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
242 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 249 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
243 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 250 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
244 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute; 251 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute;
245 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute; 252 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
246 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute; 253 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
247 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu llStringAsNullScalarValueStringAttribute; 254 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute;
248 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur nedNullStringAsUndefinedScalarValueStringAttribute; 255 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute;
249 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types 256 [TypeChecking=Interface] attribute float typeCheckingInterfaceFloatAttribute ; // nop for non-interface types
250 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute; 257 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute;
251 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute; 258 [TypeChecking=Interface] attribute TestInterface? typeCheckingInterfaceTestI nterfaceOrNullAttribute;
252 [Reflect, URL] attribute DOMString urlStringAttribute; 259 [Reflect, URL] attribute DOMString urlStringAttribute;
253 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 260 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
254 [Unforgeable] attribute long unforgeableLongAttribute; 261 [Unforgeable] attribute long unforgeableLongAttribute;
262 [Measure] attribute long measuredLongAttribute;
263 [SameObject] attribute TestInterface sameObjectAttribute;
264 [Unscopeable] attribute long unscopeableLongAttribute;
265 [Unscopeable, RuntimeEnabled=FeatureName] attribute long unscopeableRuntimeE nabledLongAttribute;
266 [Unscopeable] void unscopeableVoidMethod();
267 [Unscopeable, RuntimeEnabled=FeatureName] void unscopeableRuntimeEnabledVoid Method();
255 268
256 269
257 // Methods 270 // Methods
258 // 271 //
259 // Naming convention: 272 // Naming convention:
260 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg); 273 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T ype2 typeName2Arg);
261 // E.g., 274 // E.g.,
262 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg); 275 // void voidMethodStringArgLongArrayArg(DOMString stringArg, long[] longArra yArg);
263 void voidMethod(); 276 void voidMethod();
264 static void staticVoidMethod(); 277 static void staticVoidMethod();
265 278
266 // Types 279 // Types
267 // Basic types 280 // Basic types
268 Date dateMethod(); 281 Date dateMethod();
269 DOMString stringMethod(); 282 DOMString stringMethod();
270 ByteString byteStringMethod(); 283 ByteString byteStringMethod();
271 ScalarValueString scalarValueStringMethod(); 284 USVString usvStringMethod();
272 DOMTimeStamp readonlyDOMTimeStampMethod(); 285 DOMTimeStamp readonlyDOMTimeStampMethod();
273 boolean booleanMethod(); 286 boolean booleanMethod();
274 byte byteMethod(); 287 byte byteMethod();
275 double doubleMethod(); 288 double doubleMethod();
276 float floatMethod(); 289 float floatMethod();
277 long longMethod(); 290 long longMethod();
278 long long longLongMethod(); 291 long long longLongMethod();
279 octet octetMethod(); 292 octet octetMethod();
280 short shortMethod(); 293 short shortMethod();
281 unsigned long unsignedLongMethod(); 294 unsigned long unsignedLongMethod();
282 unsigned long long unsignedLongLongMethod(); 295 unsigned long long unsignedLongLongMethod();
283 unsigned short unsignedShortMethod(); 296 unsigned short unsignedShortMethod();
284 297
285 void voidMethodDateArg(Date dateArg); 298 void voidMethodDateArg(Date dateArg);
286 void voidMethodStringArg(DOMString stringArg); 299 void voidMethodStringArg(DOMString stringArg);
287 void voidMethodByteStringArg(ByteString stringArg); 300 void voidMethodByteStringArg(ByteString stringArg);
288 void voidMethodScalarValueStringArg(ScalarValueString scalarValueStringArg); 301 void voidMethodUSVStringArg(USVString usvStringArg);
289 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg); 302 void voidMethodDOMTimeStampArg(DOMTimeStamp domTimeStampArg);
290 void voidMethodBooleanArg(boolean booleanArg); 303 void voidMethodBooleanArg(boolean booleanArg);
291 void voidMethodByteArg(byte byteArg); 304 void voidMethodByteArg(byte byteArg);
292 void voidMethodDoubleArg(double doubleArg); 305 void voidMethodDoubleArg(double doubleArg);
293 void voidMethodFloatArg(float floatArg); 306 void voidMethodFloatArg(float floatArg);
294 void voidMethodLongArg(long longArg); 307 void voidMethodLongArg(long longArg);
295 void voidMethodLongLongArg(long long longLongArg); 308 void voidMethodLongLongArg(long long longLongArg);
296 void voidMethodOctetArg(octet octetArg); 309 void voidMethodOctetArg(octet octetArg);
297 void voidMethodShortArg(short shortArg); 310 void voidMethodShortArg(short shortArg);
298 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg); 311 void voidMethodUnsignedLongArg(unsigned long unsignedLongArg);
299 void voidMethodUnsignedLongLongArg(unsigned long long unsignedLongLongArg); 312 void voidMethodUnsignedLongLongArg(unsigned long long unsignedLongLongArg);
300 void voidMethodUnsignedShortArg(unsigned short unsignedShortArg); 313 void voidMethodUnsignedShortArg(unsigned short unsignedShortArg);
301 // Interface types 314 // Interface types
302 TestInterfaceEmpty testInterfaceEmptyMethod(); 315 TestInterfaceEmpty testInterfaceEmptyMethod();
303 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g); 316 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr g);
304 void voidMethodLongArgTestInterfaceEmptyArg(long longArg, TestInterfaceEmpty testInterfaceEmptyArg); 317 void voidMethodLongArgTestInterfaceEmptyArg(long longArg, TestInterfaceEmpty testInterfaceEmptyArg);
305 // Callback function type 318 // Callback function type
306 VoidCallbackFunction voidCallbackFunctionMethod(); 319 VoidCallbackFunction voidCallbackFunctionMethod();
307 AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyArgMethod(); 320 AnyCallbackFunctionOptionalAnyArg anyCallbackFunctionOptionalAnyArgMethod();
308 void voidMethodVoidCallbackFunctionArg(VoidCallbackFunction voidCallbackFunc tionArg); 321 void voidMethodVoidCallbackFunctionArg(VoidCallbackFunction voidCallbackFunc tionArg);
322 void voidMethodOptionalVoidCallbackFunctionArg(optional VoidCallbackFunction voidCallbackFunctionArg);
323 void voidMethodNullableVoidCallbackFunctionArg(VoidCallbackFunction? voidCal lbackFunctionArg);
309 void voidMethodAnyCallbackFunctionOptionalAnyArg(AnyCallbackFunctionOptional AnyArg anyCallbackFunctionOptionalAnyArgArg); 324 void voidMethodAnyCallbackFunctionOptionalAnyArg(AnyCallbackFunctionOptional AnyArg anyCallbackFunctionOptionalAnyArgArg);
310 // Custom type conversions 325 // Custom type conversions
311 any anyMethod(); 326 any anyMethod();
312 void voidMethodEventTargetArg(EventTarget eventTargetArg); 327 void voidMethodEventTargetArg(EventTarget eventTargetArg);
313 void voidMethodAnyArg(any anyArg); 328 void voidMethodAnyArg(any anyArg);
314 // DOM node types 329 // DOM node types
315 void voidMethodAttrArg(Attr attrArg); 330 void voidMethodAttrArg(Attr attrArg);
316 void voidMethodDocumentArg(Document documentArg); 331 void voidMethodDocumentArg(Document documentArg);
317 void voidMethodDocumentTypeArg(DocumentType documentTypeArg); 332 void voidMethodDocumentTypeArg(DocumentType documentTypeArg);
318 void voidMethodElementArg(Element elementArg); 333 void voidMethodElementArg(Element elementArg);
(...skipping 10 matching lines...) Expand all
329 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); 344 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg);
330 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); 345 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg);
331 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg); 346 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg);
332 // Arrays 347 // Arrays
333 long[] longArrayMethod(); 348 long[] longArrayMethod();
334 DOMString[] stringArrayMethod(); 349 DOMString[] stringArrayMethod();
335 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod(); 350 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod();
336 void voidMethodArrayLongArg(long[] arrayLongArg); 351 void voidMethodArrayLongArg(long[] arrayLongArg);
337 void voidMethodArrayStringArg(DOMString[] arrayStringArg); 352 void voidMethodArrayStringArg(DOMString[] arrayStringArg);
338 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg); 353 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg);
354 void voidMethodNullableArrayLongArg(long[]? arrayLongArg);
339 // Sequences 355 // Sequences
340 sequence<long> longSequenceMethod(); 356 sequence<long> longSequenceMethod();
341 sequence<DOMString> stringSequenceMethod(); 357 sequence<DOMString> stringSequenceMethod();
342 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); 358 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod();
343 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); 359 void voidMethodSequenceLongArg(sequence<long> longSequenceArg);
344 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); 360 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg);
345 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg); 361 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg);
346 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg); 362 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg);
363 void voidMethodNullableSequenceLongArg(sequence<long>? longSequenceArg);
347 // Nullable types 364 // Nullable types
348 long? nullableLongMethod(); 365 long? nullableLongMethod();
349 DOMString? nullableStringMethod(); 366 DOMString? nullableStringMethod();
350 TestInterface? nullableTestInterfaceMethod(); 367 TestInterface? nullableTestInterfaceMethod();
351 sequence<long>? nullableLongSequenceMethod(); 368 sequence<long>? nullableLongSequenceMethod();
352 // Union types 369 // Union types
353 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod(); 370 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
354 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod(); 371 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
355 (sequence<long> or DOMString[] or unrestricted double) longSequenceOrDOMStri ngArrayOrUnrestrictedDoubleMethod(); 372 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
373 (TestInterface or long) testInterfaceOrLongMethod();
374 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg);
375 void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg);
376 void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg);
377 void voidMethodDOMStringOrArrayBufferOrArrayBufferViewArg((DOMString or Arra yBuffer or ArrayBufferView) arg);
378 void voidMethodArrayBufferOrArrayBufferViewOrDictionaryArg((ArrayBuffer or A rrayBufferView or Dictionary) arg);
379 // Array of Union types
380 void voidMethodArrayOfDoubleOrDOMStringArg((double or DOMString)... arg);
356 // Currently only used on interface type arguments 381 // Currently only used on interface type arguments
357 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 382 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
358 // Callback interface types 383 // Callback interface types
359 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 384 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
360 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 385 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
361 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 386 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
362 // Enumerations 387 // Enumerations
363 TestEnum testEnumMethod(); 388 TestEnum testEnumMethod();
364 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 389 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
365 // Exceptional types 390 // Exceptional types
366 Dictionary dictionaryMethod(); 391 Dictionary dictionaryMethod();
392 TestDictionary testDictionaryMethod();
393 TestDictionary? nullableTestDictionaryMethod();
394 void passPermissiveDictionaryMethod([PermissiveDictionaryConversion] optiona l TestDictionary arg);
367 NodeFilter nodeFilterMethod(); 395 NodeFilter nodeFilterMethod();
368 Promise promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMString. .. variadic); 396 Promise<void> promiseMethod(long arg1, Dictionary arg2, DOMString arg3, DOMS tring... variadic);
369 Promise promiseMethodWithoutExceptionState(Dictionary arg1); 397 Promise promiseMethodWithoutExceptionState(Dictionary arg1);
370 SerializedScriptValue serializedScriptValueMethod(); 398 SerializedScriptValue serializedScriptValueMethod();
371 XPathNSResolver xPathNSResolverMethod(); 399 XPathNSResolver xPathNSResolverMethod();
372 void voidMethodDictionaryArg(Dictionary dictionaryArg); 400 void voidMethodDictionaryArg(Dictionary dictionaryArg);
373 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg); 401 void voidMethodNodeFilterArg(NodeFilter nodeFilterArg);
374 void voidMethodPromiseArg(Promise promiseArg); 402 void voidMethodPromiseArg(Promise promiseArg);
375 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg); 403 void voidMethodSerializedScriptValueArg(SerializedScriptValue serializedScri ptValueArg);
376 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg); 404 void voidMethodXPathNSResolverArg(XPathNSResolver xPathNSResolverArg);
377 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg); 405 void voidMethodDictionarySequenceArg(sequence<Dictionary> dictionarySequence Arg);
378 Promise overloadedPromiseMethod(long arg);
379 Promise overloadedPromiseMethod(DOMString arg);
380 406
381 // Arguments 407 // Arguments
382 void voidMethodStringArgLongArg(DOMString stringArg, long longArg); 408 void voidMethodStringArgLongArg(DOMString stringArg, long longArg);
383 // Optional arguments 409 // Optional arguments
384 void voidMethodOptionalStringArg(optional DOMString optionalStringArg); 410 void voidMethodOptionalStringArg(optional DOMString optionalStringArg);
385 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt ionalTestInterfaceEmptyArg); 411 void voidMethodOptionalTestInterfaceEmptyArg(optional TestInterfaceEmpty opt ionalTestInterfaceEmptyArg);
386 void voidMethodOptionalLongArg(optional long optionalLongArg); 412 void voidMethodOptionalLongArg(optional long optionalLongArg);
387 DOMString stringMethodOptionalLongArg(optional long optionalLongArg); 413 DOMString stringMethodOptionalLongArg(optional long optionalLongArg);
388 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg); 414 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg);
389 long longMethodOptionalLongArg(optional long optionalLongArg); 415 long longMethodOptionalLongArg(optional long optionalLongArg);
390 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo ngArg); 416 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo ngArg);
391 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional long optionalLongArg1, optional long optionalLongArg2); 417 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional long optionalLongArg1, optional long optionalLongArg2);
392 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T estInterfaceEmpty optionalTestInterfaceEmpty); 418 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T estInterfaceEmpty optionalTestInterfaceEmpty);
393 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio nalTestInterfaceEmpty, optional long longArg); 419 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio nalTestInterfaceEmpty, optional long longArg);
394 // Optional arguments: exceptional case 420 // Optional arguments: exceptional case
395 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA rg); 421 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA rg);
396 422
397 // Optional arguments with defaults 423 // Optional arguments with defaults
398 void voidMethodDefaultByteStringArg(optional ByteString defaultByteStringArg = "foo"); 424 void voidMethodDefaultByteStringArg(optional ByteString defaultByteStringArg = "foo");
399 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo") ; 425 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo") ;
400 void voidMethodDefaultIntegerArgs(optional long defaultLongArg = 10, 426 void voidMethodDefaultIntegerArgs(optional long defaultLongArg = 10,
401 optional long long defaultLongLongArg = -1 0, 427 optional long long defaultLongLongArg = -1 0,
402 optional unsigned long defaultUnsignedArg = 0xFFFFFFFF); 428 optional unsigned long defaultUnsignedArg = 0xFFFFFFFF);
403 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5); 429 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5);
404 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr ue); 430 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr ue);
405 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse); 431 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse);
406 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri ngArg = null); 432 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri ngArg = null);
407 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null); 433 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null);
408 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null); 434 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null);
435 void voidMethodDefaultDoubleOrStringArgs(optional (double or DOMString) defa ultLongArg = 10.0,
436 optional (double or DOMString?) def aultStringArg = "foo",
437 optional (double or DOMString)? def aultNullArg = null);
438 void voidMethodDefaultStringSequenceArg(optional sequence<DOMString> default StringSequenceArg = []);
409 439
410 // Variadic operations 440 // Variadic operations
411 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); 441 void voidMethodVariadicStringArg(DOMString... variadicStringArgs);
412 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs); 442 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs);
413 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs); 443 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs);
414 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args); 444 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args);
415 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage Collected... variadicTestInterfaceGarbageCollectedArg); 445 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage Collected... variadicTestInterfaceGarbageCollectedArg);
416 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); 446 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg);
417 447
418 // Overloaded methods 448 // Overloaded methods
(...skipping 10 matching lines...) Expand all
429 void overloadedMethodF(optional DOMString stringArg); 459 void overloadedMethodF(optional DOMString stringArg);
430 void overloadedMethodF(double doubleArg); 460 void overloadedMethodF(double doubleArg);
431 void overloadedMethodG(long longArg); 461 void overloadedMethodG(long longArg);
432 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull Arg = null); 462 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull Arg = null);
433 void overloadedMethodH(TestInterface testInterfaceArg); 463 void overloadedMethodH(TestInterface testInterfaceArg);
434 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg); 464 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg);
435 void overloadedMethodI(DOMString stringArg); 465 void overloadedMethodI(DOMString stringArg);
436 void overloadedMethodI(double doubleArg); 466 void overloadedMethodI(double doubleArg);
437 void overloadedMethodJ(DOMString stringArg); 467 void overloadedMethodJ(DOMString stringArg);
438 void overloadedMethodJ(TestDictionary testDictionaryArg); 468 void overloadedMethodJ(TestDictionary testDictionaryArg);
469 void overloadedMethodK(Function functionArg);
470 void overloadedMethodK(DOMString stringArg);
471 void overloadedMethodL(long longArg, any... restArgs);
472 void overloadedMethodL(DOMString stringArg, any... restArgs);
439 473
474 Promise promiseOverloadMethod();
475 Promise promiseOverloadMethod(Window arg1, double arg2);
476 Promise promiseOverloadMethod(Document arg1, double arg2);
440 477
441 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 478 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
442 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 479 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
443 480
444 static void overloadedStaticMethod(long longArg); 481 static void overloadedStaticMethod(long longArg);
445 static void overloadedStaticMethod(long longArg1, long longArg2); 482 static void overloadedStaticMethod(long longArg1, long longArg2);
446 483
484 // Special operations
485 [CallWith=ScriptState] getter any item(unsigned long index);
486 [CallWith=ScriptState] getter object(DOMString name);
487 [CallWith=ScriptState] setter DOMString setItem(unsigned long index, DOMStri ng value);
488 [CallWith=ScriptState] setter DOMString(DOMString name, DOMString value);
489 [RaisesException, CallWith=ScriptState] deleter boolean(unsigned long index) ;
490 [CallWith=ScriptState] deleter boolean(DOMString name);
491
447 // Extended attributes for arguments 492 // Extended attributes for arguments
448 // [Clamp] 493 // [Clamp]
449 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg); 494 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg);
450 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg); 495 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg);
451 // [Default] 496 // [Default]
452 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); 497 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg);
453 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg); 498 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg);
454 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg); 499 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg);
455 // [EnforceRange] 500 // [EnforceRange]
456 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); 501 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg);
457 // [TreatNullAs], [TreatUndefinedAs] 502 // [TreatNullAs], [TreatUndefinedAs]
458 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg); 503 void voidMethodTreatNullAsEmptyStringStringArg([TreatNullAs=EmptyString] DOM String treatNullAsEmptyStringStringArg);
459 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg); 504 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt ring treatNullAsNullStringStringArg);
460 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg); 505 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin gStringArg);
461 506
462 // Extended attributes for methods 507 // Extended attributes for methods
463 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod(); 508 [LogActivity, LogAllWorlds] void activityLoggingAccessForAllWorldsMethod();
464 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); 509 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod();
465 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); 510 [CallWith=ScriptState] void callWithScriptStateVoidMethod();
466 [CallWith=ScriptState] long callWithScriptStateLongMethod(); 511 [CallWith=ScriptState] long callWithScriptStateLongMethod();
467 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC ontextVoidMethod(); 512 [CallWith=(ScriptState,ExecutionContext)] void callWithScriptStateExecutionC ontextVoidMethod();
468 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethod(); 513 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethod();
469 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); 514 [CallWith=(ScriptState,ScriptArguments)] void callWithScriptStateScriptArgum entsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg);
470 [CallWith=ActiveWindow] void callWithActiveWindow(); 515 [CallWith=ActiveWindow] void callWithActiveWindow();
471 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow( ); 516 [CallWith=(ActiveWindow,FirstWindow)] void callWithActiveWindowScriptWindow( );
517 [CallWith=ThisValue] void callWithThisValue();
472 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod(); 518 [CheckSecurity=Node] void checkSecurityForNodeVoidMethod();
473 [Conditional=CONDITION] void conditionalConditionVoidMethod(); 519 [Conditional=CONDITION] void conditionalConditionVoidMethod();
474 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod(); 520 [Conditional=CONDITION] static void conditionalConditionStaticVoidMethod();
475 [Custom] void customVoidMethod(); 521 [Custom] void customVoidMethod();
522 [Custom=CallPrologue] void customCallPrologueVoidMethod();
523 [Custom=CallEpilogue] void customCallEpilogueVoidMethod();
476 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod(); 524 [Conditional=CONDITION, Custom] void conditionalConditionCustomVoidMethod();
477 [CustomElementCallbacks] void customElementCallbacksVoidMethod(); 525 [CustomElementCallbacks] void customElementCallbacksVoidMethod();
478 [DeprecateAs=voidMethod] void deprecatedVoidMethod(); 526 [DeprecateAs=voidMethod] void deprecatedVoidMethod();
479 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod(); 527 [DoNotCheckSignature] void doNotCheckSignatureVoidMethod();
480 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod(); 528 [ImplementedAs=implementedAsMethodName] void implementedAsVoidMethod();
481 [MeasureAs=TestFeature] void measureAsVoidMethod(); 529 [MeasureAs=TestFeature] void measureAsVoidMethod();
530 [Measure] void measureMethod();
531 [Measure] void measureOverloadedMethod();
532 [Measure] void measureOverloadedMethod(long arg);
482 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod(); 533 [DeprecateAs=TestFeatureA] void DeprecateAsOverloadedMethod();
483 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg); 534 [DeprecateAs=TestFeatureB] void DeprecateAsOverloadedMethod(long arg);
484 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(); 535 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod();
485 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg ); 536 [DeprecateAs=TestFeature] void DeprecateAsSameValueOverloadedMethod(long arg );
486 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod(); 537 [MeasureAs=TestFeatureA] void measureAsOverloadedMethod();
487 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg); 538 [MeasureAs=TestFeatureB] void measureAsOverloadedMethod(long arg);
488 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(); 539 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod();
489 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg); 540 [MeasureAs=TestFeature] void measureAsSameValueOverloadedMethod(long arg);
490 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(); 541 [DeprecateAs=TestFeatureA, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod();
491 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg); 542 [DeprecateAs=TestFeatureB, MeasureAs=TestFeature] void deprecateAsMeasureAsS ameValueOverloadedMethod(long arg);
492 [DeprecateAs=TestFeature, MeasureAs=TestFeatureA] void deprecateAsSameValueM easureAsOverloadedMethod(); 543 [DeprecateAs=TestFeature, MeasureAs=TestFeatureA] void deprecateAsSameValueM easureAsOverloadedMethod();
493 [DeprecateAs=TestFeature, MeasureAs=TestFeatureB] void deprecateAsSameValueM easureAsOverloadedMethod(long arg); 544 [DeprecateAs=TestFeature, MeasureAs=TestFeatureB] void deprecateAsSameValueM easureAsOverloadedMethod(long arg);
494 [DeprecateAs=TestFeatureA, MeasureAs=TestFeatureB] void deprecateAsSameValue MeasureAsSameValueOverloadedMethod(); 545 [DeprecateAs=TestFeatureA, MeasureAs=TestFeatureB] void deprecateAsSameValue MeasureAsSameValueOverloadedMethod();
495 [DeprecateAs=TestFeatureA, MeasureAs=TestFeatureB] void deprecateAsSameValue MeasureAsSameValueOverloadedMethod(long arg); 546 [DeprecateAs=TestFeatureA, MeasureAs=TestFeatureB] void deprecateAsSameValue MeasureAsSameValueOverloadedMethod(long arg);
496 [NotEnumerable] void notEnumerableVoidMethod(); 547 [NotEnumerable] void notEnumerableVoidMethod();
497 [PerContextEnabled=FeatureName] void perContextEnabledVoidMethod();
498 [PerWorldBindings] void perWorldBindingsVoidMethod(); 548 [PerWorldBindings] void perWorldBindingsVoidMethod();
499 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test InterfaceEmpty testInterfaceEmptyArg); 549 [PerWorldBindings] void perWorldBindingsVoidMethodTestInterfaceEmptyArg(Test InterfaceEmpty testInterfaceEmptyArg);
550 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag e, optional sequence<Transferable> transfer);
500 [LogActivity, LogAllWorlds, PerWorldBindings] void activityLoggingForAllWorl dsPerWorldBindingsVoidMethod(); 551 [LogActivity, LogAllWorlds, PerWorldBindings] void activityLoggingForAllWorl dsPerWorldBindingsVoidMethod();
501 [LogActivity, PerWorldBindings] void activityLoggingForIsolatedWorldsPerWorl dBindingsVoidMethod(); 552 [LogActivity, PerWorldBindings] void activityLoggingForIsolatedWorldsPerWorl dBindingsVoidMethod();
502 [RaisesException] void raisesExceptionVoidMethod(); 553 [RaisesException] void raisesExceptionVoidMethod();
503 [RaisesException] DOMString raisesExceptionStringMethod(); 554 [RaisesException] DOMString raisesExceptionStringMethod();
504 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg); 555 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg);
505 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg); 556 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg);
506 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); 557 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg);
507 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod(); 558 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod();
559 [RaisesException] XPathNSResolver raisesExceptionXPathNSResolverVoidMethod() ;
508 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg); 560 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg);
509 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); 561 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod();
510 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); 562 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod();
511 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg); 563 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg);
512 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg); 564 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg);
513 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg); 565 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg);
514 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterface); 566 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterfaceArg);
515 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); 567 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg, DOMString str ingArg);
568 [RuntimeEnabled=FeatureName3] void partiallyRuntimeEnabledOverloadedVoidMeth od(long longArg, DOMString stringArg, TestInterface testInterfaceArg);
516 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 569 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
517 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 570 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
518 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod(); 571 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod();
519 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod(); 572 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod();
520 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs NullScalarValueStringMethod(); 573 [TreatReturnedNullStringAs=Null] USVString treatReturnedNullStringAsNullUSVS tringMethod();
521 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr ingAsUndefinedScalarValueStringMethod(); 574 [TreatReturnedNullStringAs=Undefined] USVString treatReturnedNullStringAsUnd efinedUSVStringMethod();
522 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); 575 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
523 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); 576 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg);
524 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg); 577 // Avoid redundant type checking
578 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithOptio nalArg(Node node1, optional Node node2);
579 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithNulla bleArg(Node node1, Node? node2);
580 [TypeChecking=Interface] void useToImpl4ArgumentsCheckingIfPossibleWithUndef inedArg(Node node1, [Default=Undefined] optional Node node2);
581 void typeCheckingUnrestrictedVoidMethodFloatArgDoubleArg(float floatArg, dou ble doubleArg);
525 [Unforgeable] void unforgeableVoidMethod(); 582 [Unforgeable] void unforgeableVoidMethod();
526 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); 583 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg);
527 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); 584 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg);
528 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 585 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
529 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 586 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
587 [NewObject] TestInterface newObjectTestInterfaceMethod();
588
589 serializer DOMString serializerMethod();
530 590
531 // Extended attributes on referenced interfaces 591 // Extended attributes on referenced interfaces
532 // (not self; self-reference tests at interface themselves) 592 // (not self; self-reference tests at interface themselves)
533 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 593 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
534 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 594 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
535 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 595 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
536 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 596 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
537 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 597 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
538 598
539 // Private scripts 599 // Private scripts
540 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript(); 600 [ImplementedInPrivateScript] void voidMethodImplementedInPrivateScript();
541 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript(); 601 [ImplementedInPrivateScript] short shortMethodImplementedInPrivateScript();
542 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value); 602 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value);
543 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value); 603 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value);
544 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value); 604 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value);
545 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 605 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
546 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 606 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
547 [ImplementedInPrivateScript] attribute short shortAttribute; 607 [ImplementedInPrivateScript] attribute short shortAttribute;
548 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 608 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
549 [ImplementedInPrivateScript] attribute Node nodeAttribute; 609 [ImplementedInPrivateScript] attribute Node nodeAttribute;
550 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 610 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
551 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 611 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
552 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 612 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
553 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 613 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
554 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 614 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
615
616 maplike<long, DOMStringOrDouble>;
555 }; 617 };
OLDNEW
« no previous file with comments | « bindings/tests/idls/core/TestInterfaceWillBeGarbageCollected.idl ('k') | bindings/tests/idls/core/TestPartialInterface2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698