Skip to content

Commit 7a20150

Browse files
authored
Fix error handling in Reflect.defineProperty (#3800)
JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
1 parent 69f8e78 commit 7a20150

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jerry-core/ecma/builtin-objects/ecma-builtin-reflect.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,6 @@ ecma_builtin_reflect_dispatch_routine (uint16_t builtin_routine_id, /**< built-i
278278
return conv_result;
279279
}
280280

281-
prop_desc.flags |= ECMA_PROP_IS_THROW;
282-
283281
ecma_value_t result = ecma_op_object_define_own_property (obj_p,
284282
name_str_p,
285283
&prop_desc);

0 commit comments

Comments
 (0)