mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
LibWeb: Move timer implementations to WindowOrWorkerGlobalScopeMixin
This is where it belongs according to the spec, and where these methods' IDL will be placed. This forces us to implement a few steps closer to the spec as well.
This commit is contained in:
parent
b579093ad0
commit
dd992e7dad
5 changed files with 164 additions and 146 deletions
|
@ -37,6 +37,8 @@ JS::ThrowCompletionOr<void> WorkerGlobalScope::initialize(JS::Realm& realm)
|
|||
void WorkerGlobalScope::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
WindowOrWorkerGlobalScopeMixin::visit_edges(visitor);
|
||||
|
||||
visitor.visit(m_location.ptr());
|
||||
visitor.visit(m_navigator.ptr());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue