mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibJS: Stop propagating small OOM errors from the Error object
This commit is contained in:
parent
df915f8a98
commit
54d1f4e234
Notes:
sideshowbarker
2024-07-16 21:34:08 +09:00
Author: https://github.com/trflynn89
Commit: 54d1f4e234
Pull-request: https://github.com/SerenityOS/serenity/pull/20972
Reviewed-by: https://github.com/awesomekling
17 changed files with 68 additions and 77 deletions
|
@ -26,7 +26,7 @@ class PromiseResolvingFunction final : public NativeFunction {
|
|||
JS_OBJECT(PromiseResolvingFunction, NativeFunction);
|
||||
|
||||
public:
|
||||
using FunctionType = Function<ThrowCompletionOr<Value>(VM&, Promise&, AlreadyResolved&)>;
|
||||
using FunctionType = Function<Value(VM&, Promise&, AlreadyResolved&)>;
|
||||
|
||||
static NonnullGCPtr<PromiseResolvingFunction> create(Realm&, Promise&, AlreadyResolved&, FunctionType);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue