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><html><!-- Submitted from TestTWF Paris --><head><metacharset="UTF-8"><title>CSS Values and Units Test: elements should be the real world size given in mm, cm, inches...</title><linkrel="author"title="Marc Bourlon"href="mailto:marc@bourlon.com"><linkrel="help"href="https://www.w3.org/TR/css3-values/#absolute-lengths"title="5.2 Absolute lengths: the cm, mm, Q, in, pt, pc, px units"><styletype="text/css">.s1mm{background-color:fuchsia;width:1mm;height:1mm;}.s10mm{background-color:olive;width:10mm;height:10mm;}.s1cm{background-color:orange;width:1cm;height:1cm;}.s254cm{background-color:gray;width:2.54cm;height:2.54cm;}.s1in{background-color:blue;width:1in;height:1in;}.inline{float:left;}.newline{clear:left;}p{clear:both;margin:10px0;}</style></head><body><p> There should be a 1mm (width) by 1mm (height) fuchsia square:</p><divclass="s1mm"></div><p> There should be a 10mm (width) by 1mm (height) fuchsia stripe:</p><divclass="s1mm newline inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><divclass="s1mm inline"></div><p> There should be a 10mm (width) by 10mm (height) olive square:</p><divclass="s10mm newline "></div><p> There should be a 1cm (width) by 1cm (height) orange square. So, same width above:</p><divclass="s1cm newline "></div><p> There should be a 2.54cm (width) by 2.54cm (height) gray square:</p><divclass="s254cm newline "></div><p> There should be a 1in (width) by 1in (height) blue square. So, same width as above:</p><divclass="s1in"></div></body></html>