Skip to content

Commit 93cb44c

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 421debe commit 93cb44c

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
@@ -29824,7 +29824,6 @@ href="?audio">audio</a> test instead.)</p>
2982429824
sandbox
2982529825
allow
2982629826
allowfullscreen
29827-
allowpaymentrequest
2982829827
width
2982929828
height
2983029829
referrerpolicy
@@ -29845,7 +29844,6 @@ interface HTMLIFrameElement : HTMLElement {
2984529844
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
2984629845
[CEReactions] attribute DOMString allow;
2984729846
[CEReactions] attribute boolean allowFullscreen;
29848-
[CEReactions] attribute boolean allowPaymentRequest;
2984929847
[CEReactions] attribute DOMString width;
2985029848
[CEReactions] attribute DOMString height;
2985129849
[CEReactions] attribute DOMString referrerPolicy;
@@ -30435,19 +30433,8 @@ interface HTMLIFrameElement : HTMLElement {
3043530433

3043630434
3043730435

30438-

The

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

30447-
30448-

None of these attributes, allow,

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

Neither allow nor

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

3045330440

@@ -30473,9 +30460,8 @@ interface HTMLIFrameElement : HTMLElement {
3047330460

3047430461

Because they only influence the

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

@@ -30547,10 +30533,6 @@ interface HTMLIFrameElement : HTMLElement {
3054730533
must reflect the allowfullscreen
3054830534
content attribute.

3054930535

30550-

The allowPaymentRequest IDL

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

30553-
3055430536

The referrerPolicy IDL attribute

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

@@ -118745,7 +118727,6 @@ interface External {
118745118727
sandbox;
118746118728
allow;
118747118729
allowfullscreen;
118748-
allowpaymentrequest;
118749118730
width;
118750118731
height;
118751118732
referrerpolicy;
@@ -120204,11 +120185,6 @@ interface External {
120204120185
iframe
120205120186
Whether to allow the iframe's contents to use requestFullscreen()
120206120187
Boolean attribute
120207-
120208-
allowpaymentrequest
120209-
iframe
120210-
Whether the iframe's contents are allowed to use the PaymentRequest interface to make payment requests
120211-
Boolean attribute
120212120188
120213120189
alt
120214120190
area;
@@ -122887,7 +122863,7 @@ INSERT INTERFACES HERE
122887122863
(Non-normative) Page Visibility Level 2, I. Grigorik, A. Jain, J. Mann. W3C.
122888122864

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

122892122868
[PDF]
122893122869

0 commit comments

Comments
 (0)