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
parent d7908dbff5
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

@ -236,9 +236,9 @@ GC::Ref<JS::Object> MediaCapabilitiesDecodingInfo::to_object(JS::Realm& realm)
// FIXME: Also include configuration in this object.
MUST(object->create_data_property("supported", JS::BooleanObject::create(realm, supported)));
MUST(object->create_data_property("smooth", JS::BooleanObject::create(realm, smooth)));
MUST(object->create_data_property("powerEfficent", JS::BooleanObject::create(realm, power_efficient)));
MUST(object->create_data_property("supported"_fly_string, JS::BooleanObject::create(realm, supported)));
MUST(object->create_data_property("smooth"_fly_string, JS::BooleanObject::create(realm, smooth)));
MUST(object->create_data_property("powerEfficent"_fly_string, JS::BooleanObject::create(realm, power_efficient)));
return object;
}