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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
474 [RaisesException] DOMString raisesExceptionStringMethod(); | 474 [RaisesException] DOMString raisesExceptionStringMethod(); |
475 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg); | 475 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon g optionalLongArg); |
476 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg); | 476 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes tCallbackInterface testCallbackInterfaceArg); |
477 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); | 477 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); |
478 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod(); | 478 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe thod(); |
479 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg); | 479 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg); |
480 [ReadOnly] void readOnlyVoidMethod(); | 480 [ReadOnly] void readOnlyVoidMethod(); |
481 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); | 481 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); |
482 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 482 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
483 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); | 483 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); |
484 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg); | |
485 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg); | |
486 [RuntimeEnabled=FeatureName] void partiallyRuntimeEnabledOverloadedVoidMetho d(DOMString stringArg); | |
487 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); | |
Nils Barth (inactive)
2014/06/12 11:45:06
Do you want a test case with multiple feature name
Jens Widell
2014/06/12 12:04:38
Adding another partiallyRuntimeEnabledOverloadedVo
Nils Barth (inactive)
2014/06/12 12:20:27
Thanks for explanation; current tests are fine the
| |
484 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); | 488 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); |
485 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); | 489 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); |
486 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); | 490 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
487 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 491 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
488 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 492 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
489 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg); | 493 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg); |
490 [Unforgeable] void unforgeableVoidMethod(); | 494 [Unforgeable] void unforgeableVoidMethod(); |
491 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); | 495 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); |
492 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); | 496 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); |
493 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 497 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
494 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 498 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
495 | 499 |
496 // Extended attributes on referenced interfaces | 500 // Extended attributes on referenced interfaces |
497 // (not self; self-reference tests at interface themselves) | 501 // (not self; self-reference tests at interface themselves) |
498 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 502 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
499 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] | 503 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] |
500 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] | 504 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] |
501 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] | 505 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] |
502 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] | 506 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] |
503 }; | 507 }; |
OLD | NEW |