mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
Merge branch 'master' into changecefinitializetonullable
This commit is contained in:
@@ -120,7 +120,7 @@ body:
|
||||
attributes:
|
||||
value: |
|
||||
To help determine where the problem needs to be fixed please download and test using the `CEF Sample Application(cefclient)`.
|
||||
1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windowsarm64_client.tar.bz2).
|
||||
1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windowsarm64_client.tar.bz2).
|
||||
2. Extract tar.bz2 file
|
||||
3. Execute cefclient.exe using the **command line args below**:
|
||||
|
||||
|
||||
+2
-4
@@ -18,10 +18,8 @@ The upstream [`CEF` forum](http://magpcss.org/ceforum/) is a valuable resource,
|
||||
|
||||
It maybe helpful to run the `cefclient` application and compare output with `CefSharp`. The `WinForms` and `WPF` versions use two different rendering modes, `WPF` uses Offscreen Rendering (`OSR`). `OffScreen` also uses `OSR` mode.
|
||||
|
||||
- Download one of the following:
|
||||
- For x86 download https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windows32_client.tar.bz2
|
||||
- For x64 download https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windows64_client.tar.bz2
|
||||
- For arm64 download https://cef-builds.spotifycdn.com/cef_binary_122.1.12%2Bg6e69d20%2Bchromium-122.0.6261.112_windowsarm64_client.tar.bz2
|
||||
- Download and run the `CEF Sample Application(cefclient)`:
|
||||
- Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_126.2.12%2Bg162c3d6%2Bchromium-126.0.6478.127_windowsarm64_client.tar.bz2).
|
||||
- Extract and run cefclient.exe
|
||||
- If you are using WPF/OffScreen run
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\cef.sdk.126.2.7\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.126.2.7\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\cef.sdk.127.3.4\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.127.3.4\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
|
||||
<Import Project="..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\cef.sdk.126.2.7\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.126.2.7\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\cef.sdk.127.3.4\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.127.3.4\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
|
||||
<Import Project="..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma code_page(65001)
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 126,2,70
|
||||
PRODUCTVERSION 126,2,70
|
||||
FILEVERSION 127,3,40
|
||||
PRODUCTVERSION 127,3,40
|
||||
FILEFLAGSMASK 0x17L
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -18,10 +18,10 @@ BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core"
|
||||
VALUE "FileVersion", "126.2.70"
|
||||
VALUE "FileVersion", "127.3.40"
|
||||
VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors"
|
||||
VALUE "ProductName", "CefSharp"
|
||||
VALUE "ProductVersion", "126.2.70"
|
||||
VALUE "ProductVersion", "127.3.40"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="cef.sdk" version="126.2.7" targetFramework="native" />
|
||||
<package id="cef.sdk" version="127.3.4" targetFramework="native" />
|
||||
<package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="cef.sdk" version="126.2.7" targetFramework="netcoreapp3.1" />
|
||||
<package id="cef.sdk" version="127.3.4" targetFramework="netcoreapp3.1" />
|
||||
<package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<assemblyIdentity version="126.2.70.0" name="CefSharp.BrowserSubprocess.app" />
|
||||
<assemblyIdentity version="127.3.40.0" name="CefSharp.BrowserSubprocess.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\cef.sdk.126.2.7\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.126.2.7\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\cef.sdk.127.3.4\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.127.3.4\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
|
||||
<Import Project="..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\cef.sdk.126.2.7\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.126.2.7\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\cef.sdk.127.3.4\build\cef.sdk.props" Condition="Exists('..\packages\cef.sdk.127.3.4\build\cef.sdk.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" />
|
||||
<Import Project="..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
|
||||
<Import Project="..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma code_page(65001)
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 126,2,70
|
||||
PRODUCTVERSION 126,2,70
|
||||
FILEVERSION 127,3,40
|
||||
PRODUCTVERSION 127,3,40
|
||||
FILEFLAGSMASK 0x17L
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -18,10 +18,10 @@ BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "CefSharp.Core"
|
||||
VALUE "FileVersion", "126.2.70"
|
||||
VALUE "FileVersion", "127.3.40"
|
||||
VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors"
|
||||
VALUE "ProductName", "CefSharp"
|
||||
VALUE "ProductVersion", "126.2.70"
|
||||
VALUE "ProductVersion", "127.3.40"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="cef.sdk" version="126.2.7" targetFramework="native" />
|
||||
<package id="cef.sdk" version="127.3.4" targetFramework="native" />
|
||||
<package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="cef.sdk" version="126.2.7" targetFramework="netcoreapp3.1" />
|
||||
<package id="cef.sdk" version="127.3.4" targetFramework="netcoreapp3.1" />
|
||||
<package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" />
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// **This code was generated by a tool, do not change directly**
|
||||
// CHROMIUM VERSION 126.0.6478.115
|
||||
// CHROMIUM VERSION 127.0.6533.100
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
@@ -1985,6 +1985,16 @@ namespace CefSharp.DevTools.Audits
|
||||
[EnumMember(Value = ("CorpNotSameOriginAfterDefaultedToSameOriginByCoep"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
|
||||
/// <summary>
|
||||
/// CorpNotSameOriginAfterDefaultedToSameOriginByDip
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("CorpNotSameOriginAfterDefaultedToSameOriginByDip"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByDip,
|
||||
/// <summary>
|
||||
/// CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
|
||||
/// <summary>
|
||||
/// CorpNotSameSite
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("CorpNotSameSite"))]
|
||||
@@ -3528,7 +3538,17 @@ namespace CefSharp.DevTools.Audits
|
||||
/// ReplacedByButtonMode
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("ReplacedByButtonMode"))]
|
||||
ReplacedByButtonMode
|
||||
ReplacedByButtonMode,
|
||||
/// <summary>
|
||||
/// RelyingPartyOriginIsOpaque
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("RelyingPartyOriginIsOpaque"))]
|
||||
RelyingPartyOriginIsOpaque,
|
||||
/// <summary>
|
||||
/// TypeNotMatching
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("TypeNotMatching"))]
|
||||
TypeNotMatching
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -7958,10 +7978,10 @@ namespace CefSharp.DevTools.DOM
|
||||
[EnumMember(Value = ("scroll-marker"))]
|
||||
ScrollMarker,
|
||||
/// <summary>
|
||||
/// scroll-markers
|
||||
/// scroll-marker-group
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("scroll-markers"))]
|
||||
ScrollMarkers,
|
||||
[EnumMember(Value = ("scroll-marker-group"))]
|
||||
ScrollMarkerGroup,
|
||||
/// <summary>
|
||||
/// scrollbar
|
||||
/// </summary>
|
||||
@@ -13298,6 +13318,26 @@ namespace CefSharp.DevTools.Network
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started ServiceWorker static routing source evaluation.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("workerRouterEvaluationStart"), IsRequired = (false))]
|
||||
public double? WorkerRouterEvaluationStart
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started cache lookup when the source was evaluated to `cache`.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("workerCacheLookupStart"), IsRequired = (false))]
|
||||
public double? WorkerCacheLookupStart
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started sending request.
|
||||
/// </summary>
|
||||
@@ -13989,6 +14029,16 @@ namespace CefSharp.DevTools.Network
|
||||
[EnumMember(Value = ("corp-not-same-origin-after-defaulted-to-same-origin-by-coep"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
|
||||
/// <summary>
|
||||
/// corp-not-same-origin-after-defaulted-to-same-origin-by-dip
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("corp-not-same-origin-after-defaulted-to-same-origin-by-dip"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByDip,
|
||||
/// <summary>
|
||||
/// corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"))]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
|
||||
/// <summary>
|
||||
/// corp-not-same-site
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("corp-not-same-site"))]
|
||||
@@ -14474,6 +14524,32 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The actual router source used.
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.Network.ServiceWorkerRouterSource? ActualSourceType
|
||||
{
|
||||
get
|
||||
{
|
||||
return (CefSharp.DevTools.Network.ServiceWorkerRouterSource? )(StringToEnum(typeof(CefSharp.DevTools.Network.ServiceWorkerRouterSource? ), actualSourceType));
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
this.actualSourceType = (EnumToString(value));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The actual router source used.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("actualSourceType"), IsRequired = (false))]
|
||||
internal string actualSourceType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -15112,6 +15188,35 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// cookiePartitionKey object
|
||||
/// The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public partial class CookiePartitionKey : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("topLevelSite"), IsRequired = (true))]
|
||||
public string TopLevelSite
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("hasCrossSiteAncestor"), IsRequired = (true))]
|
||||
public bool HasCrossSiteAncestor
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie object
|
||||
/// </summary>
|
||||
@@ -15309,11 +15414,10 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// Cookie partition key.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("partitionKey"), IsRequired = (false))]
|
||||
public string PartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey PartitionKey
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -15583,7 +15687,12 @@ namespace CefSharp.DevTools.Network
|
||||
/// CorsOptIn
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("CorsOptIn"))]
|
||||
CorsOptIn
|
||||
CorsOptIn,
|
||||
/// <summary>
|
||||
/// Scheme
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Scheme"))]
|
||||
Scheme
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -15956,12 +16065,10 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// If not set, the cookie will be set as not partitioned.
|
||||
/// Cookie partition key. If not set, the cookie will be set as not partitioned.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("partitionKey"), IsRequired = (false))]
|
||||
public string PartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey PartitionKey
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -18565,7 +18672,7 @@ namespace CefSharp.DevTools.Network
|
||||
/// Only sent when partitioned cookies are enabled.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("cookiePartitionKey"), IsRequired = (false))]
|
||||
public string CookiePartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey CookiePartitionKey
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
@@ -18661,10 +18768,10 @@ namespace CefSharp.DevTools.Network
|
||||
[EnumMember(Value = ("AlreadyExists"))]
|
||||
AlreadyExists,
|
||||
/// <summary>
|
||||
/// Unavailable
|
||||
/// ResourceLimited
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Unavailable"))]
|
||||
Unavailable,
|
||||
[EnumMember(Value = ("ResourceLimited"))]
|
||||
ResourceLimited,
|
||||
/// <summary>
|
||||
/// Unauthorized
|
||||
/// </summary>
|
||||
@@ -20529,6 +20636,11 @@ namespace CefSharp.DevTools.Page
|
||||
[EnumMember(Value = ("cross-origin-isolated"))]
|
||||
CrossOriginIsolated,
|
||||
/// <summary>
|
||||
/// deferred-fetch
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("deferred-fetch"))]
|
||||
DeferredFetch,
|
||||
/// <summary>
|
||||
/// direct-sockets
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("direct-sockets"))]
|
||||
@@ -23331,6 +23443,31 @@ namespace CefSharp.DevTools.Page
|
||||
[EnumMember(Value = ("BroadcastChannelOnMessage"))]
|
||||
BroadcastChannelOnMessage,
|
||||
/// <summary>
|
||||
/// WebViewSettingsChanged
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebViewSettingsChanged"))]
|
||||
WebViewSettingsChanged,
|
||||
/// <summary>
|
||||
/// WebViewJavaScriptObjectChanged
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebViewJavaScriptObjectChanged"))]
|
||||
WebViewJavaScriptObjectChanged,
|
||||
/// <summary>
|
||||
/// WebViewMessageListenerInjected
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebViewMessageListenerInjected"))]
|
||||
WebViewMessageListenerInjected,
|
||||
/// <summary>
|
||||
/// WebViewSafeBrowsingAllowlistChanged
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebViewSafeBrowsingAllowlistChanged"))]
|
||||
WebViewSafeBrowsingAllowlistChanged,
|
||||
/// <summary>
|
||||
/// WebViewDocumentStartJavascriptChanged
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebViewDocumentStartJavascriptChanged"))]
|
||||
WebViewDocumentStartJavascriptChanged,
|
||||
/// <summary>
|
||||
/// WebSocket
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebSocket"))]
|
||||
@@ -42066,6 +42203,34 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// GetAnchorElementResponse
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class GetAnchorElementResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
[DataMember]
|
||||
internal int nodeId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// nodeId
|
||||
/// </summary>
|
||||
public int NodeId
|
||||
{
|
||||
get
|
||||
{
|
||||
return nodeId;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -43309,6 +43474,27 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("nodeId", nodeId);
|
||||
return _client.ExecuteDevToolsMethodAsync<GetQueryingDescendantsForContainerResponse>("DOM.getQueryingDescendantsForContainer", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetAnchorElement(int nodeId, string anchorSpecifier = null);
|
||||
/// <summary>
|
||||
/// Returns the target anchor element of the given anchor query according to
|
||||
/// https://www.w3.org/TR/css-anchor-position-1/#target.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Id of the positioned element from which to find the anchor.</param>
|
||||
/// <param name = "anchorSpecifier">An optional anchor specifier, as defined inhttps://www.w3.org/TR/css-anchor-position-1/#anchor-specifier.If not provided, it will return the implicit anchor element forthe given positioned element.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetAnchorElementResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetAnchorElementResponse> GetAnchorElementAsync(int nodeId, string anchorSpecifier = null)
|
||||
{
|
||||
ValidateGetAnchorElement(nodeId, anchorSpecifier);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
if (!(string.IsNullOrEmpty(anchorSpecifier)))
|
||||
{
|
||||
dict.Add("anchorSpecifier", anchorSpecifier);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetAnchorElementResponse>("DOM.getAnchorElement", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48050,7 +48236,7 @@ namespace CefSharp.DevTools.Network
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.clearBrowserCookies", dict);
|
||||
}
|
||||
|
||||
partial void ValidateDeleteCookies(string name, string url = null, string domain = null, string path = null, string partitionKey = null);
|
||||
partial void ValidateDeleteCookies(string name, string url = null, string domain = null, string path = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null);
|
||||
/// <summary>
|
||||
/// Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
||||
/// </summary>
|
||||
@@ -48058,9 +48244,9 @@ namespace CefSharp.DevTools.Network
|
||||
/// <param name = "url">If specified, deletes all the cookies with the given name where domain and path matchprovided URL.</param>
|
||||
/// <param name = "domain">If specified, deletes only cookies with the exact domain.</param>
|
||||
/// <param name = "path">If specified, deletes only cookies with the exact path.</param>
|
||||
/// <param name = "partitionKey">If specified, deletes only cookies with the the given name and partitionKey where domainmatches provided URL.</param>
|
||||
/// <param name = "partitionKey">If specified, deletes only cookies with the the given name and partitionKey whereall partition key attributes match the cookie partition key attribute.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> DeleteCookiesAsync(string name, string url = null, string domain = null, string path = null, string partitionKey = null)
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> DeleteCookiesAsync(string name, string url = null, string domain = null, string path = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null)
|
||||
{
|
||||
ValidateDeleteCookies(name, url, domain, path, partitionKey);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
@@ -48080,9 +48266,9 @@ namespace CefSharp.DevTools.Network
|
||||
dict.Add("path", path);
|
||||
}
|
||||
|
||||
if (!(string.IsNullOrEmpty(partitionKey)))
|
||||
if ((partitionKey) != (null))
|
||||
{
|
||||
dict.Add("partitionKey", partitionKey);
|
||||
dict.Add("partitionKey", partitionKey.ToDictionary());
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.deleteCookies", dict);
|
||||
@@ -48350,7 +48536,7 @@ namespace CefSharp.DevTools.Network
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.setCacheDisabled", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetCookie(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, string partitionKey = null);
|
||||
partial void ValidateSetCookie(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null);
|
||||
/// <summary>
|
||||
/// Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
||||
/// </summary>
|
||||
@@ -48367,9 +48553,9 @@ namespace CefSharp.DevTools.Network
|
||||
/// <param name = "sameParty">True if cookie is SameParty.</param>
|
||||
/// <param name = "sourceScheme">Cookie source scheme type.</param>
|
||||
/// <param name = "sourcePort">Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.This is a temporary ability and it will be removed in the future.</param>
|
||||
/// <param name = "partitionKey">Cookie partition key. The site of the top-level URL the browser was visiting at the startof the request to the endpoint that set the cookie.If not set, the cookie will be set as not partitioned.</param>
|
||||
/// <param name = "partitionKey">Cookie partition key. If not set, the cookie will be set as not partitioned.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetCookieResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetCookieResponse> SetCookieAsync(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, string partitionKey = null)
|
||||
public System.Threading.Tasks.Task<SetCookieResponse> SetCookieAsync(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null)
|
||||
{
|
||||
ValidateSetCookie(name, value, url, domain, path, secure, httpOnly, sameSite, expires, priority, sameParty, sourceScheme, sourcePort, partitionKey);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
@@ -48430,9 +48616,9 @@ namespace CefSharp.DevTools.Network
|
||||
dict.Add("sourcePort", sourcePort.Value);
|
||||
}
|
||||
|
||||
if (!(string.IsNullOrEmpty(partitionKey)))
|
||||
if ((partitionKey) != (null))
|
||||
{
|
||||
dict.Add("partitionKey", partitionKey);
|
||||
dict.Add("partitionKey", partitionKey.ToDictionary());
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<SetCookieResponse>("Network.setCookie", dict);
|
||||
@@ -55869,6 +56055,34 @@ namespace CefSharp.DevTools.PWA
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.PWA
|
||||
{
|
||||
/// <summary>
|
||||
/// LaunchFilesInAppResponse
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class LaunchFilesInAppResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
[DataMember]
|
||||
internal string[] targetIds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// targetIds
|
||||
/// </summary>
|
||||
public string[] TargetIds
|
||||
{
|
||||
get
|
||||
{
|
||||
return targetIds;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.PWA
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -55948,9 +56162,8 @@ namespace CefSharp.DevTools.PWA
|
||||
partial void ValidateLaunch(string manifestId, string url = null);
|
||||
/// <summary>
|
||||
/// Launches the installed web app, or an url in the same web app instead of the
|
||||
/// default start url if it is provided. Returns a tab / web contents based
|
||||
/// Target.TargetID which can be used to attach to via Target.attachToTarget or
|
||||
/// similar APIs.
|
||||
/// default start url if it is provided. Returns a page Target.TargetID which
|
||||
/// can be used to attach to via Target.attachToTarget or similar APIs.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <param name = "url">url</param>
|
||||
@@ -55967,6 +56180,50 @@ namespace CefSharp.DevTools.PWA
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<LaunchResponse>("PWA.launch", dict);
|
||||
}
|
||||
|
||||
partial void ValidateLaunchFilesInApp(string manifestId, string[] files);
|
||||
/// <summary>
|
||||
/// Opens one or more local files from an installed web app identified by its
|
||||
/// manifestId. The web app needs to have file handlers registered to process
|
||||
/// the files. The API returns one or more page Target.TargetIDs which can be
|
||||
/// used to attach to via Target.attachToTarget or similar APIs.
|
||||
/// If some files in the parameters cannot be handled by the web app, they will
|
||||
/// be ignored. If none of the files can be handled, this API returns an error.
|
||||
/// If no files provided as the parameter, this API also returns an error.
|
||||
///
|
||||
/// According to the definition of the file handlers in the manifest file, one
|
||||
/// Target.TargetID may represent a page handling one or more files. The order
|
||||
/// of the returned Target.TargetIDs is not guaranteed.
|
||||
///
|
||||
/// TODO(crbug.com/339454034): Check the existences of the input files.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <param name = "files">files</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<LaunchFilesInAppResponse></returns>
|
||||
public System.Threading.Tasks.Task<LaunchFilesInAppResponse> LaunchFilesInAppAsync(string manifestId, string[] files)
|
||||
{
|
||||
ValidateLaunchFilesInApp(manifestId, files);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("manifestId", manifestId);
|
||||
dict.Add("files", files);
|
||||
return _client.ExecuteDevToolsMethodAsync<LaunchFilesInAppResponse>("PWA.launchFilesInApp", dict);
|
||||
}
|
||||
|
||||
partial void ValidateOpenCurrentPageInApp(string manifestId);
|
||||
/// <summary>
|
||||
/// Opens the current page in its web app identified by the manifest id, needs
|
||||
/// to be called on a page target. This function returns immediately without
|
||||
/// waiting for the app finishing loading.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> OpenCurrentPageInAppAsync(string manifestId)
|
||||
{
|
||||
ValidateOpenCurrentPageInApp(manifestId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("manifestId", manifestId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("PWA.openCurrentPageInApp", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
//
|
||||
// **This code was generated by a tool, do not change directly**
|
||||
// CHROMIUM VERSION 126.0.6478.115
|
||||
// CHROMIUM VERSION 127.0.6533.100
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
@@ -1814,6 +1814,16 @@ namespace CefSharp.DevTools.Audits
|
||||
[JsonPropertyName("CorpNotSameOriginAfterDefaultedToSameOriginByCoep")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
|
||||
/// <summary>
|
||||
/// CorpNotSameOriginAfterDefaultedToSameOriginByDip
|
||||
/// </summary>
|
||||
[JsonPropertyName("CorpNotSameOriginAfterDefaultedToSameOriginByDip")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByDip,
|
||||
/// <summary>
|
||||
/// CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip
|
||||
/// </summary>
|
||||
[JsonPropertyName("CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
|
||||
/// <summary>
|
||||
/// CorpNotSameSite
|
||||
/// </summary>
|
||||
[JsonPropertyName("CorpNotSameSite")]
|
||||
@@ -3184,7 +3194,17 @@ namespace CefSharp.DevTools.Audits
|
||||
/// ReplacedByButtonMode
|
||||
/// </summary>
|
||||
[JsonPropertyName("ReplacedByButtonMode")]
|
||||
ReplacedByButtonMode
|
||||
ReplacedByButtonMode,
|
||||
/// <summary>
|
||||
/// RelyingPartyOriginIsOpaque
|
||||
/// </summary>
|
||||
[JsonPropertyName("RelyingPartyOriginIsOpaque")]
|
||||
RelyingPartyOriginIsOpaque,
|
||||
/// <summary>
|
||||
/// TypeNotMatching
|
||||
/// </summary>
|
||||
[JsonPropertyName("TypeNotMatching")]
|
||||
TypeNotMatching
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -7315,10 +7335,10 @@ namespace CefSharp.DevTools.DOM
|
||||
[JsonPropertyName("scroll-marker")]
|
||||
ScrollMarker,
|
||||
/// <summary>
|
||||
/// scroll-markers
|
||||
/// scroll-marker-group
|
||||
/// </summary>
|
||||
[JsonPropertyName("scroll-markers")]
|
||||
ScrollMarkers,
|
||||
[JsonPropertyName("scroll-marker-group")]
|
||||
ScrollMarkerGroup,
|
||||
/// <summary>
|
||||
/// scrollbar
|
||||
/// </summary>
|
||||
@@ -12449,6 +12469,26 @@ namespace CefSharp.DevTools.Network
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started ServiceWorker static routing source evaluation.
|
||||
/// </summary>
|
||||
[JsonPropertyName("workerRouterEvaluationStart")]
|
||||
public double? WorkerRouterEvaluationStart
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started cache lookup when the source was evaluated to `cache`.
|
||||
/// </summary>
|
||||
[JsonPropertyName("workerCacheLookupStart")]
|
||||
public double? WorkerCacheLookupStart
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Started sending request.
|
||||
/// </summary>
|
||||
@@ -13089,6 +13129,16 @@ namespace CefSharp.DevTools.Network
|
||||
[JsonPropertyName("corp-not-same-origin-after-defaulted-to-same-origin-by-coep")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
|
||||
/// <summary>
|
||||
/// corp-not-same-origin-after-defaulted-to-same-origin-by-dip
|
||||
/// </summary>
|
||||
[JsonPropertyName("corp-not-same-origin-after-defaulted-to-same-origin-by-dip")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByDip,
|
||||
/// <summary>
|
||||
/// corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip
|
||||
/// </summary>
|
||||
[JsonPropertyName("corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip")]
|
||||
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
|
||||
/// <summary>
|
||||
/// corp-not-same-site
|
||||
/// </summary>
|
||||
[JsonPropertyName("corp-not-same-site")]
|
||||
@@ -13506,6 +13556,16 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The actual router source used.
|
||||
/// </summary>
|
||||
[JsonPropertyName("actualSourceType")]
|
||||
public CefSharp.DevTools.Network.ServiceWorkerRouterSource? ActualSourceType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -14068,6 +14128,35 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// cookiePartitionKey object
|
||||
/// The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
|
||||
/// </summary>
|
||||
public partial class CookiePartitionKey : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// </summary>
|
||||
[JsonPropertyName("topLevelSite")]
|
||||
[System.Diagnostics.CodeAnalysis.DisallowNull]
|
||||
public string TopLevelSite
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
|
||||
/// </summary>
|
||||
[JsonPropertyName("hasCrossSiteAncestor")]
|
||||
public bool HasCrossSiteAncestor
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie object
|
||||
/// </summary>
|
||||
@@ -14220,11 +14309,10 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// Cookie partition key.
|
||||
/// </summary>
|
||||
[JsonPropertyName("partitionKey")]
|
||||
public string PartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey PartitionKey
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -14494,7 +14582,12 @@ namespace CefSharp.DevTools.Network
|
||||
/// CorsOptIn
|
||||
/// </summary>
|
||||
[JsonPropertyName("CorsOptIn")]
|
||||
CorsOptIn
|
||||
CorsOptIn,
|
||||
/// <summary>
|
||||
/// Scheme
|
||||
/// </summary>
|
||||
[JsonPropertyName("Scheme")]
|
||||
Scheme
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -14756,12 +14849,10 @@ namespace CefSharp.DevTools.Network
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cookie partition key. The site of the top-level URL the browser was visiting at the start
|
||||
/// of the request to the endpoint that set the cookie.
|
||||
/// If not set, the cookie will be set as not partitioned.
|
||||
/// Cookie partition key. If not set, the cookie will be set as not partitioned.
|
||||
/// </summary>
|
||||
[JsonPropertyName("partitionKey")]
|
||||
public string PartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey PartitionKey
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -17153,7 +17244,7 @@ namespace CefSharp.DevTools.Network
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("cookiePartitionKey")]
|
||||
public string CookiePartitionKey
|
||||
public CefSharp.DevTools.Network.CookiePartitionKey CookiePartitionKey
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
@@ -17254,10 +17345,10 @@ namespace CefSharp.DevTools.Network
|
||||
[JsonPropertyName("AlreadyExists")]
|
||||
AlreadyExists,
|
||||
/// <summary>
|
||||
/// Unavailable
|
||||
/// ResourceLimited
|
||||
/// </summary>
|
||||
[JsonPropertyName("Unavailable")]
|
||||
Unavailable,
|
||||
[JsonPropertyName("ResourceLimited")]
|
||||
ResourceLimited,
|
||||
/// <summary>
|
||||
/// Unauthorized
|
||||
/// </summary>
|
||||
@@ -19028,6 +19119,11 @@ namespace CefSharp.DevTools.Page
|
||||
[JsonPropertyName("cross-origin-isolated")]
|
||||
CrossOriginIsolated,
|
||||
/// <summary>
|
||||
/// deferred-fetch
|
||||
/// </summary>
|
||||
[JsonPropertyName("deferred-fetch")]
|
||||
DeferredFetch,
|
||||
/// <summary>
|
||||
/// direct-sockets
|
||||
/// </summary>
|
||||
[JsonPropertyName("direct-sockets")]
|
||||
@@ -21682,6 +21778,31 @@ namespace CefSharp.DevTools.Page
|
||||
[JsonPropertyName("BroadcastChannelOnMessage")]
|
||||
BroadcastChannelOnMessage,
|
||||
/// <summary>
|
||||
/// WebViewSettingsChanged
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebViewSettingsChanged")]
|
||||
WebViewSettingsChanged,
|
||||
/// <summary>
|
||||
/// WebViewJavaScriptObjectChanged
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebViewJavaScriptObjectChanged")]
|
||||
WebViewJavaScriptObjectChanged,
|
||||
/// <summary>
|
||||
/// WebViewMessageListenerInjected
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebViewMessageListenerInjected")]
|
||||
WebViewMessageListenerInjected,
|
||||
/// <summary>
|
||||
/// WebViewSafeBrowsingAllowlistChanged
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebViewSafeBrowsingAllowlistChanged")]
|
||||
WebViewSafeBrowsingAllowlistChanged,
|
||||
/// <summary>
|
||||
/// WebViewDocumentStartJavascriptChanged
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebViewDocumentStartJavascriptChanged")]
|
||||
WebViewDocumentStartJavascriptChanged,
|
||||
/// <summary>
|
||||
/// WebSocket
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebSocket")]
|
||||
@@ -38863,6 +38984,26 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// GetAnchorElementResponse
|
||||
/// </summary>
|
||||
public class GetAnchorElementResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// nodeId
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("nodeId")]
|
||||
public int NodeId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -40106,6 +40247,27 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("nodeId", nodeId);
|
||||
return _client.ExecuteDevToolsMethodAsync<GetQueryingDescendantsForContainerResponse>("DOM.getQueryingDescendantsForContainer", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetAnchorElement(int nodeId, string anchorSpecifier = null);
|
||||
/// <summary>
|
||||
/// Returns the target anchor element of the given anchor query according to
|
||||
/// https://www.w3.org/TR/css-anchor-position-1/#target.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Id of the positioned element from which to find the anchor.</param>
|
||||
/// <param name = "anchorSpecifier">An optional anchor specifier, as defined inhttps://www.w3.org/TR/css-anchor-position-1/#anchor-specifier.If not provided, it will return the implicit anchor element forthe given positioned element.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetAnchorElementResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetAnchorElementResponse> GetAnchorElementAsync(int nodeId, string anchorSpecifier = null)
|
||||
{
|
||||
ValidateGetAnchorElement(nodeId, anchorSpecifier);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
if (!(string.IsNullOrEmpty(anchorSpecifier)))
|
||||
{
|
||||
dict.Add("anchorSpecifier", anchorSpecifier);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetAnchorElementResponse>("DOM.getAnchorElement", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44476,7 +44638,7 @@ namespace CefSharp.DevTools.Network
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.clearBrowserCookies", dict);
|
||||
}
|
||||
|
||||
partial void ValidateDeleteCookies(string name, string url = null, string domain = null, string path = null, string partitionKey = null);
|
||||
partial void ValidateDeleteCookies(string name, string url = null, string domain = null, string path = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null);
|
||||
/// <summary>
|
||||
/// Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
||||
/// </summary>
|
||||
@@ -44484,9 +44646,9 @@ namespace CefSharp.DevTools.Network
|
||||
/// <param name = "url">If specified, deletes all the cookies with the given name where domain and path matchprovided URL.</param>
|
||||
/// <param name = "domain">If specified, deletes only cookies with the exact domain.</param>
|
||||
/// <param name = "path">If specified, deletes only cookies with the exact path.</param>
|
||||
/// <param name = "partitionKey">If specified, deletes only cookies with the the given name and partitionKey where domainmatches provided URL.</param>
|
||||
/// <param name = "partitionKey">If specified, deletes only cookies with the the given name and partitionKey whereall partition key attributes match the cookie partition key attribute.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> DeleteCookiesAsync(string name, string url = null, string domain = null, string path = null, string partitionKey = null)
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> DeleteCookiesAsync(string name, string url = null, string domain = null, string path = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null)
|
||||
{
|
||||
ValidateDeleteCookies(name, url, domain, path, partitionKey);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
@@ -44506,9 +44668,9 @@ namespace CefSharp.DevTools.Network
|
||||
dict.Add("path", path);
|
||||
}
|
||||
|
||||
if (!(string.IsNullOrEmpty(partitionKey)))
|
||||
if ((partitionKey) != (null))
|
||||
{
|
||||
dict.Add("partitionKey", partitionKey);
|
||||
dict.Add("partitionKey", partitionKey.ToDictionary());
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.deleteCookies", dict);
|
||||
@@ -44776,7 +44938,7 @@ namespace CefSharp.DevTools.Network
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.setCacheDisabled", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetCookie(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, string partitionKey = null);
|
||||
partial void ValidateSetCookie(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null);
|
||||
/// <summary>
|
||||
/// Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
||||
/// </summary>
|
||||
@@ -44793,9 +44955,9 @@ namespace CefSharp.DevTools.Network
|
||||
/// <param name = "sameParty">True if cookie is SameParty.</param>
|
||||
/// <param name = "sourceScheme">Cookie source scheme type.</param>
|
||||
/// <param name = "sourcePort">Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.This is a temporary ability and it will be removed in the future.</param>
|
||||
/// <param name = "partitionKey">Cookie partition key. The site of the top-level URL the browser was visiting at the startof the request to the endpoint that set the cookie.If not set, the cookie will be set as not partitioned.</param>
|
||||
/// <param name = "partitionKey">Cookie partition key. If not set, the cookie will be set as not partitioned.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetCookieResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetCookieResponse> SetCookieAsync(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, string partitionKey = null)
|
||||
public System.Threading.Tasks.Task<SetCookieResponse> SetCookieAsync(string name, string value, string url = null, string domain = null, string path = null, bool? secure = null, bool? httpOnly = null, CefSharp.DevTools.Network.CookieSameSite? sameSite = null, double? expires = null, CefSharp.DevTools.Network.CookiePriority? priority = null, bool? sameParty = null, CefSharp.DevTools.Network.CookieSourceScheme? sourceScheme = null, int? sourcePort = null, CefSharp.DevTools.Network.CookiePartitionKey partitionKey = null)
|
||||
{
|
||||
ValidateSetCookie(name, value, url, domain, path, secure, httpOnly, sameSite, expires, priority, sameParty, sourceScheme, sourcePort, partitionKey);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
@@ -44856,9 +45018,9 @@ namespace CefSharp.DevTools.Network
|
||||
dict.Add("sourcePort", sourcePort.Value);
|
||||
}
|
||||
|
||||
if (!(string.IsNullOrEmpty(partitionKey)))
|
||||
if ((partitionKey) != (null))
|
||||
{
|
||||
dict.Add("partitionKey", partitionKey);
|
||||
dict.Add("partitionKey", partitionKey.ToDictionary());
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<SetCookieResponse>("Network.setCookie", dict);
|
||||
@@ -51695,6 +51857,26 @@ namespace CefSharp.DevTools.PWA
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.PWA
|
||||
{
|
||||
/// <summary>
|
||||
/// LaunchFilesInAppResponse
|
||||
/// </summary>
|
||||
public class LaunchFilesInAppResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// targetIds
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("targetIds")]
|
||||
public string[] TargetIds
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.PWA
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -51774,9 +51956,8 @@ namespace CefSharp.DevTools.PWA
|
||||
partial void ValidateLaunch(string manifestId, string url = null);
|
||||
/// <summary>
|
||||
/// Launches the installed web app, or an url in the same web app instead of the
|
||||
/// default start url if it is provided. Returns a tab / web contents based
|
||||
/// Target.TargetID which can be used to attach to via Target.attachToTarget or
|
||||
/// similar APIs.
|
||||
/// default start url if it is provided. Returns a page Target.TargetID which
|
||||
/// can be used to attach to via Target.attachToTarget or similar APIs.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <param name = "url">url</param>
|
||||
@@ -51793,6 +51974,50 @@ namespace CefSharp.DevTools.PWA
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<LaunchResponse>("PWA.launch", dict);
|
||||
}
|
||||
|
||||
partial void ValidateLaunchFilesInApp(string manifestId, string[] files);
|
||||
/// <summary>
|
||||
/// Opens one or more local files from an installed web app identified by its
|
||||
/// manifestId. The web app needs to have file handlers registered to process
|
||||
/// the files. The API returns one or more page Target.TargetIDs which can be
|
||||
/// used to attach to via Target.attachToTarget or similar APIs.
|
||||
/// If some files in the parameters cannot be handled by the web app, they will
|
||||
/// be ignored. If none of the files can be handled, this API returns an error.
|
||||
/// If no files provided as the parameter, this API also returns an error.
|
||||
///
|
||||
/// According to the definition of the file handlers in the manifest file, one
|
||||
/// Target.TargetID may represent a page handling one or more files. The order
|
||||
/// of the returned Target.TargetIDs is not guaranteed.
|
||||
///
|
||||
/// TODO(crbug.com/339454034): Check the existences of the input files.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <param name = "files">files</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<LaunchFilesInAppResponse></returns>
|
||||
public System.Threading.Tasks.Task<LaunchFilesInAppResponse> LaunchFilesInAppAsync(string manifestId, string[] files)
|
||||
{
|
||||
ValidateLaunchFilesInApp(manifestId, files);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("manifestId", manifestId);
|
||||
dict.Add("files", files);
|
||||
return _client.ExecuteDevToolsMethodAsync<LaunchFilesInAppResponse>("PWA.launchFilesInApp", dict);
|
||||
}
|
||||
|
||||
partial void ValidateOpenCurrentPageInApp(string manifestId);
|
||||
/// <summary>
|
||||
/// Opens the current page in its web app identified by the manifest id, needs
|
||||
/// to be called on a page target. This function returns immediately without
|
||||
/// waiting for the app finishing loading.
|
||||
/// </summary>
|
||||
/// <param name = "manifestId">manifestId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> OpenCurrentPageInAppAsync(string manifestId)
|
||||
{
|
||||
ValidateOpenCurrentPageInApp(manifestId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("manifestId", manifestId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("PWA.openCurrentPageInApp", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace CefSharp.DevTools
|
||||
{
|
||||
var p = ((EventProxy<T>)eventProxy);
|
||||
|
||||
if(p.RemoveHandler(eventHandler))
|
||||
if (p.RemoveHandler(eventHandler))
|
||||
{
|
||||
return !eventHandlers.TryRemove(eventName, out _);
|
||||
}
|
||||
@@ -218,7 +218,7 @@ namespace CefSharp.DevTools
|
||||
var events = eventHandlers.Values;
|
||||
eventHandlers.Clear();
|
||||
|
||||
foreach(var evt in events)
|
||||
foreach (var evt in events)
|
||||
{
|
||||
evt.Dispose();
|
||||
}
|
||||
@@ -257,13 +257,13 @@ namespace CefSharp.DevTools
|
||||
eventProxy.Raise(this, method, parameters, SyncContext);
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
catch (Exception ex)
|
||||
{
|
||||
var errorEvent = DevToolsEventError;
|
||||
|
||||
var json = "";
|
||||
|
||||
if(parameters.Length > 0)
|
||||
if (parameters.Length > 0)
|
||||
{
|
||||
parameters.Position = 0;
|
||||
|
||||
@@ -271,7 +271,7 @@ namespace CefSharp.DevTools
|
||||
{
|
||||
json = StreamToString(parameters, leaveOpen: false);
|
||||
}
|
||||
catch(Exception)
|
||||
catch (Exception)
|
||||
{
|
||||
//TODO: do we somehow pass this exception to the user?
|
||||
}
|
||||
@@ -338,7 +338,7 @@ namespace CefSharp.DevTools
|
||||
/// <param name="eventName">event Name</param>
|
||||
/// <param name="stream">JSON stream</param>
|
||||
/// <returns>object of type <typeparamref name="T"/></returns>
|
||||
private static T DeserializeJsonEvent<T>(string eventName, Stream stream) where T : EventArgs
|
||||
private static T DeserializeJsonEvent<T>(string eventName, Stream stream) where T : EventArgs
|
||||
{
|
||||
if (typeof(T) == typeof(EventArgs))
|
||||
{
|
||||
@@ -369,6 +369,20 @@ namespace CefSharp.DevTools
|
||||
return (T)DeserializeJson(typeof(T), stream);
|
||||
}
|
||||
|
||||
#if NETCOREAPP
|
||||
private static readonly System.Text.Json.JsonSerializerOptions DefaultJsonSerializerOptions = new System.Text.Json.JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
IgnoreNullValues = true,
|
||||
Converters = { new CefSharp.Internals.Json.JsonEnumConverterFactory() },
|
||||
};
|
||||
#else
|
||||
private static readonly System.Runtime.Serialization.Json.DataContractJsonSerializerSettings DefaultJsonSerializerSettings = new System.Runtime.Serialization.Json.DataContractJsonSerializerSettings
|
||||
{
|
||||
UseSimpleDictionaryFormat = true,
|
||||
};
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Deserialize the JSON stream into a .Net object.
|
||||
/// For .Net Core/.Net 5.0 uses System.Text.Json
|
||||
@@ -380,24 +394,13 @@ namespace CefSharp.DevTools
|
||||
private static object DeserializeJson(Type type, Stream stream)
|
||||
{
|
||||
#if NETCOREAPP
|
||||
var options = new System.Text.Json.JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
IgnoreNullValues = true,
|
||||
};
|
||||
|
||||
options.Converters.Add(new CefSharp.Internals.Json.JsonEnumConverterFactory());
|
||||
|
||||
// TODO: use synchronus Deserialize<T>(Stream) when System.Text.Json gets updated
|
||||
var memoryStream = new MemoryStream((int)stream.Length);
|
||||
stream.CopyTo(memoryStream);
|
||||
|
||||
return System.Text.Json.JsonSerializer.Deserialize(memoryStream.ToArray(), type, options);
|
||||
return System.Text.Json.JsonSerializer.Deserialize(memoryStream.ToArray(), type, DefaultJsonSerializerOptions);
|
||||
#else
|
||||
var settings = new System.Runtime.Serialization.Json.DataContractJsonSerializerSettings();
|
||||
settings.UseSimpleDictionaryFormat = true;
|
||||
|
||||
var dcs = new System.Runtime.Serialization.Json.DataContractJsonSerializer(type, settings);
|
||||
var dcs = new System.Runtime.Serialization.Json.DataContractJsonSerializer(type, DefaultJsonSerializerSettings);
|
||||
return dcs.ReadObject(stream);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="bin.netcore\**" />
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<ProjectReference Include="..\CefSharp.Example\CefSharp.Example.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp.OffScreen\CefSharp.OffScreen.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<assemblyIdentity version="126.2.70.0" name="CefSharp.OffScreen.Example.app" />
|
||||
<assemblyIdentity version="127.3.40.0" name="CefSharp.OffScreen.Example.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
|
||||
@@ -26,6 +26,10 @@ namespace CefSharp.OffScreen
|
||||
// the Chrome login prompt is disabled
|
||||
// https://github.com/chromiumembedded/cef/issues/3603
|
||||
CefCommandLineArgs.Add("disable-chrome-login-prompt");
|
||||
|
||||
// Disable "Restore pages" popup after incorrect shutdown
|
||||
// https://github.com/chromiumembedded/cef/issues/3767
|
||||
CefCommandLineArgs.Add("hide-crash-restore-bubble");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
|
||||
<PackageReference Include="Bogus" Version="35.4.1" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
|
||||
<PackageReference Include="Moq" Version="4.13.0" />
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<ProjectReference Include="..\CefSharp.Wpf\CefSharp.Wpf.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp.Example\CefSharp.Example.netcore.csproj" />
|
||||
<PackageReference Include="Bogus" Version="35.4.1" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<ProjectReference Include="..\CefSharp\CefSharp.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="bin.netcore\**" />
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<ProjectReference Include="..\CefSharp.Example\CefSharp.Example.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp.WinForms\CefSharp.WinForms.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<assemblyIdentity version="126.2.70.0" name="CefSharp.WinForms.Example.app" />
|
||||
<assemblyIdentity version="127.3.40.0" name="CefSharp.WinForms.Example.app" />
|
||||
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
|
||||
@@ -21,6 +21,10 @@ namespace CefSharp.WinForms
|
||||
// the Chrome login prompt is disabled
|
||||
// https://github.com/chromiumembedded/cef/issues/3603
|
||||
CefCommandLineArgs.Add("disable-chrome-login-prompt");
|
||||
|
||||
// Disable "Restore pages" popup after incorrect shutdown
|
||||
// https://github.com/chromiumembedded/cef/issues/3767
|
||||
CefCommandLineArgs.Add("hide-crash-restore-bubble");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<Folder Include="Assets\Images\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
<PackageReference Include="MaterialDesignThemes" Version="4.8.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<ProjectReference Include="..\CefSharp.Example\CefSharp.Example.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp.Wpf\CefSharp.Wpf.netcore.csproj" />
|
||||
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime" Version="127.3.4" />
|
||||
<PackageReference Include="System.Runtime.InteropServices.WindowsRuntime" Version="4.3.0" />
|
||||
<PackageReference Include="MaterialDesignThemes" Version="4.8.0" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<assemblyIdentity version="126.2.70.0" name="CefSharp.Wpf.Example.app" />
|
||||
<assemblyIdentity version="127.3.40.0" name="CefSharp.Wpf.Example.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
|
||||
@@ -27,6 +27,10 @@ namespace CefSharp.Wpf
|
||||
// the Chrome login prompt is disabled
|
||||
// https://github.com/chromiumembedded/cef/issues/3603
|
||||
CefCommandLineArgs.Add("disable-chrome-login-prompt");
|
||||
|
||||
// Disable "Restore pages" popup after incorrect shutdown
|
||||
// https://github.com/chromiumembedded/cef/issues/3767
|
||||
CefCommandLineArgs.Add("hide-crash-restore-bubble");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -913,15 +913,7 @@ namespace CefSharp.Wpf
|
||||
{
|
||||
// DoDragDrop will fire DragEnter event
|
||||
var result = DragDrop.DoDragDrop(this, dataObject, allowedOps.GetDragEffects());
|
||||
var dragEffects = currentDragDropEffects.HasValue ? currentDragDropEffects.Value : DragDropEffects.None;
|
||||
|
||||
// Ensure the drag and drop operation wasn't cancelled
|
||||
var finalEffectMask = dragEffects.GetDragOperationsMask() & result.GetDragOperationsMask();
|
||||
|
||||
// We shouldn't have an instance where finalEffectMask signfies multiple effects, as the operation
|
||||
// set by UpdateDragCursor should only ever be none, move, copy, or link. However, if it does, we'll
|
||||
// just default to copy, as that reflects the defaulting behavior of GetDragEffects.
|
||||
var finalSingleEffect = finalEffectMask.HasFlag(DragOperationsMask.Every) ? DragOperationsMask.Copy : finalEffectMask;
|
||||
var dragOperationMask = GetDragOperationsMask(result, currentDragDropEffects);
|
||||
|
||||
// DragData was stored so when DoDragDrop fires DragEnter we reuse a clone of the IDragData provided here
|
||||
currentDragData = null;
|
||||
@@ -929,7 +921,7 @@ namespace CefSharp.Wpf
|
||||
|
||||
// If result or the last recorded drag drop effect were DragDropEffects.None
|
||||
// then we'll send DragOperationsMask.None, effectively cancelling the drag operation
|
||||
browser.GetHost().DragSourceEndedAt(x, y, finalSingleEffect);
|
||||
browser.GetHost().DragSourceEndedAt(x, y, dragOperationMask);
|
||||
browser.GetHost().DragSourceSystemDragEnded();
|
||||
}
|
||||
});
|
||||
@@ -937,6 +929,22 @@ namespace CefSharp.Wpf
|
||||
return true;
|
||||
}
|
||||
|
||||
protected virtual DragOperationsMask GetDragOperationsMask(DragDropEffects result, DragDropEffects? dragEffects)
|
||||
{
|
||||
// Ensure the drag and drop operation wasn't cancelled
|
||||
var finalEffectMask = (dragEffects ?? DragDropEffects.None).GetDragOperationsMask() & result.GetDragOperationsMask();
|
||||
|
||||
// We shouldn't have an instance where finalEffectMask signfies multiple effects, as the operation
|
||||
// set by UpdateDragCursor should only ever be none, move, copy, or link. However, if it does, we'll
|
||||
// just default to copy, as that reflects the defaulting behavior of GetDragEffects.
|
||||
if (finalEffectMask.HasFlag(DragOperationsMask.Every))
|
||||
{
|
||||
return DragOperationsMask.Copy;
|
||||
}
|
||||
|
||||
return finalEffectMask;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
void IRenderWebBrowser.UpdateDragCursor(DragOperationsMask operation)
|
||||
{
|
||||
@@ -1714,7 +1722,7 @@ namespace CefSharp.Wpf
|
||||
{
|
||||
browser.GetHost().DragTargetDragOver(GetMouseEvent(e), e.AllowedEffects.GetDragOperationsMask());
|
||||
}
|
||||
e.Effects = currentDragDropEffects.HasValue ? currentDragDropEffects.Value : DragDropEffects.None;
|
||||
e.Effects = currentDragDropEffects ?? DragDropEffects.None;
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -31,7 +31,7 @@
|
||||
<DocumentationSource sourceFile="CefSharp.WinForms\CefSharp.WinForms.csproj" />
|
||||
<DocumentationSource sourceFile="CefSharp.Wpf\CefSharp.Wpf.csproj" />
|
||||
</DocumentationSources>
|
||||
<HelpFileVersion>126.2.70</HelpFileVersion>
|
||||
<HelpFileVersion>127.3.40</HelpFileVersion>
|
||||
<MaximumGroupParts>2</MaximumGroupParts>
|
||||
<NamespaceGrouping>False</NamespaceGrouping>
|
||||
<SyntaxFilters>C#, Managed C++</SyntaxFilters>
|
||||
@@ -59,7 +59,7 @@
|
||||
<Filter entryType="Namespace" fullName="CefSharp.Wpf.Internals" isExposed="False" xmlns="" />
|
||||
</ApiFilter>
|
||||
<VisibleItems>InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable</VisibleItems>
|
||||
<HeaderText>Version 126.2.70</HeaderText>
|
||||
<HeaderText>Version 127.3.40</HeaderText>
|
||||
<CopyrightHref>https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE</CopyrightHref>
|
||||
<NamespaceSummaries>
|
||||
<NamespaceSummaryItem name="CefSharp" isDocumented="True">Interfaces, enums, structs and classes that make up the core API interface</NamespaceSummaryItem>
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CefSharp
|
||||
// 300-399 HTTP errors
|
||||
// 400-499 Cache errors
|
||||
// 500-599 ?
|
||||
// 600-699 FTP errors
|
||||
// 600-699 <Obsolete: FTP errors>
|
||||
// 700-799 Certificate manager errors
|
||||
// 800-899 DNS resolver errors
|
||||
|
||||
@@ -195,6 +195,12 @@ namespace CefSharp
|
||||
/// </summary>
|
||||
BlockedByOrb = -32,
|
||||
|
||||
/// <summary>
|
||||
/// The request was blocked because it originated from a frame that has disabled
|
||||
/// network access.
|
||||
/// </summary>
|
||||
NetworkAccessRevoked = -33,
|
||||
|
||||
/// <summary>
|
||||
/// A connection was closed (corresponding to a TCP FIN).
|
||||
/// </summary>
|
||||
@@ -404,7 +410,7 @@ namespace CefSharp
|
||||
/// received a 302 (temporary redirect) response. The response body might
|
||||
/// include a description of why the request failed.
|
||||
///
|
||||
/// TODO(https://crbug.com/928551): This is deprecated and should not be used by
|
||||
/// TODO(crbug.com/40093955): This is deprecated and should not be used by
|
||||
/// new code.
|
||||
/// </summary>
|
||||
HttpsProxyTunnelResponseRedirect = -140,
|
||||
@@ -1184,7 +1190,29 @@ namespace CefSharp
|
||||
/// The IP address space of the cached remote endpoint is blocked by private
|
||||
/// network access check.
|
||||
/// </summary>
|
||||
CachedIpAddressSpaceBlockedByLocalNetworkAccessPolicy = -384,
|
||||
CachedIpAddressSpaceBlockedByPrivateNetworkAccessPolicy = -384,
|
||||
|
||||
/// <summary>
|
||||
/// The connection is blocked by private network access checks.
|
||||
/// </summary>
|
||||
BlockedByPrivateNetworkAccessChecks = -385,
|
||||
|
||||
/// <summary>
|
||||
/// Content decoding failed due to the zstd window size being too big (over 8MB).
|
||||
/// </summary>
|
||||
ZstdWindowSizeTooBig = -386,
|
||||
|
||||
/// <summary>
|
||||
/// The compression dictionary cannot be loaded.
|
||||
/// </summary>
|
||||
DictionaryLoadFailed = -387,
|
||||
|
||||
/// <summary>
|
||||
/// The "content-dictionary" response header is unexpected. This is used both
|
||||
/// when there is no "content-dictionary" response header and when the received
|
||||
/// "content-dictionary" response header does not match the expected value.
|
||||
/// </summary>
|
||||
UnexpectedContentDictionaryHeader = -388,
|
||||
|
||||
/// <summary>
|
||||
/// The cache does not have the requested entry.
|
||||
@@ -1309,51 +1337,13 @@ namespace CefSharp
|
||||
TrustTokenOperationSuccessWithoutSendingRequest = -507,
|
||||
|
||||
// *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). ***
|
||||
|
||||
/// <summary>
|
||||
/// A generic error for failed FTP control connection command.
|
||||
/// If possible, please use or add a more specific error code.
|
||||
/// </summary>
|
||||
FtpFailed = -601,
|
||||
|
||||
/// <summary>
|
||||
/// The server cannot fulfill the request at this point. This is a temporary
|
||||
/// error.
|
||||
/// FTP response code 421.
|
||||
/// </summary>
|
||||
FtpServiceUnavailable = -602,
|
||||
|
||||
/// <summary>
|
||||
/// The server has aborted the transfer.
|
||||
/// FTP response code 426.
|
||||
/// </summary>
|
||||
FtpTransferAborted = -603,
|
||||
|
||||
/// <summary>
|
||||
/// The file is busy, or some other temporary error condition on opening
|
||||
/// the file.
|
||||
/// FTP response code 450.
|
||||
/// </summary>
|
||||
FtpFileBusy = -604,
|
||||
|
||||
/// <summary>
|
||||
/// Server rejected our command because of syntax errors.
|
||||
/// FTP response codes 500, 501.
|
||||
/// </summary>
|
||||
FtpSyntaxError = -605,
|
||||
|
||||
/// <summary>
|
||||
/// Server does not support the command we issued.
|
||||
/// FTP response codes 502, 504.
|
||||
/// </summary>
|
||||
FtpCommandNotSupported = -606,
|
||||
|
||||
/// <summary>
|
||||
/// Server rejected our command because we didn't issue the commands in right
|
||||
/// order.
|
||||
/// FTP response code 503.
|
||||
/// </summary>
|
||||
FtpBadCommandSequence = -607,
|
||||
// *** Code -601 is reserved (was FTP_FAILED). ***
|
||||
// *** Code -602 is reserved (was FTP_SERVICE_UNAVAILABLE). ***
|
||||
// *** Code -603 is reserved (was FTP_TRANSFER_ABORTED). ***
|
||||
// *** Code -604 is reserved (was FTP_FILE_BUSY). ***
|
||||
// *** Code -605 is reserved (was FTP_SYNTAX_ERROR). ***
|
||||
// *** Code -606 is reserved (was FTP_COMMAND_NOT_SUPPORTED). ***
|
||||
// *** Code -607 is reserved (was FTP_BAD_COMMAND_SEQUENCE). ***
|
||||
|
||||
/// <summary>
|
||||
/// PKCS #12 import failed due to incorrect password.
|
||||
@@ -1504,9 +1494,13 @@ namespace CefSharp
|
||||
/// </summary>
|
||||
DnsNoMatchingSupportedAlpn = -811,
|
||||
|
||||
// Error -812 was removed
|
||||
// Error -813 was removed
|
||||
|
||||
/// <summary>
|
||||
/// The compression dictionary cannot be loaded.
|
||||
/// When checking whether secure DNS can be used, the response returned for the
|
||||
/// requested probe record either had no answer or was invalid.
|
||||
/// </summary>
|
||||
DictionaryLoadFailed = -812,
|
||||
DnsSecureProbeRecordInvalid = -814,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@ namespace CefSharp
|
||||
public const bool ComVisible = false;
|
||||
public const string AssemblyCompany = "The CefSharp Authors";
|
||||
public const string AssemblyProduct = "CefSharp";
|
||||
public const string AssemblyVersion = "126.2.70";
|
||||
public const string AssemblyFileVersion = "126.2.70.0";
|
||||
public const string AssemblyVersion = "127.3.40";
|
||||
public const string AssemblyFileVersion = "127.3.40.0";
|
||||
public const string AssemblyCopyright = "Copyright © 2023 The CefSharp Authors";
|
||||
public const string CefSharpCoreProject = "CefSharp.Core, PublicKey=" + PublicKey;
|
||||
public const string CefSharpBrowserSubprocessProject = "CefSharp.BrowserSubprocess, PublicKey=" + PublicKey;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<!-- Add the codebase section if missing. -->
|
||||
<codeBase xdt:Transform="InsertIfMissing"/>
|
||||
<!-- Ensure the codeBase version and href are set to the correct values. -->
|
||||
<codeBase version="126.2.70.0" href="x64/CefSharp.Core.Runtime.dll" xdt:Transform="Replace"/>
|
||||
<codeBase version="127.3.40.0" href="x64/CefSharp.Core.Runtime.dll" xdt:Transform="Replace"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<!-- Add the codebase section if missing. -->
|
||||
<codeBase xdt:Transform="InsertIfMissing"/>
|
||||
<!-- Ensure the codeBase version and href are set to the correct values. -->
|
||||
<codeBase version="126.2.70.0" href="x86/CefSharp.Core.Runtime.dll" xdt:Transform="Replace"/>
|
||||
<codeBase version="127.3.40.0" href="x86/CefSharp.Core.Runtime.dll" xdt:Transform="Replace"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
@@ -143,16 +143,16 @@
|
||||
<Choose>
|
||||
<When Condition="'$(ManagePackageVersionsCentrally)' == 'true'">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x64" VersionOverride="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x86" VersionOverride="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-arm64" VersionOverride="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x64" VersionOverride="127.3.4" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x86" VersionOverride="127.3.4" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-arm64" VersionOverride="127.3.4" />
|
||||
</ItemGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x64" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x86" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-arm64" Version="126.2.7" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x64" Version="127.3.4" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-x86" Version="127.3.4" />
|
||||
<PackageReference Include="chromiumembeddedframework.runtime.win-arm64" Version="127.3.4" />
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
param(
|
||||
[Parameter(Position = 1)]
|
||||
[string] $CefVersion = "126.2.7",
|
||||
[string] $CefVersion = "127.3.4",
|
||||
[Parameter(Position = 2)]
|
||||
[string] $CefSharpVersion = ""
|
||||
)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
version: 126.2.70-CI{build}
|
||||
version: 127.3.40-CI{build}
|
||||
|
||||
clone_depth: 10
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@ param(
|
||||
[Parameter(Position = 0)]
|
||||
[string] $Target = "vs2019",
|
||||
[Parameter(Position = 1)]
|
||||
[string] $Version = "126.2.70",
|
||||
[string] $Version = "127.3.40",
|
||||
[Parameter(Position = 2)]
|
||||
[string] $AssemblyVersion = "126.2.70",
|
||||
[string] $AssemblyVersion = "127.3.40",
|
||||
[Parameter(Position = 3)]
|
||||
[ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")]
|
||||
[string] $TargetFramework = "NetFramework",
|
||||
|
||||
Reference in New Issue
Block a user