Skip to content

Commit

Permalink
Fix backward assignment of list-permission.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Oct 10, 2016
1 parent 833efbe commit 18c0c72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions getusermedia.html
Expand Up @@ -3078,10 +3078,10 @@ <h2>Methods</h2>
</li>
<li>If any of the local devices are attached to a
<code>live</code> MediaStreamTrack in the current browsing
context, set <var>list-permission</var> to "granted".</li>
<li>If no such device is attached, <a>retrieve the
permission state</a> of the "device-info" permission, and
assign it to <var>list-permission</var>.
context, set <var>list-permission</var> to "granted",
otherwise set <var>list-permission</var> to the result of
<a data-lt="retrieve the permission state"> retrieving the
permission state</a> of the "device-info" permission.
</li>
<li>
<p>If <var>list-permission</var> is not "granted", let
Expand Down

0 comments on commit 18c0c72

Please sign in to comment.