Bug 1469464 - Fix default shippingAddressErrors value for debugging. r=sfoster
MozReview-Commit-ID: 9jRmPT6FT2Z
--- a/browser/components/payments/res/debugging.js
+++ b/browser/components/payments/res/debugging.js
@@ -37,16 +37,17 @@ let REQUEST_1 = {
{
label: "Square",
amount: {
currency: "USD",
value: "5",
},
},
],
+ shippingAddressErrors: {},
shippingOptions: [
{
id: "123",
label: "Fast",
amount: {
currency: "USD",
value: 10,
},
@@ -102,16 +103,17 @@ let REQUEST_2 = {
label: "Tax",
type: "tax",
amount: {
currency: "USD",
value: "1.50",
},
},
],
+ shippingAddressErrors: {},
shippingOptions: [
{
id: "123",
label: "Fast (default)",
amount: {
currency: "USD",
value: 10,
},
--- a/browser/components/payments/res/mixins/PaymentStateSubscriberMixin.js
+++ b/browser/components/payments/res/mixins/PaymentStateSubscriberMixin.js
@@ -35,16 +35,17 @@ export let requestStore = new PaymentsSt
tabId: null,
topLevelPrincipal: {URI: {displayHost: null}},
requestId: null,
paymentMethods: [],
paymentDetails: {
id: null,
totalItem: {label: null, amount: {currency: null, value: 0}},
displayItems: [],
+ shippingAddressErrors: {},
shippingOptions: [],
modifiers: null,
error: "",
},
paymentOptions: {
requestPayerName: false,
requestPayerEmail: false,
requestPayerPhone: false,