My favorites | Sign in
Project Home Wiki Issues
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 5366: "message" property of Error is incorrectly displayed in Script/Watch panel
1 person starred this issue and may be notified of changes. Back to list
Status:  Triaged
Owner:  ----

Sign in to add a comment
Reported by, Apr 4, 2012
The bug is quite trivial, but worth correcting quickly IMO.

When inspecting a custom error created through new Error("someMessage") in Firebug, it shows incorrect value of the e.message property: preceded by "Error :" prefix.

So, e.message == "someMessage" while Firebug shows it as "Error: someMessage".

Firebug version: 1.9.1
Browser version: 11.0
Operating system: Win XP

Tested on clean profile.
32.8 KB   View   Download
101 bytes   View   Download
Apr 4, 2012
It's not just that. If you add "e.message" as watch expression, the displayed properties change.
Though I don't know yet if that's caused by the same problem.

Status: Triaged
Labels: Type-Defect watch 1.9.1 Test-case-available
Apr 5, 2012
I posted another bug I experienced in issue 5369. Maybe they are related.

Mar 23, 2013
Project Member #3
(No comment was entered for this change.)
Apr 4, 2013
Project Member #4
(No comment was entered for this change.)
Sign in to add a comment

Powered by Google Project Hosting