mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
LibWeb: Port Intrinsics from DeprecatedString
This commit is contained in:
parent
9cd36839d2
commit
96af80acd1
279 changed files with 305 additions and 304 deletions
|
@ -16,7 +16,7 @@ template<>
|
|||
void Intrinsics::create_web_prototype_and_constructor<URLSearchParamsIteratorPrototype>(JS::Realm& realm)
|
||||
{
|
||||
auto prototype = heap().allocate<URLSearchParamsIteratorPrototype>(realm, realm);
|
||||
m_prototypes.set("URLSearchParamsIterator"sv, prototype);
|
||||
m_prototypes.set("URLSearchParamsIterator"_fly_string, prototype);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ URLSearchParamsIterator::~URLSearchParamsIterator() = default;
|
|||
void URLSearchParamsIterator::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::URLSearchParamsIteratorPrototype>(realm, "URLSearchParamsIterator"));
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::URLSearchParamsIteratorPrototype>(realm, "URLSearchParamsIterator"_fly_string));
|
||||
}
|
||||
|
||||
void URLSearchParamsIterator::visit_edges(JS::Cell::Visitor& visitor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue