1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 09:54:59 +00:00
serenity/Userland/Libraries/LibWeb/Tests/Window/window.window_frames_self.js
2021-01-12 12:17:46 +01:00

8 lines
265 B
JavaScript

loadPage("file:///res/html/misc/blank.html");
afterInitialPageLoad(() => {
test("window.{window,frames,self} all return the Window object", () => {
expect(window.window).toBe(window.frames);
expect(window.window).toBe(window.self);
});
});