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)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

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.
Assignee: vidur → harishd
This could be my bug!!! Assigning to myself.
Target Milestone: M11
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Rectified the glitch..
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...
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: