mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibJS: Add parameter to delete_property since we need DeleteOrThrow
This commit is contained in:
parent
8a06a93ce2
commit
16b87b85e3
Notes:
sideshowbarker
2024-07-18 11:39:38 +09:00
Author: https://github.com/davidot
Commit: 16b87b85e3
Pull-request: https://github.com/SerenityOS/serenity/pull/8191
4 changed files with 16 additions and 9 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
virtual bool has_property(const PropertyName& name) const override;
|
||||
virtual Value get(const PropertyName& name, Value receiver, AllowSideEffects = AllowSideEffects::Yes) const override;
|
||||
virtual bool put(const PropertyName& name, Value value, Value receiver) override;
|
||||
virtual bool delete_property(const PropertyName& name) override;
|
||||
virtual bool delete_property(PropertyName const& name, bool force_throw_exception = false) override;
|
||||
|
||||
bool is_revoked() const { return m_is_revoked; }
|
||||
void revoke() { m_is_revoked = true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue