Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user