Bug 1201374 - Add a telemetry probe to track how often F11 fullscreen mode is used (browser-fullscreen). r=ttaubert p=ally

This commit is contained in:
Jared Wein 2015-09-08 08:53:05 -04:00
parent 5ec1e756a3
commit 61d08eb342
2 changed files with 10 additions and 0 deletions

View File

@ -95,6 +95,11 @@ var FullScreen = {
// TabsInTitlebar._update() and bug 1173768.
TabsInTitlebar.updateAppearance(true);
}
if (enterFS) {
Services.telemetry.getHistogramById("FX_BROWSER_FULLSCREEN_USED")
.add(1);
}
},
exitDomFullScreen : function() {

View File

@ -4062,6 +4062,11 @@
"extended_statistics_ok": true,
"description": "Firefox: Time to initialize the bookmarks toolbar view (ms)"
},
"FX_BROWSER_FULLSCREEN_USED": {
"expires_in_version": "46",
"kind": "count",
"description": "The number of times that a session enters browser fullscreen (f11-fullscreen)"
},
"FX_NEW_WINDOW_MS": {
"expires_in_version": "default",
"kind": "exponential",