-
- Downloads
Bug 1825208 - [devtools] Fix pretty printing inline script on first line....
Bug 1825208 - [devtools] Fix pretty printing inline script on first line. r=devtools-reviewers,ochameau. If a `<script>` is on the first line of the HTML file, we were miscalculating its position in the HTML file because there is not previous line breaks. A test case is added to fix this. Differential Revision: https://phabricator.services.mozilla.com/D173929
Showing
- devtools/client/debugger/src/actions/sources/prettyPrint.js 3 additions, 3 deletionsdevtools/client/debugger/src/actions/sources/prettyPrint.js
- devtools/client/debugger/test/mochitest/browser_dbg-pretty-print-inline-scripts.js 29 additions, 0 deletions...test/mochitest/browser_dbg-pretty-print-inline-scripts.js
- devtools/client/debugger/test/mochitest/shared-head.js 1 addition, 1 deletiondevtools/client/debugger/test/mochitest/shared-head.js
- devtools/server/actors/thread.js 3 additions, 1 deletiondevtools/server/actors/thread.js
Loading
Please register or sign in to comment