diff --git a/index.bs b/index.bs index 98c60cd..bc33775 100644 --- a/index.bs +++ b/index.bs @@ -1114,18 +1114,18 @@ that must be supported as attributes by the objects implementing the {{Sensor}} [Constructor(DOMString type, SensorErrorEventInit errorEventInitDict), SecureContext, Exposed=Window] interface SensorErrorEvent : Event { - readonly attribute Error error; + readonly attribute DOMException error; }; dictionary SensorErrorEventInit : EventInit { - required Error error; + required DOMException error; }; ### SensorErrorEvent.error ### {#sensor-error-event-error} -Gets the {{Error}} object passed to {{SensorErrorEventInit}}. +Gets the {{DOMException}} object passed to {{SensorErrorEventInit}}.
Constructor
(DOMString type
, SensorErrorEventInit errorEventInitDict
),
SecureContext, Exposed=Window]
interface SensorErrorEvent
: Event {
- readonly attribute Error error
;
+ readonly attribute DOMException error
;
};
dictionary SensorErrorEventInit
: EventInit {
- required Error error
;
+ required DOMException error
;
};
Gets the Error
object passed to SensorErrorEventInit
.
Gets the DOMException
object passed to SensorErrorEventInit
.
If the browsing context is not a top-level browsing context, then:
Let sensor_instance be a new Sensor
object,
Invoke deactivate a sensor object with s as argument.
let e be the result of creating a "NotAllowedError
" DOMException
.
let e be the result of creating a "NotAllowedError
" DOMException
.
Queue a task to run notify error with e and s as arguments.
@@ -2738,7 +2738,7 @@sensor_instance, a Sensor
object.
error, an exception.
+error, a DOMException
.
None
@@ -3360,7 +3360,6 @@Constructor
(DOMString type
, SensorErrorEventInit errorEventInitDict
),
SecureContext, Exposed=Window]
interface SensorErrorEvent
: Event {
- readonly attribute Error error
;
+ readonly attribute DOMException error
;
};
dictionary SensorErrorEventInit
: EventInit {
- required Error error
;
+ required DOMException error
;
};