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

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

Issue 27100003: Add support for nullable operation arguments in IDL files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for optional argument Created 7 years, 2 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
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestObject.idl
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl
index 661a10fdbc3caf66280d65d5d10ecd21e1f13ce8..bdc9e8e148d55e7a458af80f6289c356b3761841 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -265,11 +265,12 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
readonly attribute long? nullableLongAttribute;
readonly attribute boolean? nullableBooleanAttribute;
readonly attribute DOMString? nullableStringAttribute;
-
attribute long? nullableLongSettableAttribute;
-
[GetterRaisesException] attribute long? nullableStringValue;
+ // Nullable arguments.
+ void methodWithNullableArguments(DOMString? str, long? l, TestObject? obj, optional double? d);
+
[PerWorldBindings] readonly attribute TestObject perWorldReadOnlyAttribute;
[PerWorldBindings] attribute TestObject perWorldAttribute;
[PerWorldBindings] void perWorldMethod();
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698