mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
upgrade webkit (#12474)
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com>
This commit is contained in:
@@ -2573,7 +2573,9 @@ SerializationReturnCode CloneSerializer::serialize(JSValue in)
|
||||
JSMap* inMap = jsCast<JSMap*>(inValue);
|
||||
if (!startMap(inMap))
|
||||
break;
|
||||
JSMapIterator* iterator = JSMapIterator::create(vm, m_lexicalGlobalObject->mapIteratorStructure(), inMap, IterationKind::Entries);
|
||||
JSMapIterator* iterator = JSMapIterator::create(m_lexicalGlobalObject, m_lexicalGlobalObject->mapIteratorStructure(), inMap, IterationKind::Entries);
|
||||
if (UNLIKELY(scope.exception()))
|
||||
return SerializationReturnCode::ExistingExceptionError;
|
||||
m_gcBuffer.appendWithCrashOnOverflow(inMap);
|
||||
m_gcBuffer.appendWithCrashOnOverflow(iterator);
|
||||
mapIteratorStack.append(iterator);
|
||||
@@ -2619,7 +2621,9 @@ SerializationReturnCode CloneSerializer::serialize(JSValue in)
|
||||
JSSet* inSet = jsCast<JSSet*>(inValue);
|
||||
if (!startSet(inSet))
|
||||
break;
|
||||
JSSetIterator* iterator = JSSetIterator::create(vm, m_lexicalGlobalObject->setIteratorStructure(), inSet, IterationKind::Keys);
|
||||
JSSetIterator* iterator = JSSetIterator::create(m_lexicalGlobalObject, m_lexicalGlobalObject->setIteratorStructure(), inSet, IterationKind::Keys);
|
||||
if (UNLIKELY(scope.exception()))
|
||||
return SerializationReturnCode::ExistingExceptionError;
|
||||
m_gcBuffer.appendWithCrashOnOverflow(inSet);
|
||||
m_gcBuffer.appendWithCrashOnOverflow(iterator);
|
||||
setIteratorStack.append(iterator);
|
||||
|
||||
Reference in New Issue
Block a user