Various servodriver fixes (#34871)

* servodriver: Set initial URL to data:, instead of about:blank.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Ignore failed epoch update messages.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Make servo-max-session-history.html use an iframe.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-01-07 03:57:14 -05:00 committed by GitHub
parent 8a68d47409
commit 17e2ca3f01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 43 additions and 34 deletions

View file

@ -426,9 +426,6 @@ impl Handler {
}
fn focus_top_level_browsing_context_id(&self) -> WebDriverResult<TopLevelBrowsingContextId> {
// FIXME(#34550): This is a hack for unexpected behaviour in the constellation.
thread::sleep(Duration::from_millis(1000));
debug!("Getting focused context.");
let interval = 20;
let iterations = 30_000 / interval;