Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15533 closed defect (fixed)

Errors created with dojo/errors/create don't have "message" property

Reported by: Bryan Forbes Owned by:
Priority: high Milestone: 1.8
Component: General Version: 1.7.3rc1
Keywords: Cc:
Blocked By: Blocking:

Description

In Chrome, Error.call(this, message) returns a new object rather than operating on |this|. In order to get the properties set, you have to copy them off of the returned object onto |this|.

Change History (5)

comment:1 Changed 7 years ago by Bryan Forbes

Milestone: tbd1.8
Priority: undecidedhigh

comment:2 Changed 7 years ago by Bryan Forbes

In [28924]:

Copy properties off of returned object from Error.call(). refs #15533 !strict

comment:3 Changed 7 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

comment:4 Changed 7 years ago by Bryan Forbes

In [28926]:

Fix typo. refs #15533 !strict

comment:5 Changed 7 years ago by Bryan Forbes

In [28929]:

Fix for non-enumerable "messages" property. refs #15533 !strict

Note: See TracTickets for help on using tickets.