OLD | NEW |
(Empty) | |
| 1 Tests crypto.subtle.encrypt() using a BufferSource that is modified during algor
ithm normalization |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Importing key... |
| 7 |
| 8 Encrypting (as a control group)... |
| 9 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db
113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8
2807230e1321d3fae00d18cc2012] and was |
| 10 |
| 11 Encrypting again, using an algorithm that mutates the array buffer... |
| 12 Accessed name property |
| 13 Corrupted plainText |
| 14 Neutering plainText... |
| 15 PASS plainText.byteLength is 0 |
| 16 PASS: plainText should be [] and was |
| 17 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db
113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8
2807230e1321d3fae00d18cc2012] and was |
| 18 PASS successfullyParsed is true |
| 19 |
| 20 TEST COMPLETE |
| 21 |
OLD | NEW |