WebKit upgrade (#12246)

Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2024-07-01 23:27:59 -07:00
committed by GitHub
parent dd057613b9
commit b0018465cc
207 changed files with 6457 additions and 6338 deletions

View File

@@ -174,7 +174,7 @@ void HTTPHeaderMap::add(const String& name, const String& value)
if (index == notFound)
m_uncommonHeaders.append(UncommonHeader { name, value });
else
m_uncommonHeaders[index].value = makeString(m_uncommonHeaders[index].value, ", ", value);
m_uncommonHeaders[index].value = makeString(m_uncommonHeaders[index].value, ", "_s, value);
}
void HTTPHeaderMap::append(const String& name, const String& value)
@@ -303,7 +303,7 @@ void HTTPHeaderMap::add(HTTPHeaderName name, const String& value)
return header.key == name;
});
if (index != notFound)
m_commonHeaders[index].value = makeString(m_commonHeaders[index].value, ", ", value);
m_commonHeaders[index].value = makeString(m_commonHeaders[index].value, ", "_s, value);
else
m_commonHeaders.append(CommonHeader { name, value });
}