Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
73618b9
Adapt the C++ bindings to WebKit 7b485a76e9
robobun Sep 24, 2026
c59bd5d
Upgrade WebKit to 7b485a76e9
robobun Sep 24, 2026
253498e
verify-baseline: the IPInt slow paths now follow ipint_op_memory_atom…
robobun Sep 24, 2026
336f019
node:vm: compute the physical line of a parse error from the provider…
robobun Sep 24, 2026
e8f29f9
test: run the WebKit upgrade cases one after another
robobun Sep 24, 2026
6981c0a
test: Error.appendStackTrace with a stackTraceLimit that is not a number
robobun Sep 24, 2026
1783628
Address review: keep the sampling profiler path edit to the type, pin…
robobun Sep 24, 2026
2485e4e
Move the WebKit pin to the preview build of eacf0ea760
robobun Sep 24, 2026
cbc7da0
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 24, 2026
701805b
ci: retrigger
robobun Sep 24, 2026
f17c171
test: carry over the WebKit upgrade tests that only #42666 had
robobun Sep 24, 2026
07e4a6c
test: drop a "use strict" directive that is illegal next to a rest pa…
robobun Sep 24, 2026
b2c031c
test: an error from a class field initializer is reported where the c…
robobun Sep 24, 2026
05411f8
Move the WebKit pin to the preview build of 3a8b1bc93b
robobun Sep 24, 2026
e795bac
Merge branch 'main' into robobun/d9954162/upgrade-webkit-7b485a76e9
robobun Sep 25, 2026
07e92bb
napi: describe why napi_delete_reference is safe during a sweep
robobun Sep 25, 2026
bb32fe2
Merge remote-tracking branch 'origin/main' into robobun/d9954162/upgr…
robobun Sep 25, 2026
5a659db
napi: remove a sentence about the sweep from a comment
robobun Sep 25, 2026
6786486
Pass UTF-8 bytes with a length as a span
robobun Sep 25, 2026
5599f05
webview: shorten a comment
robobun Sep 25, 2026
efdc463
Merge branch 'main' into robobun/d9954162/upgrade-webkit-7b485a76e9
dylan-conway Sep 25, 2026
c8448eb
compile: an executable brings where the lines of its modules start
dylan-conway Sep 26, 2026
f226244
Move the WebKit pin to the preview build of oven-sh/WebKit#734
dylan-conway Sep 26, 2026
8aee5a0
ci: a connection to Azure that times out does not fail the pipeline step
dylan-conway Sep 26, 2026
62c5767
Merge remote-tracking branch 'origin/main' into robobun/d9954162/upgr…
dylan-conway Sep 26, 2026
c5349a1
The line starts of a source come with its code
dylan-conway Sep 26, 2026
3ad6806
test: a build without the testing hook still runs the other upgrade t…
dylan-conway Sep 26, 2026
83cd52a
Move the WebKit pin to the preview build of oven-sh/WebKit#734 at 7c2…
dylan-conway Sep 26, 2026
412965d
test: a position in a builtin depends on the build, and a chunk that …
robobun Sep 26, 2026
c202477
test: the code of an executable came out of its bytecode, and positio…
robobun Sep 26, 2026
a3aa45f
test: make the padding of the line length case with Buffer.alloc
robobun Sep 26, 2026
f4d56ee
test: the lines of the disk cache log end with CR LF on Windows
robobun Sep 26, 2026
5e20ed2
test: follow oven-sh/WebKit#734 as it landed
dylan-conway Sep 26, 2026
3067a6e
Move the WebKit pin to f20ce77445, the fork's main with oven-sh/WebKi…
dylan-conway Sep 26, 2026
303040f
Merge remote-tracking branch 'origin/main' into robobun/d9954162/upgr…
dylan-conway Sep 26, 2026
6f9fc95
Merge the branch's test commits, with the tests as oven-sh/WebKit#734…
dylan-conway Sep 26, 2026
aeef738
test: a build with assertions has the line starts of an internal modu…
robobun Sep 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build/deps/webkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* for local mode. Override via `--webkit-version=<hash>` to test a branch.
* From https://github.com/oven-sh/WebKit releases.
*/
export const WEBKIT_VERSION = "299c5323879e79af282d7bb7bac8b8446a0be3f3";
export const WEBKIT_VERSION = "autobuild-preview-pr-725-bc120ee2";
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
Comment thread
robobun marked this conversation as resolved.
Resolved

