gecko-dev/devtools/server/actors
Tooru Fujisawa c52958574f Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,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
2023-11-22 12:31:30 +00:00
..
accessibility Bug 1800787 - [devtools] Accessibility picker: Hit test using sub-document/panel Accessible if the target is inside a sub-document/panel. r=ayeddi,devtools-reviewers,nchevobbe 2023-10-09 06:02:08 +00:00
addon Bug 1837185 - Use realistic loader in test_webext_apis.js + fix failures r=devtools-reviewers,jdescottes 2023-06-08 13:12:41 +00:00
compatibility Bug 1859873 - batch 13 xpcshell.ini -> .toml. r=aryx,devtools-reviewers,profiler-reviewers 2023-11-21 12:32:50 +00:00
descriptors Bug 1837185 - Correct loader for extension imports in WebExtension descriptor +tests r=rpl,devtools-reviewers,jdescottes 2023-06-08 13:12:41 +00:00
emulation Bug 1564391 - Rename internal uses of `mozInputSource`. r=emilio,pip-reviewers,tabbrowser-reviewers,dao,kpatenio 2023-07-26 09:27:45 +00:00
highlighters Bug 1823475 - Drop DefaultPosition and omit "at <position>" if it is not specified. r=devtools-reviewers,emilio 2023-09-26 21:05:20 +00:00
inspector Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
network-monitor Bug 1824658 - [devtools] Resend requests should inherit principals r=jdescottes,sefeng,devtools-reviewers 2023-08-07 04:49:47 +00:00
object Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
resources Bug 1651522 - [devtools] Implement server side Service Worker targets. r=devtools-reviewers,nchevobbe 2023-11-21 09:17:31 +00:00
targets Bug 1651522 - [devtools] Implement server side Service Worker targets. r=devtools-reviewers,nchevobbe 2023-11-21 09:17:31 +00:00
utils Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
watcher Bug 1651522 - [devtools] Filter the service workers by domain. r=devtools-reviewers,nchevobbe 2023-11-21 09:17:32 +00:00
webconsole Bug 1861142 - [devtools] Better handle exception while parsing console commands. r=devtools-reviewers,nchevobbe 2023-11-03 09:40:30 +00:00
worker Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
animation-type-longhand.js Bug 1862061 - Remove -moz-font-smoothing-background-color. r=gfx-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,gw 2023-11-01 09:14:29 +00:00
animation.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
array-buffer.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
blackboxing.js Bug 1861943 - [devtools] Introduce a server side method to set all data entry values in one call. r=devtools-reviewers,nchevobbe 2023-11-06 12:37:24 +00:00
breakpoint-list.js Bug 1861943 - [devtools] Introduce a server side method to set all data entry values in one call. r=devtools-reviewers,nchevobbe 2023-11-06 12:37:24 +00:00
breakpoint.js Bug 1835629 - [devtools] Disable breakpoints when evaluating conditional breakpoints and ensure notifying about exception in all cases. r=devtools-reviewers,nchevobbe 2023-06-29 19:41:46 +00:00
changes.js Bug 1813478 - [devtools] Migrate target actors to ES Classes. r=devtools-reviewers,nchevobbe 2023-02-07 10:37:00 +00:00
common.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
css-properties.js Bug 1847753 - [devtools] Stop storing pseudo elements in properties-db. r=devtools-reviewers,nchevobbe 2023-08-09 13:30:40 +00:00
device.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
environment.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
errordocs.js Bug 1707974 - Improve error message for mismatched field placement r=mgaudet,devtools-reviewers 2023-07-20 17:25:22 +00:00
frame.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
heap-snapshot-file.js Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
highlighters.js Bug 1827565 Extract viewport size information from RulerHighlighter into its own class: ViewportSizeHighlighter r=jdescottes,devtools-reviewers 2023-05-23 16:36:43 +00:00
layout.js Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
manifest.js Bug 1829608 - Convert dom/manifest to ES modules. r=geckoview-reviewers,devtools-reviewers,m_kato,emilio 2023-05-10 10:50:32 +00:00
memory.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
moz.build Bug 1824886 - Rewrite AnonymousContent to use a shadow tree. r=smaug,TYLin,sfoster,devtools-reviewers,nchevobbe 2023-07-09 11:34:05 +00:00
object.js Bug 1857722 - [devtools] Handle Proxy objects in custom formatter. r=devtools-reviewers,ochameau. 2023-10-27 05:46:28 +00:00
page-style.js Bug 1776831 - [devtools] Fix race condition when adding new rule from the UI. r=devtools-reviewers,ochameau. 2023-09-11 15:32:29 +00:00
pause-scoped.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
perf.js Bug 1811853 - Merge gecko-profiler-interface.js into the perf actor r=jdescottes,canaltinova 2023-02-13 16:46:38 +00:00
preference.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
process.js Bug 1813476 - [devtools] Convert a few non-actor code to ES Classes. r=devtools-reviewers,nchevobbe 2023-01-31 16:50:11 +00:00
reflow.js Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
root.js Bug 1578220 - [devtools] Allow disabling debugger statement by a toggle in the breakpoints panel. r=devtools-reviewers,nchevobbe 2023-11-17 16:05:04 +00:00
screenshot-content.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
screenshot.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
source.js Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
string.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
style-rule.js Bug 1865016 - [devtools] Avoid using deprecated CSSRule#type. r=devtools-reviewers,ochameau. 2023-11-22 09:37:37 +00:00
style-sheets.js Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes 2023-01-31 16:50:10 +00:00
target-configuration.js Bug 1861943 - [devtools] Introduce a server side method to set all data entry values in one call. r=devtools-reviewers,nchevobbe 2023-11-06 12:37:24 +00:00
thread-configuration.js Bug 1578220 - [devtools] Allow disabling debugger statement by a toggle in the breakpoints panel. r=devtools-reviewers,nchevobbe 2023-11-17 16:05:04 +00:00
thread.js Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
tracer.js Bug 1862693 - Use 1-origin column number in debugger API. r=iain,ochameau,devtools-reviewers 2023-11-22 12:31:30 +00:00
watcher.js Bug 1651522 - [devtools] Filter the service workers by domain. r=devtools-reviewers,nchevobbe 2023-11-21 09:17:32 +00:00
webbrowser.js Bug 1837185 - Use realistic loader in test_webext_apis.js + fix failures r=devtools-reviewers,jdescottes 2023-06-08 13:12:41 +00:00
webconsole.js Bug 1835629 - [devtools] Prevent pausing and showing source of any internal devtools evaluation. r=devtools-reviewers,devtools-backward-compat-reviewers,nchevobbe 2023-06-29 19:41:46 +00:00