Closed Bug 1848467 Opened 1 year ago Closed 1 year ago

Investigate the use of column 0 in 1-origin column

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Column number 0 is used as initial value or some kind of default value for 1-origin column number in some places.
Unless there's special reason, it's better using column number 1 instead.
If there's special reason, it's better adding the comment to js/public/ColumnNumber.h file which is going to be added by bug 1847469.

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/c9209de1effc Part 1: Use column 1 in 1-origin in differential testing. r=iain https://hg.mozilla.org/integration/autoland/rev/ec2d440c42db Part 2: Use column 1 in 1-origin as fallback value in js::ErrorObject. r=iain https://hg.mozilla.org/integration/autoland/rev/3b711b616b8d Part 3: Use column 1 for TaggedColumnNumberOneOrigin initial value. r=iain https://hg.mozilla.org/integration/autoland/rev/dbf901159b35 Part 4: Assert 0 value is not used for 1-origin column number. r=iain
Regressions: 1864257
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: