Marko Ivanovich
6da09f7510
Wait for correct event in test
...
The test ChildFrameCrashMetrics_ScrolledIntoView might fail if we wait
for WidgetHostMsg_WaitForNextFrameForTests_ACK, because it is sent
from compositor thread, almost independently from
FrameHostMsg_UpdateViewportIntersection, which is sent from main thread.
Problem can be reproduced deterministically if we put sleep in
RenderFrameProxy::UpdateRemoteViewportIntersection, to simulate preemption
by OS scheduler.
What we really want to wait for in this test is viewport intersection
update in UI thread. Only after that we can check histograms. If
we wait for lifecycle update, that will guarantee that all IPCs are
processed in browser, including FrameHostMsg_UpdateViewportIntersection.
Change-Id: I1ff2e6632b2f1391a3dee82b2bc6667bb20bf71d
Bug: 1115096
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2307373
Reviewed-by: danakj <danakj@chromium.org >
Reviewed-by: Charlie Reis <creis@chromium.org >
Reviewed-by: Stefan Zager <szager@chromium.org >
Commit-Queue: Charlie Reis <creis@chromium.org >
Cr-Commit-Position: refs/heads/master@{#814114}
2020-10-06 06:42:55 +00:00
..
2020-10-06 06:28:46 +00:00
2020-09-28 20:02:49 +00:00
2020-09-28 19:18:39 +00:00
2020-07-29 20:09:46 +00:00
2020-10-06 02:54:24 +00:00
2020-09-15 01:40:41 +00:00
2020-10-05 20:47:04 +00:00
2020-09-22 19:35:15 +00:00
2020-09-25 17:49:47 +00:00
2020-09-17 20:42:10 +00:00
2020-10-05 20:50:22 +00:00
2020-09-15 22:28:00 +00:00
2020-07-17 00:28:15 +00:00
2020-07-26 22:52:49 +00:00
2020-09-23 17:30:21 +00:00
2020-09-11 07:01:30 +00:00
2020-09-16 15:38:45 +00:00
2020-09-18 00:36:53 +00:00
2020-08-25 15:23:52 +00:00
2020-07-31 17:26:11 +00:00
2020-10-06 00:37:45 +00:00
2020-09-10 20:20:13 +00:00
2020-09-15 22:25:16 +00:00
2020-09-16 20:54:41 +00:00
2020-10-05 21:09:10 +00:00
2020-09-26 07:51:20 +00:00
2020-09-16 20:54:41 +00:00
2020-10-01 22:19:54 +00:00
2020-10-01 22:33:27 +00:00
2020-09-17 19:25:25 +00:00
2020-09-16 15:38:45 +00:00
2020-09-30 17:48:21 +00:00
2020-10-02 22:22:36 +00:00
2020-10-06 01:47:21 +00:00
2020-08-06 05:55:06 +00:00
2020-09-18 09:15:21 +00:00
2020-09-30 14:46:50 +00:00
2020-10-01 19:42:48 +00:00
2020-09-16 16:37:28 +00:00
2020-10-05 20:58:26 +00:00
2020-09-16 16:37:28 +00:00
2020-10-05 20:03:32 +00:00
2020-09-11 14:00:33 +00:00
2020-10-01 14:53:35 +00:00
2020-10-06 02:54:24 +00:00
2020-09-29 04:21:27 +00:00
2020-09-16 16:37:28 +00:00
2020-09-16 16:37:28 +00:00
2020-09-25 16:55:01 +00:00
2020-08-06 14:40:04 +00:00
2020-09-19 01:07:52 +00:00
2020-10-06 02:54:24 +00:00
2020-08-13 20:58:46 +00:00
2020-10-06 06:20:09 +00:00
2020-10-02 19:50:57 +00:00
2020-09-03 15:22:16 +00:00
2020-09-30 23:52:49 +00:00
2020-09-15 22:25:16 +00:00
2020-07-30 18:35:18 +00:00
2020-07-10 00:01:43 +00:00
2020-07-29 04:23:37 +00:00
2020-10-06 02:54:24 +00:00
2020-07-29 20:09:46 +00:00
2020-10-02 23:18:18 +00:00
2020-10-02 23:50:12 +00:00
2020-09-16 15:38:45 +00:00
2020-10-06 00:37:45 +00:00
2020-10-06 01:18:37 +00:00
2020-10-05 21:53:48 +00:00
2020-10-05 17:44:11 +00:00
2020-09-29 22:00:10 +00:00
2020-09-16 15:38:45 +00:00
2020-06-19 07:41:01 +00:00
2020-10-02 23:36:56 +00:00
2020-10-05 20:58:26 +00:00
2020-10-02 00:53:28 +00:00
2020-10-01 03:07:39 +00:00
2020-09-10 01:09:18 +00:00
2020-09-16 18:27:15 +00:00
2020-10-03 09:06:59 +00:00
2020-08-20 22:13:30 +00:00
2020-08-20 22:13:30 +00:00
2020-07-29 20:09:46 +00:00
2020-10-01 03:07:39 +00:00
2020-09-17 07:07:50 +00:00
2020-10-01 06:34:20 +00:00
2020-10-01 15:10:05 +00:00
2020-08-20 02:11:09 +00:00
2020-07-28 19:59:14 +00:00
2020-07-17 10:27:17 +00:00
2020-07-17 10:27:17 +00:00
2020-06-03 16:00:59 +00:00
2020-09-22 22:28:13 +00:00
2020-06-03 16:00:59 +00:00
2020-10-01 16:43:37 +00:00
2020-10-01 16:43:37 +00:00
2020-10-02 23:23:58 +00:00
2020-08-14 02:52:41 +00:00
2020-10-01 15:10:05 +00:00
2020-10-01 15:10:05 +00:00
2020-10-01 15:10:05 +00:00
2020-10-01 03:07:39 +00:00
2020-10-01 15:10:05 +00:00
2020-07-29 20:09:46 +00:00
2020-10-01 15:10:05 +00:00
2020-07-29 20:09:46 +00:00
2020-10-05 20:47:04 +00:00
2020-10-01 16:43:37 +00:00
2020-10-02 23:36:56 +00:00
2020-09-22 23:09:50 +00:00
2020-09-18 16:11:05 +00:00
2020-09-15 22:25:16 +00:00
2020-09-10 01:34:13 +00:00
2020-09-16 18:27:15 +00:00
2020-10-02 00:53:28 +00:00
2020-10-06 00:29:39 +00:00
2020-09-23 14:32:00 +00:00
2020-07-21 16:11:38 +00:00
2020-09-16 18:47:43 +00:00
2020-09-21 23:55:56 +00:00
2020-09-25 17:49:47 +00:00
2020-07-31 21:07:11 +00:00
2020-09-16 18:47:43 +00:00
2020-09-15 22:06:49 +00:00
2020-10-01 16:43:37 +00:00
2020-08-18 19:35:56 +00:00
2020-08-14 22:00:22 +00:00
2020-06-30 21:04:48 +00:00
2020-09-29 18:18:12 +00:00
2020-07-08 18:31:27 +00:00
2020-10-05 20:58:26 +00:00
2020-09-15 22:25:16 +00:00
2020-09-25 18:35:20 +00:00
2020-08-31 12:43:38 +00:00
2020-09-18 19:23:21 +00:00
2020-09-18 19:23:21 +00:00
2020-07-29 21:54:58 +00:00
2020-09-17 23:41:14 +00:00
2020-06-18 00:06:21 +00:00
2020-08-05 03:15:38 +00:00
2020-09-15 22:25:16 +00:00
2020-07-09 08:45:43 +00:00
2020-07-09 08:45:43 +00:00
2020-08-18 22:16:31 +00:00
2020-06-26 15:34:08 +00:00
2020-09-15 22:25:16 +00:00
2020-09-11 17:51:25 +00:00
2020-08-19 17:38:51 +00:00
2020-08-19 17:54:37 +00:00
2020-06-20 16:50:20 +00:00
2020-07-08 18:31:27 +00:00
2020-08-07 19:22:57 +00:00
2020-07-08 18:31:27 +00:00
2020-10-04 19:05:44 +00:00
2020-09-16 18:47:43 +00:00
2020-10-05 20:42:56 +00:00
2020-08-18 01:23:54 +00:00
2020-10-02 23:36:56 +00:00
2020-10-02 23:36:56 +00:00
2020-10-02 23:36:56 +00:00
2020-10-06 06:42:55 +00:00
2020-06-24 09:18:28 +00:00
2020-09-28 04:35:04 +00:00
2020-07-07 10:13:15 +00:00
2020-09-15 22:15:00 +00:00
2020-08-24 12:40:17 +00:00
2020-06-23 21:54:41 +00:00
2020-08-20 02:15:11 +00:00
2020-09-03 18:29:47 +00:00
2020-06-24 14:47:13 +00:00
2020-08-19 17:58:30 +00:00
2020-09-30 14:43:28 +00:00
2020-09-25 18:35:20 +00:00
2020-08-20 02:11:09 +00:00
2020-08-18 01:23:54 +00:00
2020-09-03 19:21:50 +00:00
2020-07-28 02:36:20 +00:00
2020-06-15 23:28:56 +00:00
2020-06-15 23:28:56 +00:00
2020-09-16 18:47:43 +00:00
2020-09-24 13:34:33 +00:00
2020-08-19 17:54:37 +00:00
2020-08-19 17:38:51 +00:00
2020-10-01 03:07:39 +00:00
2020-07-08 18:31:27 +00:00
2020-08-18 18:15:11 +00:00
2020-09-30 18:05:52 +00:00
2020-09-30 18:05:52 +00:00
2020-08-05 03:15:38 +00:00
2020-08-19 17:54:37 +00:00
2020-07-29 20:09:46 +00:00
2020-09-15 01:47:18 +00:00
2020-09-15 22:25:16 +00:00