upgrade webkit (#12474)

Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com>
This commit is contained in:
Dylan Conway
2024-07-10 01:38:26 -07:00
committed by GitHub
parent 73ef93ffa3
commit e42dede529
26 changed files with 121 additions and 125 deletions

View File

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