update webkit (#19238)

This commit is contained in:
Dylan Conway
2025-04-23 23:21:22 -07:00
committed by GitHub
parent 98c66605e5
commit 41388204b9
14 changed files with 48 additions and 138 deletions

View File

@@ -907,7 +907,7 @@ JSC::EncodedJSValue INVALID_ARG_VALUE(JSC::ThrowScope& throwScope, JSC::JSGlobal
{
WTF::StringBuilder builder;
builder.append("The "_s);
if (WTF::StringView(name).contains('.')) {
if (WTF::find(name.span(), '.') != WTF::notFound) {
builder.append("property '"_s);
} else {
builder.append("argument '"_s);
@@ -935,7 +935,7 @@ JSC::EncodedJSValue INVALID_ARG_VALUE(JSC::ThrowScope& throwScope, JSC::JSGlobal
{
WTF::StringBuilder builder;
builder.append("The "_s);
if (WTF::StringView(name).contains('.')) {
if (WTF::find(name.span(), '.') != WTF::notFound) {
builder.append("property '"_s);
} else {
builder.append("argument '"_s);