The implementation of the old API was a problem: extension authors could do almost whatever they wanted.
Today however Mozilla stalls at giving us back basic primitives like for example a programmatic way to hide the top tab bar when an extension provide an alternative tab bar like Tree Style Tabs or Sideberry.