LibDevTools: Set target type for frame actors
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

Required for Firefox 139.
This commit is contained in:
Timothy Flynn 2025-06-06 16:45:49 -04:00 committed by Tim Flynn
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("version"sv, browser_version);
value.set("appbuildid"sv, build_id); value.set("appbuildid"sv, build_id);
value.set("platformbuildid"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("useragent"sv, Web::default_user_agent);
value.set("os"sv, platform_name); value.set("os"sv, platform_name);
value.set("arch"sv, arch); value.set("arch"sv, arch);

View file

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