Commit Graph
99 Commits
Author SHA1 Message Date
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
Nicolas Chevobbe dcd129b069 Bug 1586658 - Update debugger bundle files.r=jlast.
Those files are generated with bin/bundle.js, and were
out of sync.
We take this as an opportunity to include the license
at the top of the files, using the Webpack Banner plugin.

Differential Revision: https://phabricator.services.mozilla.com/D48297
2019-10-08 21:28:18 +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
Logan Smyth 80ab0e5f33 Bug 1572209 - Part 4: Roll back one set of accidentally-included changes. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42724
2019-08-20 23:36:12 +00:00
Logan Smyth 7bb9845fd7 Bug 1572209 - Part 3: Upgrade MC Devtools build logic to use Babel 7.x for compilation. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42573
2019-08-20 00:57:18 +00:00
Nicolas Chevobbe 290ba5cb21 Bug 1568779 - Remove editors settings comments in devtools files. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D42300
2019-08-19 12:48:16 +00:00
Sylvestre Ledru 33e3b10704 Bug 1562642 - Part 5 - Add missing MPL2 headers in devtools/ r=jlast
Depends on D41566

Differential Revision: https://phabricator.services.mozilla.com/D41567
2019-08-12 15:56:26 +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
Jason Laster 0b0e637967 Bug 1555293 - Fix 0.13 - 0.16% installer size. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34779
2019-06-13 14:18:10 +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
Julian Descottes 1f0b9e449c Bug 1555732 - Update mozilla-central-mappings to support new location of menu-item helper in devtools-core r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D33190
2019-05-31 07:59:53 +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
Julian Descottes edd019f9cc Bug 1552495 - Bump debugger and reps to use launchpad 0.0.153 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D31618
2019-05-17 16:55:07 +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 2d03b1495d Bug 1548438 - Repeatedly refreshing causes the UI to go blank. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29605
2019-05-06 15:01:02 +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
Jason Laster 5f13794575 Bug 1539493 - memoize setSymbols call. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D25307
2019-04-02 16:02:34 +00:00
Jason Laster f437863434 Bug 1540239 Update module-manifest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D25466
2019-03-29 21:02:24 +00:00
derek-li ef8e34734e Bug 1538164 - [release 130] Always render footer (#8039).
Differential Revision: https://phabricator.services.mozilla.com/D24770
2019-03-26 19:05:11 +00:00
Logan Smyth f469a2309c Bug 1533813 - getOriginalLocation can be expensive. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22760
2019-03-12 00:46:14 +00:00
Dorel Luca 4094091632 Backed out changeset 985e05a4b540 (bug 1533813) for Debugger failure. CLOSED TREE 2019-03-12 01:40:45 +02:00
Logan Smyth 6f50af6274 Bug 1533813 - getOriginalLocation can be expensive. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22760
2019-03-11 23:23:27 +00:00
Florens Verschelde 04542e4cb4 Bug 1533767 - [release-129] Sync 129. r=jlast
Bug 1533767 - [release-129] Fix 8026 - Prevent breakpoint label from triggering checkbox focus (#8044). r=dwalsh

Bug 1533767 - [release-129] Update dependency devtools-launchpad to ^0.0.150 (#8046). r=dwalsh

Bug 1533767 - [release-129] Fixes Regex for React Libraries (#8010). r=dwalsh

Bug 1533767 - [release-129] Ensuring long strings get re-rendered when their loaded properties are updated (#7874) (#8053). r=dwalsh

Bug 1533767 - [release-129] Update Getting Setup Docs (#8065). r=dwalsh

Bug 1533767 - [release-129] Fix 7799 - Restore pretty print shim to tab context menu (#8037). r=dwalsh

Bug 1533767 - [release-129] Unify array creation style in SecondaryPanes getStartItems and getEndItems (#8050). r=dwalsh

Bug 1533767 - [release-129] Add focus-within for showing breakpoint's delete button (#8029). r=dwalsh

Bug 1533767 - [release-129] Fix #7840 - Remove blackboxed text to prevent overflow (#8052). r=dwalsh

Bug 1533767 - [release-129] [Preview] Open node from the object inspector in popups (#8069). r=dwalsh

Bug 1533767 - [release-129] Fix #7952 - Remove debug line check for token hovering  (#8070). r=dwalsh

Bug 1533767 - [release-129] #7993 Fix callstack frame-group icon and avoid global selectors (#8078). r=dwalsh

Bug 1533767 - [release-129] Use O(N) algorithm in getUniqueIdentifiers. (#8085). r=dwalsh

Bug 1533767 - [release-129] Fix #8081 - Dropdown label and icon style (#8082). r=dwalsh

Bug 1533767 - [release-129] Fix #8084 - Vue.js icon missing in Frames (#8086). r=dwalsh

Bug 1533767 - [release-129] Fix #7956 - Show falsy values in preview (#8072). r=dwalsh

Bug 1533767 - [release-129] Fix #8040 - Correct Accordion header spacing and restore thin plus.svg icon (#8087). r=dwalsh

Bug 1533767 - [release-129] fix: make search input more responsive (#8079). r=dwalsh

Bug 1533767 - [release-129] Update link in contributing.md (#8095). r=dwalsh

Differential Revision: https://phabricator.services.mozilla.com/D22759
2019-03-11 15:54:34 +00:00
Jason Laster 95c3268b6c Bug 1531350 - Add column breakpoints (w/ fix for sourcemaps-reload). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22329
2019-03-06 17:00:37 +00:00
Gurzau Raul aab7e70bbb Backed out changeset 295288a58683 (bug 1531350) for failing at /browser_dbg-sourcemaps-reload.js on a CLOSED TREE. 2019-03-06 10:49:10 +02:00
Jason Laster 405f17545d Revert "Backed out changeset dd4c4ce4a78d (bug 1531350) for debugger failure CLOSED TREE"
This reverts commit 6e063ce2d1ff7aaa4a261b9c20fe6b2f05e842a4.

Bug 1531350 - fix flow + jest issues with column breakpoints. r=me

Differential Revision: https://phabricator.services.mozilla.com/D22249
2019-03-06 04:38:03 +00:00
shindli 78ca96f6f7 Backed out changeset dd4c4ce4a78d (bug 1531350) for debugger failure CLOSED TREE 2019-03-06 05:11:45 +02:00
Jason Laster d370fc4c6e Bug 1531350 - [release 128] [Breakpoints] use the selected location for column breakpoints.
Differential Revision: https://phabricator.services.mozilla.com/D21843
2019-03-05 21:29:48 +00:00
Errietta Kostala ba91347f55 Bug 1531350 - [release 128] [ast] Migrate AST reducer off of immutable (#7982). r=dwalsh 2019-03-01 19:36:25 -05:00
Nicolas Chevobbe 3a136ce24a Bug 1531350 - [release 128] Add a BigInt rep. (#7975). r=dwalsh 2019-03-01 19:36:22 -05:00
Alex Rosenfeld 2dcf245632 Bug 1531350 - [release 128] Update debugging-the-debugger.md (#8021). r=dwalsh 2019-03-01 19:36:21 -05:00
Jason Laster 0d5e1cb888 Bug 1531350 - [release 128] Sync 128. r=dwalsh 2019-03-01 19:36:15 -05:00
Jason Laster 146d283d4f Bug 1529680 - [release 127] [Breakpoints] Improve column breakpoint performance (#8000). r=dwalsh 2019-02-25 15:59:27 -05:00
Jason Laster 9f6d0aee55 Bug 1521864 - It should be possible to open the debugger in a tab. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D20485
2019-02-21 14:56:47 +00:00
Patrick Brosset fb33e924f3 Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D19748
2019-02-15 09:38:53 +00:00
Jason Laster ec47752923 Bug 1527122 - [release 125] sync 124. r=dwalsh 2019-02-11 22:17:41 -08:00
Jason Laster 798158cd4f Bug 1525757 - [release 124] [sourcemaps] persist tasks. r=dwalsh 2019-02-07 13:15:02 -08:00
Mrigank Krishan eb7bc6b6ed Bug 1525757 - [release 124] add types to source-maps API (#7846). r=dwalsh 2019-02-07 13:14:59 -08:00
Mrigank Krishan d3776105ee Revert "Bug 1525492 - [release 123] add types to source-maps API (#7846). r=dwalsh"
This reverts commit da55f11d2fc1a741a10134f6031af991925601cb.
2019-02-06 22:12:31 -08:00
Jason Laster 0b1be42830 Revert "Backed out 19 changesets (bug 1525492) for damp timeout on a CLOSED TREE"
This reverts commit 8e6a625a9ddaf8293811737accaf55158a05158a.
2019-02-06 22:12:30 -08:00
Brian Hackett d2dd7f615f Bug 1523528 - [release 122] Don't wait to load already-loaded source maps (#7819). r=dwalsh 2019-01-31 13:33:46 -05:00