diff options
author | 2022-08-09 01:58:00 +0800 | |
---|---|---|
committer | 2022-08-08 10:58:00 -0700 | |
commit | 02644ab65a65cdc30d8da68649885b06ca803cb2 (patch) | |
tree | 56679304b1d5b21287debe1f13b71e2602ee3b28 /src/bun.js/bindings/headers.h | |
parent | 98c2d20ab0168218d66bde4ef0afb80700f9373b (diff) | |
download | bun-02644ab65a65cdc30d8da68649885b06ca803cb2.tar.gz bun-02644ab65a65cdc30d8da68649885b06ca803cb2.tar.zst bun-02644ab65a65cdc30d8da68649885b06ca803cb2.zip |
Raise error on unhandled rejected promises (#1010)
* deal with unhandled rejected promise
* use Vector<Strong<JSPromise>> to store rejected promises
Diffstat (limited to 'src/bun.js/bindings/headers.h')
-rw-r--r-- | src/bun.js/bindings/headers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index c1e70807f..02b2bbb2d 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -407,6 +407,7 @@ CPP_DECL bool JSC__JSGlobalObject__startRemoteInspector(JSC__JSGlobalObject* arg CPP_DECL JSC__StringPrototype* JSC__JSGlobalObject__stringPrototype(JSC__JSGlobalObject* arg0); CPP_DECL JSC__JSObject* JSC__JSGlobalObject__symbolPrototype(JSC__JSGlobalObject* arg0); CPP_DECL JSC__VM* JSC__JSGlobalObject__vm(JSC__JSGlobalObject* arg0); +CPP_DECL void JSC__JSGlobalObject__handleRejectedPromises(JSC__JSGlobalObject* arg0); #pragma mark - WTF::URL |