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

LibWeb: Port Intrinsics from DeprecatedString

This commit is contained in:
Shannon Booth 2023-11-22 12:55:21 +13:00 committed by Tim Flynn
parent 9cd36839d2
commit 96af80acd1
279 changed files with 305 additions and 304 deletions

View file

@ -16,7 +16,7 @@ template<>
void Intrinsics::create_web_prototype_and_constructor<HeadersIteratorPrototype>(JS::Realm& realm)
{
auto prototype = heap().allocate<HeadersIteratorPrototype>(realm, realm);
m_prototypes.set("HeadersIterator"sv, prototype);
m_prototypes.set("HeadersIterator"_fly_string, prototype);
}
}
@ -42,7 +42,7 @@ HeadersIterator::~HeadersIterator() = default;
void HeadersIterator::initialize(JS::Realm& realm)
{
Base::initialize(realm);
set_prototype(&Bindings::ensure_web_prototype<Bindings::HeadersIteratorPrototype>(realm, "HeadersIterator"));
set_prototype(&Bindings::ensure_web_prototype<Bindings::HeadersIteratorPrototype>(realm, "HeadersIterator"_fly_string));
}
void HeadersIterator::visit_edges(JS::Cell::Visitor& visitor)