gecko-dev/devtools
Alexandre Poirot c2b5a6345f Bug 1685474 - [devtools] Stop having intermediate "storage resources" dictionary. r=ladybenko
* onResourceListAvailable and populateStorageTree were both computing distinct dictinary. `storages` versus `this.storageResources` (with the resourcesWithHosts making them both differents). It is easier to follow if we have only one dictionary, build by onResourceListAvailable and that's the straight object given by the ResourceWatcher API.
* Since we migrated to resources API. `resources` object passed to onResourceAvailable
should no longer have any `from` attribute. This is no longer a RDP packet, but an array computed by the ResourceWatcher API.
* This isn't really useful to filter out resources with empty `hosts` because `populateTreeFromResource` will be a noop
if that's empty. I think it is easier to follow if we pass all the resources to this method.

Differential Revision: https://phabricator.services.mozilla.com/D105646
2021-02-22 21:04:20 +00:00
..
client Bug 1685474 - [devtools] Stop having intermediate "storage resources" dictionary. r=ladybenko 2021-02-22 21:04:20 +00:00
docs Bug 1692965 - [devtools] Remove the ChromeWindowTargetActor r=ochameau,devtools-backward-compat-reviewers 2021-02-18 11:10:13 +00:00
platform Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
server Bug 1685474 - [devtools] Stop using resource-updated and resource-destroyed for storage resources. r=ladybenko,devtools-backward-compat-reviewers 2021-02-22 21:04:19 +00:00
shared Bug 1685474 - [devtools] Stop using resource-updated and resource-destroyed for storage resources. r=ladybenko,devtools-backward-compat-reviewers 2021-02-22 21:04:19 +00:00
startup Bug 1690340 - Part 3: Remove the "Work Offline" menu item from the developer tools menu. r=mconley,jdescottes 2021-02-16 22:37:23 +00:00
.eslintrc.js Bug 1652690 - Remove outdated eslint rule for devtools/shared/platform r=nchevobbe,perftest-reviewers,sparky 2020-07-15 14:59:19 +00:00
.eslintrc.mochitests.js Bug 1620537 - Fix eslint issues in devtools .eslintrc*.js files now that ESLint 7 will lint them. r=mossop 2020-07-24 20:39:07 +00:00
.eslintrc.xpcshell.js Bug 1620537 - Fix eslint issues in devtools .eslintrc*.js files now that ESLint 7 will lint them. r=mossop 2020-07-24 20:39:07 +00:00
CODE_OF_CONDUCT.md
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
templates.mozbuild
tsconfig.json