diff --git a/Userland/Libraries/LibWeb/HTML/Window.cpp b/Userland/Libraries/LibWeb/HTML/Window.cpp
index a48a8735268..fb8c074137f 100644
--- a/Userland/Libraries/LibWeb/HTML/Window.cpp
+++ b/Userland/Libraries/LibWeb/HTML/Window.cpp
@@ -85,20 +85,8 @@ JS::NonnullGCPtr Window::create(JS::Realm& realm)
return *realm.heap().allocate(realm, realm);
}
-JS::NonnullGCPtr Window::create_with_document(DOM::Document& document)
-{
- return *document.heap().allocate(document.shape().realm(), document);
-}
-
Window::Window(JS::Realm& realm)
: DOM::EventTarget(realm)
-{
- // FIXME: Should this be WindowPrototype?
-}
-
-Window::Window(DOM::Document& document)
- : DOM::EventTarget(document.shape().realm())
- , m_associated_document(document)
{
}
diff --git a/Userland/Libraries/LibWeb/HTML/Window.h b/Userland/Libraries/LibWeb/HTML/Window.h
index 109a8206cb8..bc93acbdf8c 100644
--- a/Userland/Libraries/LibWeb/HTML/Window.h
+++ b/Userland/Libraries/LibWeb/HTML/Window.h
@@ -33,7 +33,6 @@ class Window final
public:
static JS::NonnullGCPtr create(JS::Realm&);
- static JS::NonnullGCPtr create_with_document(DOM::Document&);
~Window();
@@ -119,7 +118,6 @@ public:
private:
explicit Window(JS::Realm&);
- explicit Window(DOM::Document&);
virtual void initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;