Jonas Jenwald
472bbf4592
Unblock the "load" event in inactive windows/tabs (bug 1746213, PR 11646 follow-up)
...
Given that `requestAnimationFrame` is being used, see the `src/diplay/api.js` file, an inactive window/tab means that rendering will not run and we'll thus not fetch all pages. The latter is a requirement for the "load" event to be unblocked, in the MOZCENTRAL-version of, the default viewer.
This patch is a *partial* solution, since it only addresses the following situations:
- A *background* tab (containing the viewer) is reloaded, e.g. via the tab-bar context menu.
- The viewer is loaded in a active tab, but the user switches away from it (or switches to another program window) *before* rendering has started.
2021-12-19 10:39:48 +01:00
..
2021-10-12 13:45:15 +02:00
2015-01-26 16:44:45 +01:00
2021-11-12 15:37:33 +01:00
2021-12-15 23:17:08 +01:00
2021-09-22 15:43:26 +02:00
2021-12-15 23:17:08 +01:00
2021-11-13 16:56:08 +01:00
2021-12-19 10:39:48 +01:00
2015-08-14 18:59:55 +02:00
2021-05-16 11:44:05 +02:00
2011-07-05 10:53:57 -07:00
2021-11-16 17:52:50 +01:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:14:25 +01:00
2021-12-15 17:18:57 +01:00
2021-09-11 11:15:25 +02:00
2021-11-01 17:50:49 +01:00
2021-05-16 11:44:05 +02:00
2020-12-23 14:05:49 +01:00
2021-12-15 23:14:25 +01:00
2021-11-13 23:07:36 +01:00
2021-12-15 23:17:08 +01:00
2021-07-08 12:54:58 +02:00
2019-12-26 12:35:12 +01:00
2021-03-04 11:34:51 +01:00
2021-02-26 10:50:29 +01:00
2021-02-14 10:39:49 +01:00
2021-03-17 15:48:24 +01:00
2021-10-16 10:36:22 +02:00
2021-12-15 23:17:08 +01:00
2019-12-26 12:34:24 +01:00
2021-12-15 23:17:08 +01:00
2021-05-16 11:44:05 +02:00
2021-12-15 23:17:08 +01:00
2021-12-05 11:04:17 +01:00
2021-12-15 23:17:08 +01:00
2021-10-12 13:45:15 +02:00
2021-09-11 11:15:25 +02:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:17:08 +01:00
2021-03-07 16:20:52 +01:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:17:08 +01:00
2021-12-11 17:13:41 +01:00
2021-10-12 13:45:19 +02:00
2019-12-26 12:34:24 +01:00
2021-03-22 14:38:05 +01:00
2021-12-15 23:17:08 +01:00
2021-11-29 13:54:24 +01:00
2021-12-15 23:17:08 +01:00
2021-12-15 23:17:08 +01:00
2021-11-07 11:01:35 +01:00
2021-12-15 23:17:08 +01:00
2021-10-02 12:28:00 +02:00
2021-12-15 23:17:08 +01:00
2020-03-21 13:55:06 +01:00
2017-05-31 09:22:25 -05:00
2018-03-21 18:21:46 +01:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2021-12-11 17:13:41 +01:00
2021-11-29 13:13:17 +01:00
2021-10-12 13:45:15 +02:00
2021-10-29 11:39:33 -04:00
2021-12-15 23:17:08 +01:00