1
Fork 0
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:
Timothy Flynn 2023-03-14 06:59:23 -04:00 committed by Tim Flynn
parent b579093ad0
commit dd992e7dad
5 changed files with 164 additions and 146 deletions

View file

@ -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());
}