mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
LibWeb: Port the WindowOrWorkerGlobalScopeMixin timer handler to String
This will make porting to IDL a bit cleaner.
This commit is contained in:
parent
dd992e7dad
commit
2895b7e733
3 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ i32 WindowOrWorkerGlobalScopeMixin::run_timer_initialization_steps(TimerHandler
|
|||
report_exception(result, this_impl().realm());
|
||||
},
|
||||
// 3. Otherwise:
|
||||
[&](DeprecatedString const& source) {
|
||||
[&](String const& source) {
|
||||
// 1. Assert: handler is a string.
|
||||
// FIXME: 2. Perform HostEnsureCanCompileStrings(callerRealm, calleeRealm). If this throws an exception, catch it, report the exception, and abort these steps.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue