Bug 930071 - Remove site identity panel telemetry probe. r=felipe

This commit is contained in:
Jared Wein 2013-10-23 12:08:00 +01:00
Родитель 8eb5b9f012
Коммит ad50f49e9d
2 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -6719,19 +6719,16 @@ var gIdentityHandler = {
* Click handler for the identity-box element in primary chrome.
*/
handleIdentityButtonEvent : function(event) {
TelemetryStopwatch.start("FX_IDENTITY_POPUP_OPEN_MS");
event.stopPropagation();
if ((event.type == "click" && event.button != 0) ||
(event.type == "keypress" && event.charCode != KeyEvent.DOM_VK_SPACE &&
event.keyCode != KeyEvent.DOM_VK_RETURN)) {
TelemetryStopwatch.cancel("FX_IDENTITY_POPUP_OPEN_MS");
return; // Left click, space or enter only
}
// Don't allow left click, space or enter if the location has been modified.
if (gURLBar.getAttribute("pageproxystate") != "valid") {
TelemetryStopwatch.cancel("FX_IDENTITY_POPUP_OPEN_MS");
return;
}
@ -6757,8 +6754,6 @@ var gIdentityHandler = {
},
onPopupShown : function(event) {
TelemetryStopwatch.finish("FX_IDENTITY_POPUP_OPEN_MS");
document.getElementById('identity-popup-more-info-button').focus();
this._identityPopup.addEventListener("blur", this, true);

Просмотреть файл

@ -2576,13 +2576,6 @@
"n_buckets": 20,
"description": "Firefox: Time in ms spent on switching tabs in response to a tab click"
},
"FX_IDENTITY_POPUP_OPEN_MS": {
"kind": "exponential",
"high": "1000",
"n_buckets": 10,
"extended_statistics_ok": true,
"description": "Firefox: Time taken by the identity popup to open in milliseconds"
},
"FX_APP_MENU_OPEN_MS": {
"kind": "exponential",
"high": "1000",