Patrick Monette
6cf4c37f9d
[Tab Freezing] Proposal to track blocking IndexedDB transactions
...
Right now, tab freezing is based on the existence of an IndexedBD
connection. This is too conservative. Telemetry data shows that a
large number of tabs are opted-out of tab freezing because of
IndexedDB.
With this change, tabs are only opt-out if they are running
a IDB transaction that actually blocks another client. This is done
by refactoring the DisallowInactiveClient() functionality to also
handle frozen documents.
The existing ObservedFeatureType named kIndexedDBConnection is
renamed to kBlockingIndexedDBLock to track this scenario, which
is then used to opt-out the tab from freezing.
Bug: 362464956
Change-Id: If455789e900c232813d045b831e937a042a334c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5838043
Reviewed-by: Francois Pierre Doray <fdoray@chromium.org >
Commit-Queue: Patrick Monette <pmonette@chromium.org >
Owners-Override: Patrick Monette <pmonette@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1398627}
2024-12-19 09:11:12 -08:00
..
2024-12-18 15:52:19 -08:00
2024-12-13 12:38:32 -08:00
2024-12-15 22:27:36 -08:00
2024-12-17 12:17:09 -08:00
2024-12-17 19:01:26 -08:00
2024-12-16 18:02:08 -08:00
2024-12-10 20:41:54 +00:00
2024-12-10 20:41:54 +00:00
2024-12-10 20:41:54 +00:00
2024-11-14 00:09:15 +00:00
2024-12-17 17:30:07 -08:00
2024-12-18 15:25:28 -08:00
2024-10-25 17:39:48 +00:00
2024-10-31 19:37:21 +00:00
2024-11-22 14:37:29 +00:00
2024-12-10 04:09:21 +00:00
2024-12-16 18:02:08 -08:00
2024-11-27 09:02:33 +00:00
2024-09-23 22:56:36 +00:00
2024-10-07 19:38:41 +00:00
2024-12-17 14:41:45 -08:00
2024-12-05 18:21:19 +00:00
2024-10-31 19:37:21 +00:00
2024-10-16 22:47:54 +00:00
2024-12-17 14:41:45 -08:00
2024-10-31 19:37:21 +00:00
2024-11-04 20:32:26 +00:00
2024-11-05 15:47:18 +00:00
2024-12-13 05:35:28 -08:00
2024-12-13 09:54:30 -08:00
2024-12-16 18:02:08 -08:00
2024-12-18 11:09:16 -08:00
2024-12-18 15:25:28 -08:00
2024-12-10 20:41:54 +00:00
2024-11-20 11:10:02 +00:00
2024-09-19 03:43:44 +00:00
2024-10-22 19:18:16 +00:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-10-31 19:37:21 +00:00
2024-12-10 20:41:54 +00:00
2024-12-19 09:11:12 -08:00
2024-12-19 08:06:24 -08:00
2024-12-19 09:11:12 -08:00
2024-12-16 18:02:08 -08:00
2024-09-30 23:17:39 +00:00
2024-12-16 18:02:08 -08:00
2024-12-17 14:34:34 -08:00
2024-12-12 17:51:18 -08:00
2024-12-12 14:54:40 -08:00
2024-11-29 21:25:11 +00:00
2024-12-11 12:41:32 -08:00
2024-12-16 18:51:32 -08:00
2024-12-18 15:55:07 -08:00
2024-10-24 20:14:48 +00:00
2024-12-16 18:02:08 -08:00
2024-10-31 03:19:04 +00:00
2024-12-10 20:41:54 +00:00
2024-11-19 18:51:37 +00:00
2024-12-17 20:10:22 -08:00
2024-12-10 20:41:54 +00:00
2024-12-18 15:25:28 -08:00
2024-12-10 20:41:54 +00:00
2024-12-10 20:41:54 +00:00
2024-11-29 21:25:11 +00:00
2024-10-31 11:09:41 +00:00
2024-12-19 09:11:12 -08:00
2024-12-12 13:51:04 -08:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-12-10 20:41:54 +00:00
2024-10-23 21:49:38 +00:00
2024-12-16 18:02:08 -08:00
2024-12-17 16:56:36 -08:00
2024-12-15 21:15:36 -08:00
2024-12-18 17:04:55 -08:00
2024-12-11 05:31:08 -08:00
2024-12-10 20:41:54 +00:00
2024-12-18 09:37:39 -08:00
2024-11-21 21:34:28 +00:00
2024-12-18 11:40:10 -08:00
2024-12-10 20:41:54 +00:00
2024-12-13 05:35:28 -08:00
2024-12-16 18:02:08 -08:00
2024-12-18 09:58:42 -08:00
2024-12-16 18:02:08 -08:00
2024-12-18 15:39:39 -08:00
2024-12-10 20:41:54 +00:00
2024-12-18 15:39:39 -08:00
2024-12-16 18:02:08 -08:00
2024-10-31 19:37:21 +00:00
2024-12-16 18:02:08 -08:00
2024-10-23 21:49:38 +00:00
2024-12-16 18:02:08 -08:00
2024-12-03 01:12:55 +00:00
2024-12-11 10:11:48 +00:00
2024-11-26 02:00:01 +00:00
2024-12-10 20:42:14 +00:00
2024-12-10 20:42:14 +00:00
2024-11-15 04:02:01 +00:00
2024-12-16 18:02:08 -08:00
2024-11-15 04:02:01 +00:00
2024-12-10 20:41:54 +00:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-12-13 18:04:42 -08:00
2024-09-13 17:35:57 +00:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-10-25 14:10:42 +00:00
2024-12-16 18:02:08 -08:00
2024-11-21 23:31:18 +00:00
2024-11-13 00:52:22 +00:00
2024-11-13 00:52:22 +00:00
2024-12-18 09:22:58 -08:00
2024-12-16 18:02:08 -08:00
2024-12-16 18:02:08 -08:00
2024-09-20 01:51:50 +00:00
2024-10-31 19:37:21 +00:00
2024-10-31 19:37:21 +00:00
2024-10-07 18:52:12 +00:00
2024-10-08 21:16:09 +00:00
2024-10-08 21:16:09 +00:00
2024-11-14 14:53:55 +00:00
2024-11-20 19:58:42 +00:00
2024-12-10 20:41:54 +00:00
2024-11-06 02:09:07 +00:00
2024-12-13 09:54:30 -08:00
2024-12-10 20:41:54 +00:00
2024-12-09 07:52:38 +00:00
2024-10-31 19:37:21 +00:00
2024-12-15 21:15:36 -08:00
2024-12-03 01:12:55 +00:00
2024-12-16 18:02:08 -08:00
2024-12-17 12:59:24 -08:00
2024-12-17 12:59:24 -08:00
2024-10-31 17:52:26 +00:00
2024-12-13 05:35:28 -08:00
2024-10-31 19:37:21 +00:00
2024-10-31 17:52:26 +00:00
2024-12-18 09:24:09 -08:00
2024-12-18 09:24:09 -08:00
2024-12-10 20:41:54 +00:00
2024-12-16 07:45:14 -08:00
2024-12-16 18:02:08 -08:00
2024-10-21 21:20:30 +00:00
2024-10-31 19:37:21 +00:00
2024-12-18 08:34:23 -08:00
2024-12-03 01:12:55 +00:00
2024-10-31 19:37:21 +00:00
2024-12-16 18:02:08 -08:00
2024-12-18 20:42:47 -08:00
2024-12-17 16:56:36 -08:00
2024-12-17 16:56:36 -08:00
2024-12-16 18:02:08 -08:00
2024-12-12 17:51:18 -08:00
2024-12-16 18:02:08 -08:00
2024-12-10 20:42:14 +00:00
2024-10-31 19:37:21 +00:00
2024-09-24 08:37:45 +00:00
2024-09-24 08:37:45 +00:00
2024-09-05 22:05:26 +00:00
2024-10-23 21:43:11 +00:00
2024-10-31 19:37:21 +00:00
2024-11-22 19:31:13 +00:00
2024-12-16 18:51:32 -08:00
2024-09-02 11:23:35 +00:00
2024-12-16 18:02:08 -08:00
2024-11-22 23:33:00 +00:00
2024-12-10 20:41:54 +00:00
2024-12-13 09:54:30 -08:00
2024-12-13 09:54:30 -08:00
2024-11-13 00:52:22 +00:00
2024-12-16 18:02:08 -08:00
2024-12-12 17:51:18 -08:00
2024-12-16 18:02:08 -08:00
2024-11-13 00:52:22 +00:00
2024-12-02 04:40:15 +00:00
2024-12-16 18:02:08 -08:00
2024-09-10 11:21:15 +00:00
2024-10-17 13:00:34 +00:00
2024-12-16 12:20:44 -08:00
2024-12-17 16:56:36 -08:00
2024-12-17 16:56:36 -08:00
2024-12-10 20:41:54 +00:00
2024-11-25 15:09:41 +00:00
2024-11-29 21:25:11 +00:00
2024-12-10 01:13:01 +00:00
2024-12-10 01:13:01 +00:00
2024-12-13 15:07:28 -08:00
2024-11-19 01:42:40 +00:00
2024-10-31 19:37:21 +00:00
2024-11-05 14:57:58 +00:00
2024-11-21 20:34:56 +00:00
2024-11-05 14:57:58 +00:00
2024-12-16 18:02:08 -08:00
2024-10-08 19:48:41 +00:00
2024-12-17 14:43:30 -08:00
2024-12-16 18:02:08 -08:00
2024-10-15 02:30:18 +00:00
2024-10-30 06:40:47 +00:00
2024-10-30 06:40:47 +00:00
2024-12-10 01:13:01 +00:00
2024-12-10 01:13:01 +00:00
2024-10-31 19:37:21 +00:00