My favorites | Sign in
Project Home Wiki Issues
New issue   Search
for
  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:  ----
Cc:  odva...@gmail.com, sebastia...@gmail.com


Sign in to add a comment
 
Reported by jakub.gi...@gmail.com, 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.
fbug-bug-e-message.PNG
32.8 KB   View   Download
throw.html
101 bytes   View   Download
Apr 4, 2012
#1 sebastia...@gmx.de
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.

Sebastian
Status: Triaged
Cc: sebastia...@gmx.de odva...@gmail.com
Labels: Type-Defect watch 1.9.1 Test-case-available
Apr 5, 2012
#2 sebastia...@gmx.de
I posted another bug I experienced in issue 5369. Maybe they are related.

Sebastian
Mar 23, 2013
Project Member #3 sebastia...@gmail.com
(No comment was entered for this change.)
Cc: sebastia...@gmail.com
Apr 4, 2013
Project Member #4 sebastia...@gmail.com
(No comment was entered for this change.)
Cc: -sebastia...@gmx.de
Sign in to add a comment

Powered by Google Project Hosting