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:
SUZUKI Sosuke
2025-12-24 15:24:18 +09:00
committed by GitHub
parent 0300150324
commit bffccf3d5f
79 changed files with 522 additions and 381 deletions

View File

@@ -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);