Confirmed users
483
edits
| Line 412: | Line 412: | ||
== Modules == | == Modules == | ||
=== DOM part in Gecko === | === DOM part in Gecko === | ||
Contains the common code that exposes the mozPay function to the DOM and that is supposed to be shared by all the platforms (B2G, Fennec, Firefox). | Contains the common code that exposes the <code>navigator.mozPay</code> function to the DOM and that is supposed to be shared by all the platforms (B2G, Fennec, Firefox). | ||
=== B2G Glue part in Gecko === | === B2G Glue part in Gecko === | ||
Contains the specific B2G code that triggers the trusted UI creation to embed the payment flow iframe and that injects the required <code>paymentSuccess()</code> and <code>paymentFailed()</code> functions within the payment flow content. | Contains the specific B2G code that triggers the trusted UI creation to embed the payment flow iframe and that injects the required <code>paymentSuccess()</code> and <code>paymentFailed()</code> functions within the payment flow content. | ||