Closed
Bug 588118
Opened 15 years ago
Closed 15 years ago
Web Console error messages display the wrong line number
Categories
(DevTools :: General, defect)
Tracking
(blocking2.0 final+)
RESOLVED
FIXED
Firefox 4.0b7
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | final+ |
People
(Reporter: dangoor, Assigned: pcwalton)
Details
(Whiteboard: [kd4b6])
Attachments
(1 file)
|
2.33 KB,
patch
|
sdwilsh
:
review+
pcwalton
:
feedback+
|
Details | Diff | Splinter Review |
I just added an error to a file:
14:44:33:643: Exception: foo is not defined Source File: file:///Users/admin/projects/bugzilla/bugreport.html Line: 0, Column: 54 Category: content javascript
The error is on line 54, not column 54.
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Attachment #468305 -
Flags: feedback?(pwalton)
| Reporter | ||
Updated•15 years ago
|
Whiteboard: [kd4b5] → [kd4b6]
| Assignee | ||
Updated•15 years ago
|
Attachment #468305 -
Flags: feedback?(pwalton) → feedback+
| Assignee | ||
Comment 3•15 years ago
|
||
LGTM, f=me
Updated•15 years ago
|
OS: Mac OS X → All
Updated•15 years ago
|
Attachment #468305 -
Flags: review?(sdwilsh)
Comment 4•15 years ago
|
||
blatantly lying to users of a debugging tool is a terrible, terrible thing. This blocks final.
blocking2.0: --- → final+
Comment 5•15 years ago
|
||
Comment on attachment 468305 [details] [diff] [review]
Patch v1
>+ var lineColSubs = [aActivityObject.lineNumber,
>+ aActivityObject.columnNumber];
> var lineCol = this.getFormatStr("errLineCol", lineColSubs);
Adding a comment here about the correct format would be useful.
r=sdwilsh
Attachment #468305 -
Flags: review?(sdwilsh) → review+
| Reporter | ||
Updated•15 years ago
|
Assignee: jviereck → pwalton
Comment 6•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Target Milestone: --- → Firefox 4.0b6
Updated•15 years ago
|
Flags: in-testsuite+
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•