process: maintain constructor descriptor
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
process
Description of change
Use the original property descriptor instead of just taking the value, which would previously, by default, be non-writable and non-configurable.
It didn't appear that it was intentional for process.constructor
's descriptor
to be locked down, but it was, by using a simple {value: ...}
descriptor.