mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-04 18:29:29 +02:00
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 |
||
|---|---|---|
| .. | ||
| menu | ||
| object-inspector | ||
| reps | ||
| splitter | ||
| tabs | ||
| test | ||
| throttling | ||
| tree | ||
| .eslintrc.js | ||
| Accordion.css | ||
| Accordion.js | ||
| AppErrorBoundary.css | ||
| AppErrorBoundary.js | ||
| Frame.js | ||
| HSplitBox.js | ||
| List.css | ||
| List.js | ||
| MdnLink.css | ||
| MdnLink.js | ||
| moz.build | ||
| NotificationBox.css | ||
| NotificationBox.js | ||
| SearchBox.js | ||
| SearchBoxAutocompletePopup.js | ||
| SearchModifiers.css | ||
| SearchModifiers.js | ||
| Sidebar.js | ||
| SidebarToggle.css | ||
| SidebarToggle.js | ||
| SmartTrace.css | ||
| SmartTrace.js | ||
| StackTrace.js | ||
| Tree.css | ||
| Tree.js | ||
| VirtualizedTree.js | ||
| VisibilityHandler.js | ||