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

Unified Diff: third_party/WebKit/Source/core/events/MessageEventInit.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/core/events/MessageEventInit.idl
diff --git a/third_party/WebKit/Source/core/events/MessageEventInit.idl b/third_party/WebKit/Source/core/events/MessageEventInit.idl
index d25296560e227796bf7456995fcd93ad5e6f11ed..6b4fbd664db2a897cc23dc4cf4af99e05a1efe58 100644
--- a/third_party/WebKit/Source/core/events/MessageEventInit.idl
+++ b/third_party/WebKit/Source/core/events/MessageEventInit.idl
@@ -9,7 +9,7 @@ dictionary MessageEventInit : EventInit {
DOMString origin;
DOMString lastEventId;
// TODO(bashi): |source| should be (WindowProxy or MessagePort)?
- EventTarget source;
+ EventTarget? source;
// Per spec, |ports| isn't nullable, but it seems it should be.
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=23176
sequence<MessagePort>? ports;

Powered by Google App Engine
This is Rietveld 408576698