mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
script: add error messages for conditions in `encrypt_aes_ctr` Testing: No tests needed (?) let me know if I should add tests for this somewhere. Fixes: #40756 Followed the [MDN](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt#aes-ctr) and [w3c](https://w3c.github.io/webcrypto/#aes-ctr-operations-encrypt) docs to write the messages. I'm thinking on adding more messages, so any feedback would be appreciated! :) --------- Signed-off-by: César Pedraza <cpedraza@unal.edu.co>