New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 666762 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 679385
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 623682



Sign in to add a comment

Feature Policy: Support Payment Request API

Project Member Reported by iclell...@chromium.org, Nov 18 2016

Issue description

Add support for the "payment" feature in Feature Policy.

The feature hasn't been defined yet in FeaturePolicy.cpp. It should be defined there, and checked before allowing the use of Window.PaymentRequest.

If disabled in a frame, the constructor should throw a SecurityError
See: https://github.com/w3c/browser-payment-api/issues/2
Also see: https://w3c.github.io/browser-payment-api/#constructor

Also complicating this is that we need to ensure that the allowpaymentrequest iframe attribute is *also* supported, since it has already shipped. This is an alternative method, but the original method should still work in the absence of a Feature-Policy header. 

 
Status: Available (was: Unconfirmed)
Components: Blink>Payments
Labels: Feature-Policy OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows

Comment 3 Deleted

Cc: sanjoy....@samsung.com
Owner: ----
Status: Available (was: Started)
Components: Blink>FeaturePolicy
Mergedinto: 679385
Status: Duplicate (was: Available)
Duplicate issue; already resolved (implemented as specced)

Sign in to add a comment