Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE

This commit is contained in:
Alexandru Marc
2025-01-13 18:29:52 +02:00
parent 55d657620d
commit 6f253b451f
5 changed files with 0 additions and 87 deletions

View File

@@ -5010,17 +5010,6 @@ export var CustomizableUI = {
// We need to clone this, as we don't want to let consumers muck with placements
return [...gPlacements.get(aArea)];
},
/**
* Get an array of all the widget IDs in the default placements for an area.
* Modifying the array will not affect CustomizableUI.
*
* @param aArea the ID of the area whose default placements you want to obtain.
* @return an array containing the widget IDs that are in the default placements for that area.
*
*/
getDefaultPlacementsForArea(aArea) {
return [...gAreas.get(aArea).get("defaultPlacements")];
},
/**
* Get an array of widget wrappers for all the widgets in an area. This is
* the same as calling getWidgetIdsInArea and .map() ing the result through