mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 14:51:52 +00:00
update webkit (#19238)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user