mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibWeb: Remove prototype and constructor helpers from Window
This commit is contained in:
parent
f1367e0e4c
commit
394f1b3836
1 changed files with 0 additions and 14 deletions
|
@ -173,20 +173,6 @@ public:
|
|||
Bindings::LocationObject* location_object() { return m_location_object; }
|
||||
Bindings::LocationObject const* location_object() const { return m_location_object; }
|
||||
|
||||
JS::Object& cached_web_prototype(String const& class_name) { return Bindings::cached_web_prototype(realm(), class_name); }
|
||||
|
||||
template<typename T>
|
||||
JS::Object& ensure_web_prototype(String const& class_name)
|
||||
{
|
||||
return Bindings::ensure_web_prototype<T>(realm(), class_name);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
JS::NativeFunction& ensure_web_constructor(String const& class_name)
|
||||
{
|
||||
return Bindings::ensure_web_constructor<T>(realm(), class_name);
|
||||
}
|
||||
|
||||
virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(JS::Object* prototype) override;
|
||||
|
||||
CrossOriginPropertyDescriptorMap const& cross_origin_property_descriptor_map() const { return m_cross_origin_property_descriptor_map; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue