mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Visit all edge-members in WorkerGlobalScope
This commit is contained in:
committed by
Andreas Kling
parent
34439a04e8
commit
1ea90e340c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user