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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T
estInterfaceEmpty optionalTestInterfaceEmpty); | 337 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T
estInterfaceEmpty optionalTestInterfaceEmpty); |
338 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio
nalTestInterfaceEmpty, optional long longArg); | 338 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio
nalTestInterfaceEmpty, optional long longArg); |
339 // Optional arguments: exceptional case | 339 // Optional arguments: exceptional case |
340 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA
rg); | 340 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA
rg); |
341 | 341 |
342 // Variadic operations | 342 // Variadic operations |
343 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); | 343 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); |
344 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString...
variadicStringArgs); | 344 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString...
variadicStringArgs); |
345 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT
estInterfaceEmptyArgs); | 345 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT
estInterfaceEmptyArgs); |
346 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf
aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty
Args); | 346 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf
aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty
Args); |
| 347 // [WillBeGarbageCollected] |
| 348 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW
illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); |
347 | 349 |
348 // Overloaded methods | 350 // Overloaded methods |
349 void overloadedMethodA(long longArg); | 351 void overloadedMethodA(long longArg); |
350 void overloadedMethodA(long longArg1, long longArg2); | 352 void overloadedMethodA(long longArg1, long longArg2); |
351 void overloadedMethodB(long longArg); | 353 void overloadedMethodB(long longArg); |
352 void overloadedMethodB(long longArg1, optional long longArg2); | 354 void overloadedMethodB(long longArg1, optional long longArg2); |
353 void overloadedMethodC(long longArg); | 355 void overloadedMethodC(long longArg); |
354 void overloadedMethodC(long longArg, long... longArgs); | 356 void overloadedMethodC(long longArg, long... longArgs); |
355 void overloadedMethodD(long longArg); | 357 void overloadedMethodD(long longArg); |
356 void overloadedMethodD(TestInterfaceEmpty testInterfaceEmptyArg); | 358 void overloadedMethodD(TestInterfaceEmpty testInterfaceEmptyArg); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); | 430 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); |
429 [ReadOnly] void readOnlyVoidMethod(); | 431 [ReadOnly] void readOnlyVoidMethod(); |
430 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); | 432 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); |
431 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 433 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
432 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); | 434 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); |
433 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg(
TestInterfaceEmpty testInterfaceEmptyArg); | 435 [StrictTypeChecking] void strictTypeCheckingVoidMethodTestInterfaceEmptyArg(
TestInterfaceEmpty testInterfaceEmptyArg); |
434 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE
mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg); | 436 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE
mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg); |
435 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 437 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); |
436 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 438 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); |
437 [Unforgeable] void unforgeableVoidMethod(); | 439 [Unforgeable] void unforgeableVoidMethod(); |
| 440 // [WillBeGarbageCollected] |
| 441 void voidMethodSequenceTestInterfaceWillBeGarbageCollectedArg(sequence<TestI
nterfaceWillBeGarbageCollected> sequenceTestInterfaceWillBeGarbageCollectedArg); |
| 442 void voidMethodArrayTestInterfaceWillBeGarbageCollectedArg(TestInterfaceWill
BeGarbageCollected[] arrayTestInterfaceWillBeGarbageCollectedArg); |
438 | 443 |
439 // Extended attributes on referenced interfaces | 444 // Extended attributes on referenced interfaces |
440 // (not self; self-reference tests at interface themselves) | 445 // (not self; self-reference tests at interface themselves) |
441 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] | 446 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] |
442 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedAttribute; // [WillBeGarbageCollected] | 447 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedAttribute; // [WillBeGarbageCollected] |
443 }; | 448 }; |
OLD | NEW |