diff options
author | Hendiadyoin1 <leon.a@serenityos.org> | 2022-09-13 16:06:13 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-13 20:55:21 +0200 |
commit | 1ea90e340ce9014274ebf0ebbdf315701408af60 (patch) | |
tree | b8c12942acdd1b607852c8a239556ee200afcd5e /Userland/Libraries | |
parent | 34439a04e8e2147c429a7eb9515cd550a7e156b9 (diff) | |
download | serenity-1ea90e340ce9014274ebf0ebbdf315701408af60.zip |
LibWeb: Visit all edge-members in WorkerGlobalScope
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp index 7a452bbaa5..c1b6d069b0 100644 --- a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp +++ b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.cpp @@ -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 |