mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166462 - Add probe for title in titlebar enabled setting. r=margaret
This commit is contained in:
parent
14777bb92e
commit
63e71b56ee
@ -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");
|
||||
|
@ -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)?"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user