Bug 864614 - Tabs appending under Tabs

This commit is contained in:
Allison Naaktgeboren 2013-04-29 10:01:40 -07:00
parent 7a2cef9f70
commit 494ebbdcc4

View File

@ -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];