Bug 1440491 - Remove [persist] attribute from elements without IDs in browser.xul;
The XULStore is keyed on URL first, then element ID second. Having an empty ID
leads to bad data in xulstore.json.
MozReview-Commit-ID: CfkLvMsSvVA
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -615,17 +615,16 @@
# The entire main menubar is placed into browser-menubar.inc, so that it can be shared by
# hiddenWindow.xul.
#include browser-menubar.inc
</toolbaritem>
#ifdef CAN_DRAW_IN_TITLEBAR
#ifndef XP_MACOSX
<hbox class="titlebar-placeholder" type="caption-buttons" ordinal="1000"
- persist="width"
skipintoolbarset="true"/>
#endif
#endif
</toolbar>
<toolbar id="TabsToolbar"
fullscreentoolbar="true"
customizable="true"
@@ -689,25 +688,23 @@
<button class="accessibility-indicator" tooltiptext="&accessibilityIndicator.tooltip;"
ordinal="1000"
aria-live="polite" skipintoolbarset="true"/>
<hbox class="private-browsing-indicator" skipintoolbarset="true"
ordinal="1000"/>
#ifdef CAN_DRAW_IN_TITLEBAR
<hbox class="titlebar-placeholder" type="caption-buttons"
- persist="width"
#ifndef XP_MACOSX
ordinal="1000"
#endif
skipintoolbarset="true"/>
#ifdef XP_MACOSX
<hbox class="titlebar-placeholder" type="fullscreen-button"
- persist="width"
skipintoolbarset="true"/>
#endif
#endif
</toolbar>
<toolbar id="nav-bar"
aria-label="&navbarCmd.label;"
fullscreentoolbar="true" mode="icons" customizable="true"