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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; | 87 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; |
88 attribute float[] floatArrayAttribute; | 88 attribute float[] floatArrayAttribute; |
89 // Nullable attributes | 89 // Nullable attributes |
90 attribute DOMString? nullableStringAttribute; | 90 attribute DOMString? nullableStringAttribute; |
91 attribute long? nullableLongAttribute; | 91 attribute long? nullableLongAttribute; |
92 // Enumerations | 92 // Enumerations |
93 attribute TestEnum testEnumAttribute; | 93 attribute TestEnum testEnumAttribute; |
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 |
| 98 // attribute attribute TestSubObjConstructor TestSubObj; |
| 99 attribute TestObjectAConstructor testObjectAConstructorAttribute; |
97 // Miscellaneous special types | 100 // Miscellaneous special types |
98 attribute EventHandler eventHandlerAttribute; | 101 attribute EventHandler eventHandlerAttribute; |
99 attribute Promise promiseAttribute; | 102 attribute Promise promiseAttribute; |
100 | 103 |
101 // Extended attributes | 104 // Extended attributes |
102 [ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessFor
AllWorldsLongAttribute; | 105 [ActivityLogging=AccessForAllWorlds] attribute long activityLoggingAccessFor
AllWorldsLongAttribute; |
103 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor
AllWorldsLongAttribute; | 106 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor
AllWorldsLongAttribute; |
104 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor
AllWorldsLongAttribute; | 107 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor
AllWorldsLongAttribute; |
105 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; | 108 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; |
106 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; | 109 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu
te; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 [SetterRaisesException] attribute long setterRaisesExceptionLongAttribute; | 162 [SetterRaisesException] attribute long setterRaisesExceptionLongAttribute; |
160 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // n
op for non-interface types | 163 [StrictTypeChecking] attribute float strictTypeCheckingFloatAttribute; // n
op for non-interface types |
161 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface
Attribute; | 164 [StrictTypeChecking] attribute TestInterface strictTypeCheckingTestInterface
Attribute; |
162 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; | 165 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
ibute; |
163 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; | 166 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString
AsNullStringAttribute; |
164 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; | 167 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS
tringAsUndefinedStringAttribute; |
165 [Reflect, URL] attribute DOMString urlStringAttribute; | 168 [Reflect, URL] attribute DOMString urlStringAttribute; |
166 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute; | 169 [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute; |
167 [Unforgeable] attribute long unforgeableLongAttribute; | 170 [Unforgeable] attribute long unforgeableLongAttribute; |
168 }; | 171 }; |
OLD | NEW |