Index: third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl |
diff --git a/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl b/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl |
index 18bcece69bcb7e1ef454e7f1b30f6a10508de511..d3d262ddaa7f0907d10c59b840ba1a2a59608a90 100644 |
--- a/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl |
+++ b/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl |
@@ -7,8 +7,7 @@ |
[ |
RuntimeEnabled=Sensor, |
- Constructor(DOMString type, SensorErrorEventInit errorEventInitDict) |
-] interface SensorErrorEvent : ErrorEvent { |
- // TODO(riju) : Later on we need to add sensorID. |
- // At this moment SensorErrorEvent looks like ErrorEvent. |
+ Constructor(DOMString type, SensorErrorEventInit eventInitDict) |
+] interface SensorErrorEvent : Event { |
+ readonly attribute DOMException error; |
}; |