Bug 1864786 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

`nsIScriptError` has been using a mix of 0-based and 1-based column number.

bug 1864168 and bug 1864783 are going to switch some consumer of 0-based column number to 1-based.

If there's any code in DevTools that listens to `nsIScriptError`s and expects the `columnNumber` being 0-based, it should be rewritten to expect 1-based column number,
or maybe expect that "the column number is unknown".
`nsIScriptError` has been using a mix of 0-based and 1-based column number.

bug 1864168 and bug 1864783 are going to switch some consumer of 0-based column number to 1-based.

If there's any code in DevTools that listens to `nsIScriptError`s and expects the `columnNumber` being 0-based, it should be rewritten to expect 1-based column number,
or maybe expect that "the column number base is unknown".

Back to Bug 1864786 Comment 0