Open Bug 1144340 Opened 10 years ago Updated 1 year ago

[meta] SpiderMonkey should store 1-based column numbers internally

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: fitzgen, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: meta)

Attachments

(1 obsolete file)

SpiderMonkey (and all other browsers) use 1-based column numbers in error.stack, but we store it as 0-based internally. Changing the way we store it is fairly easy, but tests are really annoying to update. Especially since there are third party shared tests. This patch changed the storage, but not all the tests: https://bugzilla.mozilla.org/attachment.cgi?id=8578427 Could probably use it as a starting point for actually fixing this bug.
Attachment #8771733 - Attachment is obsolete: true
Attachment #8771733 - Flags: review?(bzbarsky)
QA Contact: ealvarez
Blocks: 1620583
Severity: normal → S3
Depends on: 1746374
Depends on: 1847469
Depends on: 1848467
Keywords: meta
OS: macOS → Unspecified
Hardware: x86 → Unspecified
Summary: SpiderMonkey should store 1-based column numbers internally → [meta] SpiderMonkey should store 1-based column numbers internally
Depends on: 1861309
Depends on: 1862627
Depends on: 1862692
Depends on: 1862693
Depends on: 1862814
Depends on: 1863878
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: