1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

LibWeb: Port the WindowOrWorkerGlobalScopeMixin timer handler to String

This will make porting to IDL a bit cleaner.
This commit is contained in:
Timothy Flynn 2023-03-14 07:06:32 -04:00 committed by Tim Flynn
parent dd992e7dad
commit 2895b7e733
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@
namespace Web::HTML {
// https://html.spec.whatwg.org/#timerhandler
using TimerHandler = Variant<JS::Handle<WebIDL::CallbackType>, DeprecatedString>;
using TimerHandler = Variant<JS::Handle<WebIDL::CallbackType>, String>;
// https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope
class WindowOrWorkerGlobalScopeMixin {