mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +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
Notes:
sideshowbarker
2024-07-18 10:23:20 +09:00
Author: https://github.com/IdanHo
Commit: 4fdf4bfbd0
Pull-request: https://github.com/SerenityOS/serenity/pull/8453
Reviewed-by: https://github.com/linusg ✅
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