gecko-dev/devtools/shared
Julian Descottes dff8d66458 Bug 1797785 - [devtools] Add tests for Network Observer r=bomsy
Depends on D162193

This adds only very basic tests for the observer, but I would like to discuss about switching the API to a fully event-based solution.
I initially decided against it because I didn't want to create unnecessary changes for DevTools, but in the end, the owner pattern is quite verbose if
we want to use it for testing. Having events instead would make it more flexible, we could test only what we are interested in, with minimal overhead.

If we agree on this, we can land those very simple tests and I can move on to change the API to use events and update the tests, before we add more
tests.

Differential Revision: https://phabricator.services.mozilla.com/D162195
2022-11-18 15:52:05 +00:00
..
commands Bug 1788033 - [devtools] Rename StyleEditor media sidebar to at-rules sidebar. r=jdescottes,fluent-reviewers,devtools-backward-compat-reviewers. 2022-11-09 16:29:50 +00:00
compatibility Bug 1800466 - [devtools] Update compatibility data. r=jdescottes. 2022-11-15 06:12:37 +00:00
css Bug 1414361 - [devtools] Fix ruleview with large base64 background image r=nchevobbe 2022-11-09 14:37:22 +00:00
discovery Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
heapsnapshot Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
images Bug 1531311 - [devtools] Add more visibility for node picker when debugging remote pages. r=jdescottes,devtools-backward-compat-reviewers. 2021-12-11 10:58:35 +00:00
inspector Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
jsbeautify Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
layout Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
loader Bug 1794693 - [devtools] Move devtools-source-map to regular mozilla-central code. r=bomsy,perftest-reviewers,jdescottes,sparky 2022-11-08 16:01:01 +00:00
locales Bug 1796090 - [devtools] Display link to container element in container query in the rule view. r=jdescottes,devtools-backward-compat-reviewers. 2022-10-27 08:53:42 +00:00
network-observer Bug 1797785 - [devtools] Add tests for Network Observer r=bomsy 2022-11-18 15:52:05 +00:00
node-properties
performance-new Bug 1793396 - [devtools] Use absolute URLs in all usages of loader.lazyRequireGetter. r=Honza 2022-10-03 18:57:13 +00:00
platform Bug 1788773 - [devtools] Reuse property names from nsICacheEntry in devtools ResponseCache object r=ochameau 2022-11-10 08:07:56 +00:00
protocol Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
qrcode Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
security Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
specs Bug 1796095 - [devtools] Display query container data in a tooltip in the rule view. r=jdescottes,devtools-backward-compat-reviewers. 2022-11-08 12:46:27 +00:00
sprintfjs
storage Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
test-helpers Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
tests Bug 1796582 - [devtools] Load DistinctSystemPrincipalLoader in the dedicated DevToolsLoader global r=ochameau 2022-10-28 08:06:38 +00:00
transport Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
webconsole Bug 1788777 - [devtools] Group all network-observer related modules in a single folder r=ochameau,Sasha 2022-11-08 20:27:50 +00:00
worker Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes 2022-10-14 12:19:42 +00:00
.eslintrc.js
accessibility.js Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
async-storage.js Bug 1793396 - [devtools] Use absolute URLs in all usages of loader.lazyRequireGetter. r=Honza 2022-10-03 18:57:13 +00:00
async-utils.js
constants.js
content-observer.js Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
debounce.js
defer.js
DevToolsInfaillibleUtils.sys.mjs Bug 1788762 - Migrate devtools network observer to an ES module r=ochameau 2022-10-17 19:56:18 +00:00
DevToolsUtils.js Bug 1788777 - [devtools] Group all network-observer related modules in a single folder r=ochameau,Sasha 2022-11-08 20:27:50 +00:00
dom-helpers.js Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu 2022-09-09 07:22:51 +00:00
dom-node-constants.js
dom-node-filter-constants.js
event-emitter.js Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
extend.js
flags.js Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu 2022-09-09 07:22:51 +00:00
generate-uuid.js Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu 2022-09-09 07:22:51 +00:00
indentation.js Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu 2022-09-09 07:22:51 +00:00
indexed-db.js Bug 1789980 - [devtools] Stop exposing indexedDB to all DevTools modules. r=jdescottes 2022-09-20 12:52:27 +00:00
jar.mn Bug 1531311 - [devtools] Add more visibility for node picker when debugging remote pages. r=jdescottes,devtools-backward-compat-reviewers. 2021-12-11 10:58:35 +00:00
l10n.js Bug 1330099 - Enable object-shorthand eslint rule. r=jdescottes 2022-08-03 14:57:05 +00:00
moz.build Bug 1788777 - [devtools] Group all network-observer related modules in a single folder r=ochameau,Sasha 2022-11-08 20:27:50 +00:00
natural-sort.js Bug 1789052 - [devtools] Fix storage inspector sorting logic r=nchevobbe 2022-09-05 13:00:15 +00:00
path.js
picker-constants.js
plural-form.js Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
protocol.js Bug 1792848 - [devtools] Use absolute URLs to import modules in devtools/shared. r=Honza,devtools-backward-compat-reviewers,bomsy 2022-10-12 15:56:22 +00:00
system.js Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
ThreadSafeDevToolsUtils.js
throttle.js Bug 1737986 - [devtools] Replace lodash throttle usage with devtools/shared/throttle. r=ochameau. 2022-01-19 12:51:50 +00:00
validate-breakpoint.jsm
wasm-source-map.js
webextension-fallback.html