servo/ports/servoshell/desktop
Simon Wülker 7c4ba51f51
Don't allow minibrowser tab titles to be empty (#33229)
* avoid unnecessary clones when setting tab title in minibrowser

This is of course not a performance issue, but rather just bad style.
Especially since the url doesn't even need to be .clone()'d
in the first place.

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Don't allow empty tab titles in minibrowser

These look very confusing. If the page has no title
its better to fall back to the url instead of displaying
absolutely nothing. (This is what firefox seems to do
too)

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-08-28 16:57:28 +00:00
..
protocols Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
app.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
cli.rs Allow prefs to be overridden from a file and set WPT-specific prefs from file (#33163) 2024-08-24 06:47:57 +00:00
egui_glue.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
embedder.rs compositor: Do not parse the Cargo.lock file while building (#33222) 2024-08-28 08:36:54 +00:00
events_loop.rs clippy: fix some warnings in desktop and some components (#32583) 2024-06-25 07:04:23 +00:00
geometry.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
headed_window.rs build(deps): bump windows-sys from 0.52.0 to 0.59.0 (#32982) 2024-08-09 06:33:26 +00:00
headless_window.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
keyutils.rs servoshell: Clean up keyboard event conversion a little (#32564) 2024-06-19 19:38:56 +00:00
minibrowser.rs Don't allow minibrowser tab titles to be empty (#33229) 2024-08-28 16:57:28 +00:00
mod.rs make protocol handlers registrable (#33104) 2024-08-22 04:11:16 +00:00
tracing.rs Gamepad: Implement GamepadHapticActuator (#32046) 2024-07-20 06:29:27 +00:00
webview.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
window_trait.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00