mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Support deleteBinding for FunctionEnvironmentRecordNotIndexed
Update Spidermonkey excludelist and result Signed-off-by: Junyoung Cho <june0.cho@samsung.com>
This commit is contained in:
parent
f739987b49
commit
abea619044
6 changed files with 26 additions and 26 deletions
|
|
@ -140,7 +140,7 @@ Value Script::executeLocal(ExecutionState& state, Value thisValue, CodeBlock* pa
|
|||
size_t len = vec.size();
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
if (record->hasBinding(state, vec[i].m_name).m_index == SIZE_MAX) {
|
||||
record->createMutableBinding(state, vec[i].m_name, false);
|
||||
record->createMutableBinding(state, vec[i].m_name, true);
|
||||
}
|
||||
}
|
||||
LexicalEnvironment* newEnvironment = new LexicalEnvironment(record, state.executionContext()->lexicalEnvironment());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue