Commit Graph
36 Commits
Author SHA1 Message Date
Julian Descottes 253fe905a8 Bug 1756763 - [devtools] Update validation for sourcemap resources fetching r=dveditz,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D141231
2022-03-22 11:43:00 +00:00
Julian Descottes d55f87f0ba Bug 1755434 - [devtools] Remove debugger devtools-utils package r=bomsy
No significant gain to expect as we are mostly moving things around, but this could reduce the confusion around the debugger.

Differential Revision: https://phabricator.services.mozilla.com/D138759
2022-03-01 19:55:39 +00:00
Manuel Carretero 4a54a3098e Bug 1575105 - Removed transform-flow-strip-types references. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D112423
2021-04-18 11:59:05 +00:00
Alexandre Poirot 6d35489cda Bug 1690742 - [devtools] - Strip flow from the debugger sources. r=nchevobbe,bomsy
This is a mixed of automated and manual changes.
See abandoned revisions on phabricator for a detailed breakdown.

Differential Revision: https://phabricator.services.mozilla.com/D105324
2021-02-22 10:48:52 +00:00
Nicolas Chevobbe 6072e10d6f Bug 1667778 - [devtools] Remove mentions of launchpad in debugger. r=jdescottes.
This removes the few mentions of the launchpad that were
still existing in the debugger codebase.
We take this as an opportunity to use the #mount element
as the root of the React app (instead of creating a new
div for it).

Depends on D96384

Differential Revision: https://phabricator.services.mozilla.com/D96513
2020-11-10 13:05:24 +00:00
Logan Smyth b2a2d925f0 Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72115
2020-04-27 02:17:02 +00:00
Cosmin Sabou 9ac5d4d34a Backed out 6 changesets (bug 1470768, bug 1607639) for causing xpc failures on xpcshell/test_objectgrips-13.js. CLOSED TREE
Backed out changeset 15642af7fdbd (bug 1607639)
Backed out changeset 53565f45e275 (bug 1607639)
Backed out changeset 9f1749c622fe (bug 1607639)
Backed out changeset 747efa62d7d6 (bug 1607639)
Backed out changeset 10d0aed39069 (bug 1607639)
Backed out changeset 70aa92ce25b7 (bug 1470768)
2020-04-24 10:27:28 +03:00
Logan Smyth 6690baa1dd Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72115
2020-04-24 06:15:13 +00:00
Andrew Nicols 08989e879e Bug 1556903 - Return null when source not found. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33755
2020-04-09 03:12:44 +00:00
Logan Smyth c819777755 Bug 1598309 - Part 2: Avoid leaking memory for sourcemap loading. r=jlast
Depends on D69930

Differential Revision: https://phabricator.services.mozilla.com/D69931
2020-04-07 17:06:15 +00:00
Logan Smyth 6491091492 Bug 1607559 - Part 2: Avoid perf issue with data: URLs for inlined source-maps. r=jlast
Depends on D69933

Differential Revision: https://phabricator.services.mozilla.com/D69934
2020-04-07 17:06:56 +00:00
Ed Lee 361cbdb4a5 Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128
2020-03-13 23:38:52 +00:00
Sorin Davidoi 62275131cb Bug 1588637 - perf: Reduce memory allocation, avoid regular expressions and layout trashing r=davidwalsh
Apply the following optimizations:
 - Don't use regular expressions where they can be avoided
 - Reduce unnecessary memory allocations (e.g. avoid doing a map and a filter by writing the code in an imperative fashion)
 - Reduce layout trashing by using `rAF` and `setTimeout`
 - Perform cheaper checks first in conditional statements

See commit messages for more details.

