Closed Bug 1862814 Opened 11 months ago Closed 10 months ago

Use 1-origin column number for observable script position

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

bug 1862692 will fix the underlying data representation to use 1-origin column number, while keeping the observable column number as 0-origin.
This bug is to change the script position in error message, error stack, etc, into 1-origin.

Depends on: 1864155
Depends on: 1864168
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED

The "OneOrigin" name should be kept in the class names and method names until
the remaining part of Gecko and DevTools are also migrated to 1-origin,
in order to clarify where the conversion is necessary.

Depends on D193378

No longer depends on: 1864257
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/8ee94e5e79c2 Part 1: Use 1-origin column number in Reflect.parse. r=iain https://hg.mozilla.org/integration/autoland/rev/1378502e64b0 Part 2: Use 1-origin column number in script-related dump. r=iain https://hg.mozilla.org/integration/autoland/rev/e340886ce62a Part 3: Use 1-origin column number in JitSpew. r=iain https://hg.mozilla.org/integration/autoland/rev/a679b50dc4a9 Part 4: Use 1-origin column number in testing function compile options. r=iain https://hg.mozilla.org/integration/autoland/rev/ab38141e470b Part 5: Remove zeroOriginValue methods from column number classes. r=iain
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/78f9d23245a7 Part 1: Use 1-origin column number in Reflect.parse. r=iain https://hg.mozilla.org/integration/autoland/rev/aeafc420949c Part 2: Use 1-origin column number in script-related dump. r=iain https://hg.mozilla.org/integration/autoland/rev/b800850c4a47 Part 3: Use 1-origin column number in JitSpew. r=iain https://hg.mozilla.org/integration/autoland/rev/d55df96a49a2 Part 4: Use 1-origin column number in testing function compile options. r=iain https://hg.mozilla.org/integration/autoland/rev/da7b4bde2fd3 Part 5: Remove zeroOriginValue methods from column number classes. r=iain
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: