gecko-dev/devtools
Alexandre Poirot fa2165038d Bug 1721403 - [devtools] Fix browser_target_list_switchToTarget.js with server side targets. r=jdescottes
TabDescriptor.getTarget now only works if a TargetCommand is setup
and we called startListening on it.
And there is no way to retrieve another tab's target from
a given tab's TargetCommand/commands.

So here we should use two distinct commands.
Note that this test is covering cases we don't really support.
Switching between two distinct tab's top targets isn't something that should happen.
But I think it is still valuable to cover as it may later help us work on bug 1569859.

Differential Revision: https://phabricator.services.mozilla.com/D120358
2021-07-21 20:42:28 +00:00
..
client
docs
platform
server
shared
startup
.eslintrc.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild
tsconfig.json