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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl

Issue 2342393002: Enable TypeError for dictionary members of non-nullable interface type (Closed)
Patch Set: Created 4 years, 3 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/modules/notifications/NotificationEventInit.idl
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl b/third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl
index 79ab16bbd792c2a4c943c1189d1873393451f886..a7c1fbce4f52a2aef7fbcd4542e5c88ba029ea80 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl
+++ b/third_party/WebKit/Source/modules/notifications/NotificationEventInit.idl
@@ -5,6 +5,8 @@
// https://notifications.spec.whatwg.org/#notificationevent
dictionary NotificationEventInit : ExtendableEventInit {
- required Notification notification;
+ // TODO(foolip): |notification| should not be nullable.
+ // https://crbug.com/647693
+ required Notification? notification;
DOMString action = "";
};

Powered by Google App Engine
This is Rietveld 408576698