WebKit Upgrade (#19839)

Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Ben Grant <ben@bun.sh>
Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2025-05-22 21:12:43 -07:00
committed by GitHub
parent bca833ad59
commit 69be630aea
213 changed files with 1126 additions and 1039 deletions

View File

@@ -1034,11 +1034,11 @@ void generateNativeModule_NodeModule(JSC::JSGlobalObject* lexicalGlobalObject,
const auto& property = Identifier::fromString(vm, entry.m_key);
JSValue value = constructor->getIfPropertyExists(globalObject, property);
if (UNLIKELY(catchScope.exception())) {
if (catchScope.exception()) [[unlikely]] {
value = {};
catchScope.clearException();
}
if (UNLIKELY(value.isEmpty())) {
if (value.isEmpty()) [[unlikely]] {
value = JSC::jsUndefined();
}