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

@ -2112,7 +2112,7 @@ impl Window {
let (sender, receiver) = ipc::channel().expect("Failed to create IPC channel!");
let event = ScriptMsg::SetLayoutEpoch(epoch, sender);
self.send_to_constellation(event);
receiver.recv().unwrap();
let _ = receiver.recv();
}
pub fn layout_reflow(&self, query_msg: QueryMsg, can_gc: CanGc) -> bool {