chakra-core / chakra-core/ChakraCore
ChakraCore allows writing to a non-writable, non-configurable property through Annex B 3.3 edge case
Open
Bug
Severity: 2
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Test case:
```js
Object.defineProperty(this, 'f', {})
eval('{function f() {}}')
print(Object.getOwnPropertyDescriptor(this, 'f').value)
```
ChakraCore outputs the function, whereas three other engines output `undefined`. ChakraCore ignored the fact that the property was non-writable and non-configurable to get this output.
Contributor guide
Assessment
This issue has not been assessed yet.