Closed Bug 1810861 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38024 - [Web Platform Test] Just-in-time install for delegations test

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rouslan Solomakhin <rouslan@chromium.org> wrote:

[Web Platform Test] Just-in-time install for delegations test

Before this patch, the
supports-shipping-contact-delegation-manual.https.html Web Platform Test
(WPT) was installing a payment handler using the PaymentInstruments API,
which is planned to be removed.

This patch adds a payment method manifest and a web app manifest (in the
same file) for the payment handler under test, which allows it to be
installed just-in-time (JIT) when PaymentRequest.show() is called.

After this patch, the
supports-shipping-contact-delegation-manual.https.html WPT no longer
uses the PaymentInstruments API for manual payment handler installation.

Bug: 1327265
Change-Id: I70fb87c96582451d1c528365f11ad450c4770116
Reviewed-on: https://chromium-review.googlesource.com/4175272
WPT-Export-Revision: 2daa6cc0a121e9fcd1b21d7b2f16be9b2297cb5b

Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15453257e5af [wpt PR 38024] - [Web Platform Test] Just-in-time install for delegations test, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.