mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 20:58:16 +00:00
AK: Remove some now-unnecessary workarounds for simdutf base64 usage
This commit is contained in:
parent
3693fd5caa
commit
5e40db5a17
Notes:
github-actions[bot]
2025-06-01 12:04:06 +00:00
Author: https://github.com/trflynn89
Commit: 5e40db5a17
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4948
3 changed files with 4 additions and 9 deletions
|
@ -40,7 +40,7 @@ describe("errors", () => {
|
|||
test("invalid padding", () => {
|
||||
expect(() => {
|
||||
Uint8Array.fromBase64("Zm9v=", { lastChunkHandling: "strict" });
|
||||
}).toThrowWithMessage(SyntaxError, "Invalid trailing data");
|
||||
}).toThrowWithMessage(SyntaxError, "Invalid base64 character");
|
||||
|
||||
expect(() => {
|
||||
Uint8Array.fromBase64("Zm9vaa=", { lastChunkHandling: "strict" });
|
||||
|
|
|
@ -79,7 +79,7 @@ describe("errors", () => {
|
|||
test("invalid padding", () => {
|
||||
expect(() => {
|
||||
new Uint8Array(10).setFromBase64("Zm9v=", { lastChunkHandling: "strict" });
|
||||
}).toThrowWithMessage(SyntaxError, "Invalid trailing data");
|
||||
}).toThrowWithMessage(SyntaxError, "Invalid base64 character");
|
||||
|
||||
expect(() => {
|
||||
new Uint8Array(10).setFromBase64("Zm9vaa=", { lastChunkHandling: "strict" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue