mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb+LibWebView+WebContent+UI: Port the document title to UTF-16
This commit is contained in:
parent
13ed6aba71
commit
50fed1d65c
Notes:
github-actions[bot]
2025-08-02 17:11:26 +00:00
Author: https://github.com/trflynn89
Commit: 50fed1d65c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5633
Reviewed-by: https://github.com/gmta
24 changed files with 90 additions and 59 deletions
|
@ -324,7 +324,7 @@ void Application::launch_spare_web_content_process()
|
|||
m_spare_web_content_process = web_content_client.release_value();
|
||||
|
||||
if (auto process = find_process(m_spare_web_content_process->pid()); process.has_value())
|
||||
process->set_title("(spare)"_string);
|
||||
process->set_title("(spare)"_utf16);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -594,7 +594,7 @@ Vector<DevTools::TabDescription> Application::tab_list() const
|
|||
Vector<DevTools::TabDescription> tabs;
|
||||
|
||||
ViewImplementation::for_each_view([&](ViewImplementation& view) {
|
||||
tabs.empend(view.view_id(), MUST(String::from_byte_string(view.title())), view.url().to_string());
|
||||
tabs.empend(view.view_id(), view.title().to_utf8(), view.url().to_string());
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue