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

Unified Diff: third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl

Issue 2617653002: bindings: Don't throw a TypeError when 'null' is passed to nullable callback function (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
diff --git a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
index 128f43fb6353fdb11ec91d3e3820827e04e6fa31..d3994d881d0bd99cced9c6f6ec3d4d392f0c09b4 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
@@ -9,6 +9,7 @@
interface CallbackFunctionTest {
[RaisesException] DOMString testCallback(TestCallback callback, DOMString message1, DOMString message2);
+ [RaisesException] DOMString testNullableCallback(TestCallback? callback, DOMString message1, DOMString message2);
[RaisesException] void testInterfaceCallback(TestInterfaceCallback callback, HTMLDivElement divElement);
[RaisesException] void testReceiverObjectCallback(TestReceiverObjectCallback callback);
[RaisesException] sequence<DOMString> testSequenceCallback(TestSequenceCallback callback, sequence<long> numbers);

Powered by Google App Engine
This is Rietveld 408576698