mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 06:12:08 +00:00
Upgrade WebKit 2025/12/07 (#25429)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Claude Bot <claude-bot@bun.sh>
This commit is contained in:
@@ -801,7 +801,7 @@ JSC_DEFINE_HOST_FUNCTION(jsFunctionRunMain, (JSGlobalObject * globalObject, JSC:
|
||||
RETURN_IF_EXCEPTION(scope, {});
|
||||
JSC::JSNativeStdFunction* resolverFunction = JSC::JSNativeStdFunction::create(vm, globalObject, 1, String(), resolverFunctionCallback);
|
||||
|
||||
auto result = promise->then(globalObject, resolverFunction, nullptr);
|
||||
auto result = promise->then(globalObject, resolverFunction, globalObject->promiseEmptyOnRejectedFunction());
|
||||
RETURN_IF_EXCEPTION(scope, {});
|
||||
Bun__VirtualMachine__setOverrideModuleRunMainPromise(defaultGlobalObject(globalObject)->bunVM(), result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user