bump webkit (#14497)

This commit is contained in:
Dylan Conway
2024-10-11 19:44:53 -07:00
committed by GitHub
parent 3f92ec8af3
commit bbb41beadc
3 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")
if(NOT WEBKIT_VERSION)
set(WEBKIT_VERSION 019ff6e1e879ff4533f2a857cab5028b6b95ab53)
set(WEBKIT_VERSION 01ac6a63449713c5b7cf38fb03628283041f63be)
endif()
if(WEBKIT_LOCAL)

View File

@@ -449,7 +449,7 @@ extern "C" void Bun__ensureDebugger(ScriptExecutionContextIdentifier scriptId, b
auto* globalObject = ScriptExecutionContext::getScriptExecutionContext(scriptId)->jsGlobalObject();
globalObject->m_inspectorController = makeUnique<Inspector::JSGlobalObjectInspectorController>(*globalObject, Bun::BunInjectedScriptHost::create());
globalObject->m_inspectorDebuggable = makeUnique<BunJSGlobalObjectDebuggable>(*globalObject);
globalObject->m_inspectorDebuggable = JSGlobalObjectDebuggable::create(*globalObject);
globalObject->setInspectable(true);

View File

@@ -152,9 +152,11 @@ BunString toStringRef(JSC::JSGlobalObject* globalObject, JSValue value)
return { BunStringTag::Empty };
}
str.impl()->ref();
StringImpl* impl = str.impl();
return { BunStringTag::WTFStringImpl, { .wtf = str.impl() } };
impl->ref();
return { BunStringTag::WTFStringImpl, { .wtf = impl } };
}
BunString toString(WTF::String& wtfString)