Skip to content

Commit 95e72ce

Browse files
clellanddomenic
authored andcommitted
Remove the allowusermedia iframe attribute
Fixes #4090.
1 parent 47fc099 commit 95e72ce

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

source

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3388,7 +3388,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
33883388

33893389
<ul class="brief">
33903390
<li><dfn data-x-href="https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-mediastream"><code>MediaStream</code></dfn> interface</li>
3391-
<li><dfn data-x="dom-MediaDevices-getUserMedia" data-x-href="https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia"><code>getUserMedia()</code></dfn> method</li>
33923391
</ul>
33933392

33943393
</dd>
@@ -29481,7 +29480,6 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></code></pre>
2948129480
<dd><code data-x="attr-iframe-allow">allow</code></dd>
2948229481
<dd><code data-x="attr-iframe-allowfullscreen">allowfullscreen</code></dd>
2948329482
<dd><code data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code></dd>
29484-
<dd><code data-x="attr-iframe-allowusermedia">allowusermedia</code></dd>
2948529483
<dd><code data-x="attr-dim-width">width</code></dd>
2948629484
<dd><code data-x="attr-dim-height">height</code></dd>
2948729485
<dd><code data-x="attr-iframe-referrerpolicy">referrerpolicy</code></dd>
@@ -29497,7 +29495,6 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
2949729495
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-iframe-allow">allow</span>;
2949829496
[<span>CEReactions</span>] attribute boolean <span data-x="dom-iframe-allowFullscreen">allowFullscreen</span>;
2949929497
[<span>CEReactions</span>] attribute boolean <span data-x="dom-iframe-allowPaymentRequest">allowPaymentRequest</span>;
29500-
[<span>CEReactions</span>] attribute boolean <span data-x="dom-iframe-allowUserMedia">allowUserMedia</span>;
2950129498
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-dim-width">width</span>;
2950229499
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-dim-height">height</span>;
2950329500
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-iframe-referrerPolicy">referrerPolicy</span>;
@@ -30053,20 +30050,10 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
3005330050
data-x="process-feature-policy-attributes">Process feature policy attributes</span> algorithm.
3005430051
<ref spec="FEATUREPOLICY">
3005530052

30056-
<p>The <dfn><code data-x="attr-iframe-allowusermedia">allowusermedia</code></dfn> attribute is a
30057-
<span>boolean attribute</span>. When specified, it indicates that <code>Document</code> objects in
30058-
the <code>iframe</code> element's <span>browsing context</span> will be initialized with a <span
30059-
data-x="concept-document-feature-policy">feature policy</span> which allows the "<code
30060-
data-x="">camera</code>" and "<code data-x="">microphone</code>" features to be used to call
30061-
<code data-x="dom-MediaDevices-getUserMedia">getUserMedia()</code> from any <span>origin</span>.
30062-
This is enforced by the <span data-x="process-feature-policy-attributes">Process feature policy
30063-
attributes</span> algorithm. <ref spec="FEATUREPOLICY">
30064-
3006530053
<p class="note">None of these attributes, <code data-x="attr-iframe-allow">allow</code>,
30066-
<code data-x="attr-iframe-allowfullscreen">allowfullscreen</code>, <code
30067-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code> or <code
30068-
data-x="attr-iframe-allowusermedia">allowusermedia</code>, can grant access to a feature in a
30069-
<span>nested browsing context</span> if the <code>iframe</code> element's <span>node
30054+
<code data-x="attr-iframe-allowfullscreen">allowfullscreen</code> or <code
30055+
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code>, can grant access to a feature
30056+
in a <span>nested browsing context</span> if the <code>iframe</code> element's <span>node
3007030057
document</span> is not already allowed to use that feature.</p>
3007130058

3007230059
<div w-nodev>
@@ -30092,10 +30079,9 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
3009230079
<p class="warning">Because they only influence the <span
3009330080
data-x="concept-document-feature-policy">feature policy</span> of the <span>nested browsing
3009430081
context</span>'s <span>active document</span>, the <code data-x="attr-iframe-allow">allow</code>,
30095-
<code data-x="attr-iframe-allowfullscreen">allowfullscreen</code>, <code
30096-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code> and <code
30097-
data-x="attr-iframe-allowusermedia">allowusermedia</code> attributes only take effect when the
30098-
<span>nested browsing context</span> of the <code>iframe</code> is <span
30082+
<code data-x="attr-iframe-allowfullscreen">allowfullscreen</code> and <code
30083+
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code> attributes only take effect
30084+
when the <span>nested browsing context</span> of the <code>iframe</code> is <span
3009930085
data-x="navigate">navigated</span>. Adding or removing them has no effect on an already-loaded
3010030086
document.</p>
3010130087

@@ -30150,10 +30136,6 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
3015030136
attribute must <span>reflect</span> the <code
3015130137
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code> content attribute.</p>
3015230138

30153-
<p>The <dfn><code data-x="dom-iframe-allowUserMedia">allowUserMedia</code></dfn> IDL attribute
30154-
must <span>reflect</span> the <code data-x="attr-iframe-allowusermedia">allowusermedia</code>
30155-
content attribute.</p>
30156-
3015730139
<p>The <dfn><code data-x="dom-iframe-referrerPolicy">referrerPolicy</code></dfn> IDL attribute
3015830140
must <span>reflect</span> the <code data-x="attr-iframe-referrerpolicy">referrerpolicy</code>
3015930141
content attribute, <span>limited to only known values</span>.</p>
@@ -117079,7 +117061,6 @@ interface <dfn>External</dfn> {
117079117061
<code data-x="attr-iframe-allow">allow</code>;
117080117062
<code data-x="attr-iframe-allowfullscreen">allowfullscreen</code>;
117081117063
<code data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest</code>;
117082-
<code data-x="attr-iframe-allowusermedia">allowusermedia</code>;
117083117064
<code data-x="attr-dim-width">width</code>;
117084117065
<code data-x="attr-dim-height">height</code>;
117085117066
<code data-x="attr-iframe-referrerpolicy">referrerpolicy</code></td>
@@ -118536,11 +118517,6 @@ interface <dfn>External</dfn> {
118536118517
<td> <code data-x="attr-iframe-allowpaymentrequest">iframe</code>
118537118518
<td> Whether the <code>iframe</code>'s contents are allowed to use the <code>PaymentRequest</code> interface to make payment requests
118538118519
<td> <span>Boolean attribute</span>
118539-
<tr>
118540-
<th> <code data-x="">allowusermedia</code>
118541-
<td> <code data-x="attr-iframe-allowusermedia">iframe</code>
118542-
<td> Whether to allow the <code>iframe</code>'s contents to use <code data-x="dom-MediaDevices-getUserMedia">getUserMedia()</code>
118543-
<td> <span>Boolean attribute</span>
118544118520
<tr>
118545118521
<th> <code data-x="">alt</code>
118546118522
<td> <code data-x="attr-area-alt">area</code>;

0 commit comments

Comments
 (0)