Closed Bug 1618670 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22012 - [Payment Handler] CanMakePaymentEvent.respondWithMinimalUI() #5

Categories

(Core :: DOM: Web Payments, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22012 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22012
Details from upstream follow.

Rouslan Solomakhin <rouslan@chromium.org> wrote:

[Payment Handler] CanMakePaymentEvent.respondWithMinimalUI() #5

Patch #5: On desktop, pass currency to the CanMakePaymentEvent when
minimal UI feature is enabled, so the updated WPTs can pass.

Before this patch, the "currency" field of the CanMakePaymentEvent was
never set.

After this patch, the "currency" field of the CanMakePaymentEvent is set
on desktop when the minimal UI feature is enabled, e.g., through
chrome://flags/#enable-web-payments-minimal-ui flag, and the updated WPT
passes on desktop when opened in a full browser.

Bug: 1005076
Change-Id: Ib35ef8f808f57d7674a5712f12fbfe65918ce92a
Reviewed-on: https://chromium-review.googlesource.com/2078797
WPT-Export-Revision: 8915e6840b6109a52059c8bd5b287db42c5044a1

PR 22012 applied with additional changes from upstream: abc2ed2227ce574b659dfdbeed524bdb0decf4ec
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05904882d48a [wpt PR 22012] - [Payment Handler] CanMakePaymentEvent.respondWithMinimalUI() #5, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.