Dmitry Gozman
cdb862767f
fix(page): "load" event should fire before "waitForLoadState" resolves ( #14897 )
...
Currently, `loadstate` and `load` are two separate events in the protocol,
and are fired in this order. As a result, `waitForLoadState()` sometimes
resolves before the `'load'` event is fired, which is unexpected.
Also fixes a flaky test that assumed `load` event comes after `domcontentloaded`
for the empty page, which is not always a case in Chromium.
2022-06-16 09:35:53 -07:00
..
2022-06-08 14:13:39 -08:00
2022-06-09 13:47:58 -07:00
2022-03-10 19:42:52 +01:00
2022-03-01 18:10:16 +01:00
2021-09-27 18:58:08 +02:00
2021-08-29 20:00:40 -07:00
2022-03-06 12:22:47 +01:00
2021-09-27 18:58:08 +02:00
2021-09-27 18:58:08 +02:00
2022-04-23 21:48:36 +01:00
2022-03-06 12:22:47 +01:00
2022-03-28 09:24:58 -07:00
2021-09-27 18:58:08 +02:00
2021-09-27 18:58:08 +02:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-06-07 18:09:47 -07:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-05-09 18:51:53 -07:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-02 09:33:44 -08:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-06-02 04:34:05 -07:00
2022-03-02 23:46:33 +01:00
2022-03-10 19:42:52 +01:00
2022-06-09 13:47:58 -07:00
2022-05-12 18:50:19 +01:00
2022-06-09 22:53:37 +02:00
2022-03-10 19:42:52 +01:00
2022-06-10 15:59:49 +02:00
2022-04-03 18:47:12 -07:00
2021-09-27 18:58:08 +02:00
2022-03-10 19:42:52 +01:00
2022-06-16 09:35:53 -07:00
2021-09-27 18:58:08 +02:00
2021-09-27 18:58:08 +02:00
2022-03-10 19:42:52 +01:00
2022-01-07 12:12:24 -08:00
2021-09-27 18:58:08 +02:00
2021-09-27 18:58:08 +02:00
2021-09-27 18:58:08 +02:00
2022-01-19 14:46:27 +01:00
2021-11-05 17:31:28 -07:00
2021-11-05 17:31:28 -07:00
2022-06-09 13:58:22 -07:00
2021-09-27 18:58:08 +02:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-05-09 18:51:53 -07:00
2021-09-27 18:58:08 +02:00
2022-05-09 18:51:53 -07:00
2022-03-10 19:42:52 +01:00
2021-08-26 18:44:49 -07:00
2022-03-10 19:42:52 +01:00
2021-11-30 14:26:26 +01:00
2022-03-10 19:42:52 +01:00
2021-12-02 07:44:13 -08:00
2022-05-09 18:51:53 -07:00
2022-03-10 19:42:52 +01:00
2022-06-08 14:13:39 -08:00
2022-06-02 04:34:05 -07:00
2022-03-10 19:42:52 +01:00
2022-05-19 14:31:56 -07:00
2022-03-10 19:42:52 +01:00
2021-09-27 18:58:08 +02:00
2022-04-06 14:57:14 -07:00
2022-06-02 04:34:05 -07:00
2022-06-09 13:40:42 -07:00
2022-01-07 09:11:54 -08:00
2022-06-13 17:56:16 -07:00
2022-06-15 08:41:46 -07:00
2022-06-15 16:35:44 -07:00
2022-06-07 09:00:51 -07:00
2022-06-15 16:15:45 -07:00
2022-06-09 13:55:46 -07:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-06-15 16:15:45 -07:00
2022-06-12 09:39:30 -07:00
2021-11-03 10:44:50 -07:00
2022-04-26 17:13:45 +01:00
2022-01-27 14:58:43 -08:00
2022-01-06 14:47:52 -08:00
2022-01-20 14:38:19 +01:00
2021-11-05 16:36:01 -07:00
2022-03-28 16:10:16 -07:00
2021-11-01 17:12:19 -07:00
2022-04-06 14:57:14 -07:00
2022-04-06 14:57:14 -07:00
2022-03-10 19:42:52 +01:00
2022-03-10 19:42:52 +01:00
2022-04-06 14:57:14 -07:00
2022-05-12 18:50:19 +01:00
2022-05-03 13:46:52 -07:00
2022-05-08 11:07:01 +01:00
2022-03-30 09:33:32 -07:00
2022-03-22 17:00:56 -07:00
2022-05-12 17:29:03 +01:00
2022-03-10 19:42:52 +01:00