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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; | 228 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; |
229 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; | 229 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; |
230 | 230 |
231 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; | 231 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; |
232 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; | 232 [Replaceable, PutForwards=href] readonly attribute TestNode locationReplacea
ble; |
233 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; | 233 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; |
234 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; | 234 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p
erContextEnabledRuntimeEnabledLongAttribute; |
235 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; | 235 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition
alRuntimeEnabledLongAttribute; |
236 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith
ActiveWindowAndFirstWindowStringAttribute; | 236 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith
ActiveWindowAndFirstWindowStringAttribute; |
237 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; | 237 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio
nContextStringAttribute; |
238 [TypeChecking=Interface|Nullable] attribute float strictTypeCheckingInterfac
eNullableStringFloatAttribute; // nop for non-interface types | |
239 [TypeChecking=Interface] attribute TestInterface strictTypeCheckingInterface
TestInterfaceAttribute; | |
240 [TypeChecking=Nullable] attribute TestInterface? strictTypeCheckingNullableT
estInterfaceOrNullAttribute; | |
241 [TypeChecking=Interface|Nullable] attribute TestInterface? strictTypeCheckin
gInterfaceNullableTestInterfaceOrNullAttribute; | |
242 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 238 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
243 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 239 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
244 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 240 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
| 241 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types |
| 242 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; |
| 243 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; |
| 244 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; |
245 [Reflect, URL] attribute DOMString urlStringAttribute; | 245 [Reflect, URL] attribute DOMString urlStringAttribute; |
246 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 246 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
247 [Unforgeable] attribute long unforgeableLongAttribute; | 247 [Unforgeable] attribute long unforgeableLongAttribute; |
248 | 248 |
249 | 249 |
250 // Methods | 250 // Methods |
251 // | 251 // |
252 // Naming convention: | 252 // Naming convention: |
253 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); | 253 // ReturnType returnTypeMethodTypeName1ArgTypeName2Arg(Type1 typeName1Arg, T
ype2 typeName2Arg); |
254 // E.g., | 254 // E.g., |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 [RaisesException] DOMString raisesExceptionStringMethod(); | 460 [RaisesException] DOMString raisesExceptionStringMethod(); |
461 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon
g optionalLongArg); | 461 [RaisesException] void raisesExceptionVoidMethodOptionalLongArg(optional lon
g optionalLongArg); |
462 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes
tCallbackInterface testCallbackInterfaceArg); | 462 [RaisesException] void raisesExceptionVoidMethodTestCallbackInterfaceArg(Tes
tCallbackInterface testCallbackInterfaceArg); |
463 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac
eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); | 463 [RaisesException] void raisesExceptionVoidMethodOptionalTestCallbackInterfac
eArg(optional TestCallbackInterface optionalTestCallbackInterfaceArg); |
464 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); | 464 [RaisesException] TestInterfaceEmpty raisesExceptionTestInterfaceEmptyVoidMe
thod(); |
465 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); | 465 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa
isesExceptionVoidMethodLongArg(long longArg); |
466 [ReadOnly] void readOnlyVoidMethod(); | 466 [ReadOnly] void readOnlyVoidMethod(); |
467 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); | 467 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); |
468 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 468 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
469 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); | 469 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); |
470 [TypeChecking=Interface] void strictTypeCheckingInterfaceVoidMethodTestInter
faceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg); | |
471 [TypeChecking=Nullable] void strictTypeCheckingNullableVoidMethodTestInterfa
ceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | |
472 [TypeChecking=Interface|Nullable] void strictTypeCheckingInterfaceNullableVo
idMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNull
Arg); | |
473 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 470 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); |
474 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 471 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); |
| 472 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
| 473 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt
yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
| 474 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth
odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
| 475 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD
oubleArg(float floatArg, double doubleArg); |
475 [Unforgeable] void unforgeableVoidMethod(); | 476 [Unforgeable] void unforgeableVoidMethod(); |
476 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); | 477 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); |
477 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); | 478 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); |
478 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 479 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
479 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 480 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
480 | 481 |
481 // Extended attributes on referenced interfaces | 482 // Extended attributes on referenced interfaces |
482 // (not self; self-reference tests at interface themselves) | 483 // (not self; self-reference tests at interface themselves) |
483 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 484 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
484 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 485 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
485 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 486 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
486 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 487 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
487 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 488 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
488 }; | 489 }; |
OLD | NEW |