mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
AK+Everywhere: Store JSON strings as String
This commit is contained in:
parent
e591636419
commit
bc54c0cdfb
Notes:
github-actions[bot]
2025-02-21 00:29:21 +00:00
Author: https://github.com/trflynn89
Commit: bc54c0cdfb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
33 changed files with 163 additions and 152 deletions
|
@ -60,8 +60,8 @@ JsonObject TabActor::serialize_description() const
|
|||
// provide different IDs for browserId, browsingContextID, and outerWindowID.
|
||||
JsonObject description;
|
||||
description.set("actor"sv, name());
|
||||
description.set("title"sv, m_description.title);
|
||||
description.set("url"sv, m_description.url);
|
||||
description.set("title"sv, MUST(String::from_byte_string(m_description.title)));
|
||||
description.set("url"sv, MUST(String::from_byte_string(m_description.url)));
|
||||
description.set("browserId"sv, m_description.id);
|
||||
description.set("browsingContextID"sv, m_description.id);
|
||||
description.set("outerWindowID"sv, m_description.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue