node
node copied to clipboard
crypto: fix webcrypto operation errors to be OperationError
This PR fixes WebCryptoAPI behaviour when it comes to operation specific errors.
Fixes 21 WPTs
Review requested:
- [ ] @nodejs/crypto
CI: https://ci.nodejs.org/job/node-test-pull-request/45976/
CI: https://ci.nodejs.org/job/node-test-pull-request/45986/
CI: https://ci.nodejs.org/job/node-test-pull-request/46002/
CI: https://ci.nodejs.org/job/node-test-pull-request/46004/
Landed in ac1b90eed1791196999ffc54e3cfe8c496f06ef6
Changes in the test/wpt/status/WebCryptoAPI.json
seem to be breaking the v16.x branch. I will label this as "backport-requested"