Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1949)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl

Issue 2271113002: Accept any string for currency code in PaymentRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added browser side validation Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl b/third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl
index b022c715f15825c5a6376dc4f6c63eaa03c084af..fcc67d44c6a66823dd008ad856c7237a80bb58fc 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentCurrencyAmount.idl
@@ -7,6 +7,6 @@
[
RuntimeEnabled=PaymentRequest
] dictionary PaymentCurrencyAmount {
- required DOMString currency;
+ [TreatNullAs=NullString] required DOMString currency;
required DOMString value;
};

Powered by Google App Engine
This is Rietveld 408576698