ladybird/Tests/LibWeb/Text/input/Worker/worker-crypto.js
Tim Ledbetter 89b6cd3fb1 LibWeb: Expose crypto object to workers
This change moves the `crypto()` getter from `Window` to
`WorkerOrWindowGlobalScope`. This aligns our implementation with the
WebCrypto specification.
2024-09-18 10:09:01 +02:00

1 line
37 B
JavaScript

postMessage(self.crypto.toString());