gecko-dev/devtools/client/shared/components
Nicolas Chevobbe 65efa92222 Bug 1010150 - [devtools] Allow to pretty-print inline scripts. r=devtools-reviewers,ochameau.
To do this, we need to only have a single SourceMapGenerator instance for all
the inline scripts of an HTML file, for which we add mappings with offsets based
on where the inline script is in the HTML file.

To support that, we add a new prettyPrintInlineScript task, which takes a taskId
so we can have one SourceMapGenerator for a given taskId, that we then pass
to prettyFast.

A test is added to ensure different cases of inline scripts are pretty printed
as expected, that resulting console messages location are updated and that the
event tooltip in the inspector shows the pretty file as well.

`findColumnBreakpoint` helper was fixed to look into the correct location for
original file (which pretty-printed file are)
`assertLineIsBreakable` is modified to show the text of the line so it's easier
to debug failures.

Differential Revision: https://phabricator.services.mozilla.com/D170751
2023-03-22 22:02:10 +00:00
..
menu
object-inspector
reps Bug 1822488 - [devtools] Display stacks when logging Component.Exception objects. r=devtools-reviewers,nchevobbe 2023-03-20 08:55:28 +00:00
splitter
tabs
test Bug 1777608 - [devtools] Change how we render cropped URLs in String rep. r=bomsy. 2023-02-13 16:01:21 +00:00
throttling
tree
.eslintrc.js
Accordion.css
Accordion.js
AppErrorBoundary.css
AppErrorBoundary.js
Frame.js Bug 1010150 - [devtools] Allow to pretty-print inline scripts. r=devtools-reviewers,ochameau. 2023-03-22 22:02:10 +00:00
HSplitBox.js
List.css
List.js
MdnLink.css
MdnLink.js
moz.build Bug 1811004 - [devtools] Make the search modifiers a shared component r=ochameau 2023-02-20 08:48:59 +00:00
NotificationBox.css
NotificationBox.js
SearchBox.js
SearchBoxAutocompletePopup.js
SearchModifiers.css Bug 1811004 - [devtools] Make the search modifiers a shared component r=ochameau 2023-02-20 08:48:59 +00:00
SearchModifiers.js Bug 1818962 - [devtools] Refactor search modifiers actions and reducers r=ochameau,devtools-reviewers 2023-03-18 18:59:47 +00:00
Sidebar.js
SidebarToggle.css
SidebarToggle.js
SmartTrace.css Backed out changeset 34c1c9be027d (bug 1769534) for causing bug 1801186. 2023-01-12 08:50:27 -05:00
SmartTrace.js
StackTrace.js
Tree.css
Tree.js
VirtualizedTree.js
VisibilityHandler.js