From d4ba696c65c1e307da6bc071ee04d64bcc85e135 Mon Sep 17 00:00:00 2001
From: Youenn Fablet
Date: Thu, 11 Jan 2024 10:03:31 +0100
Subject: [PATCH] Fix algorithm and typos
---
index.bs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.bs b/index.bs
index 64c9580..d3d50a9 100644
--- a/index.bs
+++ b/index.bs
@@ -936,7 +936,7 @@ interface MediaSession {
associated Document
visiblity state is not "visible".
If the user agent denies permission to change the microphone state
to active, reject p with a NotAllowedError.
+ exception>NotAllowedError and abort these steps.
If the user agent exposes the microphone state via
MediaStreamTrack muted state, the user agent MUST queue a
task to set MediaStreamTrack muted state on any affected
@@ -947,7 +947,7 @@ interface MediaSession {
- Return p be a new promise.
+ Return p.
@@ -967,7 +967,7 @@ interface MediaSession {
associated Document
visiblity state is not "visible".
If the user agent denies permission to change the camera state to
active, reject p with a NotAllowedError.
+ exception>NotAllowedError and abort these steps.
If the user agent exposes the camera state via MediaStreamTrack
muted state, the user agent MUST queue a task to set
MediaStreamTrack muted state on any affected
@@ -978,7 +978,7 @@ interface MediaSession {
- Return p be a new promise.
+ Return p.