Automatic update from web-platform-tests [Web Payment] Disable PaymentInstruments This patch disables the PaymentInstruments API (paymentManager.instruments) and removes IDL harness expectations for it. It does not, however, remove the feature code itself, as that will be a separate patch. Intent to deprecate and remove: https://groups.google.com/a/chromium.org/g/blink-dev/c/VenSGqBIoKI/m/HGyofbCGCAAJ Chrome status: https://chromestatus.com/feature/5099285054488576 Bug: 1327265 Change-Id: I32e9bdb65648d145ccde4ed71a2e49b47fee77ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4067199 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by: Nate Fischer <ntfschr@chromium.org> Reviewed-by: Rick Byers <rbyers@chromium.org> Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096753} -- wpt-commits: 57eddd90aedeb6f83a7373571fa5d7a163f0534d wpt-pr: 38096
19 lines
645 B
HTML
19 lines
645 B
HTML
<!DOCTYPE html>
|
|
<meta charset=utf-8>
|
|
<link rel="help" href="https://w3c.github.io/payment-handler/">
|
|
<title>Test for [SameObject] attributes</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
|
<script>
|
|
|
|
promise_test(async t => {
|
|
const registration = await service_worker_unregister_and_register(
|
|
t, 'app-simple.js', 'payment-app/');
|
|
await wait_for_state(t, registration.installing, 'activated');
|
|
|
|
assert_equals(registration.paymentManager, registration.paymentManager);
|
|
});
|
|
|
|
</script>
|