line statement is wrong

RESOLVED WORKSFORME

Status

--
major
RESOLVED WORKSFORME
16 years ago
9 years ago

People

(Reporter: marc.bau, Assigned: hewitt)

Tracking

Trunk
x86
Windows XP
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030529
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.4) Gecko/20030529

if a error in a javascript exist, the line displayed is wrong. for e.g. the it
states warning in line 1240 and the real line is something around line 1257

Reproducible: Always

Steps to Reproduce:
1. produce error
2. view source
3. cut and paste to editor displaying line numbers
4. search for the erroring line

Actual Results:  
wrong line is stated

Expected Results:  
the real erroring line number

Comment 1

16 years ago
please, could you provide a test-case to prove the problem?
(Reporter)

Comment 2

16 years ago
0. Start the JavaScript Console
1. open http://www.e-domizil.de/frontend/index.cfm?language=gb
2. go to Advanced search
3. cut and paste the source to a editor displaying lines
4. for e.g. see the first warning "assignment to undeclared variable laender" -
 states line 474 (html part) but i see the undefinded variable in line 503 
(javascript part)
Probably bug 137315.

In any case, the JS console just reports whatever the JS engine tells it, so
this is a bug in either the parser or the JS engine; a minimal testcase is
needed to tell for sure.
Depends on: 137315
(Reporter)

Comment 4

16 years ago
i'm not a javascript progger - i only found this bug.

Comment 5

16 years ago
I'm confirming bug as I've seen this behaviour before....however, see my next
message.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 6

16 years ago
Two things. This WFM with Mozilla 1.5a official downloaded (not built on my PC)
release. Also, I agree that this might be a dup of Bug #137315, however, with my
statement about 1.5a, marking WFM.

Oh, and I'm running Win XP for testing this.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → SeaMonkey

Updated

9 years ago
Component: Error Console → Error Console
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.