From 18c0c728b7d4489d20c37dfcdf3ce9f2d08cf8c9 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Mon, 10 Oct 2016 16:05:27 -0400 Subject: [PATCH] Fix backward assignment of list-permission. --- getusermedia.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/getusermedia.html b/getusermedia.html index 8b26170a..195cfbf1 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -3078,10 +3078,10 @@

Methods

  • If any of the local devices are attached to a live MediaStreamTrack in the current browsing - context, set list-permission to "granted".
  • -
  • If no such device is attached, retrieve the - permission state of the "device-info" permission, and - assign it to list-permission. + context, set list-permission to "granted", + otherwise set list-permission to the result of + retrieving the + permission state of the "device-info" permission.
  • If list-permission is not "granted", let