mozilla / hotdish

Explorations on being together in the browser
Mozilla Public License 2.0
111 stars 13 forks source link

We need to make sure there is only one viewer tab open per remote tab #279

Open ianb opened 10 years ago

ianb commented 10 years ago

Things get weird if you manage to get two viewer tabs open (e.g., by going back, copying URLs, etc).

ianb commented 10 years ago

I think the least destructive way to handle this is to notify the viewer tab we choose not to use, and it would go into a "open in other tab" state. This would give the error message, and maybe a button that would close the bad tab and focus the good tab. But of course you could still go forward or back or whatever, so you haven't lost history. (I think it's when you have history in the tab that this case is most likely to happen.)