Changing value of CompactProfileError built-in's 'length' property to 0.
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
*/
|
*/
|
||||||
ecma_completion_value_t
|
ecma_completion_value_t
|
||||||
ecma_builtin_compact_profile_error_dispatch_call (ecma_value_t *arguments_list_p, /**< arguments list */
|
ecma_builtin_compact_profile_error_dispatch_call (ecma_value_t *arguments_list_p, /**< arguments list */
|
||||||
ecma_length_t arguments_list_len) /**< number of arguments */
|
ecma_length_t arguments_list_len) /**< number of arguments */
|
||||||
{
|
{
|
||||||
JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL);
|
JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL);
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ ecma_builtin_compact_profile_error_dispatch_call (ecma_value_t *arguments_list_p
|
|||||||
*/
|
*/
|
||||||
ecma_completion_value_t
|
ecma_completion_value_t
|
||||||
ecma_builtin_compact_profile_error_dispatch_construct (ecma_value_t *arguments_list_p, /**< arguments list */
|
ecma_builtin_compact_profile_error_dispatch_construct (ecma_value_t *arguments_list_p, /**< arguments list */
|
||||||
ecma_length_t arguments_list_len) /**< number of arguments */
|
ecma_length_t arguments_list_len) /**< number of arguments */
|
||||||
{
|
{
|
||||||
JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL);
|
JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL);
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ OBJECT_ID (ECMA_BUILTIN_ID_COMPACT_PROFILE_ERROR)
|
|||||||
* (property name, number value, writable, enumerable, configurable) */
|
* (property name, number value, writable, enumerable, configurable) */
|
||||||
|
|
||||||
NUMBER_VALUE (ECMA_MAGIC_STRING_LENGTH,
|
NUMBER_VALUE (ECMA_MAGIC_STRING_LENGTH,
|
||||||
1,
|
0,
|
||||||
ECMA_PROPERTY_NOT_WRITABLE,
|
ECMA_PROPERTY_NOT_WRITABLE,
|
||||||
ECMA_PROPERTY_NOT_ENUMERABLE,
|
ECMA_PROPERTY_NOT_ENUMERABLE,
|
||||||
ECMA_PROPERTY_NOT_CONFIGURABLE)
|
ECMA_PROPERTY_NOT_CONFIGURABLE)
|
||||||
|
|||||||
Reference in New Issue
Block a user