Commit Graph
33 Commits
Author SHA1 Message Date
Nicolas Chevobbe b8fe80ec27 Bug 1599135 - Expose all Reps file. r=jlast.
This allows consumers to directly require a single Rep file
if needed (e.g. the inspector only needs elementNode or textNode).
In order to make this work, the requires for react-dom-factories
and prop-types needed to be changed to the in-tree modules.
We also needed to modified the reps jest config, as well as the
babel config so we can run tests and still generate the reps bundle.
Finally, the dom-node-constants is modified to not use define as
it's not used as an AMD module.

Differential Revision: https://phabricator.services.mozilla.com/D54680
2019-11-27 07:07:30 +00:00
Nicolas Chevobbe ace2463ffd Bug 1594379 - Update devtools-launchpad to 0.0.160. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51987
2019-11-06 17:48:48 +00:00
Anshul dccbda7777 Bug 1590811 - Better align the breakpoint icon and change hover effects.
Differential Revision: https://phabricator.services.mozilla.com/D50157
2019-10-28 22:24:26 +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
Nicolas Chevobbe 1ec37d3742 Bug 1586297 - Fix debugger's jest failures. r=jlast.
Some tests were failing because we `require` an absolute
path from the debugger source. We add a new entry in jest
config's moduleNameMapper to reroute all the absolute require
of devtools modules to the right path.
To fix the failures we also need to add a fixture for `Services`
as it's loaded in one of the fail we use in the debugger.

We take this opportunity to fix debugger's try runner.
Currently, we were only checking the `numFailedTests` property
of the resulting JSON when running tests.
But in some case, this property would still be 0, but other
properties would indicate the some tests fail.
In order to not have to go through all those properties, we
simply check that the array of error messages we build is
empty to assert if the tests were successfully ran.

Differential Revision: https://phabricator.services.mozilla.com/D48295
2019-10-07 15:34:14 +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
Logan Smyth 24f637d1b2 Bug 1572209 - Part 2: Upgrade debugger source-file processing to use Babel 7. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42572
2019-08-20 00:56:33 +00:00
Logan Smyth 6def1d5ddb Bug 1572209 - Part 1: Rebuild worker bundles to pick up some missing logic. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42571
2019-08-20 00:55:49 +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
Julian Descottes 01741d2a94 Bug 1571365 - Add documentation for devtools node tests r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D40605
2019-08-05 12:08:20 +00:00
Hubert B Manilla c1e21c8791 Bug 1561148 - Improve detection of react libraries r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38236
2019-07-18 02:24:43 +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
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
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
Jason Laster 8f7f4f2fc4 Bug 1550495 - Set directory root does not work for debugger.html. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D31313
2019-05-23 18:00:47 +00:00
Jason Laster 447cc7b1b8 Bug 1552123 - debugger/devtools node test runners fail to detect jest snapshot failures. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31624
2019-05-20 18:42:36 +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 1a1cf84777 Bug 1546665 - node tests should include the filename in the logs. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D31101
2019-05-14 21:52:55 +00:00
Julian Descottes c79d1260a7 Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
Depends on D29887

Differential Revision: https://phabricator.services.mozilla.com/D28033
2019-05-08 21:37:39 +00:00
Andreea Pavel 368a7a0194 Backed out 5 changesets (bug 1543940) for failing browser_menu_api.js on a CLOSED TREE
Backed out changeset aaa0f827616a (bug 1543940)
Backed out changeset 590b72185b69 (bug 1543940)
Backed out changeset 42e2136f684f (bug 1543940)
Backed out changeset a66967f17042 (bug 1543940)
Backed out changeset b1e6e932873c (bug 1543940)
2019-05-08 20:49:43 +03:00
Julian Descottes 9560911c8e Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
Depends on D29887

Differential Revision: https://phabricator.services.mozilla.com/D28033
2019-05-08 15:42:59 +00:00
Jason Laster 7c97d7d87c Bug 1535484 - Use mozlog for node debugger linting test. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D28491
2019-04-23 22:30:15 +00:00
Logan Smyth 5f83c49fe0 Bug 1546202 - Part 5: Add a new selector to handle both Source and SourceContent datatypes. r=jlast
Depends on D28411

Differential Revision: https://phabricator.services.mozilla.com/D28412
2019-04-23 18:00:32 +00:00
Logan Smyth 45135f85cd Bug 1546202 - Part 2: Change parser worker to work with a trimmed-down AstSource instead of the full Source. r=jlast
Depends on D28408

Differential Revision: https://phabricator.services.mozilla.com/D28409
2019-04-23 16:51:11 +00:00
Logan Smyth 878f75d948 Bug 1546202 - Part 1: Remove unused getFramwwork and hasSource functions. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D28408
2019-04-23 16:50:06 +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 cb69ad153f Bug 1543519 - Add a build watcher. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D26998
2019-04-11 19:37:29 +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