Closed Bug 207748 Opened 21 years ago Closed 21 years ago

line statement is wrong

Categories

(Core Graveyard :: Error Console, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: marc.bau, Assigned: hewitt)

References

Details

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
please, could you provide a test-case to prove the problem?
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
i'm not a javascript progger - i only found this bug.
Depends on: 208030
I'm confirming bug as I've seen this behaviour before....however, see my next
message.
Status: UNCONFIRMED → NEW
Ever confirmed: true
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
Closed: 21 years ago
Resolution: --- → WORKSFORME
Product: Core → SeaMonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.