Index: Source/bindings/tests/idls/TestObject.idl |
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl |
index 83fabe536a6aea5925f01f05cbe2027175db22e9..5f9e44356ceddb39d9d16a17982ec7a8d0625a87 100644 |
--- a/Source/bindings/tests/idls/TestObject.idl |
+++ b/Source/bindings/tests/idls/TestObject.idl |
@@ -54,6 +54,7 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2); |
attribute long long longLongAttr; |
attribute unsigned long long unsignedLongLongAttr; |
attribute DOMString stringAttr; |
+ [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAttr; |
[TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr; |
[TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString treatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
attribute EventHandler eventHandlerAttr; |
@@ -66,20 +67,24 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2); |
// Reflected DOM attributes |
[Reflect] attribute DOMString reflectedStringAttr; |
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString reflectedTreatNullAsEmptyStringStringAttr; |
[Reflect, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNullStringStringAttr; |
[Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringStringAttr; |
[Reflect] attribute long reflectedIntegralAttr; |
[Reflect] attribute unsigned long reflectedUnsignedIntegralAttr; |
[Reflect] attribute boolean reflectedBooleanAttr; |
[Reflect, URL] attribute DOMString reflectedURLAttr; |
+ [Reflect, TreatNullAs=EmptyString, URL] attribute DOMString reflectedTreatNullAsEmptyStringURLAttr; |
[Reflect, TreatNullAs=NullString, URL] attribute DOMString reflectedTreatNullAsNullStringURLAttr; |
[Reflect, TreatNullAs=NullString, TreatUndefinedAs=NullString, URL] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringURLAttr; |
[Reflect=customContentStringAttr] attribute DOMString reflectedCustomStringAttr; |
+ [Reflect=customContentStringAttr, TreatNullAs=EmptyString] attribute DOMString reflectedTreatNullAsEmptyStringCustomStringAttr; |
[Reflect=customContentStringAttr, TreatNullAs=NullString] attribute DOMString reflectedTreatNullAsNullStringCustomStringAttr; |
[Reflect=customContentStringAttr, TreatNullAs=NullString, TreatUndefinedAs=NullString] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomStringAttr; |
[Reflect=customContentIntegralAttr] attribute long reflectedCustomIntegralAttr; |
[Reflect=customContentBooleanAttr] attribute boolean reflectedCustomBooleanAttr; |
[Reflect=customContentURLAttr, URL] attribute DOMString reflectedCustomURLAttr; |
+ [Reflect=customContentURLAttr, TreatNullAs=EmptyString, URL] attribute DOMString reflectedTreatNullAsEmptyStringCustomURLAttr; |
[Reflect=customContentURLAttr, TreatNullAs=NullString, URL] attribute DOMString reflectedTreatNullAsNullStringCustomURLAttr; |
[Reflect=customContentURLAttr, TreatNullAs=NullString, TreatUndefinedAs=NullString, URL] attribute DOMString reflectedTreatNullAsNullStringTreatUndefinedAsNullStringCustomURLAttr; |
[Reflect, ReflectOnly="unique"] attribute DOMString limitedToOnlyOneAttribute; |