mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:37:36 +00:00
LibWeb: Add tests for atob() and btoa()
This commit is contained in:
parent
60599d03dd
commit
a92f7aea7a
2 changed files with 24 additions and 5 deletions
|
@ -2,10 +2,10 @@ loadPage("file:///res/html/misc/blank.html");
|
|||
|
||||
afterPageLoad(() => {
|
||||
test("Basic functionality", () => {
|
||||
expect(document.compatMode).toBe("CSS1Compat");
|
||||
expect(document.doctype).toBeDefined();
|
||||
expect(document.doctype.name).toBe("html");
|
||||
expect(document.doctype.publicId).toBe("");
|
||||
expect(document.doctype.systemId).toBe("");
|
||||
expect(document.compatMode).toBe("CSS1Compat");
|
||||
expect(document.doctype).toBeDefined();
|
||||
expect(document.doctype.name).toBe("html");
|
||||
expect(document.doctype.publicId).toBe("");
|
||||
expect(document.doctype.systemId).toBe("");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue