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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorErrorEvent.idl

Issue 2384273004: [Sensors] 'onerror' event implementation (Closed)
Patch Set: updated global-interface-listing-expected.txt Created 4 years, 2 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/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;
};

Powered by Google App Engine
This is Rietveld 408576698