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 => true;
public bool SameOriginGetRequestsOnly => true;
public bool ClrAccess => false;
public bool ProcessIsolation => false;
public bool FullContentSecurityPolicy => false;
public bool BlockScriptsWhenCspIsDeclared => false;
public bool NonceStrictDynamicCspProfile => true;
/// <summary>Explicit backend declaration; this does not assert current connectivity.</summary>
public bool NativeNetworkTransport { get; init; }
public bool SupportsHttp { get; init; }
/// <summary>A TLS implementation is available; every HTTPS request must still validate its certificate.</summary>
public bool SupportsHttps { get; init; }
}
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 => true;
public bool SameOriginGetRequestsOnly => true;
public bool ClrAccess => false;
public bool ProcessIsolation => false;
public bool FullContentSecurityPolicy => false;
public bool BlockScriptsWhenCspIsDeclared => false;
public bool NonceStrictDynamicCspProfile => true;
/// <summary>Explicit backend declaration; this does not assert current connectivity.</summary>
public bool NativeNetworkTransport { get; init; }
public bool SupportsHttp { get; init; }
/// <summary>A TLS implementation is available; every HTTPS request must still validate its certificate.</summary>
public bool SupportsHttps { get; init; }
}