ladybird/Userland/Libraries/LibWeb/Tests/Window/window.window_frames_self.js

12 lines
381 B
JavaScript
Raw Normal View History

describe("window_frames_self", () => {
loadLocalPage("/res/html/misc/blank.html");
afterInitialPageLoad(page => {
test("window.{window,frames,self} all return the Window object", () => {
expect(page.window.window).toBe(page.window.frames);
expect(page.window.window).toBe(page.window.self);
});
});
waitForPageToLoad();
});