summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Tests/Window
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Tests/Window')
-rw-r--r--Libraries/LibWeb/Tests/Window/window.window_frames_self.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Tests/Window/window.window_frames_self.js b/Libraries/LibWeb/Tests/Window/window.window_frames_self.js
new file mode 100644
index 0000000000..1d7799843e
--- /dev/null
+++ b/Libraries/LibWeb/Tests/Window/window.window_frames_self.js
@@ -0,0 +1,8 @@
+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);
+ });
+});