mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Fix nodeName attribute in tests
Commit 19731fc14c (#6864) made all nodeName attributes on HTML elements
uppercased. This change fixes that in all HTML & DOM tests.
This commit is contained in:
committed by
Andreas Kling
parent
37685b0181
commit
737f6e97b2
Notes:
sideshowbarker
2024-07-18 18:25:14 +09:00
Author: https://github.com/ant1441 Commit: https://github.com/SerenityOS/serenity/commit/737f6e97b27 Pull-request: https://github.com/SerenityOS/serenity/pull/6823 Reviewed-by: https://github.com/awesomekling
@@ -5,7 +5,7 @@ afterInitialPageLoad(() => {
|
||||
expect(document.documentElement).not.toBeNull();
|
||||
// FIXME: Add this in once HTMLHtmlElement's constructor is implemented.
|
||||
//expect(document.documentElement).toBeInstanceOf(HTMLHtmlElement);
|
||||
expect(document.documentElement.nodeName).toBe("html");
|
||||
expect(document.documentElement.nodeName).toBe("HTML");
|
||||
});
|
||||
|
||||
// FIXME: Add this in once removeChild is implemented.
|
||||
|
||||
Reference in New Issue
Block a user