Skip to content

Commit

Permalink
Backed out changeset 3128a39910aa (bug 1860833) for causing bc failur…
Browse files Browse the repository at this point in the history
…es on browser_opentabs_firefoxview_next.js, browser_feature_callout_targeting.js
  • Loading branch information
Norisz Fay committed Nov 28, 2023
1 parent 1488e83 commit 36acd51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion browser/components/firefoxview/syncedtabs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class SyncedTabsInView extends ViewPage {

async getSyncedTabData() {
this.devices = await lazy.SyncedTabs.getTabClients();
let tabs = await lazy.SyncedTabs.createRecentTabsList(this.devices, 50, {
let tabs = await lazy.SyncedTabs.getRecentTabs(50, {
removeAllDupes: false,
removeDeviceDupes: true,
});
Expand Down
6 changes: 1 addition & 5 deletions services/sync/modules/SyncedTabs.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@ export var SyncedTabs = {
return this._internal.syncTabs(force);
},

createRecentTabsList(clients, maxCount, extraParams) {
return this._internal._createRecentTabsList(clients, maxCount, extraParams);
},

sortTabClientsByLastUsed(clients) {
// First sort the list of tabs for each client. Note that
// this module promises that the objects it returns are never
Expand Down Expand Up @@ -342,6 +338,6 @@ export var SyncedTabs = {
// lastUsed value, and filtered for duplicate URLs
async getRecentTabs(maxCount, extraParams) {
let clients = await this.getTabClients();
return this._internal.createRecentTabsList(clients, maxCount, extraParams);
return this._internal._createRecentTabsList(clients, maxCount, extraParams);
},
};

0 comments on commit 36acd51

Please sign in to comment.