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

LibWeb: Implement window.location.origin

This commit is contained in:
Igor Pissolati 2022-11-04 22:48:42 -03:00 committed by Andrew Kaster
parent 0b7f5bbdfb
commit de494ccf38
2 changed files with 13 additions and 0 deletions

View file

@ -59,6 +59,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(search_getter);
JS_DECLARE_NATIVE_FUNCTION(protocol_getter);
JS_DECLARE_NATIVE_FUNCTION(port_getter);
JS_DECLARE_NATIVE_FUNCTION(origin_getter);
// [[CrossOriginPropertyDescriptorMap]], https://html.spec.whatwg.org/multipage/browsers.html#crossoriginpropertydescriptormap
HTML::CrossOriginPropertyDescriptorMap m_cross_origin_property_descriptor_map;