Chromium Code Reviews| 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 542f46438e10618d2d7e5911afd7547f75efda5c..dfb1b1c4cf3440dcd5452b0b6686faee72f74c2d 100644 |
| --- a/Source/bindings/tests/idls/core/TestObject.idl |
| +++ b/Source/bindings/tests/idls/core/TestObject.idl |
| @@ -157,6 +157,7 @@ interface TestObject { |
| attribute EventHandler eventHandlerAttribute; |
| // Union types |
| attribute (double or DOMString) doubleOrStringAttribute; |
| + attribute (double or DOMString)? doubleOrStringOrNullAttribute; |
|
Jens Widell
2014/11/07 07:11:53
Add a (double? or DOMString) attribute as well?
bashi
2014/11/07 10:07:53
Done.
|
| // Extended attributes |
| [LogActivity, LogAllWorlds] attribute long activityLoggingAccessForAllWorldsLongAttribute; |
| @@ -356,7 +357,8 @@ interface TestObject { |
| (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeGarbageCollectedOrTestDictionaryMethod(); |
| (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrictedDoubleMethod(); |
| (TestInterface or long) testInterfaceOrLongMethod(); |
| - void voidMethodDOMStringOrDouble((DOMString or double) arg); |
| + void voidMethodDOMStringOrDouble((double or DOMString) arg); |
| + void voidMethodDOMStringOrDoubleOrNull((double or DOMString)? arg); |
| void voidMethodDOMStringOrArrayBufferOrArrayBufferView((DOMString or ArrayBuffer or ArrayBufferView) arg); |
| // Currently only used on interface type arguments |
| void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestInterfaceEmptyArg); |