Bug 832951 - [WebPayment] Expose DOMRequest ID within mozChromeEvents; r=fabrice, a=nonlibxul

This commit is contained in:
Fernando Jiménez 2013-01-22 12:29:54 +01:00
parent 121ef1d923
commit ef4672503c
2 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,8 @@ function closePaymentFlowDialog(aCallback) {
let detail = {
type: kClosePaymentFlowEvent,
id: id
id: id,
requestId: requestId
};
// In order to avoid race conditions, we wait for the UI to notify that

View File

@ -54,6 +54,7 @@ PaymentUI.prototype = {
let detail = {
type: kOpenPaymentConfirmationEvent,
id: id,
requestId: aRequestId,
paymentRequests: aRequests
};
@ -99,6 +100,7 @@ PaymentUI.prototype = {
let detail = {
type: kOpenPaymentFlowEvent,
id: id,
requestId: aRequestId,
uri: aPaymentFlowInfo.uri,
method: aPaymentFlowInfo.requestMethod,
jwt: aPaymentFlowInfo.jwt