| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 4d69f8407f4fb4e9bff20bd174b8cb848d824fe6..50beafa8e05ed0b3b7528d7bc524e52bc9aa5349 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -407,6 +407,8 @@ void Genesis::SetFunctionInstanceDescriptor(
|
| }
|
| PropertyAttributes attribs = static_cast<PropertyAttributes>(
|
| DONT_ENUM | DONT_DELETE | READ_ONLY);
|
| + PropertyAttributes ro_configurable_attribs =
|
| + static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY);
|
| map->set_instance_descriptors(*descriptors);
|
|
|
| { // Add length.
|
| @@ -414,7 +416,8 @@ void Genesis::SetFunctionInstanceDescriptor(
|
| map->AppendDescriptor(&d, witness);
|
| }
|
| { // Add name.
|
| - CallbacksDescriptor d(*factory()->name_string(), *name, attribs);
|
| + CallbacksDescriptor d(*factory()->name_string(), *name,
|
| + ro_configurable_attribs);
|
| map->AppendDescriptor(&d, witness);
|
| }
|
| { // Add arguments.
|
| @@ -547,6 +550,8 @@ void Genesis::SetStrictFunctionInstanceDescriptor(
|
| static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE);
|
| PropertyAttributes ro_attribs =
|
| static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY);
|
| + PropertyAttributes ro_configurable_attribs =
|
| + static_cast<PropertyAttributes>(DONT_ENUM | READ_ONLY);
|
| map->set_instance_descriptors(*descriptors);
|
|
|
| { // Add length.
|
| @@ -554,7 +559,8 @@ void Genesis::SetStrictFunctionInstanceDescriptor(
|
| map->AppendDescriptor(&d, witness);
|
| }
|
| { // Add name.
|
| - CallbacksDescriptor d(*factory()->name_string(), *name, rw_attribs);
|
| + CallbacksDescriptor d(*factory()->name_string(), *name,
|
| + ro_configurable_attribs);
|
| map->AppendDescriptor(&d, witness);
|
| }
|
| { // Add arguments.
|
|
|