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:
parent
34439a04e8
commit
1ea90e340c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue