mirror of
https://github.com/RGBCube/serenity
synced 2025-06-20 20:22:10 +00:00

Also change DOM::Document::document_element() to return an Element* and not an HTML::HTMLHtmlElement since that's not the only kind of documentElement we might encounter.
8 lines
249 B
JavaScript
8 lines
249 B
JavaScript
loadPage("file:///res/html/misc/blank.html");
|
|
|
|
afterInitialPageLoad(() => {
|
|
test("Basic functionality", () => {
|
|
expect(document.documentElement).not.toBe(null);
|
|
expect(document.documentElement.nodeName).toBe("html");
|
|
});
|
|
});
|