mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibWeb: Replace usage of native properties with accessors in Navigator
This is required by the WebIDL specification.
This commit is contained in:
parent
6468a2bf21
commit
4fdf4bfbd0
2 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
virtual ~NavigatorObject() override;
|
||||
|
||||
private:
|
||||
JS_DECLARE_NATIVE_GETTER(user_agent_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(user_agent_getter);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue