Revision 3bacf4115fd29c0cf9962d264f3cf1f9b0a04708 authored by Sriram on 23 January 2018, 13:38:05 UTC, committed by Chromium WPT Sync on 23 January 2018, 13:38:05 UTC
Bug: 782555 Change-Id: I5c09a86b8290aee9288596055388976af3aa5818
1 parent 9c8964b
generic-sensor.idl
[SecureContext, Exposed=Window]
interface Sensor : EventTarget {
readonly attribute boolean activated;
readonly attribute boolean hasReading;
readonly attribute DOMHighResTimeStamp? timestamp;
void start();
void stop();
attribute EventHandler onreading;
attribute EventHandler onactivate;
attribute EventHandler onerror;
};
dictionary SensorOptions {
double frequency;
};
[Constructor(DOMString type, SensorErrorEventInit errorEventInitDict),
SecureContext, Exposed=Window]
interface SensorErrorEvent : Event {
readonly attribute DOMException error;
};
dictionary SensorErrorEventInit : EventInit {
required DOMException error;
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...