Skip to content

Commit

Permalink
Fix error handling in Reflect.defineProperty (#3800)
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
  • Loading branch information
szilagyiadam authored May 27, 2020
1 parent 69f8e78 commit 7a20150
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jerry-core/ecma/builtin-objects/ecma-builtin-reflect.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ ecma_builtin_reflect_dispatch_routine (uint16_t builtin_routine_id, /**< built-i
return conv_result;
}

prop_desc.flags |= ECMA_PROP_IS_THROW;

ecma_value_t result = ecma_op_object_define_own_property (obj_p,
name_str_p,
&prop_desc);
Expand Down

0 comments on commit 7a20150

Please sign in to comment.