1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:47:35 +00:00

LibWeb: Visit all edge-members in WorkerGlobalScope

This commit is contained in:
Hendiadyoin1 2022-09-13 16:06:13 +02:00 committed by Andreas Kling
parent 34439a04e8
commit 1ea90e340c

View file

@ -38,7 +38,8 @@ void WorkerGlobalScope::initialize(JS::Realm& realm)
void WorkerGlobalScope::visit_edges(Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_location);
visitor.visit(m_location.ptr());
visitor.visit(m_navigator.ptr());
}
// https://html.spec.whatwg.org/multipage/workers.html#importing-scripts-and-libraries