| 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 formstrArg, with or without | 5 * Redistribution and use in source and binary formstrArg, 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 attribute unsigned long long unsignedLongLongAttr; | 56 attribute unsigned long long unsignedLongLongAttr; |
| 57 attribute DOMString stringAttr; | 57 attribute DOMString stringAttr; |
| 58 attribute EventHandler eventHandlerAttr; | 58 attribute EventHandler eventHandlerAttr; |
| 59 [MeasureAs=TestFeature] attribute TestObject testObjAttr; | 59 [MeasureAs=TestFeature] attribute TestObject testObjAttr; |
| 60 | 60 |
| 61 // WK_ucfirst, WK_lcfirst exceptional cases. | 61 // WK_ucfirst, WK_lcfirst exceptional cases. |
| 62 attribute TestObject XMLObjAttr; | 62 attribute TestObject XMLObjAttr; |
| 63 attribute boolean create; | 63 attribute boolean create; |
| 64 | 64 |
| 65 // Reflected DOM attributes | 65 // Reflected DOM attributes |
| 66 [Reflect] attribute DOMString reflectedStringAttr; | 66 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedStringAttr; |
| 67 [Reflect] attribute long reflectedIntegralAttr; | 67 [Reflect] attribute long reflectedIntegralAttr; |
| 68 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; | 68 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; |
| 69 [Reflect] attribute boolean reflectedBooleanAttr; | 69 [Reflect] attribute boolean reflectedBooleanAttr; |
| 70 [Reflect, URL] attribute DOMString reflectedURLAttr; | 70 [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedURLAttr; |
| 71 [Reflect=customContentStringAttr] attribute DOMString reflectedStringAttr; | 71 [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMStrin
g reflectedStringAttr; |
| 72 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; | 72 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; |
| 73 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; | 73 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; |
| 74 [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAt
tr; | 74 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr
ing reflectedCustomURLAttr; |
| 75 | 75 |
| 76 // TypedArray attribute | 76 // TypedArray attribute |
| 77 attribute Float32Array typedArrayAttr; | 77 attribute Float32Array typedArrayAttr; |
| 78 | 78 |
| 79 // Methods | 79 // Methods |
| 80 void voidMethod(); | 80 void voidMethod(); |
| 81 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 81 void voidMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
| 82 long longMethod(); | 82 long longMethod(); |
| 83 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); | 83 long longMethodWithArgs(long longArg, DOMString strArg, TestObject objArg
); |
| 84 [MeasureAs=TestFeature] TestObject objMethod(); | 84 [MeasureAs=TestFeature] TestObject objMethod(); |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 [DeprecateAs=Method] void deprecatedMethod(); | 300 [DeprecateAs=Method] void deprecatedMethod(); |
| 301 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 301 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
| 302 | 302 |
| 303 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 303 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 304 }; | 304 }; |
| 305 | 305 |
| 306 // The following comment should not generate any code | 306 // The following comment should not generate any code |
| 307 // TestObject implements TestImplements; | 307 // TestObject implements TestImplements; |
| 308 | 308 |
| OLD | NEW |