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

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

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.h
diff --git a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
index c7af1d922f554edabdb47271cca96634e70910e7..33711c41daca0c6c147da1a23a30a54e97d45aae 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
@@ -33,6 +33,10 @@ class CallbackFunctionTest final
const String&,
const String&,
ExceptionState&);
+ String testNullableCallback(TestCallback*,
+ const String&,
+ const String&,
+ ExceptionState&);
void testInterfaceCallback(TestInterfaceCallback*,
HTMLDivElement*,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698