Closed Bug 307354 Opened 15 years ago Closed 4 years ago

Error Console points to wrong position in source text


(Toolkit Graveyard :: Error Console, defect)

Not set


(Not tracked)



(Reporter: peterv, Unassigned)




(2 files)

The pointer in messages in the JS console is not connected to the line and
points to the wrong position in the source text (see attached screenshot). I
believe this is because the line and the pointer are constructed with labels
(one for the line and one for the pointer) and labels get a default left and
right margin. We probably need to set the right margin on the line's label and
the left margin on the pointer's label to 0.
I only tested this on OS X with pinstripe, no idea if other platforms/themes
have the same issue.
Attached image Screenshot
I'll check it out
Assignee: nobody → kevin
Summary: Javascript console points to wrong position in source text → Error Console points to wrong position in source text
... and make sure that the caret really point to the correct location.
Assignee: kevin → zeniko
Attachment #229265 - Flags: review?(mconnor)
Attachment #229265 - Flags: review?(mconnor)
Assignee: zeniko → nobody
OS: Mac OS X → All
Hardware: Macintosh → All
Product: Firefox → Toolkit
Depends on: 490886
Blocks: 490886
No longer depends on: 490886
The Error Console has been removed in favor of the Browser Console (see Bug 1278368), and the component is going to be removed.  If this bug is also relevant in the Browser Console, please reopen and move this into Firefox -> Developer Tools: Console.
Closed: 4 years ago
Resolution: --- → WONTFIX
I am mass-reopening and re-componenting every single one of the Toolkit:Error Console bugs that appear to have been closed without anyone even *glancing* at whether they were relevant to the Browser Console.

If you want to close a whole bunch of old bugs -- FOR ANY REASON -- it is YOUR RESPONSIBILITY to check EVERY SINGLE ONE OF THEM and make sure they are no longer valid.  Do not push that work onto the bug reporters.

(It's okay to close bugs that haven't been touched in years when they don't have enough information for you to figure out whether the problem is still relevant to the current software - the reporter probably isn't coming back to clarify.  But that is the ONLY situation where it is okay.)

(I'm going to have to do this in two steps because of the way the "change several bugs at once" form works.  Apologies for the extra bugspam.)
Component: Error Console → Developer Tools: Console
Product: Toolkit → Firefox
Resolution: WONTFIX → ---
The Error Console feature was removed entirely from the tree in Bug 1278368 and the bugzilla component is now being removed. We’ve migrated bugs that seem to also affect the Browser Console into the devtools component, please move this over if it was missed.
Closed: 4 years ago4 years ago
Component: Developer Tools: Console → Error Console
Product: Firefox → Toolkit
Resolution: --- → WONTFIX
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.