mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01:00
LibDevTools: Set target type for frame actors
Required for Firefox 139.
This commit is contained in:
parent
c2ab0dafb2
commit
82f9b51da6
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user