Bug 1966586 - Reuse other browser windows when opening _blank links in Taskbar Tabs windows. r=nrishel
This doesn't affect other tab additions, nor does it stop the tab bar
from appearing altogether. The idea is that _if_ another tab is somehow
made, the user should see it; but we should not create new tabs if we
can avoid it.
This also adds tests for opening URIs in popups and taskbar tabs to make
it less likely that this breaks in future.
Differential Revision: https://phabricator.services.mozilla.com/D253726
<!DOCTYPE html><metacharset="UTF-8"><title>CSS Reftest Reference</title><linkrel="author"title="Gérard Talbot"href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"><style>div{background-color:green;}div.vertical{height:75px;margin-left:75px;width:50px;}div.horizontal{height:50px;width:200px;}</style><p>Test passes if there are 2 identical filled green plus ("+") signs and <strong>no red</strong>.<divclass="vertical"></div><divclass="horizontal"></div><divclass="vertical"style="margin-bottom: 10px;"></div><divclass="vertical"></div><divclass="horizontal"></div><divclass="vertical"></div>