Closed
Bug 1762801
Opened 3 years ago
Closed 3 years ago
Content tab type reloads the page if openTab is called twice with the same URL
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(thunderbird_esr91 wontfix)
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | wontfix |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file)
If call openTab
twice with the same URL, the already open tab reloads the page. This doesn't happen on the third or subsequent calls.
This happens because when checking to see if we have an existing tab, we set the src
attribute on the tab's browser element. It might've worked originally where the attribute would already have the browser's current location (and setting it to the same value did nothing), but that doesn't happen any more.
Assignee | ||
Comment 1•3 years ago
|
||
Uses loadURI
to navigate, as is used when the tab first opens, and only does it when the reference part of the URL has changed.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d5f7c9562d07
Prevent navigation in a content tab when openTab is called again. r=john.bieling
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4f98a7127a58
follow-up - Fix broken tests. rs=me DONTBUILD
Updated•3 years ago
|
status-thunderbird_esr91:
--- → wontfix
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•