Skip to content

Commit 51618bd

Browse files
marcoscaceresmfreed7
authored andcommitted
Remove allowpaymentrequest attribute
See also: w3c/webappsec-permissions-policy#402 and w3c/payment-request#928. Tests: web-platform-tests/wpt#25558.
1 parent c2b22e0 commit 51618bd

File tree

1 file changed

+5
-29
lines changed

1 file changed

+5
-29
lines changed

source

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29823,7 +29823,6 @@ href="?audio">audio</a> test instead.)</p>
2982329823
sandbox
2982429824
allow
2982529825
allowfullscreen
29826-
allowpaymentrequest
2982729826
width
2982829827
height
2982929828
referrerpolicy
@@ -29844,7 +29843,6 @@ interface HTMLIFrameElement : HTMLElement {
2984429843
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
2984529844
[CEReactions] attribute DOMString allow;
2984629845
[CEReactions] attribute boolean allowFullscreen;
29847-
[CEReactions] attribute boolean allowPaymentRequest;
2984829846
[CEReactions] attribute DOMString width;
2984929847
[CEReactions] attribute DOMString height;
2985029848
[CEReactions] attribute DOMString referrerPolicy;
@@ -30434,19 +30432,8 @@ interface HTMLIFrameElement : HTMLElement {
3043430432

3043530433
3043630434

30437-

The

30438-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest attribute is a
30439-
boolean attribute. When specified, it indicates that Document objects in
30440-
the iframe element's nested browsing context will be initialized with a
30441-
permissions policy which allows the
30442-
"payment" feature to be used to make payment requests from any
30443-
origin. This is enforced by the
30444-
data-x="process-permissions-policy-attributes">Process permissions policy attributes
30445-
algorithm.

30446-
30447-

None of these attributes, allow,

30448-
allowfullscreen or
30449-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest, can grant access to a feature
30435+

Neither allow nor

30436+
allowfullscreen can grant access to a feature
3045030437
in an iframe element's nested browsing context if the element's
3045130438
node document is not already allowed to use that feature.

3045230439

@@ -30472,9 +30459,8 @@ interface HTMLIFrameElement : HTMLElement {
3047230459

3047330460

Because they only influence the

3047430461
data-x="concept-document-permissions-policy">permissions policy of the nested browsing
30475-
context's active document, the allow,
30476-
allowfullscreen and
30477-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest attributes only take effect
30462+
context's active document, the allow
30463+
and allowfullscreen attributes only take effect
3047830464
when the nested browsing context of the iframe is
3047930465
data-x="navigate">navigated. Adding or removing them has no effect on an already-loaded
3048030466
document.

@@ -30546,10 +30532,6 @@ interface HTMLIFrameElement : HTMLElement {
3054630532
must reflect the allowfullscreen
3054730533
content attribute.

3054830534

30549-

The allowPaymentRequest IDL

30550-
attribute must reflect the
30551-
data-x="attr-iframe-allowpaymentrequest">allowpaymentrequest content attribute.

30552-
3055330535

The referrerPolicy IDL attribute

3055430536
must reflect the referrerpolicy
3055530537
content attribute, limited to only known values.

@@ -118722,7 +118704,6 @@ interface External {
118722118704
sandbox;
118723118705
allow;
118724118706
allowfullscreen;
118725-
allowpaymentrequest;
118726118707
width;
118727118708
height;
118728118709
referrerpolicy;
@@ -120181,11 +120162,6 @@ interface External {
120181120162
iframe
120182120163
Whether to allow the iframe's contents to use requestFullscreen()
120183120164
Boolean attribute
120184-
120185-
allowpaymentrequest
120186-
iframe
120187-
Whether the iframe's contents are allowed to use the PaymentRequest interface to make payment requests
120188-
Boolean attribute
120189120165
120190120166
alt
120191120167
area;
@@ -122864,7 +122840,7 @@ INSERT INTERFACES HERE
122864122840
(Non-normative) Page Visibility Level 2, I. Grigorik, A. Jain, J. Mann. W3C.
122865122841

122866122842
[PAYMENTREQUEST]
122867-
browser-payment-api/">Payment Request API, A. Bateman, Z. Koch, R. McElmurry. W3C.
122843+
request/">Payment Request API, M. Cáceres, D. Wang, R. Solomakhin, I. Jacobs. W3C.
122868122844

122869122845
[PDF]
122870122846

0 commit comments

Comments
 (0)