LibJS: Replace PropertyKey(char[]) with PropertyKey(FlyString)

...and deal with the fallout.
This commit is contained in:
Andreas Kling 2025-03-16 21:25:29 -05:00 committed by Andreas Kling
commit 53da8893ac
Notes: github-actions[bot] 2025-03-24 22:28:43 +00:00
55 changed files with 254 additions and 251 deletions

View file

@ -24,8 +24,8 @@ void AgentObject::initialize(JS::Realm& realm)
Base::initialize(realm);
u8 attr = Attribute::Writable | Attribute::Configurable;
define_native_function(realm, "monotonicNow", monotonic_now, 0, attr);
define_native_function(realm, "sleep", sleep, 1, attr);
define_native_function(realm, "monotonicNow"_fly_string, monotonic_now, 0, attr);
define_native_function(realm, "sleep"_fly_string, sleep, 1, attr);
// TODO: broadcast
// TODO: getReport
// TODO: start