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}}.

Abstract Operations

@@ -1362,7 +1362,7 @@ Gets the {{Error}} object passed to {{SensorErrorEventInit}}. : input :: |sensor_instance|, a {{Sensor}} object. - :: |error|, an [=exception=]. + :: |error|, a {{DOMException}}. : output :: None diff --git a/index.html b/index.html index 3fd369b..7d6d9e1 100644 --- a/index.html +++ b/index.html @@ -1458,7 +1458,7 @@

Generic Sensor API

-

Editor’s Draft,

+

Editor’s Draft,

This version: @@ -2362,15 +2362,15 @@

[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; };

7.2.1. SensorErrorEvent.error

-

Gets the Error object passed to SensorErrorEventInit.

+

Gets the DOMException object passed to SensorErrorEventInit.

8. Abstract Operations

8.1. Construct sensor object

@@ -2387,13 +2387,13 @@

If the current settings object is not a secure context, then:

  1. -

    Throw a SecurityError DOMException.

    +

    Throw a SecurityError DOMException.

  • If the browsing context is not a top-level browsing context, then:

    1. -

      Throw a SecurityError DOMException.

      +

      Throw a SecurityError DOMException.

  • Let sensor_instance be a new Sensor object,

    @@ -2520,7 +2520,7 @@

    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.

    output

    None

    @@ -3360,7 +3360,6 @@

    Constructor
  • DOMException
  • DOMString -
  • Error
  • Exposed
  • NotAllowedError
  • NotReadableError @@ -3371,7 +3370,6 @@

    created
  • dictionary
  • double -
  • exception
  • exception types
  • identifier
  • inherited dictionaries @@ -3455,11 +3453,11 @@

    I [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; };