LibWeb: Port Intrinsics from DeprecatedString

This commit is contained in:
Shannon Booth 2023-11-22 12:55:21 +13:00 committed by Tim Flynn
commit 96af80acd1
Notes: sideshowbarker 2024-07-16 23:44:30 +09:00
279 changed files with 305 additions and 304 deletions

View file

@ -21,7 +21,7 @@ TimeRanges::TimeRanges(JS::Realm& realm)
void TimeRanges::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::TimeRangesPrototype>(realm, "TimeRanges"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::TimeRangesPrototype>(realm, "TimeRanges"_fly_string));
}
// https://html.spec.whatwg.org/multipage/media.html#dom-timeranges-length