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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.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/sensor/SensorReadingEventInit.idl
diff --git a/third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.idl b/third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.idl
index 695a6b41af31d9a8d8914f4e62bcdb30d5e47603..e3321009f4c049216afa7e47fb5b2620a0ef5e58 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.idl
+++ b/third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.idl
@@ -6,5 +6,8 @@
// https://w3c.github.io/sensors/#dictdef-sensorreadingeventinit
dictionary SensorReadingEventInit : EventInit {
- SensorReading reading;
+ // TODO(foolip): |reading| should be required and not nullable.
+ // https://crbug.com/647693
+ // https://github.com/w3c/sensors/issues/129
+ SensorReading? reading;
};

Powered by Google App Engine
This is Rietveld 408576698