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

LibWeb/HTML: Port Window.origin to IDL

This commit is contained in:
Linus Groh 2023-03-06 11:11:17 +00:00
parent 376fb9ae40
commit 188aac5077
3 changed files with 3 additions and 16 deletions

View file

@ -218,8 +218,6 @@ private:
Vector<JS::NonnullGCPtr<MimeType>> m_pdf_viewer_mime_type_objects;
public:
HTML::Origin origin() const;
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; }
@ -259,7 +257,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(local_storage_getter);
JS_DECLARE_NATIVE_FUNCTION(session_storage_getter);
JS_DECLARE_NATIVE_FUNCTION(origin_getter);
JS_DECLARE_NATIVE_FUNCTION(is_secure_context_getter);
JS_DECLARE_NATIVE_FUNCTION(set_interval);