From 4701c4bb01aab87eb4d7b04ca7b6e415f0179bf6 Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Fri, 5 Apr 2024 11:09:35 -0700 Subject: [PATCH] LibWeb: Add a missing visit in HTMLFormElement --- Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp index 30312dc6188..cb0e5d03752 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp @@ -61,6 +61,7 @@ void HTMLFormElement::visit_edges(Cell::Visitor& visitor) visitor.visit(m_elements); for (auto& element : m_associated_elements) visitor.visit(element); + visitor.visit(m_planned_navigation); } // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#implicit-submission