4 Commits
Author SHA1 Message Date
Alexandre Poirot 9beeb07755 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/framework. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158373
2022-09-30 15:17:36 +00:00
Nicolas Chevobbe 5296c0b703 Bug 1557247 - [devtools] Share node global shims and mocks across panels. r=bomsy.
This patch adds a shared-node-helper function that, for now,
exposes a single setMocksInGlobal function. This function
adds node global missing apis (e.g. requestAnimationFrame, indexedDB, ...),
and is called from the different node setup files, than can then be cleaned up.
For some reason, a debugger test had to be updated to pass.

Differential Revision: https://phabricator.services.mozilla.com/D99471
2021-01-12 07:08:21 +00:00
Julian Descottes df0567bb2c Bug 1472821 - Support array of String for lazyRequireGetter r=nchevobbe,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85268
2020-08-03 05:43:59 +00:00
Nicolas Chevobbe c1fe997b8b Bug 1623919 - Add jest tests for toolbox redux store. r=jlast.
This patch adds some unit tests for the toolbox redux store,
especially for the threads reducers and actions.
In order for jest to work, we need to add babel as well as
some mocks.

Differential Revision: https://phabricator.services.mozilla.com/D68157
2020-03-25 20:59:56 +00:00