Make openContentTab re-use an existing tab

ASSIGNED
Assigned to

Status

ASSIGNED
7 years ago
a year ago

People

(Reporter: protz, Assigned: protz, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
If the mail:3pane that we've found already contains a tab with the target URI, maybe we should just focus it instead of opening a copy of the page. AFAIK, openContentTab is just used for the dictionaries and the privacy policy. Squib, Blake, do you think it would be acceptable to change the default behavior? Otherwise, we could make it optional... thoughts?
We can't do this from preferences window for example - it is modal on windows, and you can't raise a window from behind a modal to above the modal.

Comment 2

7 years ago
Adding "switch" to the possible parameters for |where| would probably be ok. That could even be the default. I think I'd prefer that "tab" remain the default, but I have no strong feelings on the matter.
would this enable/block bug 551363
Flags: needinfo?(acelists)
You need to log in before you can comment on or make changes to this bug.