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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 238 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
239 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 239 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
240 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 240 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
| 241 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin
gAsNullByteStringAttribute; |
| 242 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull
StringAsUndefinedByteStringAttribute; |
241 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types | 243 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla
bleStringFloatAttribute; // nop for non-interface types |
242 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; | 244 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn
terfaceAttribute; |
243 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; | 245 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt
erfaceOrNullAttribute; |
244 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; | 246 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter
faceNullableTestInterfaceOrNullAttribute; |
245 [Reflect, URL] attribute DOMString urlStringAttribute; | 247 [Reflect, URL] attribute DOMString urlStringAttribute; |
246 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 248 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
247 [Unforgeable] attribute long unforgeableLongAttribute; | 249 [Unforgeable] attribute long unforgeableLongAttribute; |
248 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet
terOnlyLogPreviousValueAttribute; | 250 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet
terOnlyLogPreviousValueAttribute; |
249 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; | 251 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging
LogPreviousValueInterfaceAttribute; |
250 | 252 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); | 492 [NotEnumerable, ReadOnly] void notEnumerableReadOnlyVoidMethod(); |
491 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); | 493 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); |
492 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); | 494 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE
nabledVoidMethod(); |
493 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); | 495 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri
ng stringArg); |
494 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); | 496 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo
ngArg); |
495 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); | 497 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth
od(DOMString stringArg); |
496 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterface); | 498 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth
od(TestInterface testInterface); |
497 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); | 499 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); |
498 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 500 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); |
499 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 501 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); |
| 502 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt
eStringMethod(); |
| 503 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn
definedByteStringMethod(); |
500 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); | 504 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm
ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); |
501 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt
yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 505 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt
yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
502 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth
odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); | 506 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth
odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); |
503 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD
oubleArg(float floatArg, double doubleArg); | 507 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD
oubleArg(float floatArg, double doubleArg); |
504 [Unforgeable] void unforgeableVoidMethod(); | 508 [Unforgeable] void unforgeableVoidMethod(); |
505 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); | 509 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa
ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); |
506 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); | 510 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol
lected[] testInterfaceGarbageCollectedArrayArg); |
507 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 511 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
508 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 512 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
509 | 513 |
510 // Extended attributes on referenced interfaces | 514 // Extended attributes on referenced interfaces |
511 // (not self; self-reference tests at interface themselves) | 515 // (not self; self-reference tests at interface themselves) |
512 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 516 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
513 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 517 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
514 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 518 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
515 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 519 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
516 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 520 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
517 }; | 521 }; |
OLD | NEW |