Backed out changeset 140374af2570 (bug 1341531) for build bustage

This commit is contained in:
Iris Hsiao 2017-03-22 15:52:39 +08:00
Родитель 4c78d0812e
Коммит 25b734e893
2 изменённых файлов: 0 добавлений и 77 удалений

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

@ -8059,13 +8059,10 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
nsPresContext::InteractionType::eKeyInteraction,
aEvent->mTimeStamp);
}
Telemetry::AccumulateTimeDelta(Telemetry::KEYBOARD_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
break;
}
case eMouseDown:
case eMouseUp:
Telemetry::AccumulateTimeDelta(Telemetry::MOUSE_CLICK_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
case ePointerDown:
case ePointerUp:
isHandlingUserInput = true;
@ -8074,14 +8071,6 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
aEvent->mTimeStamp);
break;
case eMouseMove:
if (aEvent->mFlags.mHandledByAPZ) {
Telemetry::AccumulateTimeDelta(Telemetry::APZ_HANDLED_MOUSE_MOVE_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
} else {
Telemetry::AccumulateTimeDelta(Telemetry::MOUSE_MOVE_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
}
break;
case eDrop: {
nsCOMPtr<nsIDragSession> session = nsContentUtils::GetDragSession();
if (session) {
@ -8094,18 +8083,6 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
break;
}
case eWheel:
if (aEvent->mFlags.mHandledByAPZ) {
Telemetry::AccumulateTimeDelta(Telemetry::APZ_HANDLED_WHEEL_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
}
break;
case eTouchMove:
if (aEvent->mFlags.mHandledByAPZ) {
Telemetry::AccumulateTimeDelta(Telemetry::APZ_HANDLED_TOUCH_MOVE_EVENT_RECEIVED_MS, aEvent->mTimeStamp);
}
break;
default:
break;
}

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

@ -11052,59 +11052,5 @@
"n_buckets": 20,
"keyed": true,
"description": "Measures the number of milliseconds we spend waiting on the main thread for IPC messages to serialize their parameters. Note: only messages that take more than 500 microseconds are included in this probe. This probe is keyed on the IPDL message name."
},
"MOUSE_MOVE_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the mouse move event to dispatch, but before handlers executing."
},
"MOUSE_CLICK_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the mouse click event to dispatch, but before handlers executing."
},
"KEYBOARD_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the keyboard event to dispatch, but before handlers executing."
},
"APZ_HANDLED_TOUCH_MOVE_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the APZ handled touch move event to dispatch, but before handlers executing."
},
"APZ_HANDLED_MOUSE_MOVE_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the APZ handled mouse move event to dispatch, but before handlers executing."
},
"APZ_HANDLED_WHEEL_EVENT_RECEIVED_MS": {
"alert_emails": ["wpan@mozilla.com"],
"expires_in_version": "60",
"kind": "exponential",
"high": 50000,
"n_buckets": 100,
"bug_numbers": [1341531],
"description": "Time (ms) for the APZ handled wheel event to dispatch, but before handlers executing."
}
}