gecko-dev/devtools/shared/resources
Nicolas Chevobbe 2834d00a38 Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau.
Since targetFronts now have isTopLevel and targetType properties, we can directly use
those, as the targetFront is included in the callback parameter.
This patch remove those properties and refactor consumer code.

Differential Revision: https://phabricator.services.mozilla.com/D74651
2020-05-15 16:03:32 +00:00
..
legacy-listeners Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau. 2020-05-15 16:03:32 +00:00
legacy-target-watchers Bug 1636507 - Extract legacy watcher implementation to dedicated files r=ochameau,nchevobbe 2020-05-11 14:32:24 +00:00
tests Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau. 2020-05-15 16:03:32 +00:00
moz.build Bug 1636507 - Extract legacy watcher implementation to dedicated files r=ochameau,nchevobbe 2020-05-11 14:32:24 +00:00
resource-watcher.js Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau. 2020-05-15 16:03:32 +00:00
target-list.js Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau. 2020-05-15 16:03:32 +00:00