1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-07 21:17:07 +09:00

LibDevTools: Set target type for frame actors

Required for Firefox 139.
This commit is contained in:
Timothy Flynn 2025-06-06 16:45:49 -04:00 committed by Tim Flynn
parent c2ab0dafb2
commit 82f9b51da6
Notes: github-actions[bot] 2025-06-06 21:09:45 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -42,7 +42,7 @@ void DeviceActor::handle_message(Message const& message)
value.set("version"sv, browser_version);
value.set("appbuildid"sv, build_id);
value.set("platformbuildid"sv, build_id);
value.set("platformversion"sv, "135.0"sv);
value.set("platformversion"sv, "139.0"sv);
value.set("useragent"sv, Web::default_user_agent);
value.set("os"sv, platform_name);
value.set("arch"sv, arch);

View file

@ -115,6 +115,7 @@ JsonObject FrameActor::serialize_target() const
JsonObject target;
target.set("actor"sv, name());
target.set("targetType"sv, "frame"sv);
if (auto tab_actor = m_tab.strong_ref()) {
target.set("title"sv, tab_actor->description().title);