forked from mirrors/gecko-dev
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
|
||
|---|---|---|
| .. | ||
| 3d_view | ||
| about_colon_debugging | ||
| accessibility_inspector | ||
| application | ||
| browser_console | ||
| browser_toolbox | ||
| custom_formatters | ||
| debugger | ||
| debugger-api | ||
| deprecated_tools | ||
| devtoolsapi | ||
| devtoolscolors | ||
| dom_property_viewer | ||
| eyedropper | ||
| index | ||
| json_viewer | ||
| keyboard_shortcuts | ||
| measure_a_portion_of_the_page | ||
| memory | ||
| migrating_from_firebug | ||
| network_monitor | ||
| page_inspector | ||
| performance | ||
| responsive_design_mode | ||
| rulers | ||
| settings | ||
| shader_editor | ||
| storage_inspector | ||
| style_editor | ||
| taking_screenshots | ||
| tips | ||
| tools_toolbox | ||
| validators | ||
| view_source | ||
| web_audio_editor | ||
| web_console | ||
| working_with_iframes | ||
| camera_button.png | ||
| close_button.png | ||
| devtools_layoutmenu.png | ||
| iframe_button.png | ||
| index.rst | ||
| just-application-panel.png | ||
| landingpage_accessibility.png | ||
| landingpage_console.png | ||
| landingpage_debugger.png | ||
| landingpage_network.png | ||
| landingpage_pageinspector.png | ||
| landingpage_performance_2022.png | ||
| landingpage_responsivedesign.png | ||
| logo-developer-quantum.png | ||
| menu_button.png | ||
| responsive_button.png | ||