servo/ports/servoshell
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
..
desktop Don't allow minibrowser tab titles to be empty (#33229) 2024-08-28 16:57:28 +00:00
egl android: Remove unused imports in android.rs (#33218) 2024-08-28 03:51:00 +00:00
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Set the cfg properly for the production-stripped profile (#32991) 2024-08-09 09:16:51 +00:00
Cargo.toml Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
crash_handler.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
lib.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
main.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
panic_hook.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
parser.rs android: Use location_bar_input_to_url instead of re-implementing (#32586) 2024-06-24 15:25:07 +00:00
prefs.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
resources.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
test.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00