mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +00:00
LibJS: Convert internal_get() to ThrowCompletionOr
This commit is contained in:
parent
d9895ec12d
commit
6c2b974db2
Notes:
sideshowbarker
2024-07-18 03:19:10 +09:00
Author: https://github.com/linusg
Commit: 6c2b974db2
Pull-request: https://github.com/SerenityOS/serenity/pull/10266
Reviewed-by: https://github.com/IdanHo ✅
17 changed files with 39 additions and 44 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "Forward.h"
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Runtime/Completion.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
|
||||
namespace Spreadsheet {
|
||||
|
@ -26,7 +27,7 @@ public:
|
|||
|
||||
virtual ~SheetGlobalObject() override;
|
||||
|
||||
virtual JS::Value internal_get(JS::PropertyName const&, JS::Value receiver) const override;
|
||||
virtual JS::ThrowCompletionOr<JS::Value> internal_get(JS::PropertyName const&, JS::Value receiver) const override;
|
||||
virtual bool internal_set(JS::PropertyName const&, JS::Value value, JS::Value receiver) override;
|
||||
virtual void initialize_global_object() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue