namespace XFESystem.Browser; public sealed record BrowserCapabilities { public string HtmlEngine => "AngleSharp 1.7.1"; public string JavaScriptEngine => "Jint 4.11.0"; public bool InlineJavaScript => true; public bool ExplicitLimitedDom => true; public bool TextAndLinks => true; public bool CssLayout => true; public bool ExternalScripts => true; public bool ModuleScripts => false; public bool WebAssembly => false; public bool BrowserEvents => true; public bool FetchFromJavaScript => false; public bool ClrAccess => false; public bool ProcessIsolation => false; public bool FullContentSecurityPolicy => false; public bool BlockScriptsWhenCspIsDeclared => true; /// Explicit backend declaration; this does not assert current connectivity. public bool NativeNetworkTransport { get; init; } public bool SupportsHttp { get; init; } /// A TLS implementation is available; every HTTPS request must still validate its certificate. public bool SupportsHttps { get; init; } }