diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-24 16:01:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-24 17:18:07 +0200 |
commit | 398c181c799f728739c1ee2184b8638554b3353c (patch) | |
tree | f3359393325fc8da02ecb78981a1f87c458246f2 /Userland/Services/WebContent/ConsoleGlobalObject.h | |
parent | 715e7fada8ed00a7680bb8f4ed65afd3026d3d59 (diff) | |
download | serenity-398c181c799f728739c1ee2184b8638554b3353c.zip |
LibJS: Rename PropertyName to PropertyKey
Let's use the same name as the spec. :^)
Diffstat (limited to 'Userland/Services/WebContent/ConsoleGlobalObject.h')
-rw-r--r-- | Userland/Services/WebContent/ConsoleGlobalObject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.h b/Userland/Services/WebContent/ConsoleGlobalObject.h index c25708d1e9..055f8290ff 100644 --- a/Userland/Services/WebContent/ConsoleGlobalObject.h +++ b/Userland/Services/WebContent/ConsoleGlobalObject.h @@ -27,12 +27,12 @@ public: virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override; virtual JS::ThrowCompletionOr<bool> internal_is_extensible() const override; virtual JS::ThrowCompletionOr<bool> internal_prevent_extensions() override; - virtual JS::ThrowCompletionOr<Optional<JS::PropertyDescriptor>> internal_get_own_property(JS::PropertyName const& name) const override; - virtual JS::ThrowCompletionOr<bool> internal_define_own_property(JS::PropertyName const& name, JS::PropertyDescriptor const& descriptor) override; - virtual JS::ThrowCompletionOr<bool> internal_has_property(JS::PropertyName const& name) const override; - virtual JS::ThrowCompletionOr<JS::Value> internal_get(JS::PropertyName const&, JS::Value) const override; - virtual JS::ThrowCompletionOr<bool> internal_set(JS::PropertyName const&, JS::Value value, JS::Value receiver) override; - virtual JS::ThrowCompletionOr<bool> internal_delete(JS::PropertyName const& name) override; + virtual JS::ThrowCompletionOr<Optional<JS::PropertyDescriptor>> internal_get_own_property(JS::PropertyKey const& name) const override; + virtual JS::ThrowCompletionOr<bool> internal_define_own_property(JS::PropertyKey const& name, JS::PropertyDescriptor const& descriptor) override; + virtual JS::ThrowCompletionOr<bool> internal_has_property(JS::PropertyKey const& name) const override; + virtual JS::ThrowCompletionOr<JS::Value> internal_get(JS::PropertyKey const&, JS::Value) const override; + virtual JS::ThrowCompletionOr<bool> internal_set(JS::PropertyKey const&, JS::Value value, JS::Value receiver) override; + virtual JS::ThrowCompletionOr<bool> internal_delete(JS::PropertyKey const& name) override; virtual JS::ThrowCompletionOr<JS::MarkedValueList> internal_own_property_keys() const override; virtual void initialize_global_object() override; |