mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibJS: Add parameter to delete_property since we need DeleteOrThrow
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 11:39:38 +09:00
Author: https://github.com/davidot Commit: https://github.com/SerenityOS/serenity/commit/16b87b85e39 Pull-request: https://github.com/SerenityOS/serenity/pull/8191
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user