Chromium Code Reviews| 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; |
|
please use gerrit instead
2016/08/25 16:47:38
Let's not allow nulls. At least an empty string sh
haraken
2016/08/26 01:20:05
Right, [TreatNullAs] must be accompanied with Empt
pals
2016/08/26 07:20:26
['Null currency code should throw', null, function
please use gerrit instead
2016/08/26 17:01:37
OK
|
| required DOMString value; |
| }; |