LibWeb: Replace usage of native properties with accessors in Navigator

This is required by the WebIDL specification.
This commit is contained in:
Idan Horowitz 2021-07-05 15:03:31 +03:00 committed by Linus Groh
commit 4fdf4bfbd0
Notes: sideshowbarker 2024-07-18 10:23:20 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ public:
virtual ~NavigatorObject() override;
private:
JS_DECLARE_NATIVE_GETTER(user_agent_getter);
JS_DECLARE_NATIVE_FUNCTION(user_agent_getter);
};
}