Backed out changeset 0ae21c1a172f (bug 1385453)

This commit is contained in:
Sebastian Hengst 2017-08-23 11:07:39 +02:00
parent 0b1c2eb45e
commit eb5decce81
2 changed files with 0 additions and 32 deletions

View File

@ -4774,23 +4774,6 @@
return;
}
let warmingState = "disqualified";
if (this.warmingTabs.has(tab)) {
let tabState = this.getTabState(tab);
if (tabState == this.STATE_LOADING) {
warmingState = "stillLoading";
} else if (tabState == this.STATE_LOADED) {
warmingState = "loaded";
}
} else if (this.canWarmTab(tab)) {
warmingState = "notWarmed";
}
Services.telemetry
.getHistogramById("FX_TAB_SWITCH_REQUEST_TAB_WARMING_STATE")
.add(warmingState);
this.unwarmTab(tab);
this._requestingTab = true;

View File

@ -6115,21 +6115,6 @@
"releaseChannelCollection": "opt-out",
"description": "Firefox: If the spinner interstitial displays during tab switching, records the time in ms the graphic is visible. This probe is similar to FX_TAB_SWITCH_SPINNER_VISIBLE_MS, but is for truly degenerate cases."
},
"FX_TAB_SWITCH_REQUEST_TAB_WARMING_STATE": {
"record_in_processes": ["main"],
"expires_in_version": "63",
"alert_emails": ["mconley@mozilla.com"],
"releaseChannelCollection": "opt-out",
"kind": "categorical",
"labels": [
"disqualified",
"notWarmed",
"stillLoading",
"loaded"
],
"bug_numbers": [1385453],
"description": "Firefox: When a tab is selected, records whether or not the tab was speculatively 'warmed up' to improve tab switch time."
},
"FX_TAB_CLICK_MS": {
"record_in_processes": ["main", "content"],
"expires_in_version": "default",