| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 attribute TestEnumType enumAttr; | 47 attribute TestEnumType enumAttr; |
| 48 readonly attribute TestEnumType readOnlyEnumAttr; | 48 readonly attribute TestEnumType readOnlyEnumAttr; |
| 49 attribute byte byteAttr; | 49 attribute byte byteAttr; |
| 50 attribute octet octetAttr; | 50 attribute octet octetAttr; |
| 51 attribute short shortAttr; | 51 attribute short shortAttr; |
| 52 attribute unsigned short unsignedShortAttr; | 52 attribute unsigned short unsignedShortAttr; |
| 53 attribute long longAttr; | 53 attribute long longAttr; |
| 54 attribute long long longLongAttr; | 54 attribute long long longLongAttr; |
| 55 attribute unsigned long long unsignedLongLongAttr; | 55 attribute unsigned long long unsignedLongLongAttr; |
| 56 attribute DOMString stringAttr; | 56 attribute DOMString stringAttr; |
| 57 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt
tr; |
| 57 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
; | 58 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr
; |
| 58 [TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString tr
eatNullAsNullStringTreatUndefinedAsNullStringStringAttr; | 59 [TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString tr
eatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
| 59 attribute EventHandler eventHandlerAttr; | 60 attribute EventHandler eventHandlerAttr; |
| 60 [MeasureAs=TestFeature] attribute TestObject testObjAttr; | 61 [MeasureAs=TestFeature] attribute TestObject testObjAttr; |
| 61 [ExposeJSAccessors] attribute DOMString attrWithJSGetterAndSetter; | 62 [ExposeJSAccessors] attribute DOMString attrWithJSGetterAndSetter; |
| 62 | 63 |
| 63 // WK_ucfirst, WK_lcfirst exceptional cases. | 64 // WK_ucfirst, WK_lcfirst exceptional cases. |
| 64 attribute TestObject XMLObjAttr; | 65 attribute TestObject XMLObjAttr; |
| 65 attribute boolean create; | 66 attribute boolean create; |
| 66 | 67 |
| 67 // Reflected DOM attributes | 68 // Reflected DOM attributes |
| 68 [Reflect] attribute DOMString reflectedStringAttr; | 69 [Reflect] attribute DOMString reflectedStringAttr; |
| 70 [Reflect, TreatNullAs=EmptyString] attribute DOMString reflectedTreatNullAsE
mptyStringStringAttr; |
| 69 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNu
llStringStringAttr; | 71 [Reflect, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNu
llStringStringAttr; |
| 70 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOM
String reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr; | 72 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOM
String reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
| 71 [Reflect] attribute long reflectedIntegralAttr; | 73 [Reflect] attribute long reflectedIntegralAttr; |
| 72 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; | 74 [Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; |
| 73 [Reflect] attribute boolean reflectedBooleanAttr; | 75 [Reflect] attribute boolean reflectedBooleanAttr; |
| 74 [Reflect, URL] attribute DOMString reflectedURLAttr; | 76 [Reflect, URL] attribute DOMString reflectedURLAttr; |
| 77 [Reflect, TreatNullAs=EmptyString, URL] attribute DOMString reflectedTreatNu
llAsEmptyStringURLAttr; |
| 75 [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedTreatNul
lAsNullStringURLAttr; | 78 [Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedTreatNul
lAsNullStringURLAttr; |
| 76 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString, URL] attribut
e DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttr; | 79 [Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString, URL] attribut
e DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttr; |
| 77 [Reflect=customContentStringAttr] attribute DOMString reflectedCustomStringA
ttr; | 80 [Reflect=customContentStringAttr] attribute DOMString reflectedCustomStringA
ttr; |
| 81 [Reflect=customContentStringAttr, TreatNullAs=EmptyString] attribute DOMStri
ng reflectedTreatNullAsEmptyStringCustomStringAttr; |
| 78 [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMStrin
g reflectedTreatNullAsNullStringCustomStringAttr; | 82 [Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMStrin
g reflectedTreatNullAsNullStringCustomStringAttr; |
| 79 [Reflect=customContentStringAttr, TreatNullAs=NullString, TreatUndefinedAs=N
ullString] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNul
lStringCustomStringAttr; | 83 [Reflect=customContentStringAttr, TreatNullAs=NullString, TreatUndefinedAs=N
ullString] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNul
lStringCustomStringAttr; |
| 80 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; | 84 [Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAt
tr; |
| 81 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; | 85 [Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanA
ttr; |
| 82 [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAt
tr; | 86 [Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAt
tr; |
| 87 [Reflect=customContentURLAttr, TreatNullAs=EmptyString, URL] attribute DOMSt
ring reflectedTreatNullAsEmptyStringCustomURLAttr; |
| 83 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr
ing reflectedTreatNullAsNullStringCustomURLAttr; | 88 [Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMStr
ing reflectedTreatNullAsNullStringCustomURLAttr; |
| 84 [Reflect=customContentURLAttr, TreatNullAs=NullString, TreatUndefinedAs=Null
String, URL] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsN
ullStringCustomURLAttr; | 89 [Reflect=customContentURLAttr, TreatNullAs=NullString, TreatUndefinedAs=Null
String, URL] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsN
ullStringCustomURLAttr; |
| 85 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; | 90 [Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribut
e; |
| 86 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl
yAttribute; | 91 [Reflect, ReflectOnly="Per"|"Paal"|"Espen"] attribute DOMString limitedToOnl
yAttribute; |
| 87 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT
oOnlyOtherAttribute; | 92 [Reflect=Other, ReflectOnly="Value1"|"Value2" ] attribute DOMString limitedT
oOnlyOtherAttribute; |
| 88 [Reflect, ReflectOnly="rsa" | "dsa", ReflectMissing="rsa"] attribute DOMStri
ng limitedWithMissingDefaultAttribute; | 93 [Reflect, ReflectOnly="rsa" | "dsa", ReflectMissing="rsa"] attribute DOMStri
ng limitedWithMissingDefaultAttribute; |
| 89 [Reflect, ReflectOnly="ltr" | "rtl" | "auto", ReflectMissing="auto", Reflect
Invalid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; | 94 [Reflect, ReflectOnly="ltr" | "rtl" | "auto", ReflectMissing="auto", Reflect
Invalid="ltr"] attribute DOMString limitedWithInvalidMissingDefaultAttribute; |
| 90 [Reflect, ReflectOnly="left" | "right", ReflectMissing="left", ReflectInvali
d="left"] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute; | 95 [Reflect, ReflectOnly="left" | "right", ReflectMissing="left", ReflectInvali
d="left"] attribute DOMString limitedWithInvalidAndMissingDefaultAttribute; |
| 91 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; | 96 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribute
; |
| 92 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; | 97 [Reflect, ReflectOnly="empty"|"missing"|"invalid"|"a-normal", ReflectEmpty="
empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute D
OMString limitedWithEmptyMissingInvalidAttribute; |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 316 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 312 | 317 |
| 313 // PutForwards | 318 // PutForwards |
| 314 [PutForwards=href] readonly attribute TestNode location; | 319 [PutForwards=href] readonly attribute TestNode location; |
| 315 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 320 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
| 316 }; | 321 }; |
| 317 | 322 |
| 318 // The following comment should not generate any code | 323 // The following comment should not generate any code |
| 319 // TestObject implements TestImplements; | 324 // TestObject implements TestImplements; |
| 320 | 325 |
| OLD | NEW |