Unione delle correzioni delle piattaforme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-14 01:43:47 +00:00
commit 9353a547c4
36 files changed
+1683 -152

No files matched your search

@@ -40,6 +40,13 @@ public sealed record ChromiumLaunchOptions
/// The Docker image also ships a policy file for the same purpose.
/// </summary>
public bool SeedProfilePreferences { get; init; } = true;
/// <summary>
/// Called with every browser process right after it starts (also after a restart), before it is ready. Windows: Edge
/// is tied to the life of Febe.exe, so that it never outlives a crash of Febe holding the profile and the debugging
/// port. Null: nothing.
/// </summary>
public Action<System.Diagnostics.Process>? ProcessStarted { get; init; }
}
/// <summary>
@@ -229,6 +229,8 @@ public sealed class ChromiumProcessHost : IBrowserHost
private async Task WaitReadyAndConnectAsync(Process process, CancellationToken ct)
{
// First of all, as close to the start as possible: the processes the browser opens afterwards follow it.
_launch.ProcessStarted?.Invoke(process);
var options = _options ?? throw new InvalidOperationException("Opzioni mancanti.");
var port = options.DebugPort;
var deadline = _clock.Now + _launch.StartupTimeout;