| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // Static attributes | 94 // Static attributes |
| 95 static attribute DOMString staticStringAttribute; | 95 static attribute DOMString staticStringAttribute; |
| 96 static attribute long staticLongAttribute; | 96 static attribute long staticLongAttribute; |
| 97 // Constructors | 97 // Constructors |
| 98 // attribute attribute TestSubObjConstructor TestSubObj; | 98 // attribute attribute TestSubObjConstructor TestSubObj; |
| 99 attribute TestObjectAConstructor testObjectAConstructorAttribute; | 99 attribute TestObjectAConstructor testObjectAConstructorAttribute; |
| 100 // Special types | 100 // Special types |
| 101 attribute EventHandler eventHandlerAttribute; | 101 attribute EventHandler eventHandlerAttribute; |
| 102 | 102 |
| 103 // Extended attributes | 103 // Extended attributes |
| 104 [ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessFor
AllWorldsLongAttribute; | 104 [ActivityLogging=ForAllWorlds] attribute long activityLoggingAccessForAllWor
ldsLongAttribute; |
| 105 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor
AllWorldsLongAttribute; | 105 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor
AllWorldsLongAttribute; |
| 106 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor
AllWorldsLongAttribute; | 106 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor
AllWorldsLongAttribute; |
| 107 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; | 107 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; |
| 108 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; | 108 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; |
| 109 [CheckSecurityForNode] readonly attribute Document checkSecurityForNodeReado
nlyDocumentAttribute; // All uses are read only | 109 [CheckSecurityForNode] readonly attribute Document checkSecurityForNodeReado
nlyDocumentAttribute; // All uses are read only |
| 110 [Conditional=Condition] attribute long conditionalLongAttribute; | 110 [Conditional=Condition] attribute long conditionalLongAttribute; |
| 111 [Conditional=Condition1&Condition2] attribute long conditionalAndLongAttribu
te; | 111 [Conditional=Condition1&Condition2] attribute long conditionalAndLongAttribu
te; |
| 112 [Conditional=Condition1|Condition2] attribute long conditionalOrLongAttribut
e; | 112 [Conditional=Condition1|Condition2] attribute long conditionalOrLongAttribut
e; |
| 113 [Custom] attribute long customLongAttribute; | 113 [Custom] attribute long customLongAttribute; |
| 114 [CustomGetter] attribute long customGetterLongAttribute; | 114 [CustomGetter] attribute long customGetterLongAttribute; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 126 [GetterRaisesException] attribute long getterRaisesExceptionLongAttribute; | 126 [GetterRaisesException] attribute long getterRaisesExceptionLongAttribute; |
| 127 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; | 127 [ImplementedAs=implementedAsName] attribute long implementedAsLongAttribute; |
| 128 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; | 128 [Custom, ImplementedAs=implementedAsNameWithCustom] attribute long customImp
lementedAsLongAttribute; |
| 129 [CustomGetter, ImplementedAs=implementedAsNameWithCustomGetter] attribute lo
ng customGetterImplementedAsLongAttribute; | 129 [CustomGetter, ImplementedAs=implementedAsNameWithCustomGetter] attribute lo
ng customGetterImplementedAsLongAttribute; |
| 130 [CustomSetter, ImplementedAs=implementedAsNameWithCustomGetter] attribute lo
ng customSetterImplementedAsLongAttribute; | 130 [CustomSetter, ImplementedAs=implementedAsNameWithCustomGetter] attribute lo
ng customSetterImplementedAsLongAttribute; |
| 131 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; | 131 [MeasureAs=TestFeature] attribute long measureAsLongAttribute; |
| 132 [NotEnumerable] attribute long notEnumerableLongAttribute; | 132 [NotEnumerable] attribute long notEnumerableLongAttribute; |
| 133 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut
e; | 133 [PerContextEnabled=FeatureName] attribute long perContextEnabledLongAttribut
e; |
| 134 [PerWorldBindings] attribute long perWorldBindingsLongAttribute; | 134 [PerWorldBindings] attribute long perWorldBindingsLongAttribute; |
| 135 [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttri
bute; // Separate read only attribute to check attribute configuration | 135 [PerWorldBindings] readonly attribute long perWorldBindingsReadonlyLongAttri
bute; // Separate read only attribute to check attribute configuration |
| 136 [ActivityLogging=AccessForAllWorlds, PerWorldBindings] attribute long activi
tyLoggingAccessPerWorldBindingsLongAttribute; | 136 [ActivityLogging=ForAllWorlds, PerWorldBindings] attribute long activityLogg
ingAccessPerWorldBindingsLongAttribute; |
| 137 [ActivityLogging=AccessForIsolatedWorlds, PerWorldBindings] attribute long a
ctivityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute; | 137 [ActivityLogging=ForIsolatedWorlds, PerWorldBindings] attribute long activit
yLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute; |
| 138 [ActivityLogging=GetterForAllWorlds, PerWorldBindings] attribute long activi
tyLoggingGetterPerWorldBindingsLongAttribute; | 138 [ActivityLogging=GetterForAllWorlds, PerWorldBindings] attribute long activi
tyLoggingGetterPerWorldBindingsLongAttribute; |
| 139 [ActivityLogging=GetterForIsolatedWorlds, PerWorldBindings] attribute long a
ctivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute; | 139 [ActivityLogging=GetterForIsolatedWorlds, PerWorldBindings] attribute long a
ctivityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute; |
| 140 [RaisesException] attribute long raisesExceptionLongAttribute; | 140 [RaisesException] attribute long raisesExceptionLongAttribute; |
| 141 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; | 141 [Reflect] attribute TestInterface reflectTestInterfaceAttribute; |
| 142 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; | 142 [Reflect=reflectedNameAttribute] attribute TestInterface reflectReflectedNam
eAttributeTestAttribute; |
| 143 // [Reflect] special types: special getters, special setters, or range | 143 // [Reflect] special types: special getters, special setters, or range |
| 144 // checking for unsigned | 144 // checking for unsigned |
| 145 [Reflect] attribute boolean reflectBooleanAttribute; | 145 [Reflect] attribute boolean reflectBooleanAttribute; |
| 146 [Reflect] attribute long reflectLongAttribute; | 146 [Reflect] attribute long reflectLongAttribute; |
| 147 [Reflect] attribute unsigned short reflectUnsignedShortAttribute; | 147 [Reflect] attribute unsigned short reflectUnsignedShortAttribute; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); | 293 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); |
| 294 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); | 294 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); |
| 295 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); | 295 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); |
| 296 // [EnforceRange] | 296 // [EnforceRange] |
| 297 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); | 297 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); |
| 298 // [TreatNullAs], [TreatUndefinedAs] | 298 // [TreatNullAs], [TreatUndefinedAs] |
| 299 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); | 299 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); |
| 300 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); | 300 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); |
| 301 | 301 |
| 302 // Extended attributes for methods | 302 // Extended attributes for methods |
| 303 [ActivityLogging=AccessForAllWorlds] void activityLoggingAccessForAllWorldsM
ethod(); | 303 [ActivityLogging=ForAllWorlds] void activityLoggingAccessForAllWorldsMethod(
); |
| 304 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); | 304 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); |
| 305 // [CallWith=ScriptState] long callWithScriptStateLongMethod(); // FIXME: no
n-void [CallWith=ScriptState] have different C++ method call | 305 // [CallWith=ScriptState] long callWithScriptStateLongMethod(); // FIXME: no
n-void [CallWith=ScriptState] have different C++ method call |
| 306 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); | 306 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); |
| 307 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon
textVoidMethod(); | 307 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon
textVoidMethod(); |
| 308 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen
tsVoidMethod(); | 308 [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgumen
tsVoidMethod(); |
| 309 // [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgu
mentsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); // FIXME
: optional arguments with extended attributes requires refactoring template | 309 // [CallWith=ScriptState&ScriptArguments] void callWithScriptStateScriptArgu
mentsVoidMethodOptionalBooleanArg(optional boolean optionalBooleanArg); // FIXME
: optional arguments with extended attributes requires refactoring template |
| 310 [CallWith=ActiveWindow] void callWithActiveWindow(); | 310 [CallWith=ActiveWindow] void callWithActiveWindow(); |
| 311 [CallWith=ActiveWindow&FirstWindow] void callWithActiveWindowScriptWindow(); | 311 [CallWith=ActiveWindow&FirstWindow] void callWithActiveWindowScriptWindow(); |
| 312 [CheckSecurityForNode] void checkSecurityForNodeVoidMethod(); | 312 [CheckSecurityForNode] void checkSecurityForNodeVoidMethod(); |
| 313 }; | 313 }; |
| OLD | NEW |