mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Convert internal_has_property() to ThrowCompletionOr
This commit is contained in:
parent
5da210125e
commit
d9895ec12d
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/linusg
Commit: d9895ec12d
Pull-request: https://github.com/SerenityOS/serenity/pull/10266
Reviewed-by: https://github.com/IdanHo ✅
10 changed files with 32 additions and 32 deletions
|
@ -1403,7 +1403,7 @@ public:
|
|||
|
||||
if (interface.extended_attributes.contains("CustomHasProperty")) {
|
||||
generator.append(R"~~~(
|
||||
virtual bool internal_has_property(JS::PropertyName const&) const override;
|
||||
virtual JS::ThrowCompletionOr<bool> internal_has_property(JS::PropertyName const&) const override;
|
||||
)~~~");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue