mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
This test caused some flakiness due to the about:blank load it triggers. It causes headless-browser to receive a load event for about:blank. If we have moved onto the next test before that event arrived, that test would ultimately time out, as its own load will have been dropped while the about:blank load is still ongoing. This patch makes us wait for that iframe load event before completing the test. We may want to consider never sending subframe load events to the UI process as well. We really only care about top-level page loads in the receivers of that event.