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:
parent
c2ab0dafb2
commit
82f9b51da6
Notes:
github-actions[bot]
2025-06-06 21:09:45 +00:00
Author: https://github.com/trflynn89
Commit: 82f9b51da6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5021
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue