[node compat] Fix bug with process.title

This commit is contained in:
Jarred Sumner
2022-07-28 04:03:49 -07:00
parent 5cf39ef6c5
commit 97cd944237

View File

@@ -205,7 +205,7 @@ void Process::finishCreation(JSC::VM& vm)
JSC::CustomGetterSetter::create(vm, Process_getPPID, nullptr),
static_cast<unsigned>(JSC::PropertyAttribute::CustomValue));
putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "dlopen"_s),
putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "title"_s),
JSC::CustomGetterSetter::create(vm, Process_getTitle, Process_setTitle),
static_cast<unsigned>(JSC::PropertyAttribute::CustomValue));