Bug 1166462 - Add probe for title in titlebar enabled setting. r=margaret

This commit is contained in:
Michael Comella 2015-06-24 11:01:26 -07:00
parent 14777bb92e
commit 63e71b56ee
2 changed files with 13 additions and 0 deletions

View File

@ -603,6 +603,13 @@ var BrowserApp = {
InitLater(() => WebcompatReporter.init());
}
InitLater(function () {
// title == 0 and url == 1. See:
// https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values/arrays.xml?rev=861e4bd9e7fe#153
const titleInTitlebarEnabled = Services.prefs.getIntPref("browser.chrome.titlebarMode") == 0;
Telemetry.addData("FENNEC_TITLE_IN_TITLEBAR_ENABLED", titleInTitlebarEnabled);
});
InitLater(() => LightWeightThemeWebInstaller.init());
InitLater(() => SpatialNavigation.init(BrowserApp.deck, null), window, "SpatialNavigation");
InitLater(() => CastingApps.init(), window, "CastingApps");

View File

@ -8259,5 +8259,11 @@
"expires_in_version": "never",
"kind": "flag",
"description": "An Attr node that's not namespace-aware and was created from an HTML document is set on a non-HTML element and has a name containing uppercase ASCII chars"
},
"FENNEC_TITLE_IN_TITLEBAR_ENABLED": {
"alert_emails": ["michael.l.comella@gmail.com"],
"expires_in_version": "43",
"kind": "boolean",
"description": "Is the title shown in the url bar (as determined by the titlebar title or url preference)?"
}
}