mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
LibJS: Fix that proxy always said that it had a [[Construct]] slot
This commit is contained in:
parent
1c7c53e5a0
commit
021691753d
Notes:
sideshowbarker
2024-07-18 02:21:12 +09:00
Author: https://github.com/davidot
Commit: 021691753d
Pull-request: https://github.com/SerenityOS/serenity/pull/10483
Issue: https://github.com/SerenityOS/serenity/issues/8198
Reviewed-by: https://github.com/linusg ✅
2 changed files with 11 additions and 1 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
virtual ~ProxyObject() override;
|
||||
|
||||
virtual const FlyString& name() const override;
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
virtual bool has_constructor() const override;
|
||||
|
||||
const Object& target() const { return m_target; }
|
||||
const Object& handler() const { return m_handler; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue