Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl b/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl
index 3e89555cdfe840be62f4eef5ca8ef9e5c5f1733d..f75053ee637247d857474ddba8877593f6697291 100644
--- a/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl
+++ b/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl
@@ -33,7 +33,7 @@
[Default=Undefined] optional boolean defaultUndefinedOptionalBooleanArg,
[Default=Undefined] optional long defaultUndefinedOptionalLongArg,
[Default=Undefined] optional DOMString defaultUndefinedOptionalStringArg,
- [Default=NullString] optional DOMString defaultNullStringOptionalstringArg,
+ optional DOMString defaultNullStringOptionalstringArg = null,
optional DOMString optionalStringArg),
RaisesException=Constructor,
] interface TestInterfaceNamedConstructor {

Powered by Google App Engine
This is Rietveld 408576698