← Back to release summary

Expose PaymentManager on workers

Category
Miscellaneous
Type
New or changed feature
Status
In development (Chrome In development)
Intent stage
Prepare to ship

WPT details: Yes, this exposing is tested by the below tests. - http://w3c-test.org/payment-handler/idlharness.https.any.worker.html - http://w3c-test.org/payment-handler/idlharness.https.any.sharedworker.html - http://w3c-test.org/payment-handler/idlharness.https.any.js

Summary

Though Web IDL specification removed [PrimaryGlobal] and made [Exposed] required, many blink's IDL files have not followed it yet. In payment_manager.idl case, the spec has added [Exposed=Window,Worker] as well. So, this will make PaymentManager visible on workers according to the updated specification.

Standards & signals

Ecosystem

Explainers: https://w3c.github.io/payment-handler/#paymentmanager-interface

View on chromestatus.com