/**
* WebKit (JavaScriptCore) — the JS engine.
Expand Down
1 change: 1 addition & 0 deletions scripts/verify-baseline-static/allowlist-x64-windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ __std_find_trivial_1
__std_find_trivial_2 [AVX, AVX2]
__std_find_trivial_4 [AVX, AVX2]
__std_find_trivial_8 [AVX, AVX2, LZCNT]
__std_max_8i [AVX, AVX2, AVX512F, AVX512VL]
__std_min_8u [AVX, AVX2, AVX512F, AVX512VL]
__std_minmax_8i [AVX, AVX2]
__std_search_1 [AVX, AVX2]
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/bundle-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ JSC::FunctionExecutable* ${lowerBasename}${cap(fn.name)}CodeGenerator(JSC::VM& v

const initializeSourceCodeFn = (fn: BundledBuiltin, basename: string) => {
const name = `${low(basename)}${cap(fn.name)}CodeSource`;
return `m_${name}(SourceCode(sourceProvider.copyRef(), ${fn.sourceOffset}, ${fn.source.length + fn.sourceOffset}, 1, 1))`;
return `m_${name}(SourceCode(sourceProvider.copyRef(), ${fn.sourceOffset}, ${fn.source.length + fn.sourceOffset}))`;
};
for (const { basename, internal, functions } of files) {
bundledCPP += `
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/generate-classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ JSC_DEFINE_HOST_FUNCTION(${symbolName(typeName, name)}Callback, (JSGlobalObject
* from a debugger */
SourceOrigin sourceOrigin = callFrame->callerSourceOrigin(vm);
auto fileNameUTF8 = sourceOrigin.string().utf8();
const char* fileName = fileNameUTF8.data();
const char* fileName = fileNameUTF8.legacyCStringPointer();
static const char* lastFileName = nullptr;
if (lastFileName != fileName) {
lastFileName = fileName;
Expand Down
4 changes: 2 additions & 2 deletions src/jsc/bindings/BunAnalyzeTranspiledModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,11 @@ static EncodedJSValue fallbackParse(JSGlobalObject* globalObject, JSModuleLoader
auto actual = dumpRecordInfo(resultValue);
auto expected = dumpRecordInfo(moduleRecord);
if (actual != expected) {
dataLog("\n\n\n\n\n\n\x1b[95mBEGIN analyzeTranspiledModule\x1b(B\x1b[m\n --- module key ---\n", moduleKey.utf8().data(), "\n --- code ---\n\n", sourceCode.toUTF8().data(), "\n");
dataLog("\n\n\n\n\n\n\x1b[95mBEGIN analyzeTranspiledModule\x1b(B\x1b[m\n --- module key ---\n", moduleKey.utf8(), "\n --- code ---\n\n", sourceCode.toUTF8(), "\n");
dataLog(" ------", "\n");
dataLog(" BunAnalyzeTranspiledModule:", "\n");

zig__renderDiff(expected.utf8().data(), expected.utf8().length(), actual.utf8().data(), actual.utf8().length());
zig__renderDiff(expected.utf8().legacyCStringPointer(), expected.utf8().length(), actual.utf8().legacyCStringPointer(), actual.utf8().length());

RELEASE_AND_RETURN(scope, JSValue::encode(rejectWithError(createError(globalObject, WTF::String::fromLatin1("Imports different between parseFromSourceCode and fallbackParse")))));
}
Expand Down
4 changes: 2 additions & 2 deletions src/jsc/bindings/BunClientData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void JSVMClientData::create(VM* vm, void* bunVM, WorkerMessagingProxy* worker)
// (~VM -> lastChanceToFinalize -> delete clientData), so the capture stays
// valid for every collection.
vm->heap.addMarkingConstraint(makeUnique<JSC::SimpleMarkingConstraint>(
"Srb", "Bun StrongRootBlocks",
"Srb"_s, "Bun StrongRootBlocks"_s,
MAKE_MARKING_CONSTRAINT_EXECUTOR_PAIR(([clientData](auto& visitor) {
JSC::SetRootMarkReasonScope rootScope(visitor, JSC::RootMarkReason::StrongHandles);
visitor.appendUnbarriered(clientData->m_strongRootBlockHead);
Expand All @@ -179,7 +179,7 @@ void JSVMClientData::create(VM* vm, void* bunVM, WorkerMessagingProxy* worker)

// The common string cache: slots filled by the JS thread, read here with the world stopped (as above).
vm->heap.addMarkingConstraint(makeUnique<JSC::SimpleMarkingConstraint>(
"Bcs", "Bun CommonStrings",
"Bcs"_s, "Bun CommonStrings"_s,
MAKE_MARKING_CONSTRAINT_EXECUTOR_PAIR(([clientData](auto& visitor) {
JSC::SetRootMarkReasonScope rootScope(visitor, JSC::RootMarkReason::StrongHandles);
clientData->commonStrings.visit(visitor);
Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/BunGCOutputConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace WebCore {
using namespace JSC;

DOMGCOutputConstraint::DOMGCOutputConstraint(VM& vm, JSHeapData& heapData)
: MarkingConstraint("Domo", "DOM Output", ConstraintVolatility::SeldomGreyed, ConstraintConcurrency::Concurrent, ConstraintParallelism::Parallel)
: MarkingConstraint("Domo"_s, "DOM Output"_s, ConstraintVolatility::SeldomGreyed, ConstraintConcurrency::Concurrent, ConstraintParallelism::Parallel)
, m_vm(vm)
, m_heapData(heapData)
, m_lastExecutionVersion(vm.heap.mutatorExecutionVersion())
Expand Down
6 changes: 3 additions & 3 deletions src/jsc/bindings/BunProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ static JSValue constructProcessReleaseObject(VM& vm, JSObject* processObject)
auto* release = JSC::constructEmptyObject(globalObject);

release->putDirect(vm, vm.propertyNames->name, jsOwnedString(vm, String("node"_s)), 0); // maybe this should be 'bun' eventually
putDirectNamed(vm, release, "sourceUrl"_s, jsOwnedString(vm, WTF::String(std::span { Bun__githubURL, strlen(Bun__githubURL) })));
putDirectNamed(vm, release, "sourceUrl"_s, jsOwnedString(vm, String::fromLatin1(Bun__githubURL)));
putDirectNamed(vm, release, "headersUrl"_s, jsOwnedString(vm, String("https://nodejs.org/download/release/v" REPORTED_NODEJS_VERSION "/node-v" REPORTED_NODEJS_VERSION "-headers.tar.gz"_s)));

RETURN_IF_EXCEPTION(scope, {});
Expand Down Expand Up @@ -3370,7 +3370,7 @@ static JSValue maybe_uid_by_name(JSC::ThrowScope& throwScope, JSGlobalObject* gl
auto str = value.getString(globalObject);
RETURN_IF_EXCEPTION(throwScope, {});
auto utf8 = str.utf8();
auto name = utf8.data();
auto name = utf8.legacyCStringPointer();
struct passwd pwd;
struct passwd* pp = nullptr;
char buf[8192];
Expand All @@ -3392,7 +3392,7 @@ static JSValue maybe_gid_by_name(JSC::ThrowScope& throwScope, JSGlobalObject* gl
auto str = value.getString(globalObject);
RETURN_IF_EXCEPTION(throwScope, {});
auto utf8 = str.utf8();
auto name = utf8.data();
auto name = utf8.legacyCStringPointer();
struct group pwd;
struct group* pp = nullptr;
char buf[8192];
Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/BunSecureContextCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SecureContextCache {
}

JSC::JSObject* get(uint64_t key) { return m_map.get(key); }
void set(uint64_t key, JSC::JSObject* value) { m_map.set(key, JSC::Weak<JSC::JSObject>(value)); }
void set(uint64_t key, JSC::JSObject* value) { m_map.set(key, value); }

private:
JSC::WeakGCMap<uint64_t, JSC::JSObject, WTF::IntHash<uint64_t>, WTF::UnsignedWithZeroKeyHashTraits<uint64_t>> m_map;
Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/CookieMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void CookieMap__writeFetchHeadersToUWSResponse(CookieMap* cookie_map, JSC
// Loop over modified cookies and write Set-Cookie headers to the response
for (auto& cookie : cookie_map->getAllChanges()) {
auto utf8 = cookie->toString(global_this->vm()).utf8();
res->writeHeader("Set-Cookie", utf8.data());
res->writeHeader("Set-Cookie", utf8.legacyCStringPointer());
}
}
extern "C" void CookieMap__write(CookieMap* cookie_map, JSC::JSGlobalObject* global_this, UWSResponseKind kind, void* arg2)
Expand Down
6 changes: 4 additions & 2 deletions src/jsc/bindings/ErrorStackFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ void adjustPositionBackwards(ZigStackFramePosition& pos, int amount, CodeBlock*
ZigStackFramePosition getAdjustedPositionForBytecode(JSC::CodeBlock* code, JSC::BytecodeIndex bc)
{
auto expr = code->expressionInfoForBytecodeIndex(bc);
// Expression info has offsets only. The provider derives the line and the column from the divot.
auto lineColumn = code->source().provider()->documentLineColumnForOffset(expr.divot);

ZigStackFramePosition pos {
.line_zero_based = OrdinalNumber::fromOneBasedInt(expr.lineColumn.line).zeroBasedInt(),
.column_zero_based = OrdinalNumber::fromOneBasedInt(expr.lineColumn.column).zeroBasedInt(),
.line_zero_based = OrdinalNumber::fromOneBasedInt(lineColumn.line).zeroBasedInt(),
.column_zero_based = OrdinalNumber::fromOneBasedInt(lineColumn.column).zeroBasedInt(),
.byte_position = (int)expr.divot,
};

Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/FuzzilliREPRL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static JSC::EncodedJSValue JSC_HOST_CALL_ATTRIBUTES functionFuzzilli(JSC::JSGlob
// the fuzzer harness).
static FILE* f = fdopen(REPRL_DWFD, "w");
if (f) {
fprintf(f, "%s\n", output.utf8().data());
fprintf(f, "%s\n", output.utf8().legacyCStringPointer());
fflush(f);
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/jsc/bindings/InspectorBunFrontendDevServerAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ class FrontendRouter;
class BackendDispatcher;
class BunFrontendDevServerFrontendDispatcher;

class InspectorBunFrontendDevServerAgent final : public InspectorAgentBase, public Inspector::BunFrontendDevServerBackendDispatcherHandler {
class InspectorBunFrontendDevServerAgent final : public InspectorAgentBase, public Inspector::BunFrontendDevServerBackendDispatcherHandler, public CanMakeThreadSafeCheckedPtr<InspectorBunFrontendDevServerAgent> {
WTF_MAKE_NONCOPYABLE(InspectorBunFrontendDevServerAgent);
WTF_MAKE_TZONE_ALLOCATED(InspectorBunFrontendDevServerAgent);
WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR(InspectorBunFrontendDevServerAgent);

public:
OVERRIDE_ABSTRACT_CAN_MAKE_CHECKEDPTR(CanMakeThreadSafeCheckedPtr);

InspectorBunFrontendDevServerAgent(JSC::JSGlobalObject&);
virtual ~InspectorBunFrontendDevServerAgent() final;

Expand Down
5 changes: 4 additions & 1 deletion src/jsc/bindings/InspectorHTTPServerAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ enum class DisconnectReason;

using AnyServerPtr = void*;

class InspectorHTTPServerAgent final : public InspectorAgentBase, public Inspector::HTTPServerBackendDispatcherHandler {
class InspectorHTTPServerAgent final : public InspectorAgentBase, public Inspector::HTTPServerBackendDispatcherHandler, public CanMakeThreadSafeCheckedPtr<InspectorHTTPServerAgent> {
WTF_MAKE_NONCOPYABLE(InspectorHTTPServerAgent);
WTF_MAKE_TZONE_ALLOCATED(InspectorHTTPServerAgent);
WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR(InspectorHTTPServerAgent);

public:
OVERRIDE_ABSTRACT_CAN_MAKE_CHECKEDPTR(CanMakeThreadSafeCheckedPtr);

InspectorHTTPServerAgent(JSC::JSGlobalObject&);
virtual ~InspectorHTTPServerAgent();

Expand Down
5 changes: 4 additions & 1 deletion src/jsc/bindings/InspectorLifecycleAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ class BackendDispatcher;
class LifecycleReporterFrontendDispatcher;
enum class DisconnectReason;

class InspectorLifecycleAgent final : public InspectorAgentBase, public Inspector::LifecycleReporterBackendDispatcherHandler {
class InspectorLifecycleAgent final : public InspectorAgentBase, public Inspector::LifecycleReporterBackendDispatcherHandler, public CanMakeThreadSafeCheckedPtr<InspectorLifecycleAgent> {
WTF_MAKE_NONCOPYABLE(InspectorLifecycleAgent);
WTF_MAKE_TZONE_ALLOCATED(InspectorLifecycleAgent);
WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR(InspectorLifecycleAgent);

public:
OVERRIDE_ABSTRACT_CAN_MAKE_CHECKEDPTR(CanMakeThreadSafeCheckedPtr);

InspectorLifecycleAgent(JSC::JSGlobalObject&);
virtual ~InspectorLifecycleAgent();

Expand Down
5 changes: 4 additions & 1 deletion src/jsc/bindings/InspectorTestReporterAgent.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ class BackendDispatcher;
class TestReporterFrontendDispatcher;
enum class DisconnectReason;

class InspectorTestReporterAgent final : public InspectorAgentBase, public Inspector::TestReporterBackendDispatcherHandler {
class InspectorTestReporterAgent final : public InspectorAgentBase, public Inspector::TestReporterBackendDispatcherHandler, public CanMakeThreadSafeCheckedPtr<InspectorTestReporterAgent> {
WTF_MAKE_NONCOPYABLE(InspectorTestReporterAgent);
WTF_MAKE_TZONE_ALLOCATED(InspectorTestReporterAgent);
WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR(InspectorTestReporterAgent);

public:
OVERRIDE_ABSTRACT_CAN_MAKE_CHECKEDPTR(CanMakeThreadSafeCheckedPtr);

InspectorTestReporterAgent(JSC::JSGlobalObject&);
virtual ~InspectorTestReporterAgent();

Expand Down
4 changes: 2 additions & 2 deletions src/jsc/bindings/InternalModuleRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static String internalModuleSource(uint32_t id)
if (!contents) {
printf("\nFATAL: bun-debug failed to load bundled version of \"%s\" at \"%s\" (was it deleted?)\n"
"Please re-compile Bun to continue.\n\n",
moduleName.utf8().span().data(), file.utf8().span().data());
moduleName.utf8().legacyCStringPointer(), file.utf8().legacyCStringPointer());
CRASH();
}
return WTF::String::fromUTF8(contents.value());
Expand Down Expand Up @@ -146,7 +146,7 @@ JSC::JSValue generateInternalModule(JSC::JSGlobalObject* globalObject, JSC::VM&
ASSERT(
result && result.isCell() && dynamicDowncast<JSObject>(result),
"Expected \"%s\" to export a JSObject. Bun is going to crash.",
moduleName.utf8().span().data());
moduleName.utf8().legacyCStringPointer());
return result;
}

Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/JS2Native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ JSC_DEFINE_HOST_FUNCTION(jsDollarLazy, (JSC::JSGlobalObject * lexicalGlobalObjec
JSC::JSValue target = callFrame->uncheckedArgument(0);

#if ASSERT_ENABLED
ASSERT_WITH_MESSAGE(target.isInt32(), "In call to $lazy: expected Int32, got %s", target.toWTFString(lexicalGlobalObject).utf8().data());
ASSERT_WITH_MESSAGE(target.isInt32(), "In call to $lazy: expected Int32, got %s", target.toWTFString(lexicalGlobalObject).utf8().legacyCStringPointer());
#endif

int id = target.asInt32();
Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/JSCommonJSModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static bool evaluateCommonJSModuleOnce(JSC::VM& vm, Zig::GlobalObject* globalObj
auto scope = DECLARE_THROW_SCOPE(vm);
SourceCode code = WTF::move(moduleObject->sourceCode);
if (JSModuleGraph* graph = moduleObject->moduleGraph(); graph && code.provider())
code = SourceCode(RefPtr<JSC::SourceProvider>(GraphCommonJSSourceProvider::create(*code.provider(), graph->overlayShape())), code.startOffset(), code.endOffset(), code.firstLine().oneBasedInt(), code.startColumn().oneBasedInt());
code = SourceCode(RefPtr<JSC::SourceProvider>(GraphCommonJSSourceProvider::create(*code.provider(), graph->overlayShape())), code.startOffset(), code.endOffset());
Comment thread
claude[bot] marked this conversation as resolved.
Resolved

// If an exception occurred somewhere else, we might have cleared the source code.
if (code.isNull()) [[unlikely]] {
Expand Down
8 changes: 4 additions & 4 deletions src/jsc/bindings/JSSecrets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ struct SecretsJobOptions {
};

Operation op;
CString service; // UTF-8 encoded, thread-safe
CString name; // UTF-8 encoded, thread-safe
CString password; // UTF-8 encoded, thread-safe (only for SET)
UTF8CString service; // thread-safe
UTF8CString name; // thread-safe
UTF8CString password; // thread-safe (only for SET)
bool allowUnrestrictedAccess = false; // Controls security vs headless access (only for SET)
Secrets::Persist persist; // Windows only (only for SET)

Expand All @@ -86,7 +86,7 @@ struct SecretsJobOptions {
std::optional<WTF::Vector<uint8_t>> resultPassword;
bool deleted = false;

SecretsJobOptions(Operation op, CString&& service, CString&& name, CString&& password, bool allowUnrestrictedAccess, Secrets::Persist persist)
SecretsJobOptions(Operation op, UTF8CString&& service, UTF8CString&& name, UTF8CString&& password, bool allowUnrestrictedAccess, Secrets::Persist persist)
: op(op)
, service(service)
, name(name)
Expand Down
2 changes: 1 addition & 1 deletion src/jsc/bindings/ModuleLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static JSC::SyntheticSourceProvider::LazySyntheticSourceGenerator generateIntern
JSValue requireResult = globalObject->internalModuleRegistry()->requireId(globalObject, vm, moduleId);
RETURN_IF_EXCEPTION(throwScope, nullptr);
auto* object = requireResult.getObject();
ASSERT_WITH_MESSAGE(object, "Expected object from requireId %s", moduleKey.string().string().utf8().data());
ASSERT_WITH_MESSAGE(object, "Expected object from requireId %s", moduleKey.string().string().utf8().legacyCStringPointer());

JSC::EnsureStillAliveScope stillAlive(object);

Expand Down
Loading
Loading