зеркало из https://github.com/mozilla/gecko-dev.git
af95d86b7f
1. Create a new action response status PAYMENT_NOTSUPPORTED and get rid of unnecessary method isAccpeted() from nsIPaymentActionResponse.idl. 2. Create canMakePayment() in PaymentRequestService and run it before launching UI. If canMakePayment() returns false, send PAYMENT_NOTSUPPORTED back to content process. 3. If chrome process returns PAYMENT_NOTSUPPORTED when calling showPayment(), throw NotSupportedError DOMException to merchant side. |
||
---|---|---|
.. | ||
base | ||
canvas | ||
core | ||
css | ||
events | ||
geolocation | ||
html | ||
json | ||
notification | ||
offline | ||
payments | ||
push | ||
range | ||
security | ||
settings | ||
sidebar | ||
smil | ||
storage | ||
stylesheets | ||
svg | ||
traversal | ||
xbl | ||
xpath | ||
xul |