mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
Implement process.report.getReport() (#7171)
* Prevent assertion failure * Implement process.report.getReport() * Update process.test.js * } * Update BunProcess.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -105,8 +105,9 @@ JSC_DEFINE_CUSTOM_SETTER(jsTimeZoneEnvironmentVariableSetter, (JSGlobalObject *
|
||||
auto privateName = builtinNames->dataPrivateName();
|
||||
object->putDirect(vm, privateName, JSValue::decode(value), 0);
|
||||
|
||||
// TODO: this is an assertion failure
|
||||
// Recreate this because the property visibility needs to be set correctly
|
||||
object->putDirectCustomAccessor(vm, propertyName, JSC::CustomGetterSetter::create(vm, jsTimeZoneEnvironmentVariableGetter, jsTimeZoneEnvironmentVariableSetter), JSC::PropertyAttribute::CustomAccessor | 0);
|
||||
// object->putDirectWithoutTransition(vm, propertyName, JSC::CustomGetterSetter::create(vm, jsTimeZoneEnvironmentVariableGetter, jsTimeZoneEnvironmentVariableSetter), JSC::PropertyAttribute::CustomAccessor | 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user