mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 864614 - Tabs appending under Tabs
This commit is contained in:
parent
7a2cef9f70
commit
494ebbdcc4
@ -69,6 +69,10 @@ RemoteTabsView.prototype = {
|
||||
let list = this._set;
|
||||
let seenURLs = new Set();
|
||||
|
||||
// Clear grid, We don't know what has happened to tabs since last sync
|
||||
// Also can result in duplicate tabs(bug 864614)
|
||||
this._set.clearAll();
|
||||
|
||||
for (let [guid, client] in Iterator(tabsEngine.getAllClients())) {
|
||||
client.tabs.forEach(function({title, urlHistory, icon}) {
|
||||
let url = urlHistory[0];
|
||||
|
Loading…
Reference in New Issue
Block a user