Dmitry Gozman
fea8772d95
fix: emit load/domcontentloaded events as reported by the browser ( #16861 )
...
Instead of requiring all frames in the subtree to receive a particular
event, we rely on the browser's definition of load and DOMContentLoaded.
This changes logic in a few edge cases:
- Some browsers do not emit load event upon window.stop() at all.
- DOMContentLoaded does not wait for subframes, so they might not be
ready when passing `{ waitUntil: 'domcontentloaded' }`.
`networkidle` preserves the old logic.
2022-08-26 13:48:05 -07:00
..
2022-08-23 10:25:28 -07:00
2022-07-08 11:07:06 -07:00
2022-08-25 11:58:58 +02:00
2022-07-08 11:07:06 -07:00
2022-06-06 09:46:08 -07:00
2022-08-03 16:55:19 -07:00
2022-06-16 19:36:37 +02:00
2022-08-18 20:12:33 +02:00
2022-07-12 14:30:24 -07:00
2022-08-18 20:12:33 +02:00
2022-08-02 22:51:10 +02:00
2022-06-08 10:16:49 -07:00
2022-08-18 20:12:33 +02:00
2022-08-17 17:13:00 -07:00
2022-06-24 10:48:16 -07:00
2022-06-08 18:27:51 -04:00
2022-06-08 14:13:39 -08:00
2022-08-18 20:12:33 +02:00
2022-04-22 13:42:52 +02:00
2022-05-19 09:06:31 -07:00
2022-08-25 11:58:41 -07:00
2022-07-13 16:11:38 -07:00
2022-08-18 20:12:33 +02:00
2022-08-19 14:19:54 +02:00
2022-08-24 17:45:15 +02:00
2022-08-18 20:12:33 +02:00
2022-08-18 20:12:33 +02:00
2022-07-27 11:27:53 -07:00
2022-07-07 21:43:47 +02:00
2022-07-27 12:23:22 -07:00
2022-08-03 16:55:19 -07:00
2022-06-30 09:05:39 -07:00
2022-08-26 13:48:05 -07:00
2022-07-11 13:10:08 -07:00
2022-08-03 14:51:11 -07:00
2022-05-30 15:04:05 +02:00
2022-06-23 15:55:12 -07:00
2022-06-30 15:58:11 +02:00
2022-08-04 15:04:00 -07:00
2022-06-09 13:58:22 -07:00
2022-06-02 21:14:01 -07:00
2022-07-31 14:31:17 -07:00
2022-07-27 11:27:53 -07:00
2022-07-15 13:31:58 -07:00
2022-07-06 09:20:07 -07:00