diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-01-07 03:57:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-07 08:57:14 +0000 |
commit | 17e2ca3f013e2ff8e7d7bca08d93c6c723a2b71d (patch) | |
tree | d9c750daf44bd68375e461781054f27ed1802028 /components/script | |
parent | 8a68d47409559777d6b39c0bc4a5b4fe391794be (diff) | |
download | servo-17e2ca3f013e2ff8e7d7bca08d93c6c723a2b71d.tar.gz servo-17e2ca3f013e2ff8e7d7bca08d93c6c723a2b71d.zip |
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>
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 61ee2412880..06df94b187d 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -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 { |