forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ocha…
…meau,devtools-reviewers This includes the following API: * Debugger.Object.prototype.createSource * startColumn field of the parameter object * Debugger.Script.prototype.startColumn * return value * Debugger.Script.prototype.getPossibleBreakpoints * minColumn and maxColumn property of the query * columnNumber property of the returned array elements * Debugger.Script.prototype.getOffsetMetadata * columnNumber property of the returned array elements * Debugger.Script.prototype.getOffsetLocation * columnNumber property of the returned array elements * Debugger.Script.prototype.getAllColumnOffsets * columnNumber property of the returned array elements * Debugger.Script.prototype.getOffsetsCoverage * columnNumber property of the returned array elements * Debugger.Source.prototype.startColumn * return value This patch modifies DevTools code to convert the column number from/to 1-origin, while keep using 0-origin on their side. One exception is the WASM's column number, which had been using 1-origin 1. Each consumer in DevTools handles the WASM case, and the code can be removed once DevTools internal also switches to 1-origin column number. The other exception is to use 1-based column number in logCustomFormatterError, which is folded from bug 1864783 patch. Differential Revision: https://phabricator.services.mozilla.com/D193270
- Loading branch information
Showing
33 changed files
with
226 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.