Index: Source/bindings/tests/idls/core/TestObject.idl |
diff --git a/Source/bindings/tests/idls/core/TestObject.idl b/Source/bindings/tests/idls/core/TestObject.idl |
index 428852ec61ff25dc532af6355d017ba6ae36dc08..542f46438e10618d2d7e5911afd7547f75efda5c 100644 |
--- a/Source/bindings/tests/idls/core/TestObject.idl |
+++ b/Source/bindings/tests/idls/core/TestObject.idl |
@@ -155,6 +155,8 @@ interface TestObject { |
static attribute long staticLongAttribute; |
// Exceptional type |
attribute EventHandler eventHandlerAttribute; |
+ // Union types |
+ attribute (double or DOMString) doubleOrStringAttribute; |
// Extended attributes |
[LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorldsLongAttribute; |