Index: third_party/WebKit/Source/modules/payments/PaymentRequest.idl |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl |
index c320eb7fb6df2f2e63fdf4e08415b079c00be169..fa7c6e32d0bc9368eb3cc34fa6a2335914ad4078 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl |
@@ -22,4 +22,7 @@ |
attribute EventHandler onshippingaddresschange; |
attribute EventHandler onshippingoptionchange; |
+ |
+ // https://github.com/w3c/browser-payment-api/issues/310 |
+ [CallWith=ScriptState, RuntimeEnabled=CanMakeActivePayment] Promise<boolean> canMakeActivePayment(); |
}; |