grafana / k6

A modern load testing tool, using Go and JavaScript - https://k6.io
GNU Affero General Public License v3.0
26.1k stars 1.27k forks source link

Make webcrypto avaliable globaly as `crypto` #4031

Open olegbespalov opened 3 weeks ago

olegbespalov commented 3 weeks ago

What?

With the recently merged PRs to the xk6-webcrypto, the k6 core team concluded that the k6/experimental/webcrypto module is close to graduation and should become a part of the core even if some functionality is missing.

The idea is to make it globally available under crypto, like it's done in browsers and many other implementations.

We did previously the same for the timers' module, however while making crypto we should not fall into same trap with the statistics https://github.com/grafana/k6/issues/3814

Why?

Part of https://github.com/grafana/k6/issues/3154