Closed
Bug 15992
Opened 26 years ago
Closed 26 years ago
line breaks within script and style elements not counting
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: dbaron, Assigned: harishd)
References
()
Details
Attachments
(3 files)
DESCRIPTION: Line breaks that occur within (prior) script elements or within
style elements are not counting towards the line numbers reported in javascript
errors.
I am marking severity as 'blocker' because this blocks developers from using
Mozilla to develop JS. See also related bugs: bug 8045, bug 10593.
STEPS TO REPRODUCE:
* Load attached test case (either one). The first test case does not have a
style element, the second one does.
I will also attach a version of the above URL that has similar comments.
EXPECTED RESULTS:
* Each javascript error in the test window should give the same line number
given by the dump() statement just before the error.
ACTUAL RESULTS:
* The line numbers are all too low.
DOES NOT WORK CORRECTLY ON:
* Linux, viewer, 1999-10-08-08-M11.
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
| Reporter | ||
Comment 3•26 years ago
|
||
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•26 years ago
|
||
This seems fixed from the first two attachments, but the third attachment still
doesn't work (all the errors are 21 lines too low). A separate bug should
probably be filed unless one of the other bugs on incorrect line numbers is
still open and it's a dup...
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 7•26 years ago
|
||
Remaining bug filed as bug 16934. Otherwise, verified fixed Linux apprunner
1999-10-20-11-M11.
You need to log in
before you can comment on or make changes to this bug.
Description
•