mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Visit all edge-members in WorkerGlobalScope
This commit is contained in:
parent
34439a04e8
commit
1ea90e340c
Notes:
sideshowbarker
2024-07-17 18:46:30 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 1ea90e340c
Pull-request: https://github.com/SerenityOS/serenity/pull/15228
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/davidot ✅
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