diff --git a/getusermedia.html b/getusermedia.html index 2ac02228..c1d70329 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -66,9 +66,15 @@

Terminology

a simple event are defined in [[!HTML5]].

The terms event - handlers and , - event handler event types are defined in [[!HTML5]].

+ event handler event types and + responsible document are defined in [[!HTML5]].

+

The term + current settings object is defined in [[!HTML51]].

+

The term + allowed to use is defined in WHATWG HTML.

DOMException
@@ -3338,8 +3344,6 @@

Obtaining local multimedia content

Agents to remove these APIs entirely when on an insecure origin, as long as they remove all of them at once (e.g., they should not leave just the prefixed version available on insecure origins).

-

All Documents have a user media enabled flag. This - specification does not detail how or when this flag is set.

NavigatorUserMedia Interface Extensions

@@ -3578,10 +3582,11 @@

Methods

succeed.

  • -

    If the current [[!HTML51]] Document's user media - enabled flag is unset, return a promise rejected with a - DOMException object whose - name attribute has the value +

    If the current settings object's responsible + document is NOT allowed to use the feature + indicated by attribute name allowusermedia, + return a promise rejected with a DOMException + object whose name attribute has the value SecurityError.