OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 attribute unsigned short unsignedShortAttr; | 51 attribute unsigned short unsignedShortAttr; |
52 attribute long longAttr; | 52 attribute long longAttr; |
53 attribute long long longLongAttr; | 53 attribute long long longLongAttr; |
54 attribute unsigned long long unsignedLongLongAttr; | 54 attribute unsigned long long unsignedLongLongAttr; |
55 attribute DOMString stringAttr; | 55 attribute DOMString stringAttr; |
56 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
; | 56 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
; |
57 [TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString tr
eatNullAsNullStringTreatUndefinedAsNullStringStringAttr; | 57 [TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString tr
eatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
58 attribute EventHandler eventHandlerAttr; | 58 attribute EventHandler eventHandlerAttr; |
59 [MeasureAs=TestFeature] attribute TestObject testObjAttr; | 59 [MeasureAs=TestFeature] attribute TestObject testObjAttr; |
60 [ExposeJSAccessors] attribute DOMString attrWithJSGetterAndSetter; | 60 [ExposeJSAccessors] attribute DOMString attrWithJSGetterAndSetter; |
| 61 [MeasureAs=TestFeature] attribute TestSubObjConstructor TestSubObjMeasured; |
61 | 62 |
62 // Name starting with an acronym | 63 // Name starting with an acronym |
63 attribute TestObject XMLObjAttr; | 64 attribute TestObject XMLObjAttr; |
64 | 65 |
65 // Reflected DOM attributes | 66 // Reflected DOM attributes |
66 [Reflect] attribute DOMString reflectedStringAttr; | 67 [Reflect] attribute DOMString reflectedStringAttr; |
67 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNu
llStringStringAttr; | 68 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNu
llStringStringAttr; |
68 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOM
String reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr; | 69 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOM
String reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
69 [Reflect] attribute long reflectedIntegralAttr; | 70 [Reflect] attribute long reflectedIntegralAttr; |
70 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; | 71 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 [PerWorldBindings, ActivityLogging=GetterForIsolatedWorlds] attribute long a
ctivityLoggedInIsolatedWorldsAttrGetter; | 292 [PerWorldBindings, ActivityLogging=GetterForIsolatedWorlds] attribute long a
ctivityLoggedInIsolatedWorldsAttrGetter; |
292 | 293 |
293 // DeprecateAs | 294 // DeprecateAs |
294 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; | 295 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; |
295 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; | 296 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; |
296 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; | 297 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; |
297 [DeprecateAs=Attribute] attribute long deprecatedAttr; | 298 [DeprecateAs=Attribute] attribute long deprecatedAttr; |
298 | 299 |
299 [DeprecateAs=Method] void deprecatedMethod(); | 300 [DeprecateAs=Method] void deprecatedMethod(); |
300 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 301 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
| 302 [DeprecateAs=ConstructorAttribute] attribute TestSubObjConstructor deprecate
dConstructor; |
301 | 303 |
302 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
303 | 305 |
304 // PutForwards | 306 // PutForwards |
305 [PutForwards=href] readonly attribute TestNode location; | 307 [PutForwards=href] readonly attribute TestNode location; |
306 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 308 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
307 }; | 309 }; |
308 | 310 |
309 // The following comment should not generate any code | 311 // The following comment should not generate any code |
310 // TestObject implements TestImplements; | 312 // TestObject implements TestImplements; |
311 | 313 |
OLD | NEW |