Differential Revision: https://phabricator.services.mozilla.com/D49214
2019-10-16 18:44:13 +00:00
Logan Smyth 87445c3922 Bug 1541633 - Part 3: Reduce the amount of data passed to the source-map worker functions. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42935
2019-08-23 14:34:42 +00:00
Logan Smyth ad730129ff Bug 1541633 - Part 2: Give workers a way to cleanly pass metadata about errors to callers. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42934
2019-08-23 14:33:16 +00:00
Logan Smyth 43d94b9c57 Bug 1541633 - Part 1: Move original ID generation into the source-map worker. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42933
2019-08-23 14:32:36 +00:00
Cosmin Sabou deda0cffca Backed out 5 changesets (bug 1541633) for devtools failures on browser_dbg-sourcemapped-breakpoint-console.js.
Backed out changeset 35fe7c48b49a (bug 1541633)
Backed out changeset 59019ae6bf3f (bug 1541633)
Backed out changeset 44ea34f63223 (bug 1541633)
Backed out changeset a8378192e3b6 (bug 1541633)
Backed out changeset de895ee6de42 (bug 1541633)
2019-08-22 10:13:47 +03:00
Logan Smyth 3432b7823b Bug 1541633 - Part 3: Reduce the amount of data passed to the source-map worker functions. r=jlast
Depends on D42934

Differential Revision: https://phabricator.services.mozilla.com/D42935
2019-08-21 20:21:07 +00:00
Logan Smyth ec7134401a Bug 1541633 - Part 2: Give workers a way to cleanly pass metadata about errors to callers. r=jlast
Depends on D42933

Differential Revision: https://phabricator.services.mozilla.com/D42934
2019-08-21 20:19:08 +00:00
Logan Smyth 227422e654 Bug 1541633 - Part 1: Move original ID generation into the source-map worker. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42933
2019-08-21 20:18:18 +00:00
Yury Delendik c2487861b9 Bug 1560209 - Display original variables in WebAssembly when DWARF is provided. r=jlast
* Use XScopes data to display original varaibles (prototype)
* Move DWARF debugger logic to the separate package.

Differential Revision: https://phabricator.services.mozilla.com/D35367
2019-06-21 20:53:57 +00:00
Yury Delendik ebd70df57a Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

Differential Revision: https://phabricator.services.mozilla.com/D33092
2019-06-13 18:02:14 +00:00
Dorel Luca ca259f98d9 Backed out changeset 95ffb38f6a64 (bug 1555518) for Debugger failure. CLOSED TREE 2019-05-31 18:17:11 +03:00
Yury Delendik ad2641adb1 Bug 1555518 - Fixes original stack display for wasm files, and ref to original source. r=jlast
- Fixes expandFrames() to ensure the thread property is set
- Refactors getSourceLocationFromMouseEvent to use fromEditorLine
- Replaces dwarf_to_json (for proper DWARF conversion)

Differential Revision: https://phabricator.services.mozilla.com/D33092
2019-05-30 01:01:19 +00:00
Yury Delendik 9f6544b7cb Bug 1554180 - Use devtools-mc-assets version of dwarf_to_json.wasm r=jlast
Debugger fails with current version of dwarf_to_json.wasm. Using proper version
fixes it when DWARF is used as source maps.

Differential Revision: https://phabricator.services.mozilla.com/D32392
2019-05-24 14:22:40 +00:00
Victor Porof 9e5851f8d5 Bug 1551218 - Part 4: Manually reformat the debugger where autofix wasn't possible, r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30929
2019-05-17 15:51:55 +00:00
Victor Porof 957bf9fc56 Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30928
2019-05-17 15:51:36 +00:00
Jason Laster 18adaef316 Bug 1551200 - getOriginalLocations should bail if there are no locations. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D31136
2019-05-15 00:01:30 +00:00
Jason Laster 13258289ab Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28552
2019-05-08 17:18:38 +00:00
Jason Laster 60d650b64f Bug 1545594 - Memoize md5. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28147
2019-04-19 16:03:23 +00:00
David Walsh 9fa5256247 Bug 1544530 - [sync 132] - Apply SourceMaps type to redux actions r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D27718
2019-04-16 16:52:38 +00:00
David Walsh d5de1c9ead Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 13:16:00 -04:00
Noemi Erli b90b1b551f Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js 2019-04-09 19:04:30 +03:00
David Walsh 2113d7d3da Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-09 10:31:11 -04:00
Andreea Pavel 37877174ea Backed out changeset 21e7aa527584 (bug 1500987) for debugger, clipboard and dt failures on a CLOSED TREE 2019-04-08 23:15:05 +03:00
David Walsh 8d7dc8f078 Bug 1500987 - Elevate the new debugger one directory. r=jlast 2019-04-08 15:10:44 -04:00