Prajjwal
50a79c6af8
LibWeb: Change SessionHistoryTraversalQueue to use Promises
...
If multiple cross-document navigations are queued on
SessionHistoryTraversalQueue, running the next entry before the current
document load is finished may result in a deadlock. If the new document
has a navigable element of its own, it will append steps to SHTQ and
hang in nested spin_until.
This change uses promises to ensure that the current document loads
before the next entry is executed.
Fixes timeouts in the imported tests.
Co-authored-by: Sam Atkins <sam@ladybird.org >
2025-11-26 12:27:12 +01:00
..
2024-12-02 22:41:51 +00:00
2025-03-22 16:03:44 +01:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-09 12:24:45 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-11 11:09:47 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-07 00:43:41 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-20 12:14:14 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-20 12:14:14 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-06-22 23:51:34 +02:00
2025-02-20 14:32:13 +01:00
2025-05-19 14:12:25 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-21 23:36:07 +02:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-21 23:36:07 +02:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-01-07 00:43:41 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-10 12:09:20 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-10 12:09:20 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-11-26 12:27:12 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-09 12:24:45 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-10-21 23:36:07 +02:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2025-05-19 14:12:25 +01:00
2025-02-20 14:32:13 +01:00
2025-02-20 14:32:13 +01:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-08-07 19:24:39 +02:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-01-07 00:43:41 +01:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2024-12-02 22:41:51 +00:00
2025-11-09 01:43:46 +01:00
2024-12-02 22:41:51 +00:00