Only exact copies count as duplicates
Two tabs are duplicates when their addresses match exactly, character for character. A different part after # or ? makes it a different page, so two sections of the same doc, or a filtered list next to the full one, both stay open.
- The same address in two tabs: one of them closes.
/editand/edit#heading=h.2are different pages, so both stay./pullsand/pulls?q=is%3Aopenare different pages, so both stay.