From 7edc164206a5aea28918ecca0d115d20df4934b3 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 10 Feb 2023 06:17:40 +1000 Subject: [PATCH 001/275] Upgrade to 110.0.25+g75b1c96+chromium-110.0.5481.78 / Chromium 110.0.5481.78 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...ackages.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- NuGet/PackageReference/CefSharp.Common.NETCore.targets | 6 +++--- UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- 29 files changed, 39 insertions(+), 39 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 55d33cb146..36741f724c 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index cc9ac89021..e77cd390bd 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 2358f9a65e..6ee68ac3ef 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,220 - PRODUCTVERSION 110,0,220 + FILEVERSION 110,0,250 + PRODUCTVERSION 110,0,250 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "110.0.220" + VALUE "FileVersion", "110.0.250" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.220" + VALUE "ProductVersion", "110.0.250" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 8a074ae34f..0cf0d8e332 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 0aa3345956..b1d8e52b57 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 8efbf5bf94..7820108820 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 0a8d6744bc..ae02a5100d 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 3a6bc7034f..0fa9a4a258 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 76fe2200d5..766ebb5b03 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,220 - PRODUCTVERSION 110,0,220 + FILEVERSION 110,0,250 + PRODUCTVERSION 110,0,250 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "110.0.220" + VALUE "FileVersion", "110.0.250" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.220" + VALUE "ProductVersion", "110.0.250" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 8a074ae34f..0cf0d8e332 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 0aa3345956..b1d8e52b57 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index ab367e8bf8..3c04650dca 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index dc4e7e96cc..4cb55d4fea 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index e79f3b6adf..82906aa1ef 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 71bb1a1328..f0026d9c6f 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 4b70efb4ce..a6888d0722 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 8c877b36d0..f75fc79fcc 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index ec4060908a..d8e843fbf3 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 4e0e424b1f..7ae679e1f4 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index f6aef22f8e..e537507166 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 5abe63d235..e63d7b65a5 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index e703d0b1e2..66b21509cb 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 00c06d936f..af284ccddc 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 110.0.220 + 110.0.250 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 110.0.220 + Version 110.0.250 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index dabb1f2195..ba530daeab 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "110.0.220"; - public const string AssemblyFileVersion = "110.0.220.0"; + public const string AssemblyVersion = "110.0.250"; + public const string AssemblyFileVersion = "110.0.250.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index e3ad6c327e..427a3339c0 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index f9b5f784ab..7c97c771da 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index b62e247c71..160f5056dd 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -141,9 +141,9 @@ - - - + + + runtimes\win-x86\native\locales\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 022056127c..b32fdd4224 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "110.0.22", + [string] $CefVersion = "110.0.25", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 919e90ecb6..d3b26a79e7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 110.0.220-CI{build} +version: 110.0.250-CI{build} clone_depth: 10 From cafd378859ef514ffe7bdc3b5ab6d67496509442 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 15 Feb 2023 13:45:07 +1000 Subject: [PATCH 002/275] Test - Code Cleanup - Start splitting tests out into own files where relevant - Improve call ordering - Use Assert.RaisesAsync where possible - Classes have been renamed (Tests is now the standard suffix) TODO: Some of the classes still need their method names changed --- CefSharp.Test/BrowserTests.cs | 47 + .../ChromiumWebBrowserOffScreenFixture.cs | 30 - .../CookieManager/CookieManagerFacts.cs | 65 -- .../CookieManager/CookieManagerTests.cs | 220 +++++ ...sClientFacts.cs => DevToolsClientTests.cs} | 4 +- .../{HeadersFacts.cs => HeadersTests.cs} | 2 +- ...tensionFacts.cs => AsyncExtensionTests.cs} | 7 +- .../{BinderFacts.cs => BinderTests.cs} | 2 +- ...ts.cs => CamelCaseNamingConverterTests.cs} | 2 +- ...TimeUtilsFacts.cs => CefTimeUtilsTests.cs} | 4 +- ....cs => ConcurrentMethodRunnerQueueTest.cs} | 4 +- ...{HasHandlerFacts.cs => HasHandlerTests.cs} | 2 +- ...yCamelCaseJavascriptNameConverterTests.cs} | 2 +- ...ueueFacts.cs => MethodRunnerQueueTests.cs} | 2 +- ...appingFacts.cs => MimeTypeMappingTests.cs} | 2 +- .../{ParseUrlFacts.cs => ParseUrlTests.cs} | 4 +- .../{PathCheckFacts.cs => PathCheckTests.cs} | 2 +- ...Facts.cs => RequestContextBuilderTests.cs} | 4 +- ...cts.cs => RequestContextExtensionTests.cs} | 4 +- ...ContextFacts.cs => RequestContextTests.cs} | 2 +- .../EvaluateScriptAsPromiseAsyncFacts.cs | 95 -- .../EvaluateScriptAsPromiseAsyncTest.cs | 69 ++ .../Javascript/EvaluateScriptAsyncFacts.cs | 177 ---- .../Javascript/EvaluateScriptAsyncTests.cs | 244 +++++ ...ackFacts.cs => JavascriptCallbackTests.cs} | 74 +- .../JavascriptBinding/BindingTestObject.cs | 17 + ...rationTestFacts.cs => IntegrationTests.cs} | 143 +-- ....cs => JavaScriptObjectRepositoryTests.cs} | 6 +- .../JavascriptBindingTests.cs | 211 +++++ .../OffScreen/BrowserRefCountTests.cs | 58 ++ .../OffScreen/DownloadHandlerTests.cs | 71 ++ .../OffScreen/OffScreenBrowserBasicFacts.cs | 843 ------------------ .../OffScreen/OffScreenBrowserTests.cs | 317 +++++++ .../OffScreen/RequestContextTests.cs | 134 +++ CefSharp.Test/OffScreen/ScreenshotTests.cs | 131 +++ .../PostMessage/IntegrationTestFacts.cs | 79 -- CefSharp.Test/PostMessage/PostMessageTests.cs | 79 ++ .../RequestContextIsolatedBrowserTests.cs | 23 + .../FolderSchemeHandlerFactoryTests.cs | 4 +- .../Selector/WaitForSelectorAsyncTests.cs | 4 + CefSharp.Test/UrlRequest/UrlRequestTests.cs | 57 ++ CefSharp.Test/WebBrowserTestExtensions.cs | 10 + CefSharp.Test/WinForms/RequestContextTests.cs | 69 ++ ...rBasicFacts.cs => WinFormsBrowserTests.cs} | 60 +- CefSharp.Test/Wpf/RequestContextTests.cs | 66 ++ ...rowserBasicFacts.cs => WpfBrowserTests.cs} | 59 +- 46 files changed, 1900 insertions(+), 1611 deletions(-) create mode 100644 CefSharp.Test/BrowserTests.cs delete mode 100644 CefSharp.Test/ChromiumWebBrowserOffScreenFixture.cs delete mode 100644 CefSharp.Test/CookieManager/CookieManagerFacts.cs create mode 100644 CefSharp.Test/CookieManager/CookieManagerTests.cs rename CefSharp.Test/DevTools/{DevToolsClientFacts.cs => DevToolsClientTests.cs} (99%) rename CefSharp.Test/DevTools/{HeadersFacts.cs => HeadersTests.cs} (99%) rename CefSharp.Test/Framework/{AsyncExtensionFacts.cs => AsyncExtensionTests.cs} (94%) rename CefSharp.Test/Framework/{BinderFacts.cs => BinderTests.cs} (99%) rename CefSharp.Test/Framework/{CamelCaseNamingConverterFacts.cs => CamelCaseNamingConverterTests.cs} (96%) rename CefSharp.Test/Framework/{CefTimeUtilsFacts.cs => CefTimeUtilsTests.cs} (96%) rename CefSharp.Test/Framework/{ConcurrentMethodRunnerQueueFacts.cs => ConcurrentMethodRunnerQueueTest.cs} (97%) rename CefSharp.Test/Framework/{HasHandlerFacts.cs => HasHandlerTests.cs} (97%) rename CefSharp.Test/Framework/{LegacyCamelCaseJavascriptNameConverterFacts.cs => LegacyCamelCaseJavascriptNameConverterTests.cs} (95%) rename CefSharp.Test/Framework/{MethodRunnerQueueFacts.cs => MethodRunnerQueueTests.cs} (95%) rename CefSharp.Test/Framework/{MimeTypeMappingFacts.cs => MimeTypeMappingTests.cs} (97%) rename CefSharp.Test/Framework/{ParseUrlFacts.cs => ParseUrlTests.cs} (90%) rename CefSharp.Test/Framework/{PathCheckFacts.cs => PathCheckTests.cs} (98%) rename CefSharp.Test/Framework/{RequestContextBuilderFacts.cs => RequestContextBuilderTests.cs} (94%) rename CefSharp.Test/Framework/{RequestContextExtensionFacts.cs => RequestContextExtensionTests.cs} (96%) rename CefSharp.Test/Framework/{RequestContextFacts.cs => RequestContextTests.cs} (96%) delete mode 100644 CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncFacts.cs create mode 100644 CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncTest.cs delete mode 100644 CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs create mode 100644 CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs rename CefSharp.Test/Javascript/{JavascriptCallbackFacts.cs => JavascriptCallbackTests.cs} (75%) create mode 100644 CefSharp.Test/JavascriptBinding/BindingTestObject.cs rename CefSharp.Test/JavascriptBinding/{IntegrationTestFacts.cs => IntegrationTests.cs} (56%) rename CefSharp.Test/JavascriptBinding/{JavaScriptObjectRepositoryFacts.cs => JavaScriptObjectRepositoryTests.cs} (93%) create mode 100644 CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs create mode 100644 CefSharp.Test/OffScreen/BrowserRefCountTests.cs create mode 100644 CefSharp.Test/OffScreen/DownloadHandlerTests.cs delete mode 100644 CefSharp.Test/OffScreen/OffScreenBrowserBasicFacts.cs create mode 100644 CefSharp.Test/OffScreen/OffScreenBrowserTests.cs create mode 100644 CefSharp.Test/OffScreen/RequestContextTests.cs create mode 100644 CefSharp.Test/OffScreen/ScreenshotTests.cs delete mode 100644 CefSharp.Test/PostMessage/IntegrationTestFacts.cs create mode 100644 CefSharp.Test/PostMessage/PostMessageTests.cs create mode 100644 CefSharp.Test/RequestContextIsolatedBrowserTests.cs create mode 100644 CefSharp.Test/UrlRequest/UrlRequestTests.cs create mode 100644 CefSharp.Test/WinForms/RequestContextTests.cs rename CefSharp.Test/WinForms/{WinFormsBrowserBasicFacts.cs => WinFormsBrowserTests.cs} (66%) create mode 100644 CefSharp.Test/Wpf/RequestContextTests.cs rename CefSharp.Test/Wpf/{WpfBrowserBasicFacts.cs => WpfBrowserTests.cs} (62%) diff --git a/CefSharp.Test/BrowserTests.cs b/CefSharp.Test/BrowserTests.cs new file mode 100644 index 0000000000..e4238de00b --- /dev/null +++ b/CefSharp.Test/BrowserTests.cs @@ -0,0 +1,47 @@ +// Copyright © 2021 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using CefSharp.Example; +using CefSharp.OffScreen; +using Xunit; + +namespace CefSharp.Test +{ + public abstract class BrowserTests : IAsyncLifetime + { + public ChromiumWebBrowser Browser { get; private set; } + public bool RequestContextIsolated { get; protected set; } + + protected void AssertInitialLoadComplete() + { + var t = Browser.WaitForInitialLoadAsync(); + + Assert.True(t.IsCompleted, "WaitForInitialLoadAsync Task.IsComplete"); + Assert.True(t.Result.Success, "WaitForInitialLoadAsync Result.Success"); + } + + Task IAsyncLifetime.DisposeAsync() + { + Browser?.Dispose(); + + return Task.CompletedTask; + } + + Task IAsyncLifetime.InitializeAsync() + { + IRequestContext requestContext = null; + + if (RequestContextIsolated) + { + requestContext = new RequestContext(); + requestContext.RegisterSchemeHandlerFactory("https", CefExample.ExampleDomain, new CefSharpSchemeHandlerFactory()); + } + + Browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl, requestContext: requestContext, useLegacyRenderHandler: false); + + return Browser.WaitForInitialLoadAsync(); + } + } +} diff --git a/CefSharp.Test/ChromiumWebBrowserOffScreenFixture.cs b/CefSharp.Test/ChromiumWebBrowserOffScreenFixture.cs deleted file mode 100644 index 670afd42f6..0000000000 --- a/CefSharp.Test/ChromiumWebBrowserOffScreenFixture.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright © 2021 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System.Threading.Tasks; -using CefSharp.Example; -using CefSharp.OffScreen; -using Xunit; - -namespace CefSharp.Test -{ - public class ChromiumWebBrowserOffScreenFixture : IAsyncLifetime - { - public ChromiumWebBrowser Browser { get; private set; } - - Task IAsyncLifetime.DisposeAsync() - { - Browser?.Dispose(); - - return Task.CompletedTask; - } - - Task IAsyncLifetime.InitializeAsync() - { - Browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl, useLegacyRenderHandler: false); - - return Browser.WaitForInitialLoadAsync(); - } - } -} diff --git a/CefSharp.Test/CookieManager/CookieManagerFacts.cs b/CefSharp.Test/CookieManager/CookieManagerFacts.cs deleted file mode 100644 index 4eeece04c6..0000000000 --- a/CefSharp.Test/CookieManager/CookieManagerFacts.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright © 2022 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System.Threading.Tasks; -using Xunit.Abstractions; -using Xunit; -using System; -using CefSharp.Example; -using System.Linq; - -namespace CefSharp.Test.CookieManager -{ - [Collection(CefSharpFixtureCollection.Key)] - public class CookieManagerFacts : IClassFixture - { - private readonly ITestOutputHelper output; - private readonly CefSharpFixture collectionFixture; - private readonly ChromiumWebBrowserOffScreenFixture classFixture; - - public CookieManagerFacts(ITestOutputHelper output, CefSharpFixture collectionFixture, ChromiumWebBrowserOffScreenFixture classFixture) - { - this.output = output; - this.collectionFixture = collectionFixture; - this.classFixture = classFixture; - } - - [Fact] - //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanSetAndGetCookie() - { - const string CookieName = "CefSharpExpiryTestCookie"; - var testStartDate = DateTime.Now; - var expectedExpiry = DateTime.Now.AddDays(1); - - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var cookieManager = browser.GetCookieManager(); - - await cookieManager.DeleteCookiesAsync(CefExample.HelloWorldUrl, CookieName); - - var cookieSet = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie - { - Name = CookieName, - Value = "ILikeCookies", - Expires = expectedExpiry - }); - - Assert.True(cookieSet); - - var cookies = await cookieManager.VisitUrlCookiesAsync(CefExample.HelloWorldUrl, false); - var cookie = cookies.First(x => x.Name == CookieName); - - Assert.True(cookie.Expires.HasValue); - // Little bit of a loss in precision - Assert.Equal(expectedExpiry, cookie.Expires.Value, TimeSpan.FromMilliseconds(10)); - Assert.True(cookie.Creation > testStartDate, "Cookie Creation greater than test start."); - Assert.True(cookie.LastAccess > testStartDate, "Cookie LastAccess greater than test start."); - - output.WriteLine("Expected {0} : Actual {1}", expectedExpiry, cookie.Expires.Value); - } - } -} diff --git a/CefSharp.Test/CookieManager/CookieManagerTests.cs b/CefSharp.Test/CookieManager/CookieManagerTests.cs new file mode 100644 index 0000000000..f3e54a0894 --- /dev/null +++ b/CefSharp.Test/CookieManager/CookieManagerTests.cs @@ -0,0 +1,220 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using Xunit.Abstractions; +using Xunit; +using System; +using CefSharp.Example; +using System.Linq; +using System.Collections.Generic; +using CefSharp.Enums; + +namespace CefSharp.Test.CookieManager +{ + [Collection(CefSharpFixtureCollection.Key)] + public class CookieManagerTests : RequestContextIsolatedBrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture collectionFixture; + + public CookieManagerTests(ITestOutputHelper output, CefSharpFixture collectionFixture) + { + this.output = output; + this.collectionFixture = collectionFixture; + } + + [Fact] + public async Task ShouldWork() + { + AssertInitialLoadComplete(); + + const string expected = "password=123456"; + + var cookieManager = Browser.GetCookieManager(); + + var success = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie + { + Name = "password", + Value = "123456" + }); + + Assert.True(success); + + var actual = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + + Assert.Equal(expected, actual); + } + + [Fact] + public async Task ShouldSetMultipleCookies() + { + AssertInitialLoadComplete(); + + var expected = new string[] + { + "multiple-1=123456", + "multiple-2=bar" + }; + + var cookieManager = Browser.GetCookieManager(); + + var success = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie + { + Name = "multiple-1", + Value = "123456" + }); + + success &= await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie + { + Name = "multiple-2", + Value = "bar" + }); + + Assert.True(success); + + var actual = await Browser.EvaluateScriptAndAssertAsync>(@"(() => { + const cookies = document.cookie.split(';'); + return cookies.map(cookie => cookie.trim()).sort(); + })();"); + + Assert.Equal(expected, actual); + } + + [Fact] + public async Task ShouldGetACookie() + { + AssertInitialLoadComplete(); + + var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + document.cookie = 'username=John Doe'; + return document.cookie; + })();"); + + Assert.Equal("username=John Doe", response); + + var cookieManager = Browser.GetCookieManager(); + + var cookie = (await cookieManager.VisitAllCookiesAsync()).Single(); + + Assert.Equal("username", cookie.Name); + Assert.Equal("John Doe", cookie.Value); + Assert.Equal("cefsharp.example", cookie.Domain); + Assert.Equal("/", cookie.Path); + Assert.Null(cookie.Expires); + Assert.False(cookie.HttpOnly); + Assert.False(cookie.Secure); + Assert.Equal(CookieSameSite.Unspecified, cookie.SameSite); + } + + [Fact] + public async Task ShouldProperlyReportSecureCookie() + { + AssertInitialLoadComplete(); + + var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + document.cookie = 'username=John Doe;Secure;'; + return document.cookie; + })();"); + + Assert.Equal("username=John Doe", response); + + var cookieManager = Browser.GetCookieManager(); + + var cookie = (await cookieManager.VisitAllCookiesAsync()).Single(); + + Assert.True(cookie.Secure); + } + + [Fact] + public async Task ShouldProperlyReportStrictSameSiteCookie() + { + AssertInitialLoadComplete(); + + var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + document.cookie = 'username=John Doe;SameSite=Strict;'; + return document.cookie; + })();"); + + Assert.Equal("username=John Doe", response); + + var cookieManager = Browser.GetCookieManager(); + + var cookie = (await cookieManager.VisitAllCookiesAsync()).Single(); + + Assert.Equal(CookieSameSite.StrictMode, cookie.SameSite); + } + + [Fact] + //https://github.com/cefsharp/CefSharp/issues/4234 + public async Task CanSetAndGetCookie() + { + AssertInitialLoadComplete(); + + const string CookieName = "CefSharpExpiryTestCookie"; + var testStartDate = DateTime.Now; + var expectedExpiry = DateTime.Now.AddDays(1); + + Assert.False(Browser.IsLoading); + + var cookieManager = Browser.GetCookieManager(); + + await cookieManager.DeleteCookiesAsync(CefExample.HelloWorldUrl, CookieName); + + var cookieSet = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie + { + Name = CookieName, + Value = "ILikeCookies", + Expires = expectedExpiry + }); + + Assert.True(cookieSet); + + var cookies = await cookieManager.VisitUrlCookiesAsync(CefExample.HelloWorldUrl, false); + var cookie = cookies.First(x => x.Name == CookieName); + + Assert.True(cookie.Expires.HasValue); + // Little bit of a loss in precision + Assert.Equal(expectedExpiry, cookie.Expires.Value, TimeSpan.FromMilliseconds(10)); + Assert.True(cookie.Creation > testStartDate, "Cookie Creation greater than test start."); + Assert.True(cookie.LastAccess > testStartDate, "Cookie LastAccess greater than test start."); + + output.WriteLine("Expected {0} : Actual {1}", expectedExpiry, cookie.Expires.Value); + } + + [Fact] + public async Task ShouldClearCookies() + { + AssertInitialLoadComplete(); + + var cookieManager = Browser.GetCookieManager(); + + var cookieSet = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie + { + Name = "cookie1", + Value = "1" + }); + + Assert.True(cookieSet); + + var response = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + + Assert.Equal("cookie1=1", response); + + await cookieManager.DeleteCookiesAsync(); + + var cookies = await cookieManager.VisitAllCookiesAsync(); + + Assert.Empty(cookies); + + Browser.Reload(); + + await Browser.WaitForNavigationAsync(); + + response = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + + Assert.Equal(string.Empty, response); + } + } +} diff --git a/CefSharp.Test/DevTools/DevToolsClientFacts.cs b/CefSharp.Test/DevTools/DevToolsClientTests.cs similarity index 99% rename from CefSharp.Test/DevTools/DevToolsClientFacts.cs rename to CefSharp.Test/DevTools/DevToolsClientTests.cs index 8a37811644..b924840080 100644 --- a/CefSharp.Test/DevTools/DevToolsClientFacts.cs +++ b/CefSharp.Test/DevTools/DevToolsClientTests.cs @@ -21,12 +21,12 @@ namespace CefSharp.Test.DevTools { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class DevToolsClientFacts + public class DevToolsClientTests { private readonly ITestOutputHelper output; private readonly CefSharpFixture fixture; - public DevToolsClientFacts(ITestOutputHelper output, CefSharpFixture fixture) + public DevToolsClientTests(ITestOutputHelper output, CefSharpFixture fixture) { this.fixture = fixture; this.output = output; diff --git a/CefSharp.Test/DevTools/HeadersFacts.cs b/CefSharp.Test/DevTools/HeadersTests.cs similarity index 99% rename from CefSharp.Test/DevTools/HeadersFacts.cs rename to CefSharp.Test/DevTools/HeadersTests.cs index 75fb30a0c2..73d9c8dc3c 100644 --- a/CefSharp.Test/DevTools/HeadersFacts.cs +++ b/CefSharp.Test/DevTools/HeadersTests.cs @@ -7,7 +7,7 @@ namespace CefSharp.Test.DevTools { - public class HeadersFacts + public class HeadersTests { [Fact] public void HeadersTryGetValues() diff --git a/CefSharp.Test/Framework/AsyncExtensionFacts.cs b/CefSharp.Test/Framework/AsyncExtensionTests.cs similarity index 94% rename from CefSharp.Test/Framework/AsyncExtensionFacts.cs rename to CefSharp.Test/Framework/AsyncExtensionTests.cs index ddc6a814c0..432260f64d 100644 --- a/CefSharp.Test/Framework/AsyncExtensionFacts.cs +++ b/CefSharp.Test/Framework/AsyncExtensionTests.cs @@ -9,14 +9,11 @@ namespace CefSharp.Test.Framework { - /// - /// Async Extensions - This test doesn't need to be part of the - /// - public class AsyncExtensionFacts + public class AsyncExtensionTests { private readonly ITestOutputHelper output; - public AsyncExtensionFacts(ITestOutputHelper output) + public AsyncExtensionTests(ITestOutputHelper output) { this.output = output; } diff --git a/CefSharp.Test/Framework/BinderFacts.cs b/CefSharp.Test/Framework/BinderTests.cs similarity index 99% rename from CefSharp.Test/Framework/BinderFacts.cs rename to CefSharp.Test/Framework/BinderTests.cs index 1b2165f139..c2a683c1bd 100644 --- a/CefSharp.Test/Framework/BinderFacts.cs +++ b/CefSharp.Test/Framework/BinderTests.cs @@ -13,7 +13,7 @@ namespace CefSharp.Test.Framework /// /// BinderFacts - Tests model default binder behavior /// - public class BinderFacts + public class BinderTests { private enum TestEnum { diff --git a/CefSharp.Test/Framework/CamelCaseNamingConverterFacts.cs b/CefSharp.Test/Framework/CamelCaseNamingConverterTests.cs similarity index 96% rename from CefSharp.Test/Framework/CamelCaseNamingConverterFacts.cs rename to CefSharp.Test/Framework/CamelCaseNamingConverterTests.cs index ec24e27e5b..a8de2b4ab8 100644 --- a/CefSharp.Test/Framework/CamelCaseNamingConverterFacts.cs +++ b/CefSharp.Test/Framework/CamelCaseNamingConverterTests.cs @@ -10,7 +10,7 @@ namespace CefSharp.Test.Framework /// /// JavascriptNameConverterFacts - Test the different name converters /// - public class CamelCaseNamingConverterFacts + public class CamelCaseNamingConverterTests { [Fact] public void CanConvertStringToJavascriptName() diff --git a/CefSharp.Test/Framework/CefTimeUtilsFacts.cs b/CefSharp.Test/Framework/CefTimeUtilsTests.cs similarity index 96% rename from CefSharp.Test/Framework/CefTimeUtilsFacts.cs rename to CefSharp.Test/Framework/CefTimeUtilsTests.cs index e9b5a43ab7..0ef9d6548a 100644 --- a/CefSharp.Test/Framework/CefTimeUtilsFacts.cs +++ b/CefSharp.Test/Framework/CefTimeUtilsTests.cs @@ -9,11 +9,11 @@ namespace CefSharp.Test.Framework { - public class CefTimeUtilsFacts + public class CefTimeUtilsTests { private readonly ITestOutputHelper output; - public CefTimeUtilsFacts(ITestOutputHelper output) + public CefTimeUtilsTests(ITestOutputHelper output) { this.output = output; } diff --git a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueFacts.cs b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs similarity index 97% rename from CefSharp.Test/Framework/ConcurrentMethodRunnerQueueFacts.cs rename to CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs index 67c4341ff7..098d3cebbb 100644 --- a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueFacts.cs +++ b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs @@ -13,11 +13,11 @@ namespace CefSharp.Test.Framework { - public class ConcurrentMethodRunnerQueueFacts + public class ConcurrentMethodRunnerQueueTest { private readonly ITestOutputHelper output; - public ConcurrentMethodRunnerQueueFacts(ITestOutputHelper output) + public ConcurrentMethodRunnerQueueTest(ITestOutputHelper output) { this.output = output; } diff --git a/CefSharp.Test/Framework/HasHandlerFacts.cs b/CefSharp.Test/Framework/HasHandlerTests.cs similarity index 97% rename from CefSharp.Test/Framework/HasHandlerFacts.cs rename to CefSharp.Test/Framework/HasHandlerTests.cs index 515b9cd57e..6fa0a596f5 100644 --- a/CefSharp.Test/Framework/HasHandlerFacts.cs +++ b/CefSharp.Test/Framework/HasHandlerTests.cs @@ -4,7 +4,7 @@ namespace CefSharp.Test.Framework { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class HasHandlerFacts + public class HasHandlerTests { [Fact] public void ShouldWorkForOffScreen() diff --git a/CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterFacts.cs b/CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterTests.cs similarity index 95% rename from CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterFacts.cs rename to CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterTests.cs index ded200559a..e04f9d2280 100644 --- a/CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterFacts.cs +++ b/CefSharp.Test/Framework/LegacyCamelCaseJavascriptNameConverterTests.cs @@ -10,7 +10,7 @@ namespace CefSharp.Test.Framework /// /// LegacyCamelCaseJavascriptNameConverterFacts - Test the different name converters /// - public class LegacyCamelCaseJavascriptNameConverterFacts + public class LegacyCamelCaseJavascriptNameConverterTests { [Fact] public void CanConvertStringToJavascriptName() diff --git a/CefSharp.Test/Framework/MethodRunnerQueueFacts.cs b/CefSharp.Test/Framework/MethodRunnerQueueTests.cs similarity index 95% rename from CefSharp.Test/Framework/MethodRunnerQueueFacts.cs rename to CefSharp.Test/Framework/MethodRunnerQueueTests.cs index 8b2f962bc0..e542fe1e2e 100644 --- a/CefSharp.Test/Framework/MethodRunnerQueueFacts.cs +++ b/CefSharp.Test/Framework/MethodRunnerQueueTests.cs @@ -7,7 +7,7 @@ namespace CefSharp.Test.Framework { - public class MethodRunnerQueueFacts + public class MethodRunnerQueueTests { [Fact] public void DisposeQueueThenEnqueueMethodInvocation() diff --git a/CefSharp.Test/Framework/MimeTypeMappingFacts.cs b/CefSharp.Test/Framework/MimeTypeMappingTests.cs similarity index 97% rename from CefSharp.Test/Framework/MimeTypeMappingFacts.cs rename to CefSharp.Test/Framework/MimeTypeMappingTests.cs index 7ad4aa1f91..5f54f47ba1 100644 --- a/CefSharp.Test/Framework/MimeTypeMappingFacts.cs +++ b/CefSharp.Test/Framework/MimeTypeMappingTests.cs @@ -9,7 +9,7 @@ namespace CefSharp.Test.Framework /// /// MimeTypeMappingFacts - Tests file extension to mimeType mapping /// - public class MimeTypeMappingFacts + public class MimeTypeMappingTests { [Theory] [InlineData("html", "text/html")] diff --git a/CefSharp.Test/Framework/ParseUrlFacts.cs b/CefSharp.Test/Framework/ParseUrlTests.cs similarity index 90% rename from CefSharp.Test/Framework/ParseUrlFacts.cs rename to CefSharp.Test/Framework/ParseUrlTests.cs index 181b528820..1b222dce4a 100644 --- a/CefSharp.Test/Framework/ParseUrlFacts.cs +++ b/CefSharp.Test/Framework/ParseUrlTests.cs @@ -7,11 +7,11 @@ namespace CefSharp.Test.Framework { - public class ParseUrlFacts + public class ParseUrlTests { private readonly ITestOutputHelper output; - public ParseUrlFacts(ITestOutputHelper output) + public ParseUrlTests(ITestOutputHelper output) { this.output = output; } diff --git a/CefSharp.Test/Framework/PathCheckFacts.cs b/CefSharp.Test/Framework/PathCheckTests.cs similarity index 98% rename from CefSharp.Test/Framework/PathCheckFacts.cs rename to CefSharp.Test/Framework/PathCheckTests.cs index b0694fc6be..f4063b9625 100644 --- a/CefSharp.Test/Framework/PathCheckFacts.cs +++ b/CefSharp.Test/Framework/PathCheckTests.cs @@ -8,7 +8,7 @@ namespace CefSharp.Test.Framework { - public class PathCheckFacts + public class PathCheckTests { [Fact] public void IsPathAbsoluteValid() diff --git a/CefSharp.Test/Framework/RequestContextBuilderFacts.cs b/CefSharp.Test/Framework/RequestContextBuilderTests.cs similarity index 94% rename from CefSharp.Test/Framework/RequestContextBuilderFacts.cs rename to CefSharp.Test/Framework/RequestContextBuilderTests.cs index 95e4286979..02a7c8ea32 100644 --- a/CefSharp.Test/Framework/RequestContextBuilderFacts.cs +++ b/CefSharp.Test/Framework/RequestContextBuilderTests.cs @@ -10,12 +10,12 @@ namespace CefSharp.Test.Framework { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class RequestContextBuilderFacts + public class RequestContextBuilderTests { private CefSharpFixture fixture; private ITestOutputHelper output; - public RequestContextBuilderFacts(ITestOutputHelper output, CefSharpFixture fixture) + public RequestContextBuilderTests(ITestOutputHelper output, CefSharpFixture fixture) { this.fixture = fixture; this.output = output; diff --git a/CefSharp.Test/Framework/RequestContextExtensionFacts.cs b/CefSharp.Test/Framework/RequestContextExtensionTests.cs similarity index 96% rename from CefSharp.Test/Framework/RequestContextExtensionFacts.cs rename to CefSharp.Test/Framework/RequestContextExtensionTests.cs index 5531f64dd1..15899364bd 100644 --- a/CefSharp.Test/Framework/RequestContextExtensionFacts.cs +++ b/CefSharp.Test/Framework/RequestContextExtensionTests.cs @@ -13,7 +13,7 @@ namespace CefSharp.Test.Framework { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class RequestContextExtensionFacts + public class RequestContextExtensionTests { private const string ProxyPreferenceKey = "proxy"; @@ -21,7 +21,7 @@ public class RequestContextExtensionFacts private delegate void SetPreferenceDelegate(string name, object value, out string errorMessage); - public RequestContextExtensionFacts(ITestOutputHelper output) + public RequestContextExtensionTests(ITestOutputHelper output) { this.output = output; } diff --git a/CefSharp.Test/Framework/RequestContextFacts.cs b/CefSharp.Test/Framework/RequestContextTests.cs similarity index 96% rename from CefSharp.Test/Framework/RequestContextFacts.cs rename to CefSharp.Test/Framework/RequestContextTests.cs index 9583b3e2b4..dc2b3ced9f 100644 --- a/CefSharp.Test/Framework/RequestContextFacts.cs +++ b/CefSharp.Test/Framework/RequestContextTests.cs @@ -10,7 +10,7 @@ namespace CefSharp.Test.Framework { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class RequestContextFacts + public class RequestContextTests { [Fact] public void IsSameAs() diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncFacts.cs b/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncFacts.cs deleted file mode 100644 index 734f58eb23..0000000000 --- a/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncFacts.cs +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright © 2022 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System.Threading.Tasks; -using CefSharp.Example; -using CefSharp.OffScreen; -using Xunit; -using Xunit.Abstractions; - -namespace CefSharp.Test.Javascript -{ - [Collection(CefSharpFixtureCollection.Key)] - public class EvaluateScriptAsPromiseAsyncFacts : IClassFixture - { - private readonly ITestOutputHelper output; - private readonly CefSharpFixture collectionFixture; - private readonly ChromiumWebBrowserOffScreenFixture classFixture; - - public EvaluateScriptAsPromiseAsyncFacts(ITestOutputHelper output, CefSharpFixture collectionFixture, ChromiumWebBrowserOffScreenFixture classFixture) - { - this.output = output; - this.collectionFixture = collectionFixture; - this.classFixture = classFixture; - } - - [Theory] - [InlineData("return 42;", true, "42")] - [InlineData("return new Promise(function(resolve, reject) { resolve(42); });", true, "42")] - [InlineData("return new Promise(function(resolve, reject) { reject('reject test'); });", false, "reject test")] - [InlineData("return await 42;", true, "42")] - [InlineData("return await (function() { throw('reject test'); })();", false, "reject test")] - [InlineData("var result = await fetch('./robots.txt'); return result.status;", true, "200")] - public async Task CanEvaluateScriptAsPromiseAsync(string script, bool success, string expected) - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var javascriptResponse = await browser.EvaluateScriptAsPromiseAsync(script); - - Assert.Equal(success, javascriptResponse.Success); - - if (success) - { - Assert.Equal(expected, javascriptResponse.Result.ToString()); - } - else - { - Assert.Equal(expected, javascriptResponse.Message); - } - } - } - - [Theory] - [InlineData("return { a: 'CefSharp', b: 42, };", true, "CefSharp", "42")] - [InlineData("return new Promise(function(resolve, reject) { resolve({ a: 'CefSharp', b: 42, }); });", true, "CefSharp", "42")] - [InlineData("return new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); });", true, "CefSharp", "42")] - [InlineData("return await { a: 'CefSharp', b: 42, };", true, "CefSharp", "42")] - [InlineData("return await new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); }); ", true, "CefSharp", "42")] - [InlineData("function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; async function getValAfterSleep() { await sleep(1000); return { a: 'CefSharp', b: 42 }; }; await sleep(2000); const result = await getValAfterSleep(); await sleep(2000); return result;", true, "CefSharp", "42")] - public async Task CanEvaluateScriptAsPromiseAsyncReturnObject(string script, bool success, string expectedA, string expectedB) - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var javascriptResponse = await browser.EvaluateScriptAsPromiseAsync(script); - - Assert.Equal(success, javascriptResponse.Success); - - if (success) - { - dynamic result = javascriptResponse.Result; - Assert.Equal(expectedA, result.a.ToString()); - Assert.Equal(expectedB, result.b.ToString()); - } - else - { - throw new System.Exception("Failed"); - } - } - } - } -} diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncTest.cs b/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncTest.cs new file mode 100644 index 0000000000..74631cc9f8 --- /dev/null +++ b/CefSharp.Test/Javascript/EvaluateScriptAsPromiseAsyncTest.cs @@ -0,0 +1,69 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.Javascript +{ + [Collection(CefSharpFixtureCollection.Key)] + public class EvaluateScriptAsPromiseAsyncTest : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture collectionFixture; + + public EvaluateScriptAsPromiseAsyncTest(ITestOutputHelper output, CefSharpFixture collectionFixture) + { + this.output = output; + this.collectionFixture = collectionFixture; + } + + [Theory] + [InlineData("return 42;", "42")] + [InlineData("return new Promise(function(resolve, reject) { resolve(42); });", "42")] + [InlineData("return await 42;", "42")] + [InlineData("var result = await fetch('./home.html'); return result.status;", "200")] + public async Task ShouldWork(string script, string expected) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsPromiseAsync(script); + + Assert.True(javascriptResponse.Success); + Assert.Equal(expected, javascriptResponse.Result.ToString()); + } + + [Theory] + [InlineData("return new Promise(function(resolve, reject) { reject('reject test'); });", "reject test")] + [InlineData("return await (function() { throw('reject test'); })();", "reject test")] + public async Task ShouldFail(string script, string expected) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsPromiseAsync(script); + + Assert.False(javascriptResponse.Success); + Assert.Equal(expected, javascriptResponse.Message); + } + + [Theory] + [InlineData("return { a: 'CefSharp', b: 42, };", "CefSharp", "42")] + [InlineData("return new Promise(function(resolve, reject) { resolve({ a: 'CefSharp', b: 42, }); });", "CefSharp", "42")] + [InlineData("return new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); });", "CefSharp", "42")] + [InlineData("return await { a: 'CefSharp', b: 42, };", "CefSharp", "42")] + [InlineData("return await new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); }); ", "CefSharp", "42")] + [InlineData("function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; async function getValAfterSleep() { await sleep(1000); return { a: 'CefSharp', b: 42 }; }; await sleep(2000); const result = await getValAfterSleep(); await sleep(2000); return result;", "CefSharp", "42")] + public async Task ShouldWorkWithObjects(string script, string expectedA, string expectedB) + { + var javascriptResponse = await Browser.EvaluateScriptAsPromiseAsync(script); + + Assert.True(javascriptResponse.Success); + + dynamic result = javascriptResponse.Result; + Assert.Equal(expectedA, result.a.ToString()); + Assert.Equal(expectedB, result.b.ToString()); + } + } +} diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs deleted file mode 100644 index de38901126..0000000000 --- a/CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright © 2021 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System; -using System.Globalization; -using System.Threading.Tasks; -using Xunit; -using Xunit.Abstractions; - -namespace CefSharp.Test.Javascript -{ - [Collection(CefSharpFixtureCollection.Key)] - public class EvaluateScriptAsyncFacts : IClassFixture - { - private readonly ITestOutputHelper output; - private readonly CefSharpFixture collectionFixture; - private readonly ChromiumWebBrowserOffScreenFixture classFixture; - - public EvaluateScriptAsyncFacts(ITestOutputHelper output, CefSharpFixture collectionFixture, ChromiumWebBrowserOffScreenFixture classFixture) - { - this.output = output; - this.collectionFixture = collectionFixture; - this.classFixture = classFixture; - } - - [Theory] - [InlineData(double.MaxValue, "Number.MAX_VALUE")] - [InlineData(double.MaxValue / 2, "Number.MAX_VALUE / 2")] - //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateDoubleComputation(double expectedValue, string script) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync(script); - Assert.True(javascriptResponse.Success); - - var actualType = javascriptResponse.Result.GetType(); - - Assert.Equal(typeof(double), actualType); - Assert.Equal(expectedValue, (double)javascriptResponse.Result, 5); - - output.WriteLine("Script {0} : Result {1}", script, javascriptResponse.Result); - } - - [Theory] - [InlineData(0.5d)] - [InlineData(1.5d)] - [InlineData(-0.5d)] - [InlineData(-1.5d)] - [InlineData(100000.24500d)] - [InlineData(-100000.24500d)] - [InlineData((double)uint.MaxValue)] - [InlineData((double)int.MaxValue + 1)] - [InlineData((double)int.MaxValue + 10)] - [InlineData((double)int.MinValue - 1)] - [InlineData((double)int.MinValue - 10)] - [InlineData(((double)uint.MaxValue * 2))] - [InlineData(((double)uint.MaxValue * 2) + 0.1)] - //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateDoubleValues(double num) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync(num.ToString(CultureInfo.InvariantCulture)); - Assert.True(javascriptResponse.Success); - - var actualType = javascriptResponse.Result.GetType(); - - Assert.Equal(typeof(double), actualType); - Assert.Equal(num, (double)javascriptResponse.Result, 5); - - output.WriteLine("Expected {0} : Actual {1}", num, javascriptResponse.Result); - } - - [Theory] - [InlineData(0)] - [InlineData(-1)] - [InlineData(100)] - [InlineData(int.MaxValue)] - [InlineData(int.MinValue)] - //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateIntValues(object num) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync(num.ToString()); - Assert.True(javascriptResponse.Success); - - var actualType = javascriptResponse.Result.GetType(); - - Assert.Equal(typeof(int), actualType); - Assert.Equal(num, javascriptResponse.Result); - - output.WriteLine("Expected {0} : Actual {1}", num, javascriptResponse.Result); - } - - [Theory] - [InlineData("1970-01-01", "1970-01-01")] - [InlineData("1980-01-01", "1980-01-01")] - //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanEvaluateDateValues(DateTime expected, string actual) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync($"new Date('{actual}');"); - Assert.True(javascriptResponse.Success); - - var actualType = javascriptResponse.Result.GetType(); - var actualDateTime = (DateTime)javascriptResponse.Result; - - Assert.Equal(typeof(DateTime), actualType); - Assert.Equal(expected.ToLocalTime(), actualDateTime); - - output.WriteLine("Expected {0} : Actual {1}", expected.ToLocalTime(), actualDateTime); - } - - [Theory] - [InlineData("new Promise(function(resolve, reject) { resolve(42); });", true, "42")] - [InlineData("new Promise(function(resolve, reject) { reject('reject test'); });", false, "reject test")] - [InlineData("Promise.resolve(42);", true, "42")] - [InlineData("(async () => { throw('reject test'); })();", false, "reject test")] - [InlineData("(async () => { var result = await fetch('https://cefsharp.example/HelloWorld.html'); return result.status;})();", true, "200")] - public async Task CanEvaluateScriptAsyncReturnPromisePrimative(string script, bool success, string expected) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var javascriptResponse = await browser.EvaluateScriptAsync(script); - - Assert.Equal(success, javascriptResponse.Success); - - if (success) - { - Assert.Equal(expected, javascriptResponse.Result.ToString()); - } - else - { - Assert.Equal(expected, javascriptResponse.Message); - } - } - - [Theory] - [InlineData("new Promise(function(resolve, reject) { resolve({ a: 'CefSharp', b: 42, }); });", "CefSharp", "42")] - [InlineData("new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); });", "CefSharp", "42")] - [InlineData("(async () => { function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; async function getValAfterSleep() { await sleep(1000); return { a: 'CefSharp', b: 42 }; }; await sleep(2000); const result = await getValAfterSleep(); await sleep(2000); return result; })();", "CefSharp", "42")] - public async Task CanEvaluateScriptAsyncReturnPromiseObject(string script, string expectedA, string expectedB) - { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var javascriptResponse = await browser.EvaluateScriptAsync(script); - - Assert.True(javascriptResponse.Success); - - dynamic result = javascriptResponse.Result; - Assert.Equal(expectedA, result.a.ToString()); - Assert.Equal(expectedB, result.b.ToString()); - } - } -} diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs new file mode 100644 index 0000000000..dadeee12b6 --- /dev/null +++ b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs @@ -0,0 +1,244 @@ +// Copyright © 2021 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; +using System.Globalization; +using System.Linq; +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.Javascript +{ + [Collection(CefSharpFixtureCollection.Key)] + public class EvaluateScriptAsyncTests : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture collectionFixture; + + public EvaluateScriptAsyncTests(ITestOutputHelper output, CefSharpFixture collectionFixture) + { + this.output = output; + this.collectionFixture = collectionFixture; + } + + [Theory] + [InlineData(double.MaxValue, "Number.MAX_VALUE")] + [InlineData(double.MaxValue / 2, "Number.MAX_VALUE / 2")] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForDoubleComputation(double expectedValue, string script) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(script); + Assert.True(javascriptResponse.Success); + + var actualType = javascriptResponse.Result.GetType(); + + Assert.Equal(typeof(double), actualType); + Assert.Equal(expectedValue, (double)javascriptResponse.Result, 5); + + output.WriteLine("Script {0} : Result {1}", script, javascriptResponse.Result); + } + + [Theory] + [InlineData(0.5d)] + [InlineData(1.5d)] + [InlineData(-0.5d)] + [InlineData(-1.5d)] + [InlineData(100000.24500d)] + [InlineData(-100000.24500d)] + [InlineData((double)uint.MaxValue)] + [InlineData((double)int.MaxValue + 1)] + [InlineData((double)int.MaxValue + 10)] + [InlineData((double)int.MinValue - 1)] + [InlineData((double)int.MinValue - 10)] + [InlineData(((double)uint.MaxValue * 2))] + [InlineData(((double)uint.MaxValue * 2) + 0.1)] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForDouble(double num) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(num.ToString(CultureInfo.InvariantCulture)); + Assert.True(javascriptResponse.Success); + + var actualType = javascriptResponse.Result.GetType(); + + Assert.Equal(typeof(double), actualType); + Assert.Equal(num, (double)javascriptResponse.Result, 5); + + output.WriteLine("Expected {0} : Actual {1}", num, javascriptResponse.Result); + } + + [Theory] + [InlineData(0)] + [InlineData(-1)] + [InlineData(100)] + [InlineData(int.MaxValue)] + [InlineData(int.MinValue)] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForInt(object num) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(num.ToString()); + Assert.True(javascriptResponse.Success); + + var actualType = javascriptResponse.Result.GetType(); + + Assert.Equal(typeof(int), actualType); + Assert.Equal(num, javascriptResponse.Result); + + output.WriteLine("Expected {0} : Actual {1}", num, javascriptResponse.Result); + } + + [Theory] + [InlineData("1970-01-01", "1970-01-01")] + [InlineData("1980-01-01", "1980-01-01")] + //https://github.com/cefsharp/CefSharp/issues/4234 + public async Task ShouldWorkForDate(DateTime expected, string actual) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync($"new Date('{actual}');"); + Assert.True(javascriptResponse.Success); + + var actualType = javascriptResponse.Result.GetType(); + var actualDateTime = (DateTime)javascriptResponse.Result; + + Assert.Equal(typeof(DateTime), actualType); + Assert.Equal(expected.ToLocalTime(), actualDateTime); + + output.WriteLine("Expected {0} : Actual {1}", expected.ToLocalTime(), actualDateTime); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { resolve(42); });", "42")] + [InlineData("Promise.resolve(42);", "42")] + [InlineData("(async () => { var result = await fetch('https://cefsharp.example/HelloWorld.html'); return result.status;})();", "200")] + public async Task ShouldWorkForPromisePrimative(string script, string expected) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(script); + + Assert.True(javascriptResponse.Success); + Assert.Equal(expected, javascriptResponse.Result.ToString()); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { reject('reject test'); });", "reject test")] + [InlineData("(async () => { throw('reject test'); })();", "reject test")] + public async Task ShouldFailForPromisePrimative(string script, string expected) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(script); + + Assert.False(javascriptResponse.Success); + Assert.Equal(expected, javascriptResponse.Message); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { resolve({ a: 'CefSharp', b: 42, }); });", "CefSharp", "42")] + [InlineData("new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); });", "CefSharp", "42")] + [InlineData("(async () => { function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; async function getValAfterSleep() { await sleep(1000); return { a: 'CefSharp', b: 42 }; }; await sleep(2000); const result = await getValAfterSleep(); await sleep(2000); return result; })();", "CefSharp", "42")] + public async Task ShouldWorkForPromisePrimativeObject(string script, string expectedA, string expectedB) + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync(script); + + Assert.True(javascriptResponse.Success); + + dynamic result = javascriptResponse.Result; + Assert.Equal(expectedA, result.a.ToString()); + Assert.Equal(expectedB, result.b.ToString()); + } + + [Fact] + public async Task ShouldLoadGoogleAndEvaluateScript() + { + AssertInitialLoadComplete(); + + var loadResponse = await Browser.LoadUrlAsync("www.google.com"); + + Assert.True(loadResponse.Success); + + var mainFrame = Browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + var response = await Browser.EvaluateScriptAndAssertAsync("2 + 2"); + Assert.Equal(4, response); + output.WriteLine("Result of 2 + 2: {0}", response); + } + + [Fact] + public async Task CanEvaluateScriptInParallel() + { + AssertInitialLoadComplete(); + + var tasks = Enumerable.Range(0, 100).Select(i => Task.Run(async () => + { + var javascriptResponse = await Browser.EvaluateScriptAsync("2 + 2"); + + if (javascriptResponse.Success) + { + return (int)javascriptResponse.Result; + } + + return -1; + })).ToList(); + + await Task.WhenAll(tasks); + + Assert.All(tasks, (t) => + { + Assert.Equal(4, t.Result); + }); + } + + [Theory] + [InlineData("[1,2,,5]", new object[] { 1, 2, null, 5 })] + [InlineData("[1,2,,]", new object[] { 1, 2, null })] + [InlineData("[,2,3]", new object[] { null, 2, 3 })] + [InlineData("[,2,,3,,4,,,,5,,,]", new object[] { null, 2, null, 3, null, 4, null, null, null, 5, null, null })] + public async Task CanEvaluateScriptAsyncReturnPartiallyEmptyArrays(string javascript, object[] expected) + { + AssertInitialLoadComplete(); + + var result = await Browser.EvaluateScriptAsync(javascript); + + Assert.True(result.Success); + Assert.Equal(expected, result.Result); + } + + /// + /// Use the EvaluateScriptAsync (IWebBrowser, String,Object[]) overload and pass in string params + /// that require encoding. Test case for https://github.com/cefsharp/CefSharp/issues/2339 + /// + /// A task + [Fact] + public async Task CanEvaluateScriptAsyncWithEncodedStringArguments() + { + AssertInitialLoadComplete(); + + var javascriptResponse = await Browser.EvaluateScriptAsync("var testfunc=function(s) { return s; }"); + Assert.True(javascriptResponse.Success); + + // now call the function we just created + string[] teststrings = new string[]{"Mary's\tLamb & \r\nOther Things", + "[{test:\"Mary's Lamb & \\nOther Things\", 'other': \"\", 'and': null}]" }; + foreach (var test in teststrings) + { + javascriptResponse = await Browser.EvaluateScriptAsync("testfunc", test); + Assert.True(javascriptResponse.Success); + Assert.Equal(test, (string)javascriptResponse.Result); + output.WriteLine("{0} passes {1}", test, javascriptResponse.Result); + } + } + } +} diff --git a/CefSharp.Test/Javascript/JavascriptCallbackFacts.cs b/CefSharp.Test/Javascript/JavascriptCallbackTests.cs similarity index 75% rename from CefSharp.Test/Javascript/JavascriptCallbackFacts.cs rename to CefSharp.Test/Javascript/JavascriptCallbackTests.cs index 29508d308f..18422f52cc 100644 --- a/CefSharp.Test/Javascript/JavascriptCallbackFacts.cs +++ b/CefSharp.Test/Javascript/JavascriptCallbackTests.cs @@ -11,17 +11,15 @@ namespace CefSharp.Test.Javascript { [Collection(CefSharpFixtureCollection.Key)] - public class JavascriptCallbackFacts : IClassFixture + public class JavascriptCallbackTests : BrowserTests { private readonly ITestOutputHelper output; private readonly CefSharpFixture collectionFixture; - private readonly ChromiumWebBrowserOffScreenFixture classFixture; - public JavascriptCallbackFacts(ITestOutputHelper output, CefSharpFixture collectionFixture, ChromiumWebBrowserOffScreenFixture classFixture) + public JavascriptCallbackTests(ITestOutputHelper output, CefSharpFixture collectionFixture) { this.output = output; this.collectionFixture = collectionFixture; - this.classFixture = classFixture; } [Theory] @@ -29,13 +27,11 @@ public JavascriptCallbackFacts(ITestOutputHelper output, CefSharpFixture collect [InlineData("(function() { return Promise.resolve('53')})", "53")] [InlineData("(function() { return Promise.resolve(true)})", true)] [InlineData("(function() { return Promise.resolve(false)})", false)] - public async Task CanEvaluatePromise(string script, object expected) + public async Task ShouldWorkForPromise(string script, object expected) { - var browser = classFixture.Browser; + AssertInitialLoadComplete(); - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync(script); + var javascriptResponse = await Browser.EvaluateScriptAsync(script); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -54,13 +50,11 @@ public async Task CanEvaluatePromise(string script, object expected) [InlineData("(function() { return Promise.reject(42)})", "42")] [InlineData("(function() { return Promise.reject(false)})", "false")] [InlineData("(function() { return Promise.reject(null)})", "null")] - public async Task CanEvaluatePromiseRejected(string script, string expected) + public async Task ShouldFailForPromise(string script, string expected) { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); + AssertInitialLoadComplete(); - var javascriptResponse = await browser.EvaluateScriptAsync(script); + var javascriptResponse = await Browser.EvaluateScriptAsync(script); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -78,13 +72,9 @@ public async Task CanEvaluatePromiseRejected(string script, string expected) [InlineData(double.MaxValue, "Number.MAX_VALUE")] [InlineData(double.MaxValue / 2, "Number.MAX_VALUE / 2")] //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateDoubleComputation(double expectedValue, string script) + public async Task ShouldWorkForDoubleComputation(double expectedValue, string script) { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync("(function() { return " + script + "})"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function() { return " + script + "})"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -113,13 +103,9 @@ public async Task CanEvaluateDoubleComputation(double expectedValue, string scri [InlineData(((double)uint.MaxValue * 2))] [InlineData(((double)uint.MaxValue * 2) + 0.1)] //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateDoubleValues(double num) + public async Task ShouldWorkForDouble(double num) { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync("(function() { return " + num + "})"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function() { return " + num + "})"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -138,13 +124,9 @@ public async Task CanEvaluateDoubleValues(double num) [InlineData(int.MaxValue)] [InlineData(int.MinValue)] //https://github.com/cefsharp/CefSharp/issues/3858 - public async Task CanEvaluateIntValues(object num) + public async Task ShouldWorkForInt(object num) { - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync("(function() { return " + num.ToString() + "})"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function() { return " + num.ToString() + "})"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -160,13 +142,11 @@ public async Task CanEvaluateIntValues(object num) [InlineData("1970-01-01", "1970-01-01")] [InlineData("1980-01-01", "1980-01-01")] //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanEvaluateDateValues(DateTime expected, string actual) + public async Task ShouldWorkForDate(DateTime expected, string actual) { - var browser = classFixture.Browser; + AssertInitialLoadComplete(); - Assert.False(browser.IsLoading); - - var javascriptResponse = await browser.EvaluateScriptAsync("(function() { return new Date('" + actual + "');})"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function() { return new Date('" + actual + "');})"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -186,15 +166,13 @@ public async Task CanEvaluateDateValues(DateTime expected, string actual) [InlineData("1980-01-01", DateTimeStyles.AssumeLocal)] [InlineData("1980-01-01", DateTimeStyles.AssumeUniversal)] //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanEchoDateTime(string expected, DateTimeStyles dateTimeStyle) + public async Task ShouldEchoDateTime(string expected, DateTimeStyles dateTimeStyle) { - var expectedDateTime = DateTime.Parse(expected, CultureInfo.InvariantCulture, dateTimeStyle); + AssertInitialLoadComplete(); - var browser = classFixture.Browser; - - Assert.False(browser.IsLoading); + var expectedDateTime = DateTime.Parse(expected, CultureInfo.InvariantCulture, dateTimeStyle); - var javascriptResponse = await browser.EvaluateScriptAsync("(function(p) { return p; })"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function(p) { return p; })"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; @@ -210,15 +188,13 @@ public async Task CanEchoDateTime(string expected, DateTimeStyles dateTimeStyle) [Fact] //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanEchoDateTimeNow() + public async Task ShouldEchoDateTimeNow() { - var expectedDateTime = DateTime.Now; - - var browser = classFixture.Browser; + AssertInitialLoadComplete(); - Assert.False(browser.IsLoading); + var expectedDateTime = DateTime.Now; - var javascriptResponse = await browser.EvaluateScriptAsync("(function(p) { return p; })"); + var javascriptResponse = await Browser.EvaluateScriptAsync("(function(p) { return p; })"); Assert.True(javascriptResponse.Success); var callback = (IJavascriptCallback)javascriptResponse.Result; diff --git a/CefSharp.Test/JavascriptBinding/BindingTestObject.cs b/CefSharp.Test/JavascriptBinding/BindingTestObject.cs new file mode 100644 index 0000000000..2fc702e442 --- /dev/null +++ b/CefSharp.Test/JavascriptBinding/BindingTestObject.cs @@ -0,0 +1,17 @@ +// Copyright © 2017 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +namespace CefSharp.Test.JavascriptBinding +{ + internal class BindingTestObject + { + public int EchoMethodCallCount { get; private set; } + public string Echo(string arg) + { + EchoMethodCallCount++; + + return arg; + } + } +} diff --git a/CefSharp.Test/JavascriptBinding/IntegrationTestFacts.cs b/CefSharp.Test/JavascriptBinding/IntegrationTests.cs similarity index 56% rename from CefSharp.Test/JavascriptBinding/IntegrationTestFacts.cs rename to CefSharp.Test/JavascriptBinding/IntegrationTests.cs index b872be25e8..60d496c211 100644 --- a/CefSharp.Test/JavascriptBinding/IntegrationTestFacts.cs +++ b/CefSharp.Test/JavascriptBinding/IntegrationTests.cs @@ -2,12 +2,9 @@ // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. -using System.Diagnostics; using System.Threading.Tasks; -using CefSharp.Event; using CefSharp.Example; using CefSharp.Example.JavascriptBinding; -using CefSharp.Internals; using CefSharp.OffScreen; using Xunit; using Xunit.Abstractions; @@ -15,20 +12,16 @@ namespace CefSharp.Test.JavascriptBinding { /// - /// This is more a set of integration tests than it is unit tests, for now we need to - /// run our QUnit tests in an automated fashion and some other testing. + /// Automated QUnit Integration Tests /// - //TODO: Improve Test Naming, we need a naming scheme that fits these cases that's consistent - //(Ideally we implement consistent naming accross all test classes, though I'm open to a different - //naming convention as these are more integration tests than unit tests). //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class IntegrationTestFacts + public class IntegrationTests { private readonly ITestOutputHelper output; private readonly CefSharpFixture fixture; - public IntegrationTestFacts(ITestOutputHelper output, CefSharpFixture fixture) + public IntegrationTests(ITestOutputHelper output, CefSharpFixture fixture) { this.fixture = fixture; this.output = output; @@ -206,135 +199,5 @@ public async Task LoadLegacyJavaScriptBindingQunitTestsSuccessfulCompletion() } } #endif - - [Fact] - public async Task IsObjectCachedWithInvalidObjectNameReturnsFalse() - { - using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl)) - { - await browser.WaitForInitialLoadAsync(); - - //We'll execute twice using the different cased (camelcase naming and standard) - var response = await browser.EvaluateScriptAsync("CefSharp.IsObjectCached('doesntexist')"); - - Assert.True(response.Success); - Assert.False((bool)response.Result); - - response = await browser.EvaluateScriptAsync("cefSharp.isObjectCached('doesntexist')"); - - Assert.True(response.Success); - Assert.False((bool)response.Result); - } - } - - [Fact] - public async Task JsBindingGlobalObjectNameCustomValueExecuteIsObjectCachedSuccess() - { - using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) - { - var settings = browser.JavascriptObjectRepository.Settings; - settings.JavascriptBindingApiGlobalObjectName = "bindingApiObject"; - - //To modify the settings we need to defer browser creation slightly - browser.CreateBrowser(); - - await browser.WaitForInitialLoadAsync(); - - var result = await browser.EvaluateScriptAsync("bindingApiObject.isObjectCached('doesntexist') === false"); - - Assert.True(result.Success); - } - } - - [Fact] - public async Task JsBindingGlobalApiDisabled() - { - using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) - { - var settings = browser.JavascriptObjectRepository.Settings; - settings.JavascriptBindingApiEnabled = false; - - //To modify the settings we need to defer browser creation slightly - browser.CreateBrowser(); - - var loadResponse = await browser.WaitForInitialLoadAsync(); - - Assert.True(loadResponse.Success); - - var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'"); - var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'"); - - Assert.True(response1.Success); - Assert.True((bool)response1.Result); - - Assert.True(response2.Success); - Assert.True((bool)response2.Result); - } - } - - [Fact] - public async Task JsBindingGlobalApiEnabled() - { - using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) - { - var settings = browser.JavascriptObjectRepository.Settings; - settings.JavascriptBindingApiEnabled = true; - - //To modify the settings we need to defer browser creation slightly - browser.CreateBrowser(); - - await browser.WaitForInitialLoadAsync(); - - var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'"); - var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'"); - - Assert.True(response1.Success); - Assert.False((bool)response1.Result); - - Assert.True(response2.Success); - Assert.False((bool)response2.Result); - } - } - - [Theory] - [InlineData("CefSharp.RenderProcessId")] - [InlineData("cefSharp.renderProcessId")] - public async Task JsBindingRenderProcessId(string script) - { - using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl)) - { - await browser.WaitForInitialLoadAsync(); - - var result = await browser.EvaluateScriptAsync(script); - - Assert.True(result.Success); - - using (var process = Process.GetProcessById(Assert.IsType(result.Result))) - { - Assert.Equal("CefSharp.BrowserSubprocess", process.ProcessName); - } - } - } - - [Fact] - //Issue https://github.com/cefsharp/CefSharp/issues/3470 - //Verify workaround passes - public async Task CanCallCefSharpBindObjectAsyncWithoutParams() - { - using (var browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl)) - { - await browser.WaitForInitialLoadAsync(); - - //TODO: See if we can avoid GetAwaiter().GetResult() - var evt = Assert.Raises( - x => browser.JavascriptObjectRepository.ResolveObject += x, - y => browser.JavascriptObjectRepository.ResolveObject -= y, - () => { browser.EvaluateScriptAsync("CefSharp.BindObjectAsync();").GetAwaiter().GetResult(); }); - - Assert.NotNull(evt); - - Assert.Equal(JavascriptObjectRepository.AllObjects, evt.Arguments.ObjectName); - } - } } } diff --git a/CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryFacts.cs b/CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryTests.cs similarity index 93% rename from CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryFacts.cs rename to CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryTests.cs index 03c0b9981a..c1679612f8 100644 --- a/CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryFacts.cs +++ b/CefSharp.Test/JavascriptBinding/JavaScriptObjectRepositoryTests.cs @@ -27,10 +27,10 @@ internal class SomeElseClass namespace CefSharp.Test.JavascriptBinding { - public class JavaScriptObjectRepositoryFacts + public class JavaScriptObjectRepositoryTests { [Fact] - public void CanRegisterJavascriptObjectBindWhenNamespaceIsNull() + public void ShouldRegisterJavascriptObjectBindWhenNamespaceIsNull() { IJavascriptObjectRepositoryInternal javascriptObjectRepository = new JavascriptObjectRepository(); var name = nameof(NoNamespaceClass); @@ -61,7 +61,7 @@ public void ShouldReturnErrorMessageForObjectInvalidId() #if !NETCOREAPP [Fact] - public void CanRegisterJavascriptObjectPropertyBindWhenNamespaceIsNull() + public void ShouldRegisterJavascriptObjectPropertyBindWhenNamespaceIsNull() { IJavascriptObjectRepositoryInternal javascriptObjectRepository = new JavascriptObjectRepository(); var name = nameof(NoNamespaceClass); diff --git a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs new file mode 100644 index 0000000000..ca405795aa --- /dev/null +++ b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs @@ -0,0 +1,211 @@ +// Copyright © 2020 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Diagnostics; +using System.Threading.Tasks; +using CefSharp.Event; +using CefSharp.Example; +using CefSharp.Internals; +using CefSharp.OffScreen; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.JavascriptBinding +{ + [Collection(CefSharpFixtureCollection.Key)] + public class JavascriptBindingTests : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public JavascriptBindingTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + //Issue https://github.com/cefsharp/CefSharp/issues/3470 + //Verify workaround passes + public async Task ShouldWork() + { + AssertInitialLoadComplete(); + + var evt = await Assert.RaisesAsync( + x => Browser.JavascriptObjectRepository.ResolveObject += x, + y => Browser.JavascriptObjectRepository.ResolveObject -= y, + () => Browser.EvaluateScriptAsync("CefSharp.BindObjectAsync();")); + + Assert.NotNull(evt); + + Assert.Equal(JavascriptObjectRepository.AllObjects, evt.Arguments.ObjectName); + } + + [Fact] + public async Task ShouldWorkWhenUsingCustomGlobalObjectName() + { + using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) + { + var settings = browser.JavascriptObjectRepository.Settings; + settings.JavascriptBindingApiGlobalObjectName = "bindingApiObject"; + + //To modify the settings we need to defer browser creation slightly + browser.CreateBrowser(); + + await browser.WaitForInitialLoadAsync(); + + var result = await browser.EvaluateScriptAsync("bindingApiObject.isObjectCached('doesntexist') === false"); + + Assert.True(result.Success); + } + } + + [Theory] + //We'll execute twice using the different cased (camelcase naming and standard) + [InlineData("CefSharp.IsObjectCached('doesntexist')")] + [InlineData("cefSharp.isObjectCached('doesntexist')")] + public async Task ShouldFailWhenIsObjectCachedCalledWithInvalidObjectName(string script) + { + var loadResponse = await Browser.LoadUrlAsync(CefExample.BindingApiCustomObjectNameTestUrl); + + Assert.True(loadResponse.Success); + + var response = await Browser.EvaluateScriptAsync(script); + + Assert.True(response.Success); + Assert.False((bool)response.Result); + } + + [Fact] + public async Task ShouldDisableJsBindingApi() + { + using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) + { + var settings = browser.JavascriptObjectRepository.Settings; + settings.JavascriptBindingApiEnabled = false; + + //To modify the settings we need to defer browser creation slightly + browser.CreateBrowser(); + + var loadResponse = await browser.WaitForInitialLoadAsync(); + + Assert.True(loadResponse.Success); + + var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'"); + var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'"); + + Assert.True(response1.Success); + Assert.True((bool)response1.Result); + + Assert.True(response2.Success); + Assert.True((bool)response2.Result); + } + } + + [Fact] + public async Task ShouldEnableJsBindingApi() + { + using (var browser = new ChromiumWebBrowser(CefExample.BindingApiCustomObjectNameTestUrl, automaticallyCreateBrowser: false)) + { + var settings = browser.JavascriptObjectRepository.Settings; + settings.JavascriptBindingApiEnabled = true; + + //To modify the settings we need to defer browser creation slightly + browser.CreateBrowser(); + + await browser.WaitForInitialLoadAsync(); + + var response1 = await browser.EvaluateScriptAsync("typeof window.cefSharp === 'undefined'"); + var response2 = await browser.EvaluateScriptAsync("typeof window.CefSharp === 'undefined'"); + + Assert.True(response1.Success); + Assert.False((bool)response1.Result); + + Assert.True(response2.Success); + Assert.False((bool)response2.Result); + } + } + + [Theory] + [InlineData("CefSharp.RenderProcessId")] + [InlineData("cefSharp.renderProcessId")] + public async Task ShouldReturnRenderProcessId(string script) + { + var result = await Browser.EvaluateScriptAsync(script); + + Assert.True(result.Success); + + using (var process = Process.GetProcessById(Assert.IsType(result.Result))) + { + Assert.Equal("CefSharp.BrowserSubprocess", process.ProcessName); + } + } + + [Fact] + public async Task ShouldWorkAfterACrossOriginNavigation() + { + const string script = @" + (async function() + { + await CefSharp.BindObjectAsync('bound'); + return await bound.echo('test'); + })();"; + + var boundObj = new BindingTestObject(); + +#if NETCOREAPP + Browser.JavascriptObjectRepository.Register("bound", boundObj); +#else + Browser.JavascriptObjectRepository.Register("bound", boundObj, true); +#endif + + await Browser.LoadUrlAsync("https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url"); + await Browser.EvaluateScriptAndAssertAsync(script); + await Browser.LoadUrlAsync("https://www.google.com"); + await Browser.EvaluateScriptAndAssertAsync(script); + + Assert.Equal(2, boundObj.EchoMethodCallCount); + } + + [Fact] + public async Task ShouldFireResolveObject() + { + AssertInitialLoadComplete(); + + var objRepository = Browser.JavascriptObjectRepository; + + var evt = await Assert.RaisesAsync( + a => objRepository.ResolveObject += a, + a => objRepository.ResolveObject -= a, + () => Browser.EvaluateScriptAsync("(async function() { await CefSharp.BindObjectAsync('first'); })();")); + + Assert.NotNull(evt); + Assert.Equal("first", evt.Arguments.ObjectName); + } + + [Fact] + public async Task ShouldFireResolveObjectForUnregisteredObject() + { + AssertInitialLoadComplete(); + + var objRepository = Browser.JavascriptObjectRepository; + + var boundObj = new BindingTestObject(); + +#if NETCOREAPP + objRepository.Register("first", boundObj); +#else + objRepository.Register("first", boundObj, true); +#endif + + var evt = await Assert.RaisesAsync( + a => objRepository.ResolveObject += a, + a => objRepository.ResolveObject -= a, + () => Browser.EvaluateScriptAsync("(async function() { await CefSharp.BindObjectAsync('first', 'second'); })();")); + + Assert.NotNull(evt); + Assert.Equal("second", evt.Arguments.ObjectName); + } + } +} diff --git a/CefSharp.Test/OffScreen/BrowserRefCountTests.cs b/CefSharp.Test/OffScreen/BrowserRefCountTests.cs new file mode 100644 index 0000000000..1a51aaa76c --- /dev/null +++ b/CefSharp.Test/OffScreen/BrowserRefCountTests.cs @@ -0,0 +1,58 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading; +using CefSharp.Internals; +using CefSharp.OffScreen; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.OffScreen +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class BrowserRefCountTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public BrowserRefCountTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public void ShouldWork() + { + var currentCount = BrowserRefCounter.Instance.Count; + + var manualResetEvent = new ManualResetEvent(false); + + var browser = new ChromiumWebBrowser("https://google.com", useLegacyRenderHandler: false); + + browser.LoadingStateChanged += (sender, e) => + { + if (!e.IsLoading) + { + manualResetEvent.Set(); + } + }; + + manualResetEvent.WaitOne(); + + //TODO: Refactor this so reference is injected into browser + Assert.Equal(currentCount + 1, BrowserRefCounter.Instance.Count); + + browser.Dispose(); + + Cef.WaitForBrowsersToClose(10000); + + output.WriteLine("BrowserRefCounter Log"); + output.WriteLine(BrowserRefCounter.Instance.GetLog()); + + Assert.Equal(0, BrowserRefCounter.Instance.Count); + } + } +} diff --git a/CefSharp.Test/OffScreen/DownloadHandlerTests.cs b/CefSharp.Test/OffScreen/DownloadHandlerTests.cs new file mode 100644 index 0000000000..755abcf658 --- /dev/null +++ b/CefSharp.Test/OffScreen/DownloadHandlerTests.cs @@ -0,0 +1,71 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using CefSharp.OffScreen; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.OffScreen +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class DownloadHandlerTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public DownloadHandlerTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Theory] + [InlineData("https://code.jquery.com/jquery-3.4.1.min.js")] + public async Task ShouldWorkWithoutAskingUser(string url) + { + var tcs = new TaskCompletionSource(TaskContinuationOptions.RunContinuationsAsynchronously); + + using (var chromiumWebBrowser = new ChromiumWebBrowser(url, useLegacyRenderHandler: false)) + { + var userTempPath = System.IO.Path.GetTempPath(); + + chromiumWebBrowser.DownloadHandler = + Fluent.DownloadHandler.UseFolder(userTempPath, + (chromiumBrowser, browser, downloadItem, callback) => + { + if (downloadItem.IsComplete) + { + tcs.SetResult(downloadItem.FullPath); + } + else if (downloadItem.IsCancelled) + { + tcs.SetResult(null); + } + }); + + await chromiumWebBrowser.WaitForInitialLoadAsync(); + + chromiumWebBrowser.StartDownload(url); + + var downloadedFilePath = await tcs.Task; + + Assert.NotNull(downloadedFilePath); + Assert.Contains(userTempPath, downloadedFilePath); + Assert.True(System.IO.File.Exists(downloadedFilePath)); + + var downloadedFileContent = System.IO.File.ReadAllText(downloadedFilePath); + + Assert.NotEqual(0, downloadedFileContent.Length); + + var htmlSrc = await chromiumWebBrowser.GetSourceAsync(); + + Assert.Contains(downloadedFileContent.Substring(0, 100), htmlSrc); + + System.IO.File.Delete(downloadedFilePath); + } + } + } +} diff --git a/CefSharp.Test/OffScreen/OffScreenBrowserBasicFacts.cs b/CefSharp.Test/OffScreen/OffScreenBrowserBasicFacts.cs deleted file mode 100644 index fcf7575667..0000000000 --- a/CefSharp.Test/OffScreen/OffScreenBrowserBasicFacts.cs +++ /dev/null @@ -1,843 +0,0 @@ -// Copyright © 2017 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System; -using System.Collections.Generic; -using System.Drawing; -using System.IO; -using System.Linq; -using System.Net; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using CefSharp.DevTools.Page; -using CefSharp.Example; -using CefSharp.Example.Handlers; -using CefSharp.Internals; -using CefSharp.OffScreen; -using CefSharp.Web; -using Xunit; -using Xunit.Abstractions; - -namespace CefSharp.Test.OffScreen -{ - //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle - [Collection(CefSharpFixtureCollection.Key)] - public class OffScreenBrowserBasicFacts - { - //TODO: Move into own file/namespace - public class AsyncBoundObject - { - public bool MethodCalled { get; set; } - public string Echo(string arg) - { - MethodCalled = true; - return arg; - } - } - - private readonly ITestOutputHelper output; - private readonly CefSharpFixture fixture; - - public OffScreenBrowserBasicFacts(ITestOutputHelper output, CefSharpFixture fixture) - { - this.fixture = fixture; - this.output = output; - } - - [Fact] - public async Task CanLoadGoogle() - { - using (var browser = new ChromiumWebBrowser("www.google.com", useLegacyRenderHandler:false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - Assert.Equal(200, response.HttpStatusCode); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [Fact] - public async Task ShouldRespectDisposed() - { - ChromiumWebBrowser browser; - - using (browser = new ChromiumWebBrowser(CefExample.DefaultUrl, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Equal(CefExample.DefaultUrl, mainFrame.Url); - Assert.Equal(200, response.HttpStatusCode); - - output.WriteLine("Url {0}", mainFrame.Url); - } - - Assert.True(browser.IsDisposed); - - Assert.Throws(() => - { - browser.Copy(); - }); - } - - [Fact] - public async Task CanLoadInvalidDomain() - { - using (var browser = new ChromiumWebBrowser("notfound.cefsharp.test", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("notfound.cefsharp.test", mainFrame.Url); - Assert.Equal(CefErrorCode.NameNotResolved, response.ErrorCode); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [Fact] - public async Task CanLoadExpiredBadSsl() - { - using (var browser = new ChromiumWebBrowser("https://expired.badssl.com/", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("", mainFrame.Url); - Assert.Equal(-1, response.HttpStatusCode); - Assert.Equal(CefErrorCode.CertDateInvalid, response.ErrorCode); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [Fact] - public void BrowserRefCountDecrementedOnDispose() - { - var currentCount = BrowserRefCounter.Instance.Count; - - var manualResetEvent = new ManualResetEvent(false); - - var browser = new ChromiumWebBrowser("https://google.com", useLegacyRenderHandler: false); - browser.LoadingStateChanged += (sender, e) => - { - if (!e.IsLoading) - { - manualResetEvent.Set(); - } - }; - - manualResetEvent.WaitOne(); - - //TODO: Refactor this so reference is injected into browser - Assert.Equal(currentCount + 1, BrowserRefCounter.Instance.Count); - - browser.Dispose(); - - Cef.WaitForBrowsersToClose(10000); - - output.WriteLine("BrowserRefCounter Log"); - output.WriteLine(BrowserRefCounter.Instance.GetLog()); - - Assert.Equal(0, BrowserRefCounter.Instance.Count); - } - - [Fact] - public async Task CanCreateBrowserAsync() - { - using (var chromiumWebBrowser = new ChromiumWebBrowser("http://www.google.com", automaticallyCreateBrowser: false, useLegacyRenderHandler: false)) - { - var browser = await chromiumWebBrowser.CreateBrowserAsync(); - - Assert.NotNull(browser); - Assert.False(browser.HasDocument); - Assert.NotEqual(0, browser.Identifier); - Assert.False(browser.IsDisposed); - } - } - - [Fact] - public async Task CanLoadGoogleAndEvaluateScript() - { - using (var browser = new ChromiumWebBrowser("www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - - var javascriptResponse = await browser.EvaluateScriptAsync("2 + 2"); - Assert.True(javascriptResponse.Success); - Assert.Equal(4, (int)javascriptResponse.Result); - output.WriteLine("Result of 2 + 2: {0}", javascriptResponse.Result); - } - } - - [Fact] - public async Task CanEvaluateScriptInParallel() - { - using (var browser = new ChromiumWebBrowser("www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var tasks = Enumerable.Range(0, 100).Select(i => Task.Run(async () => - { - var javascriptResponse = await browser.EvaluateScriptAsync("2 + 2"); - - if (javascriptResponse.Success) - { - return (int)javascriptResponse.Result; - } - - return -1; - })).ToList(); - - await Task.WhenAll(tasks); - - Assert.All(tasks, (t) => - { - Assert.Equal(4, t.Result); - }); - } - } - - [Theory] - [InlineData("[1,2,,5]", new object[] { 1, 2, null, 5 })] - [InlineData("[1,2,,]", new object[] { 1, 2, null })] - [InlineData("[,2,3]", new object[] { null, 2, 3 })] - [InlineData("[,2,,3,,4,,,,5,,,]", new object[] { null, 2, null, 3, null, 4, null, null, null, 5, null, null })] - public async Task CanEvaluateScriptAsyncReturnPartiallyEmptyArrays(string javascript, object[] expected) - { - using (var browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl, useLegacyRenderHandler: false)) - { - await browser.WaitForInitialLoadAsync(); - - var result = await browser.EvaluateScriptAsync(javascript); - - Assert.True(result.Success); - Assert.Equal(expected, result.Result); - } - } - - [Fact] - public async Task CrossSiteNavigationJavascriptBinding() - { - const string script = @" - (async function() - { - await CefSharp.BindObjectAsync('bound'); - bound.echo('test'); - })();"; - - var boundObj = new AsyncBoundObject(); - - using (var browser = new ChromiumWebBrowser("https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url", useLegacyRenderHandler: false)) - { -#if NETCOREAPP - browser.JavascriptObjectRepository.Register("bound", boundObj); -#else - browser.JavascriptObjectRepository.Register("bound", boundObj, true); -#endif - - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - browser.GetMainFrame().ExecuteJavaScriptAsync(script); - - await Task.Delay(2000); - Assert.True(boundObj.MethodCalled); - - boundObj.MethodCalled = false; - - browser.Load("https://www.google.com"); - await browser.WaitForInitialLoadAsync(); - browser.GetMainFrame().ExecuteJavaScriptAsync(script); - await Task.Delay(2000); - Assert.True(boundObj.MethodCalled); - } - } - - [Fact] - public async Task JavascriptBindingMultipleObjects() - { - const string script = @" - (async function() - { - await CefSharp.BindObjectAsync('first'); - await CefSharp.BindObjectAsync('first', 'second'); - })();"; - - var objectNames = new List(); - var boundObj = new AsyncBoundObject(); - - using (var browser = new ChromiumWebBrowser("https://www.google.com", useLegacyRenderHandler: false)) - { - browser.JavascriptObjectRepository.ResolveObject += (s, e) => - { - objectNames.Add(e.ObjectName); -#if NETCOREAPP - e.ObjectRepository.Register(e.ObjectName, boundObj); -#else - e.ObjectRepository.Register(e.ObjectName, boundObj, isAsync: true); -#endif - }; - - await browser.WaitForInitialLoadAsync(); - browser.GetMainFrame().ExecuteJavaScriptAsync(script); - - await Task.Delay(2000); - Assert.Equal(new[] { "first", "second" }, objectNames); - } - } - - /// - /// Use the EvaluateScriptAsync (IWebBrowser, String,Object[]) overload and pass in string params - /// that require encoding. Test case for https://github.com/cefsharp/CefSharp/issues/2339 - /// - /// A task - [Fact] - public async Task CanEvaluateScriptAsyncWithEncodedStringArguments() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var javascriptResponse = await browser.EvaluateScriptAsync("var testfunc=function(s) { return s; }"); - Assert.True(javascriptResponse.Success); - - // now call the function we just created - string[] teststrings = new string[]{"Mary's\tLamb & \r\nOther Things", - "[{test:\"Mary's Lamb & \\nOther Things\", 'other': \"\", 'and': null}]" }; - foreach (var test in teststrings) - { - javascriptResponse = await browser.EvaluateScriptAsync("testfunc", test); - Assert.True(javascriptResponse.Success); - Assert.Equal(test, (string)javascriptResponse.Result); - output.WriteLine("{0} passes {1}", test, javascriptResponse.Result); - } - } - } - - [Fact] - public async Task CanMakeFrameUrlRequest() - { - using (var browser = new ChromiumWebBrowser("https://code.jquery.com/jquery-3.4.1.min.js", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); - var wasCached = false; - var requestClient = new Example.UrlRequestClient((IUrlRequest req, byte[] responseBody) => - { - wasCached = req.ResponseWasCached; - taskCompletionSource.TrySetResult(Encoding.UTF8.GetString(responseBody)); - }); - - //Can be created on any valid CEF Thread, here we'll use the CEF UI Thread - await Cef.UIThreadTaskFactory.StartNew(delegate - { - var request = mainFrame.CreateRequest(false); - - request.Method = "GET"; - request.Url = "https://code.jquery.com/jquery-3.4.1.min.js"; - var urlRequest = mainFrame.CreateUrlRequest(request, requestClient); - }); - - var stringResult = await taskCompletionSource.Task; - - Assert.True(!string.IsNullOrEmpty(stringResult)); - Assert.True(wasCached); - } - } - - [Theory] - [InlineData("https://code.jquery.com/jquery-3.4.1.min.js")] - public async Task CanDownloadUrlForFrame(string url) - { - using (var browser = new ChromiumWebBrowser(url, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var htmlSrc = await browser.GetSourceAsync(); - - Assert.NotNull(htmlSrc); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - - var data = await mainFrame.DownloadUrlAsync(url); - - Assert.NotNull(data); - Assert.True(data.Length > 0); - - var stringResult = Encoding.UTF8.GetString(data).Substring(0, 100); - - Assert.Contains(stringResult, htmlSrc); - } - } - - [Theory] - [InlineData("https://code.jquery.com/jquery-3.4.1.min.js")] - public async Task CanDownloadFileToFolderWithoutAskingUser(string url) - { - var tcs = new TaskCompletionSource(TaskContinuationOptions.RunContinuationsAsynchronously); - - using (var chromiumWebBrowser = new ChromiumWebBrowser(url, useLegacyRenderHandler: false)) - { - var userTempPath = System.IO.Path.GetTempPath(); - - chromiumWebBrowser.DownloadHandler = - Fluent.DownloadHandler.UseFolder(userTempPath, - (chromiumBrowser, browser, downloadItem, callback) => - { - if(downloadItem.IsComplete) - { - tcs.SetResult(downloadItem.FullPath); - } - else if(downloadItem.IsCancelled) - { - tcs.SetResult(null); - } - }); - - await chromiumWebBrowser.WaitForInitialLoadAsync(); - - chromiumWebBrowser.StartDownload(url); - - var downloadedFilePath = await tcs.Task; - - Assert.NotNull(downloadedFilePath); - Assert.Contains(userTempPath, downloadedFilePath); - Assert.True(System.IO.File.Exists(downloadedFilePath)); - - var downloadedFileContent = System.IO.File.ReadAllText(downloadedFilePath); - - Assert.NotEqual(0, downloadedFileContent.Length); - - var htmlSrc = await chromiumWebBrowser.GetSourceAsync(); - - Assert.Contains(downloadedFileContent.Substring(0, 100), htmlSrc); - - System.IO.File.Delete(downloadedFilePath); - } - } - - [Fact] - public async Task CanMakeUrlRequest() - { - var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); - IUrlRequest urlRequest = null; - int statusCode = -1; - - //Can be created on any valid CEF Thread, here we'll use the CEF UI Thread - await Cef.UIThreadTaskFactory.StartNew(delegate - { - var requestClient = new Example.UrlRequestClient((IUrlRequest req, byte[] responseBody) => - { - statusCode = req.Response.StatusCode; - taskCompletionSource.TrySetResult(Encoding.UTF8.GetString(responseBody)); - }); - - var request = new Request - { - Method = "GET", - Url = "https://code.jquery.com/jquery-3.4.1.min.js" - }; - - //Global RequestContext will be used - urlRequest = new UrlRequest(request, requestClient); - }); - - var stringResult = await taskCompletionSource.Task; - - Assert.True(!string.IsNullOrEmpty(stringResult)); - Assert.Equal(200, statusCode); - } - - [Theory] - //TODO: Add more urls - [InlineData("http://www.google.com", "http://cefsharp.github.io/")] - public async Task CanExecuteJavascriptInMainFrameAfterNavigatingToDifferentOrigin(string firstUrl, string secondUrl) - { - using (var browser = new ChromiumWebBrowser(firstUrl, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - Assert.True(browser.CanExecuteJavascriptInMainFrame); - - await browser.LoadUrlAsync(secondUrl); - - Assert.True(browser.CanExecuteJavascriptInMainFrame); - - await browser.LoadUrlAsync(firstUrl); - - Assert.True(browser.CanExecuteJavascriptInMainFrame); - } - } - - [Theory] - [InlineData("http://httpbin.org/post")] - public async Task CanLoadRequestWithPostData(string url) - { - const string data = "Testing123"; - //When Chromium Site Isolation is enabled we must first navigate to - //a web page of the same origin to use LoadRequest - //When Site Isolation is disabled we can navigate to any web page - //https://magpcss.org/ceforum/viewtopic.php?f=10&t=18672&p=50266#p50249 - using (var browser = new ChromiumWebBrowser("http://httpbin.org/", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var request = new Request - { - Url = "http://httpbin.org/post", - Method = "POST" - }; - var postData = new PostData(); - postData.AddElement(new PostDataElement - { - Bytes = Encoding.UTF8.GetBytes(data) - }); - - request.PostData = postData; - - await browser.LoadRequestAsync(request); - - var mainFrame = browser.GetMainFrame(); - Assert.Equal(url, mainFrame.Url); - - var navEntry = await browser.GetVisibleNavigationEntryAsync(); - - Assert.Equal((int)HttpStatusCode.OK, navEntry.HttpStatusCode); - Assert.True(navEntry.HasPostData); - - var source = await browser.GetTextAsync(); - - Assert.Contains(data, source); - } - } - - [SkipIfRunOnAppVeyorFact] - public async Task CanLoadHttpWebsiteUsingProxy() - { - fixture.StartProxyServerIfRequired(); - - var requestContext = RequestContext - .Configure() - .WithProxyServer("127.0.0.1", 8080) - .Create(); - - using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("cefsharp.github.io", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [SkipIfRunOnAppVeyorFact] - public async Task CanLoadHttpWebsiteUsingSetProxyAsync() - { - fixture.StartProxyServerIfRequired(); - - var tcs = new TaskCompletionSource(); - - var requestContext = RequestContext - .Configure() - .OnInitialize((ctx) => - { - tcs.SetResult(true); - }) - .Create(); - - //Wait for our RequestContext to have initialized. - await tcs.Task; - - var setProxyResponse = await requestContext.SetProxyAsync("127.0.0.1", 8080); - - Assert.True(setProxyResponse.Success); - - using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("cefsharp.github.io", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [SkipIfRunOnAppVeyorFact] - public async Task CanLoadHttpWebsiteUsingSetProxyOnUiThread() - { - fixture.StartProxyServerIfRequired(); - - var tcs = new TaskCompletionSource(); - - var requestContext = RequestContext - .Configure() - .OnInitialize((ctx) => - { - tcs.SetResult(true); - }) - .Create(); - - //Wait for our RequestContext to have initialized. - await tcs.Task; - - var success = false; - - //To execute on the CEF UI Thread you can use - await Cef.UIThreadTaskFactory.StartNew(delegate - { - string errorMessage; - - if (!requestContext.CanSetPreference("proxy")) - { - //Unable to set proxy, if you set proxy via command line args it cannot be modified. - success = false; - - return; - } - - success = requestContext.SetProxy("127.0.0.1", 8080, out errorMessage); - }); - - Assert.True(success); - - using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("cefsharp.github.io", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [Fact] - public async Task CanWaitForBrowserInitialLoadAfterLoad() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google.com", mainFrame.Url); - Assert.Equal(CefErrorCode.None, response.ErrorCode); - Assert.Equal(200, response.HttpStatusCode); - - output.WriteLine("Url {0}", mainFrame.Url); - - response = await browser.WaitForInitialLoadAsync(); - - Assert.Equal(CefErrorCode.None, response.ErrorCode); - Assert.Equal(200, response.HttpStatusCode); - } - } - - [Fact] - public async Task CanCallTryGetBrowserCoreByIdWithInvalidId() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - var result = browser.TryGetBrowserCoreById(100, out IBrowser browserCore); - - Assert.False(result); - Assert.Null(browserCore); - } - } - - [Fact] - public async Task CanCallTryGetBrowserCoreByIdWithOwnId() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - var result = browser.TryGetBrowserCoreById(browser.BrowserCore.Identifier, out IBrowser browserCore); - - Assert.True(result); - Assert.NotNull(browserCore); - Assert.Equal(browser.BrowserCore.Identifier, browserCore.Identifier); - } - } - - [Fact] - public async Task CanCaptureScreenshotAsync() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler:false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var result1 = await browser.CaptureScreenshotAsync(); - Assert.Equal(1366, browser.Size.Width); - Assert.Equal(768, browser.Size.Height); - Assert.Equal(1, browser.DeviceScaleFactor); - using (var screenshot = Image.FromStream(new MemoryStream(result1))) - { - Assert.Equal(1366, screenshot.Width); - Assert.Equal(768, screenshot.Height); - } - - - var result2 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 1366, Height = 768, X = 100, Y = 200, Scale = 2 }); - Assert.Equal(1466, browser.Size.Width); - Assert.Equal(968, browser.Size.Height); - Assert.Equal(2, browser.DeviceScaleFactor); - using (var screenshot = Image.FromStream(new MemoryStream(result2))) - { - Assert.Equal(2732, screenshot.Width); - Assert.Equal(1536, screenshot.Height); - } - - - var result3 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 100, Height = 200, Scale = 2 }); - Assert.Equal(1466, browser.Size.Width); - Assert.Equal(968, browser.Size.Height); - Assert.Equal(2, browser.DeviceScaleFactor); - using (var screenshot = Image.FromStream(new MemoryStream(result3))) - { - Assert.Equal(200, screenshot.Width); - Assert.Equal(400, screenshot.Height); - } - - var result4 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 100, Height = 200, Scale = 1 }); - Assert.Equal(1466, browser.Size.Width); - Assert.Equal(968, browser.Size.Height); - Assert.Equal(1, browser.DeviceScaleFactor); - using (var screenshot = Image.FromStream(new MemoryStream(result4))) - { - Assert.Equal(100, screenshot.Width); - Assert.Equal(200, screenshot.Height); - } - } - } - - [Fact] - public async Task CanResizeWithDeviceScalingFactor() - { - using (var browser = new ChromiumWebBrowser("http://www.google.com")) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - Assert.Equal(1366, browser.Size.Width); - Assert.Equal(768, browser.Size.Height); - Assert.Equal(1, browser.DeviceScaleFactor); - - - await browser.ResizeAsync(800, 600, 2); - - Assert.Equal(800, browser.Size.Width); - Assert.Equal(600, browser.Size.Height); - Assert.Equal(2, browser.DeviceScaleFactor); - - using (var screenshot = browser.ScreenshotOrNull()) - { - Assert.Equal(1600, screenshot.Width); - Assert.Equal(1200, screenshot.Height); - } - - await browser.ResizeAsync(400, 300); - - Assert.Equal(400, browser.Size.Width); - Assert.Equal(300, browser.Size.Height); - Assert.Equal(2, browser.DeviceScaleFactor); - - using (var screenshot = browser.ScreenshotOrNull()) - { - Assert.Equal(800, screenshot.Width); - Assert.Equal(600, screenshot.Height); - } - - await browser.ResizeAsync(1366, 768, 1); - - Assert.Equal(1366, browser.Size.Width); - Assert.Equal(768, browser.Size.Height); - Assert.Equal(1, browser.DeviceScaleFactor); - - using (var screenshot = browser.ScreenshotOrNull()) - { - Assert.Equal(1366, screenshot.Width); - Assert.Equal(768, screenshot.Height); - } - } - } - -#if DEBUG - [Fact] - public async Task CanLoadMultipleBrowserInstancesSequentially() - { - for (int i = 0; i < 1000; i++) - { - using (var browser = new ChromiumWebBrowser(new HtmlString("Testing"), useLegacyRenderHandler: false)) - { - var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - - var source = await browser.GetSourceAsync(); - - Assert.Contains("Testing", source); - } - } - } -#endif - } -} diff --git a/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs b/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs new file mode 100644 index 0000000000..93df75d5ba --- /dev/null +++ b/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs @@ -0,0 +1,317 @@ +// Copyright © 2017 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using CefSharp.Example; +using CefSharp.OffScreen; +using CefSharp.Web; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.OffScreen +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class OffScreenBrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public OffScreenBrowserTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public async Task ShouldWorkWhenLoadingGoogle() + { + using (var browser = new ChromiumWebBrowser("www.google.com", useLegacyRenderHandler:false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + Assert.Equal(200, response.HttpStatusCode); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [Theory] + [InlineData("http://httpbin.org/post")] + public async Task ShouldWorkWhenLoadingRequestWithPostData(string url) + { + const string data = "Testing123"; + //When Chromium Site Isolation is enabled we must first navigate to + //a web page of the same origin to use LoadRequest + //When Site Isolation is disabled we can navigate to any web page + //https://magpcss.org/ceforum/viewtopic.php?f=10&t=18672&p=50266#p50249 + using (var browser = new ChromiumWebBrowser("http://httpbin.org/", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + + var request = new Request + { + Url = "http://httpbin.org/post", + Method = "POST" + }; + var postData = new PostData(); + postData.AddElement(new PostDataElement + { + Bytes = Encoding.UTF8.GetBytes(data) + }); + + request.PostData = postData; + + await browser.LoadRequestAsync(request); + + var mainFrame = browser.GetMainFrame(); + Assert.Equal(url, mainFrame.Url); + + var navEntry = await browser.GetVisibleNavigationEntryAsync(); + + Assert.Equal((int)HttpStatusCode.OK, navEntry.HttpStatusCode); + Assert.True(navEntry.HasPostData); + + var source = await browser.GetTextAsync(); + + Assert.Contains(data, source); + } + } + + [Fact] + public async Task ShouldFailWhenLoadingInvalidDomain() + { + using (var browser = new ChromiumWebBrowser("notfound.cefsharp.test", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("notfound.cefsharp.test", mainFrame.Url); + Assert.Equal(CefErrorCode.NameNotResolved, response.ErrorCode); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [Fact] + public async Task ShouldFailWhenLoadingBadSsl() + { + using (var browser = new ChromiumWebBrowser("https://expired.badssl.com/", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("", mainFrame.Url); + Assert.Equal(-1, response.HttpStatusCode); + Assert.Equal(CefErrorCode.CertDateInvalid, response.ErrorCode); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [Fact] + public async Task ShouldRespectDisposed() + { + ChromiumWebBrowser browser; + + using (browser = new ChromiumWebBrowser(CefExample.DefaultUrl, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + Assert.Equal(CefExample.DefaultUrl, mainFrame.Url); + Assert.Equal(200, response.HttpStatusCode); + + output.WriteLine("Url {0}", mainFrame.Url); + } + + Assert.True(browser.IsDisposed, $"Browser IsDisposed:{browser.IsDisposed}"); + + Assert.Throws(() => + { + browser.Copy(); + }); + } + + [Fact] + public async Task ShouldWorkWhenBrowserCreatedAsync() + { + using (var chromiumWebBrowser = new ChromiumWebBrowser("http://www.google.com", automaticallyCreateBrowser: false, useLegacyRenderHandler: false)) + { + var browser = await chromiumWebBrowser.CreateBrowserAsync(); + + Assert.NotNull(browser); + Assert.False(browser.HasDocument); + Assert.NotEqual(0, browser.Identifier); + Assert.False(browser.IsDisposed); + } + } + + [Fact] + public async Task ShouldMakeFrameUrlRequest() + { + using (var browser = new ChromiumWebBrowser("https://code.jquery.com/jquery-3.4.1.min.js", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var wasCached = false; + var requestClient = new Example.UrlRequestClient((IUrlRequest req, byte[] responseBody) => + { + wasCached = req.ResponseWasCached; + taskCompletionSource.TrySetResult(Encoding.UTF8.GetString(responseBody)); + }); + + //Can be created on any valid CEF Thread, here we'll use the CEF UI Thread + await Cef.UIThreadTaskFactory.StartNew(delegate + { + var request = mainFrame.CreateRequest(false); + + request.Method = "GET"; + request.Url = "https://code.jquery.com/jquery-3.4.1.min.js"; + var urlRequest = mainFrame.CreateUrlRequest(request, requestClient); + }); + + var stringResult = await taskCompletionSource.Task; + + Assert.True(!string.IsNullOrEmpty(stringResult)); + Assert.True(wasCached); + } + } + + [Theory] + [InlineData("https://code.jquery.com/jquery-3.4.1.min.js")] + public async Task ShouldDownloadUrlForFrame(string url) + { + using (var browser = new ChromiumWebBrowser(url, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + + var htmlSrc = await browser.GetSourceAsync(); + + Assert.NotNull(htmlSrc); + + var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); + + var data = await mainFrame.DownloadUrlAsync(url); + + Assert.NotNull(data); + Assert.True(data.Length > 0); + + var stringResult = Encoding.UTF8.GetString(data).Substring(0, 100); + + Assert.Contains(stringResult, htmlSrc); + } + } + + [Theory] + //TODO: Add more urls + [InlineData("http://www.google.com", "http://cefsharp.github.io/")] + public async Task CanExecuteJavascriptInMainFrameAfterNavigatingToDifferentOrigin(string firstUrl, string secondUrl) + { + using (var browser = new ChromiumWebBrowser(firstUrl, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + Assert.True(browser.CanExecuteJavascriptInMainFrame); + + await browser.LoadUrlAsync(secondUrl); + + Assert.True(browser.CanExecuteJavascriptInMainFrame); + + await browser.LoadUrlAsync(firstUrl); + + Assert.True(browser.CanExecuteJavascriptInMainFrame); + } + } + + [Fact] + public async Task ShouldWaitForBrowserInitialLoadAfterSubsequentLoad() + { + using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google.com", mainFrame.Url); + Assert.Equal(CefErrorCode.None, response.ErrorCode); + Assert.Equal(200, response.HttpStatusCode); + + output.WriteLine("Url {0}", mainFrame.Url); + + response = await browser.WaitForInitialLoadAsync(); + + Assert.Equal(CefErrorCode.None, response.ErrorCode); + Assert.Equal(200, response.HttpStatusCode); + } + } + + [Fact] + public async Task ShouldFailWhenCallingTryGetBrowserCoreByIdWithInvalidId() + { + using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var result = browser.TryGetBrowserCoreById(100, out IBrowser browserCore); + + Assert.False(result); + Assert.Null(browserCore); + } + } + + [Fact] + public async Task ShouldWorkWhenCallingTryGetBrowserCoreByIdWithOwnId() + { + using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var result = browser.TryGetBrowserCoreById(browser.BrowserCore.Identifier, out IBrowser browserCore); + + Assert.True(result); + Assert.NotNull(browserCore); + Assert.Equal(browser.BrowserCore.Identifier, browserCore.Identifier); + } + } + + [SkipIfRunOnAppVeyorFact] + public async Task ShouldWorkWhenCreatingOneThousandBrowserSequentially() + { + for (int i = 0; i < 1000; i++) + { + using (var browser = new ChromiumWebBrowser(new HtmlString("Testing"), useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + + var source = await browser.GetSourceAsync(); + + Assert.Contains("Testing", source); + } + } + } + } +} diff --git a/CefSharp.Test/OffScreen/RequestContextTests.cs b/CefSharp.Test/OffScreen/RequestContextTests.cs new file mode 100644 index 0000000000..0d1e6b08da --- /dev/null +++ b/CefSharp.Test/OffScreen/RequestContextTests.cs @@ -0,0 +1,134 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using CefSharp.OffScreen; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.OffScreen +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class RequestContextTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public RequestContextTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [SkipIfRunOnAppVeyorFact] + public async Task ShouldWorkWithProxy() + { + fixture.StartProxyServerIfRequired(); + + var requestContext = RequestContext + .Configure() + .WithProxyServer("127.0.0.1", 8080) + .Create(); + + using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + Assert.Contains("cefsharp.github.io", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [SkipIfRunOnAppVeyorFact] + public async Task ShouldWorkWithSetProxyAsync() + { + fixture.StartProxyServerIfRequired(); + + var tcs = new TaskCompletionSource(); + + var requestContext = RequestContext + .Configure() + .OnInitialize((ctx) => + { + tcs.SetResult(true); + }) + .Create(); + + //Wait for our RequestContext to have initialized. + await tcs.Task; + + var setProxyResponse = await requestContext.SetProxyAsync("127.0.0.1", 8080); + + Assert.True(setProxyResponse.Success); + + using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + Assert.Contains("cefsharp.github.io", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [SkipIfRunOnAppVeyorFact] + public async Task ShouldWorkWithProxySetOnUiThread() + { + fixture.StartProxyServerIfRequired(); + + var tcs = new TaskCompletionSource(); + + var requestContext = RequestContext + .Configure() + .OnInitialize((ctx) => + { + tcs.SetResult(true); + }) + .Create(); + + //Wait for our RequestContext to have initialized. + await tcs.Task; + + var success = false; + + //To execute on the CEF UI Thread you can use + await Cef.UIThreadTaskFactory.StartNew(delegate + { + string errorMessage; + + if (!requestContext.CanSetPreference("proxy")) + { + //Unable to set proxy, if you set proxy via command line args it cannot be modified. + success = false; + + return; + } + + success = requestContext.SetProxy("127.0.0.1", 8080, out errorMessage); + }); + + Assert.True(success); + + using (var browser = new ChromiumWebBrowser("http://cefsharp.github.io/", requestContext: requestContext, useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(response.Success); + Assert.True(mainFrame.IsValid); + Assert.Contains("cefsharp.github.io", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + } +} diff --git a/CefSharp.Test/OffScreen/ScreenshotTests.cs b/CefSharp.Test/OffScreen/ScreenshotTests.cs new file mode 100644 index 0000000000..5be4bbdeba --- /dev/null +++ b/CefSharp.Test/OffScreen/ScreenshotTests.cs @@ -0,0 +1,131 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using Xunit.Abstractions; +using Xunit; +using System.Threading.Tasks; +using CefSharp.DevTools.Page; +using System.IO; +using CefSharp.OffScreen; +using System.Drawing; + +namespace CefSharp.Test.OffScreen +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class ScreenshotTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public ScreenshotTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public async Task ShouldWork() + { + using (var browser = new ChromiumWebBrowser("http://www.google.com", useLegacyRenderHandler: false)) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + + var result1 = await browser.CaptureScreenshotAsync(); + Assert.Equal(1366, browser.Size.Width); + Assert.Equal(768, browser.Size.Height); + Assert.Equal(1, browser.DeviceScaleFactor); + using (var screenshot = Image.FromStream(new MemoryStream(result1))) + { + Assert.Equal(1366, screenshot.Width); + Assert.Equal(768, screenshot.Height); + } + + var result2 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 1366, Height = 768, X = 100, Y = 200, Scale = 2 }); + Assert.Equal(1466, browser.Size.Width); + Assert.Equal(968, browser.Size.Height); + Assert.Equal(2, browser.DeviceScaleFactor); + using (var screenshot = Image.FromStream(new MemoryStream(result2))) + { + Assert.Equal(2732, screenshot.Width); + Assert.Equal(1536, screenshot.Height); + } + + var result3 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 100, Height = 200, Scale = 2 }); + Assert.Equal(1466, browser.Size.Width); + Assert.Equal(968, browser.Size.Height); + Assert.Equal(2, browser.DeviceScaleFactor); + using (var screenshot = Image.FromStream(new MemoryStream(result3))) + { + Assert.Equal(200, screenshot.Width); + Assert.Equal(400, screenshot.Height); + } + + var result4 = await browser.CaptureScreenshotAsync(viewport: new Viewport { Width = 100, Height = 200, Scale = 1 }); + Assert.Equal(1466, browser.Size.Width); + Assert.Equal(968, browser.Size.Height); + Assert.Equal(1, browser.DeviceScaleFactor); + using (var screenshot = Image.FromStream(new MemoryStream(result4))) + { + Assert.Equal(100, screenshot.Width); + Assert.Equal(200, screenshot.Height); + } + } + } + + [Fact] + public async Task ShouldWorkWhenResizingWithDeviceScalingFactor() + { + using (var browser = new ChromiumWebBrowser("http://www.google.com")) + { + var response = await browser.WaitForInitialLoadAsync(); + + Assert.True(response.Success); + + Assert.Equal(1366, browser.Size.Width); + Assert.Equal(768, browser.Size.Height); + Assert.Equal(1, browser.DeviceScaleFactor); + + + await browser.ResizeAsync(800, 600, 2); + + Assert.Equal(800, browser.Size.Width); + Assert.Equal(600, browser.Size.Height); + Assert.Equal(2, browser.DeviceScaleFactor); + + using (var screenshot = browser.ScreenshotOrNull()) + { + Assert.Equal(1600, screenshot.Width); + Assert.Equal(1200, screenshot.Height); + } + + await browser.ResizeAsync(400, 300); + + Assert.Equal(400, browser.Size.Width); + Assert.Equal(300, browser.Size.Height); + Assert.Equal(2, browser.DeviceScaleFactor); + + using (var screenshot = browser.ScreenshotOrNull()) + { + Assert.Equal(800, screenshot.Width); + Assert.Equal(600, screenshot.Height); + } + + await browser.ResizeAsync(1366, 768, 1); + + Assert.Equal(1366, browser.Size.Width); + Assert.Equal(768, browser.Size.Height); + Assert.Equal(1, browser.DeviceScaleFactor); + + using (var screenshot = browser.ScreenshotOrNull()) + { + Assert.Equal(1366, screenshot.Width); + Assert.Equal(768, screenshot.Height); + } + } + } + } +} diff --git a/CefSharp.Test/PostMessage/IntegrationTestFacts.cs b/CefSharp.Test/PostMessage/IntegrationTestFacts.cs deleted file mode 100644 index 64e4a34727..0000000000 --- a/CefSharp.Test/PostMessage/IntegrationTestFacts.cs +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright © 2020 The CefSharp Authors. All rights reserved. -// -// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. - -using System.Threading.Tasks; -using CefSharp.OffScreen; -using CefSharp.Web; -using Xunit; -using Xunit.Abstractions; - -namespace CefSharp.Test.PostMessage -{ - /// - /// This is more a set of integration tests than it is unit tests, for now we need to - /// run our QUnit tests in an automated fashion and some other testing. - /// - //TODO: Improve Test Naming, we need a naming scheme that fits these cases that's consistent - //(Ideally we implement consistent naming accross all test classes, though I'm open to a different - //naming convention as these are more integration tests than unit tests). - //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle - [Collection(CefSharpFixtureCollection.Key)] - public class IntegrationTestFacts - { - private readonly ITestOutputHelper output; - private readonly CefSharpFixture fixture; - - public IntegrationTestFacts(ITestOutputHelper output, CefSharpFixture fixture) - { - this.fixture = fixture; - this.output = output; - } - - [Theory] - [InlineData("Event", "Event1")] - [InlineData("Event", "Event2")] - [InlineData("CustomEvent", "Event1")] - [InlineData("CustomEvent", "Event2")] - public async Task JavascriptCustomEvent(string jsEventObject, string eventToRaise) - { - const string Script = @" - const postMessageHandler = e => { cefSharp.postMessage(e.type); }; - window.addEventListener(""Event1"", postMessageHandler, false); - window.addEventListener(""Event2"", postMessageHandler, false);"; - - string rawHtml = $"

testing

"; - int scriptId = 0; - - var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); - - //Load a dummy page initially so we can then add our script using - //Page.AddScriptToEvaluateOnNewDocument (via DevTools) - using (var browser = new ChromiumWebBrowser(new HtmlString("Initial Load"), useLegacyRenderHandler: false)) - { - await browser.WaitForInitialLoadAsync(); - - using (var devToolsClient = browser.GetDevToolsClient()) - { - var result = await devToolsClient.Page.AddScriptToEvaluateOnNewDocumentAsync(Script); - scriptId = int.Parse(result.Identifier); - - //We must use Page.Enable for the script to be added - await devToolsClient.Page.EnableAsync(); - } - - browser.LoadHtml(rawHtml); - - browser.JavascriptMessageReceived += (o, e) => - { - tcs.SetResult((string)e.Message); - }; - - var responseFromJavascript = await tcs.Task; - - Assert.True(scriptId > 0); - Assert.Equal(eventToRaise, responseFromJavascript); - } - } - } -} diff --git a/CefSharp.Test/PostMessage/PostMessageTests.cs b/CefSharp.Test/PostMessage/PostMessageTests.cs new file mode 100644 index 0000000000..88a61cd087 --- /dev/null +++ b/CefSharp.Test/PostMessage/PostMessageTests.cs @@ -0,0 +1,79 @@ +// Copyright © 2020 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.PostMessage +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class PostMessageTests : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public PostMessageTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public async Task ShouldWork() + { + AssertInitialLoadComplete(); + + var evt = await Assert.RaisesAsync( + a => Browser.JavascriptMessageReceived += a, + a => Browser.JavascriptMessageReceived -= a, + () => Browser.EvaluateScriptAsync("cefSharp.postMessage('test');")); + + Assert.NotNull(evt); + Assert.Equal("test", evt.Arguments.Message); + } + + [Theory] + [InlineData("Event", "Event1")] + [InlineData("Event", "Event2")] + [InlineData("CustomEvent", "Event1")] + [InlineData("CustomEvent", "Event2")] + public async Task ShouldWorkForCustomEvent(string jsEventObject, string expected) + { + const string Script = @" + const postMessageHandler = e => { cefSharp.postMessage(e.type); }; + window.addEventListener(""Event1"", postMessageHandler, false); + window.addEventListener(""Event2"", postMessageHandler, false);"; + + string rawHtml = $"

testing

"; + + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + + //Make sure to load an initial page so we can then add our script using + //Page.AddScriptToEvaluateOnNewDocument (via DevTools) + + using (var devToolsClient = Browser.GetDevToolsClient()) + { + var result = await devToolsClient.Page.AddScriptToEvaluateOnNewDocumentAsync(Script); + var scriptId = int.Parse(result.Identifier); + + //We must use Page.Enable for the script to be added + await devToolsClient.Page.EnableAsync(); + + Browser.LoadHtml(rawHtml); + + Browser.JavascriptMessageReceived += (o, e) => + { + tcs.SetResult((string)e.Message); + }; + + var actual = await tcs.Task; + + Assert.True(scriptId > 0); + Assert.Equal(expected, actual); + } + } + } +} diff --git a/CefSharp.Test/RequestContextIsolatedBrowserTests.cs b/CefSharp.Test/RequestContextIsolatedBrowserTests.cs new file mode 100644 index 0000000000..5ac6dfced1 --- /dev/null +++ b/CefSharp.Test/RequestContextIsolatedBrowserTests.cs @@ -0,0 +1,23 @@ +// Copyright © 2023 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using CefSharp.Example; +using CefSharp.OffScreen; +using Xunit; + +namespace CefSharp.Test +{ + /// + /// Each browser instance will be created with it's own + /// using an InMemory cache + /// + public abstract class RequestContextIsolatedBrowserTests : BrowserTests + { + protected RequestContextIsolatedBrowserTests() + { + RequestContextIsolated = true; + } + } +} diff --git a/CefSharp.Test/SchemeHandler/FolderSchemeHandlerFactoryTests.cs b/CefSharp.Test/SchemeHandler/FolderSchemeHandlerFactoryTests.cs index 6568c945f5..a75af1fee9 100644 --- a/CefSharp.Test/SchemeHandler/FolderSchemeHandlerFactoryTests.cs +++ b/CefSharp.Test/SchemeHandler/FolderSchemeHandlerFactoryTests.cs @@ -28,7 +28,7 @@ public FolderSchemeHandlerFactoryTests(ITestOutputHelper output, CefSharpFixture } [Fact] - public async Task CanWork() + public async Task ShouldWork() { const string expected = "https://folderschemehandlerfactory.test/"; @@ -57,7 +57,7 @@ public async Task CanWork() } [Fact] - public async Task CanDeleteFileAfterLoading() + public async Task ShouldAllowFileDeletionAfterLoading() { const string expected = "https://folderschemehandlerfactory.test/"; const string html = "I'm going to be deleted after use!"; diff --git a/CefSharp.Test/Selector/WaitForSelectorAsyncTests.cs b/CefSharp.Test/Selector/WaitForSelectorAsyncTests.cs index 0459ed2ba0..42b4dcd6df 100644 --- a/CefSharp.Test/Selector/WaitForSelectorAsyncTests.cs +++ b/CefSharp.Test/Selector/WaitForSelectorAsyncTests.cs @@ -1,3 +1,7 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + using Xunit.Abstractions; using Xunit; using System.Threading.Tasks; diff --git a/CefSharp.Test/UrlRequest/UrlRequestTests.cs b/CefSharp.Test/UrlRequest/UrlRequestTests.cs new file mode 100644 index 0000000000..03ac74f46a --- /dev/null +++ b/CefSharp.Test/UrlRequest/UrlRequestTests.cs @@ -0,0 +1,57 @@ +// Copyright © 2022 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Text; +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.UrlRequest +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class UrlRequestTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public UrlRequestTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public async Task ShouldWork() + { + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + IUrlRequest urlRequest = null; + int statusCode = -1; + + //Can be created on any valid CEF Thread, here we'll use the CEF UI Thread + await Cef.UIThreadTaskFactory.StartNew(delegate + { + var requestClient = new Example.UrlRequestClient((IUrlRequest req, byte[] responseBody) => + { + statusCode = req.Response.StatusCode; + taskCompletionSource.TrySetResult(Encoding.UTF8.GetString(responseBody)); + }); + + var request = new Request + { + Method = "GET", + Url = "https://code.jquery.com/jquery-3.4.1.min.js" + }; + + //Global RequestContext will be used + urlRequest = new CefSharp.UrlRequest(request, requestClient); + }); + + var stringResult = await taskCompletionSource.Task; + + Assert.True(!string.IsNullOrEmpty(stringResult)); + Assert.Equal(200, statusCode); + } + } +} diff --git a/CefSharp.Test/WebBrowserTestExtensions.cs b/CefSharp.Test/WebBrowserTestExtensions.cs index 227eb3f7c1..e4b4397f0e 100644 --- a/CefSharp.Test/WebBrowserTestExtensions.cs +++ b/CefSharp.Test/WebBrowserTestExtensions.cs @@ -6,11 +6,21 @@ using System.Reflection; using System.Threading.Tasks; using CefSharp.OffScreen; +using Xunit; namespace CefSharp.Test { public static class WebBrowserTestExtensions { + public static async Task EvaluateScriptAndAssertAsync(this IChromiumWebBrowserBase browser, string script) + { + var response = await browser.EvaluateScriptAsync(script).ConfigureAwait(false); + + Assert.True(response.Success, response.Message); + + return (T)response.Result; + } + public static int PaintEventHandlerCount(this CefSharp.Wpf.ChromiumWebBrowser browser) { var field = typeof(CefSharp.Wpf.ChromiumWebBrowser).GetField("Paint", BindingFlags.NonPublic | BindingFlags.Instance); diff --git a/CefSharp.Test/WinForms/RequestContextTests.cs b/CefSharp.Test/WinForms/RequestContextTests.cs new file mode 100644 index 0000000000..6cae221ac0 --- /dev/null +++ b/CefSharp.Test/WinForms/RequestContextTests.cs @@ -0,0 +1,69 @@ +// Copyright © 2017 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; +using System.Threading.Tasks; +using CefSharp.Example; +using CefSharp.WinForms; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.WinForms +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + public class RequestContextTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public RequestContextTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [WinFormsFact] + public async Task ShouldWork() + { + using (var browser = new ChromiumWebBrowser("www.google.com")) + { + browser.RequestContext = new RequestContext(); + + browser.Size = new System.Drawing.Size(1024, 768); + browser.CreateControl(); + + await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [WinFormsFact] + public async Task ShouldWorkUsingBuilder() + { + using (var browser = new ChromiumWebBrowser("www.google.com")) + { + browser.RequestContext = RequestContext.Configure() + .WithSharedSettings(Cef.GetGlobalRequestContext()) + .Create(); + + browser.Size = new System.Drawing.Size(1024, 768); + browser.CreateControl(); + + await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + } +} diff --git a/CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs b/CefSharp.Test/WinForms/WinFormsBrowserTests.cs similarity index 66% rename from CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs rename to CefSharp.Test/WinForms/WinFormsBrowserTests.cs index f41f034958..08bd376fdb 100644 --- a/CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs +++ b/CefSharp.Test/WinForms/WinFormsBrowserTests.cs @@ -13,19 +13,19 @@ namespace CefSharp.Test.WinForms { //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] - public class WinFormsBrowserBasicFacts + public class WinFormsBrowserTests { private readonly ITestOutputHelper output; private readonly CefSharpFixture fixture; - public WinFormsBrowserBasicFacts(ITestOutputHelper output, CefSharpFixture fixture) + public WinFormsBrowserTests(ITestOutputHelper output, CefSharpFixture fixture) { this.fixture = fixture; this.output = output; } [WinFormsFact] - public async Task CanLoadGoogle() + public async Task ShouldWorkWhenLoadingGoogle() { using (var browser = new ChromiumWebBrowser("www.google.com")) { @@ -33,8 +33,8 @@ public async Task CanLoadGoogle() browser.CreateControl(); await browser.WaitForInitialLoadAsync(); - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); @@ -43,20 +43,19 @@ public async Task CanLoadGoogle() } [WinFormsFact] - public async Task CanSetBrowserSettingsDisableImageLoadingViaObjectFactory() + public async Task ShouldDisableImageLoadingViaObjectFactory() { using (var browser = new ChromiumWebBrowser("www.google.com")) { var settings = Core.ObjectFactory.CreateBrowserSettings(true); settings.ImageLoading = CefState.Disabled; browser.BrowserSettings = settings; - browser.Size = new System.Drawing.Size(1024, 768); browser.CreateControl(); await browser.WaitForInitialLoadAsync(); - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); @@ -65,7 +64,7 @@ public async Task CanSetBrowserSettingsDisableImageLoadingViaObjectFactory() } [WinFormsFact] - public async Task CanSetBrowserSettingsDisableImageLoading() + public async Task ShouldDisableImageLoading() { using (var browser = new ChromiumWebBrowser("www.google.com")) { @@ -73,55 +72,12 @@ public async Task CanSetBrowserSettingsDisableImageLoading() { ImageLoading = CefState.Disabled }; - - browser.Size = new System.Drawing.Size(1024, 768); - browser.CreateControl(); - - await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [WinFormsFact] - public async Task CanSetRequestContextViaRequestContextBuilder() - { - using (var browser = new ChromiumWebBrowser("www.google.com")) - { - browser.RequestContext = RequestContext.Configure() - .WithSharedSettings(Cef.GetGlobalRequestContext()) - .Create(); - browser.Size = new System.Drawing.Size(1024, 768); browser.CreateControl(); await browser.WaitForInitialLoadAsync(); - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [WinFormsFact] - public async Task CanSetRequestContext() - { - using (var browser = new ChromiumWebBrowser("www.google.com")) - { - browser.RequestContext = new RequestContext(); - - browser.Size = new System.Drawing.Size(1024, 768); - browser.CreateControl(); - await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); @@ -140,8 +96,8 @@ public async Task ShouldRespectDisposed() browser.CreateControl(); await browser.WaitForInitialLoadAsync(); - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.Equal(CefExample.DefaultUrl, mainFrame.Url); diff --git a/CefSharp.Test/Wpf/RequestContextTests.cs b/CefSharp.Test/Wpf/RequestContextTests.cs new file mode 100644 index 0000000000..740c526a7f --- /dev/null +++ b/CefSharp.Test/Wpf/RequestContextTests.cs @@ -0,0 +1,66 @@ +// Copyright © 2017 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using System.Windows; +using CefSharp.Wpf; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.Wpf +{ + //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle + [Collection(CefSharpFixtureCollection.Key)] + [BrowserRefCountDebugging(typeof(ChromiumWebBrowser))] + public class RequestContextTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public RequestContextTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [WpfFact] + public async Task ShouldWork() + { + using (var browser = new ChromiumWebBrowser("www.google.com")) + { + browser.RequestContext = new RequestContext(); + browser.CreateBrowser(null, new Size(1024, 786)); + + await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + + [WpfFact] + public async Task ShouldWorkUsingBuilder() + { + using (var browser = new ChromiumWebBrowser("www.google.com")) + { + browser.RequestContext = RequestContext.Configure() + .WithSharedSettings(Cef.GetGlobalRequestContext()) + .Create(); + + browser.CreateBrowser(null, new Size(1024, 786)); + + await browser.WaitForInitialLoadAsync(); + var mainFrame = browser.GetMainFrame(); + + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + output.WriteLine("Url {0}", mainFrame.Url); + } + } + } +} diff --git a/CefSharp.Test/Wpf/WpfBrowserBasicFacts.cs b/CefSharp.Test/Wpf/WpfBrowserTests.cs similarity index 62% rename from CefSharp.Test/Wpf/WpfBrowserBasicFacts.cs rename to CefSharp.Test/Wpf/WpfBrowserTests.cs index 354ccb8443..1fd1a17652 100644 --- a/CefSharp.Test/Wpf/WpfBrowserBasicFacts.cs +++ b/CefSharp.Test/Wpf/WpfBrowserTests.cs @@ -15,25 +15,25 @@ namespace CefSharp.Test.Wpf //NOTE: All Test classes must be part of this collection as it manages the Cef Initialize/Shutdown lifecycle [Collection(CefSharpFixtureCollection.Key)] [BrowserRefCountDebugging(typeof(ChromiumWebBrowser))] - public class WpfBrowserBasicFacts + public class WpfBrowserTests { private readonly ITestOutputHelper output; private readonly CefSharpFixture fixture; - public WpfBrowserBasicFacts(ITestOutputHelper output, CefSharpFixture fixture) + public WpfBrowserTests(ITestOutputHelper output, CefSharpFixture fixture) { this.fixture = fixture; this.output = output; } [WpfFact] - public async Task CanLoadGoogle() + public async Task ShouldWorkWhenLoadingGoogle() { using (var browser = new ChromiumWebBrowser(null, "www.google.com", new Size(1024, 786))) { await browser.WaitForInitialLoadAsync(); - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); @@ -42,15 +42,14 @@ public async Task CanLoadGoogle() } [WpfFact] - public async Task CanCallLoadUrlAsyncImmediately() + public async Task ShouldWorkWhenLoadUrlAsyncImmediately() { using (var browser = new ChromiumWebBrowser(null, string.Empty, new Size(1024, 786))) { var response = await browser.LoadUrlAsync("www.google.com"); + var mainFrame = browser.GetMainFrame(); Assert.True(response.Success); - - var mainFrame = browser.GetMainFrame(); Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); @@ -59,57 +58,17 @@ public async Task CanCallLoadUrlAsyncImmediately() } [WpfFact] - public async Task CanCallLoadUrlImmediately() + public async Task ShouldWorkWhenLoadUrlImmediately() { using (var browser = new ChromiumWebBrowser()) { - browser.Load("www.google.com"); + browser.LoadUrl("www.google.com"); browser.CreateBrowser(null, new Size(1024, 786)); var response = await browser.WaitForInitialLoadAsync(); - - Assert.True(response.Success); - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [WpfFact] - public async Task CanSetRequestContext() - { - using (var browser = new ChromiumWebBrowser("www.google.com")) - { - browser.RequestContext = new RequestContext(); - browser.CreateBrowser(null, new Size(1024, 786)); - - await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); - Assert.True(mainFrame.IsValid); - Assert.Contains("www.google", mainFrame.Url); - - output.WriteLine("Url {0}", mainFrame.Url); - } - } - - [WpfFact] - public async Task CanSetRequestContextViaBuilder() - { - using (var browser = new ChromiumWebBrowser("www.google.com")) - { - browser.RequestContext = RequestContext.Configure() - .WithSharedSettings(Cef.GetGlobalRequestContext()) - .Create(); - - browser.CreateBrowser(null, new Size(1024, 786)); - - await browser.WaitForInitialLoadAsync(); - - var mainFrame = browser.GetMainFrame(); + Assert.True(response.Success); Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); From 75a564bdff317c0bb7c193ea09676c7896140f13 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 17 Feb 2023 16:48:28 +1000 Subject: [PATCH 003/275] Test - ConcurrentMethodRunnerQueueTest cleanup Issue #3067 --- CefSharp.Test/AssertEx.cs | 79 +++++++++++++++++++ .../ConcurrentMethodRunnerQueueTest.cs | 53 +++++-------- 2 files changed, 97 insertions(+), 35 deletions(-) create mode 100644 CefSharp.Test/AssertEx.cs diff --git a/CefSharp.Test/AssertEx.cs b/CefSharp.Test/AssertEx.cs new file mode 100644 index 0000000000..16a9cf8a33 --- /dev/null +++ b/CefSharp.Test/AssertEx.cs @@ -0,0 +1,79 @@ +using System; +using System.Threading.Tasks; +using Xunit.Sdk; +using Nito.AsyncEx; +using System.Threading; + +namespace CefSharp.Test +{ + internal static class AssertEx + { + /// + /// Verifies that a event with the exact event args (and not a derived type) is raised + /// This method differs from + /// in that it waits for the event to be raised before returning (or is cancelled). + /// + /// The type of the event arguments to expect + /// number of miliseconds to wait before the timeout + /// Code to attach the event handler + /// Code to detach the event handler + /// A delegate to the code to be tested + /// The event sender and arguments wrapped in an object + /// Thrown when the expected event was not raised. + public static async Task> RaisesAsync( + int cancelAfter, + Action> attach, + Action> detach, + Action testCode) where T : EventArgs + { + var raisedEvent = await RaisesAsyncInternal(cancelAfter, attach, detach, testCode); + + if (raisedEvent == null) + throw new RaisesException(typeof(T)); + + if (raisedEvent.Arguments != null && !raisedEvent.Arguments.GetType().Equals(typeof(T))) + throw new RaisesException(typeof(T), raisedEvent.Arguments.GetType()); + + return raisedEvent; + } + + private static async Task> RaisesAsyncInternal( + int cancelAfter, + Action> attach, + Action> detach, + Action testCode) where T : EventArgs + { + GuardArgumentNotNull(nameof(attach), attach); + GuardArgumentNotNull(nameof(detach), detach); + GuardArgumentNotNull(nameof(testCode), testCode); + + using var cts = new CancellationTokenSource(); + var manualResetEvent = new AsyncManualResetEvent(); + + cts.CancelAfter(cancelAfter); + + Xunit.Assert.RaisedEvent raisedEvent = null; + + attach(Handler); + testCode(); + await manualResetEvent.WaitAsync(cts.Token); + detach(Handler); + + return raisedEvent; + + void Handler(object s, T args) + { + raisedEvent = new Xunit.Assert.RaisedEvent(s, args); + manualResetEvent.Set(); + } + } + + internal static void GuardArgumentNotNull(string argName, object argValue) + { + if (argValue == null) + { + throw new ArgumentNullException(argName); + } + } + } +} diff --git a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs index 098d3cebbb..4193fbb4e3 100644 --- a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs +++ b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs @@ -7,9 +7,9 @@ using System.Threading.Tasks; using CefSharp.Example.JavascriptBinding; using CefSharp.Internals; -using Nito.AsyncEx; using Xunit; using Xunit.Abstractions; +using Moq; namespace CefSharp.Test.Framework { @@ -68,7 +68,7 @@ public void SimulateTaskRunStartOnTaskAlreadyCompleted() } [Fact] - public void DisposeConcurrentMethodRunnerQueueThenEnqueueInvocation() + public void ShouldWorkWhenEnqueueCalledAfterDispose() { var methodInvocation = new MethodInvocation(1, 1, 1, "Testing", 1); methodInvocation.Parameters.Add("Echo Me!"); @@ -91,7 +91,7 @@ public void DisposeConcurrentMethodRunnerQueueThenEnqueueInvocation() } [Fact] - public async Task StopConcurrentMethodRunnerQueueWhenMethodRunning() + public async Task ShouldDisposeWhenRunningWithoutException() { var boundObject = new AsyncBoundObject(); @@ -116,43 +116,26 @@ public async Task StopConcurrentMethodRunnerQueueWhenMethodRunning() Assert.Null(ex); } - [Fact(Skip = "Times out when run through appveyor, issue https://github.com/cefsharp/CefSharp/issues/3067")] - public async Task ValidateAsyncTaskMethodOutput() + [Fact] + public async Task ShouldCallMethodAsync() { - const string expectedResult = "Echo Me!"; - var boundObject = new AsyncBoundObject(); - - IJavascriptObjectRepositoryInternal objectRepository = new JavascriptObjectRepository(); - objectRepository.NameConverter = null; -#if NETCOREAPP - objectRepository.Register("testObject", boundObject, BindingOptions.DefaultBinder); -#else - objectRepository.Register("testObject", boundObject, true, BindingOptions.DefaultBinder); -#endif - var methodInvocation = new MethodInvocation(1, 1, 1, nameof(boundObject.AsyncWaitTwoSeconds), 1); - methodInvocation.Parameters.Add(expectedResult); - var methodRunnerQueue = new ConcurrentMethodRunnerQueue(objectRepository); - var manualResetEvent = new AsyncManualResetEvent(); - var cancellationToken = new CancellationTokenSource(); - - cancellationToken.CancelAfter(5000); - - var actualResult = ""; - - methodRunnerQueue.MethodInvocationComplete += (sender, args) => - { - actualResult = args.Result.Result.ToString(); + const string expected = "Echo Me!"; + const string methodName = "AsyncWaitTwoSeconds"; - manualResetEvent.Set(); - }; + var mockObjectRepository = new Mock(); + mockObjectRepository.Setup(x => x.TryCallMethodAsync(1, methodName, It.IsAny())).ReturnsAsync(new TryCallMethodResult(true, expected, string.Empty)); + var methodInvocation = new MethodInvocation(1, 1, 1, methodName, 1); + methodInvocation.Parameters.Add(expected); - methodRunnerQueue.Enqueue(methodInvocation); + using var methodRunnerQueue = new ConcurrentMethodRunnerQueue(mockObjectRepository.Object); - await manualResetEvent.WaitAsync(cancellationToken.Token); + var evt = await AssertEx.RaisesAsync( + cancelAfter: 10000, + x => methodRunnerQueue.MethodInvocationComplete += x, + x => methodRunnerQueue.MethodInvocationComplete -= x, + () => methodRunnerQueue.Enqueue(methodInvocation)); - Assert.Equal(expectedResult, actualResult); - - methodRunnerQueue.Dispose(); + Assert.Equal(expected, evt.Arguments.Result.Result); } } } From d0b06b3105b22e7beb012fcabd6b8d5e913f309d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 17 Feb 2023 16:52:03 +1000 Subject: [PATCH 004/275] Test - CookieManagerTests rename method --- CefSharp.Test/CookieManager/CookieManagerTests.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CefSharp.Test/CookieManager/CookieManagerTests.cs b/CefSharp.Test/CookieManager/CookieManagerTests.cs index f3e54a0894..e966c443a6 100644 --- a/CefSharp.Test/CookieManager/CookieManagerTests.cs +++ b/CefSharp.Test/CookieManager/CookieManagerTests.cs @@ -148,7 +148,7 @@ public async Task ShouldProperlyReportStrictSameSiteCookie() [Fact] //https://github.com/cefsharp/CefSharp/issues/4234 - public async Task CanSetAndGetCookie() + public async Task ShouldSetAndGetCookie() { AssertInitialLoadComplete(); @@ -156,10 +156,7 @@ public async Task CanSetAndGetCookie() var testStartDate = DateTime.Now; var expectedExpiry = DateTime.Now.AddDays(1); - Assert.False(Browser.IsLoading); - var cookieManager = Browser.GetCookieManager(); - await cookieManager.DeleteCookiesAsync(CefExample.HelloWorldUrl, CookieName); var cookieSet = await cookieManager.SetCookieAsync(CefExample.HelloWorldUrl, new Cookie From abefe829aea2521392052c67a87985bc8d2d619f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 17 Feb 2023 18:04:30 +1000 Subject: [PATCH 005/275] Test - Improvements - Use LangVersion to 8.0 - Minor cleanup --- CefSharp.Test/CefSharp.Test.csproj | 1 + CefSharp.Test/CookieManager/CookieManagerTests.cs | 4 ++-- CefSharp.Test/Navigation/WaitForNavigationAsyncTests.cs | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index f0026d9c6f..be802a43ca 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -9,6 +9,7 @@ true AllRules.ruleset false + 8.0 diff --git a/CefSharp.Test/CookieManager/CookieManagerTests.cs b/CefSharp.Test/CookieManager/CookieManagerTests.cs index e966c443a6..9ba9845f1c 100644 --- a/CefSharp.Test/CookieManager/CookieManagerTests.cs +++ b/CefSharp.Test/CookieManager/CookieManagerTests.cs @@ -174,8 +174,8 @@ public async Task ShouldSetAndGetCookie() Assert.True(cookie.Expires.HasValue); // Little bit of a loss in precision Assert.Equal(expectedExpiry, cookie.Expires.Value, TimeSpan.FromMilliseconds(10)); - Assert.True(cookie.Creation > testStartDate, "Cookie Creation greater than test start."); - Assert.True(cookie.LastAccess > testStartDate, "Cookie LastAccess greater than test start."); + Assert.True(cookie.Creation > testStartDate, $"Cookie Creation greater than test start. {cookie.Creation} > {testStartDate}"); + Assert.True(cookie.LastAccess > testStartDate, $"Cookie LastAccess greater than test start. {cookie.LastAccess} > {testStartDate}"); output.WriteLine("Expected {0} : Actual {1}", expectedExpiry, cookie.Expires.Value); } diff --git a/CefSharp.Test/Navigation/WaitForNavigationAsyncTests.cs b/CefSharp.Test/Navigation/WaitForNavigationAsyncTests.cs index 129679e802..f38c739f5d 100644 --- a/CefSharp.Test/Navigation/WaitForNavigationAsyncTests.cs +++ b/CefSharp.Test/Navigation/WaitForNavigationAsyncTests.cs @@ -3,7 +3,6 @@ using System.Threading.Tasks; using CefSharp.OffScreen; using CefSharp.Example; -using Nito.AsyncEx; using System; using System.Threading; @@ -40,8 +39,8 @@ public async Task CanWork() await Task.WhenAll(navigationTask, evaluateTask); var navigationResponse = navigationTask.Result; - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.Equal(expected, mainFrame.Url); Assert.Equal(200, navigationResponse.HttpStatusCode); @@ -66,8 +65,8 @@ public async Task CanWaitForInvalidDomain() await Task.WhenAll(navigationTask, evaluateTask); var navigationResponse = navigationTask.Result; - var mainFrame = browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); Assert.False(navigationResponse.Success); Assert.Contains(expected, mainFrame.Url); From d960f98dd451971a1a29486682421b54380fdfc6 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 17 Feb 2023 18:48:39 +1000 Subject: [PATCH 006/275] Test - CookieManagerTests.ShouldSetAndGetCookie adjust Date comparison - Test was failing when run on Appveyor, use Assert.Equal with a 1second tolerance --- CefSharp.Test/CookieManager/CookieManagerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CefSharp.Test/CookieManager/CookieManagerTests.cs b/CefSharp.Test/CookieManager/CookieManagerTests.cs index 9ba9845f1c..42d8963233 100644 --- a/CefSharp.Test/CookieManager/CookieManagerTests.cs +++ b/CefSharp.Test/CookieManager/CookieManagerTests.cs @@ -174,8 +174,8 @@ public async Task ShouldSetAndGetCookie() Assert.True(cookie.Expires.HasValue); // Little bit of a loss in precision Assert.Equal(expectedExpiry, cookie.Expires.Value, TimeSpan.FromMilliseconds(10)); - Assert.True(cookie.Creation > testStartDate, $"Cookie Creation greater than test start. {cookie.Creation} > {testStartDate}"); - Assert.True(cookie.LastAccess > testStartDate, $"Cookie LastAccess greater than test start. {cookie.LastAccess} > {testStartDate}"); + Assert.Equal(cookie.Creation ,testStartDate, TimeSpan.FromMilliseconds(1000)); + Assert.Equal(cookie.LastAccess, testStartDate, TimeSpan.FromMilliseconds(1000)); output.WriteLine("Expected {0} : Actual {1}", expectedExpiry, cookie.Expires.Value); } From 1f25de839c93718429baca057c86fd7ddfe91d00 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 17 Feb 2023 19:07:56 +1000 Subject: [PATCH 007/275] Test - JavascriptBindingTests.ShouldReturnRenderProcessId assert page loaded --- .../JavascriptBinding/JavascriptBindingTests.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs index ca405795aa..b9d816782f 100644 --- a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs +++ b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs @@ -132,14 +132,15 @@ public async Task ShouldEnableJsBindingApi() [InlineData("cefSharp.renderProcessId")] public async Task ShouldReturnRenderProcessId(string script) { + AssertInitialLoadComplete(); + var result = await Browser.EvaluateScriptAsync(script); Assert.True(result.Success); - using (var process = Process.GetProcessById(Assert.IsType(result.Result))) - { - Assert.Equal("CefSharp.BrowserSubprocess", process.ProcessName); - } + using var process = Process.GetProcessById(Assert.IsType(result.Result)); + + Assert.Equal("CefSharp.BrowserSubprocess", process.ProcessName); } [Fact] From f7cc1d4b63700d402de545a69c8735835e104fdb Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 22 Feb 2023 05:53:01 +1000 Subject: [PATCH 008/275] Upgrade to 110.0.28+g16a2153+chromium-110.0.5481.104 / Chromium 110.0.5481.104 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...ackages.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- NuGet/PackageReference/CefSharp.Common.NETCore.targets | 6 +++--- UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- 29 files changed, 39 insertions(+), 39 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 36741f724c..898e2e2ddd 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index e77cd390bd..3491ee7453 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 6ee68ac3ef..6e271793c2 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,250 - PRODUCTVERSION 110,0,250 + FILEVERSION 110,0,280 + PRODUCTVERSION 110,0,280 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "110.0.250" + VALUE "FileVersion", "110.0.280" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.250" + VALUE "ProductVersion", "110.0.280" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 0cf0d8e332..b4fee55398 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index b1d8e52b57..dbbdfc0dcd 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 7820108820..fb1caf3873 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index ae02a5100d..1f7da64596 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 0fa9a4a258..b1e2b83006 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 766ebb5b03..f9455f71d4 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,250 - PRODUCTVERSION 110,0,250 + FILEVERSION 110,0,280 + PRODUCTVERSION 110,0,280 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "110.0.250" + VALUE "FileVersion", "110.0.280" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.250" + VALUE "ProductVersion", "110.0.280" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 0cf0d8e332..b4fee55398 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index b1d8e52b57..dbbdfc0dcd 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 3c04650dca..8462336ebc 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@
- + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 4cb55d4fea..4c0797cd1d 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 82906aa1ef..9b57671604 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index be802a43ca..afc1f6a9db 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index a6888d0722..e8a270adb6 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index f75fc79fcc..315da7e65d 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index d8e843fbf3..9ca4e2f5b3 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 7ae679e1f4..203992f979 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index e537507166..d9bb6bfa96 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index e63d7b65a5..3fec003c31 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 66b21509cb..9851c7ca10 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index af284ccddc..a760749dd7 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 110.0.250 + 110.0.280 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 110.0.250 + Version 110.0.280 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index ba530daeab..f342ea3bd1 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "110.0.250"; - public const string AssemblyFileVersion = "110.0.250.0"; + public const string AssemblyVersion = "110.0.280"; + public const string AssemblyFileVersion = "110.0.280.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 427a3339c0..c8bc9698b6 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 7c97c771da..a5ebc64142 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 160f5056dd..0de49b777f 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -141,9 +141,9 @@ - - - + + + runtimes\win-x86\native\locales\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index b32fdd4224..f2d3dec499 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "110.0.25", + [string] $CefVersion = "110.0.28", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index d3b26a79e7..36312eee35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 110.0.250-CI{build} +version: 110.0.280-CI{build} clone_depth: 10 From 89da87310135bf0b3cd10736babc8dcaee169a3e Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 23 Feb 2023 12:40:16 +1000 Subject: [PATCH 009/275] Core - Make WebBrowserExtensions.ThrowExceptionIfBrowserNull public - Make public - No longer extension method so it doesn't pollute the public API --- CefSharp/WebBrowserExtensions.cs | 52 ++++++++++++++++---------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs index 037b64d325..8a2d63d256 100644 --- a/CefSharp/WebBrowserExtensions.cs +++ b/CefSharp/WebBrowserExtensions.cs @@ -73,7 +73,7 @@ public static IFrame GetMainFrame(this IChromiumWebBrowserBase browser) var cefBrowser = browser.BrowserCore; - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); return cefBrowser.MainFrame; } @@ -89,7 +89,7 @@ public static IFrame GetFocusedFrame(this IChromiumWebBrowserBase browser) var cefBrowser = browser.BrowserCore; - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); return cefBrowser.FocusedFrame; } @@ -111,7 +111,7 @@ public static void Undo(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Undo(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -138,7 +138,7 @@ public static void Redo(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Redo(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -165,7 +165,7 @@ public static void Cut(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Cut(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -192,7 +192,7 @@ public static void Copy(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Copy(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -219,7 +219,7 @@ public static void Paste(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Paste(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -246,7 +246,7 @@ public static void Delete(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Delete(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -273,7 +273,7 @@ public static void SelectAll(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void SelectAll(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -302,7 +302,7 @@ public static void ViewSource(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void ViewSource(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.MainFrame) { @@ -335,7 +335,7 @@ public static Task GetSourceAsync(this IChromiumWebBrowserBase browser) /// public static Task GetSourceAsync(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -368,7 +368,7 @@ public static Task GetTextAsync(this IChromiumWebBrowserBase browser) /// public static Task GetTextAsync(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.FocusedFrame) { @@ -397,7 +397,7 @@ public static void StartDownload(this IChromiumWebBrowserBase browser, string ur /// url to download public static void StartDownload(this IBrowser browser, string url) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); var host = browser.GetHost(); @@ -774,7 +774,7 @@ public static void ExecuteScriptAsync(this IChromiumWebBrowserBase browser, stri /// The Javascript code that should be executed. public static void ExecuteScriptAsync(this IBrowser browser, string script) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.MainFrame) { @@ -867,7 +867,7 @@ public static void LoadUrlWithPostData(this IChromiumWebBrowserBase browser, str /// (Optional) if set the Content-Type header will be set public static void LoadUrlWithPostData(this IBrowser browser, string url, byte[] postDataBytes, string contentType = null) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.MainFrame) { @@ -1061,7 +1061,7 @@ public static void Stop(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Stop(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); browser.StopLoad(); } @@ -1083,7 +1083,7 @@ public static void Back(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Back(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); browser.GoBack(); } @@ -1105,7 +1105,7 @@ public static void Forward(this IChromiumWebBrowserBase browser) /// The IBrowser instance this method extends. public static void Forward(this IBrowser browser) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); browser.GoForward(); } @@ -1144,7 +1144,7 @@ public static void Reload(this IChromiumWebBrowserBase browser, bool ignoreCache /// files from the browser cache, if available. public static void Reload(this IBrowser browser, bool ignoreCache = false) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); browser.Reload(ignoreCache); } @@ -1236,7 +1236,7 @@ public static Task GetZoomLevelAsync(this IChromiumWebBrowserBase browse /// zoom level. public static void SetZoomLevel(this IBrowser cefBrowser, double zoomLevel) { - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); var host = cefBrowser.GetHost(); ThrowExceptionIfBrowserHostNull(host); @@ -1291,7 +1291,7 @@ public static void Find(this IChromiumWebBrowserBase browser, string searchText, ThrowExceptionIfChromiumWebBrowserDisposed(browser); var cefBrowser = browser.BrowserCore; - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); cefBrowser.Find(searchText, forward, matchCase, findNext); } @@ -1303,7 +1303,7 @@ public static void Find(this IChromiumWebBrowserBase browser, string searchText, /// clear the current search selection. public static void StopFinding(this IBrowser cefBrowser, bool clearSelection) { - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); var host = cefBrowser.GetHost(); ThrowExceptionIfBrowserHostNull(host); @@ -1366,7 +1366,7 @@ public static void Print(this IChromiumWebBrowserBase browser) ThrowExceptionIfChromiumWebBrowserDisposed(browser); var cefBrowser = browser.BrowserCore; - cefBrowser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(cefBrowser); cefBrowser.Print(); } @@ -1532,7 +1532,7 @@ public static void SendMouseWheelEvent(this IChromiumWebBrowserBase browser, int /// The modifiers. public static void SendMouseWheelEvent(this IBrowser browser, int x, int y, int deltaX, int deltaY, CefEventFlags modifiers) { - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); @@ -1735,7 +1735,7 @@ public static Task EvaluateScriptAsync(this IBrowser browser throw new ArgumentOutOfRangeException("timeout", "Timeout greater than Maximum allowable value of " + UInt32.MaxValue); } - browser.ThrowExceptionIfBrowserNull(); + ThrowExceptionIfBrowserNull(browser); using (var frame = browser.MainFrame) { @@ -1953,7 +1953,7 @@ private static void ThrowExceptionIfFrameNull(IFrame frame) /// /// Thrown when an exception error condition occurs. /// The ChromiumWebBrowser instance this method extends. - internal static void ThrowExceptionIfBrowserNull(this IBrowser browser) + public static void ThrowExceptionIfBrowserNull(IBrowser browser) { if (browser == null) { From 6df59e0cf288b00e39aaceea6e390dee05e0c286 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 23 Feb 2023 13:05:53 +1000 Subject: [PATCH 010/275] Core - Fix some xml doc mistakes --- CefSharp/Callback/IMediaAccessCallback.cs | 2 +- CefSharp/Handler/FindHandler.cs | 2 +- CefSharp/IBrowserHost.cs | 6 +++--- CefSharp/IChromiumWebBrowserBase.cs | 2 +- CefSharp/IWebBrowser.cs | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CefSharp/Callback/IMediaAccessCallback.cs b/CefSharp/Callback/IMediaAccessCallback.cs index 8ef49fbc74..fc40c2b66d 100644 --- a/CefSharp/Callback/IMediaAccessCallback.cs +++ b/CefSharp/Callback/IMediaAccessCallback.cs @@ -16,7 +16,7 @@ public interface IMediaAccessCallback : IDisposable /// Call to allow or deny media access. If this callback was initiated in /// response to a getUserMedia (indicated by /// DeviceAudioCapture and/or DeviceVideoCapture being set) then - /// must match passed to + /// must match requestedPermissions param passed to /// /// /// Allowed Permissions diff --git a/CefSharp/Handler/FindHandler.cs b/CefSharp/Handler/FindHandler.cs index 9c540f7752..e8362e0453 100644 --- a/CefSharp/Handler/FindHandler.cs +++ b/CefSharp/Handler/FindHandler.cs @@ -12,7 +12,7 @@ namespace CefSharp.Handler /// public class FindHandler : IFindHandler { - /// + /// void IFindHandler.OnFindResult(IWebBrowser chromiumWebBrowser, IBrowser browser, int identifier, int count, Rect selectionRect, int activeMatchOrdinal, bool finalUpdate) { OnFindResult(chromiumWebBrowser, browser, identifier, count, selectionRect, activeMatchOrdinal, finalUpdate); diff --git a/CefSharp/IBrowserHost.cs b/CefSharp/IBrowserHost.cs index 1f1e37f44f..5da5680816 100644 --- a/CefSharp/IBrowserHost.cs +++ b/CefSharp/IBrowserHost.cs @@ -58,12 +58,12 @@ public interface IBrowserHost : IDisposable bool HasDevTools { get; } /// - /// Send a method call message over the DevTools protocol. must be a + /// Send a method call message over the DevTools protocol. must be a /// UTF8-encoded JSON dictionary that contains "id" (int), "method" (string) /// and "params" (dictionary, optional) values. See the DevTools protocol /// documentation at https://chromedevtools.github.io/devtools-protocol/ for /// details of supported methods and the expected "params" dictionary contents. - /// will be copied if necessary. This method will return true if + /// will be copied if necessary. This method will return true if /// called on the CEF UI thread and the message was successfully submitted for /// validation, otherwise false. Validation will be applied asynchronously and /// any messages that fail due to formatting errors or missing parameters may @@ -115,7 +115,7 @@ public interface IBrowserHost : IDisposable /// Execute a method call over the DevTools protocol. This is a more structured /// version of SendDevToolsMessage. /// See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details - /// of supported methods and the expected dictionary contents. + /// of supported methods and the expected dictionary contents. /// See the SendDevToolsMessage documentation for additional usage information. /// /// is an incremental number that uniquely identifies the message (pass 0 to have the next number assigned diff --git a/CefSharp/IChromiumWebBrowserBase.cs b/CefSharp/IChromiumWebBrowserBase.cs index a33efcb0b8..5b8df55658 100644 --- a/CefSharp/IChromiumWebBrowserBase.cs +++ b/CefSharp/IChromiumWebBrowserBase.cs @@ -76,7 +76,7 @@ public interface IChromiumWebBrowserBase : IDisposable /// /// Loads the specified in the Main Frame. - /// Same as calling + /// Same as calling /// /// The URL to be loaded. /// diff --git a/CefSharp/IWebBrowser.cs b/CefSharp/IWebBrowser.cs index 7dbeb756a9..6b9df0782f 100644 --- a/CefSharp/IWebBrowser.cs +++ b/CefSharp/IWebBrowser.cs @@ -20,8 +20,8 @@ public interface IWebBrowser : IChromiumWebBrowserBase /// /// Loads the specified in the Main Frame. - /// If is true then the method call will be ignored. - /// Same as calling + /// If is true then the method call will be ignored. + /// Same as calling /// /// The URL to be loaded. void Load(string url); From 916b7e01a6c60a95a0ac10aedc7a3f32a86d2220 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 25 Feb 2023 05:36:56 +1000 Subject: [PATCH 011/275] Test - Add PostMessage IJavascriptCallback test --- CefSharp.Test/PostMessage/PostMessageTests.cs | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CefSharp.Test/PostMessage/PostMessageTests.cs b/CefSharp.Test/PostMessage/PostMessageTests.cs index 88a61cd087..d0e08717f1 100644 --- a/CefSharp.Test/PostMessage/PostMessageTests.cs +++ b/CefSharp.Test/PostMessage/PostMessageTests.cs @@ -35,6 +35,28 @@ public async Task ShouldWork() Assert.Equal("test", evt.Arguments.Message); } + [Fact] + public async Task ShouldWorkWithJavascriptCallback() + { + const string expected = "Echo"; + + AssertInitialLoadComplete(); + + var evt = await Assert.RaisesAsync( + a => Browser.JavascriptMessageReceived += a, + a => Browser.JavascriptMessageReceived -= a, + () => Browser.EvaluateScriptAsync("cefSharp.postMessage({ 'Type': 'Update', Data: { 'Property': 123 }, 'Callback': (p1) => { return p1; } });")); + + Assert.NotNull(evt); + + dynamic msg = evt.Arguments.Message; + var callback = (IJavascriptCallback)msg.Callback; + var response = await callback.ExecuteAsync(expected); + + Assert.True(response.Success); + Assert.Equal(expected, response.Result); + } + [Theory] [InlineData("Event", "Event1")] [InlineData("Event", "Event2")] From 75d49a9d81797386405f83ebb9284226a0a685c6 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 27 Feb 2023 06:40:02 +1000 Subject: [PATCH 012/275] Bug Report - Update links --- .github/ISSUE_TEMPLATE/bug_report.md | 16 ++++++++-------- CONTRIBUTING.md | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index fbaecea62c..fc2712c6b9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -22,7 +22,7 @@ Still have a question? Great, ask it on [Discussions](https://github.com/cefshar We ask that you put in a reasonable amount of effort in searching through the resources listed above. The developers have full time jobs, they have lives, families, the time they have available to contribute this project is a precious resource, make sure you use it wisely! Remember the more time we spend answering the same questions over and over again, less time goes into writing code, adding new features, actually fixing bugs! -Still have a question to ask or unsure where to go next? Start with the Gitter Chat room : https://github.com/cefsharp/CefSharp/discussions +Still have a question to ask or unsure where to go next? Start with : https://github.com/cefsharp/CefSharp/discussions Before posting a bug report please take the time to read https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/ @@ -31,18 +31,18 @@ Before posting a bug report please take the time to read https://codeblog.jonske Delete this line and everything above, and then fill in the details below. - **What version of the product are you using?** - - Please only create an issue if you can reproduce the problem with version 109.1.110 or greater. + - Please only create an issue if you can reproduce the problem with version 110.0.280 or greater. - What version are you using? Nuget? CI Nuget? build from a branch? If so please link to the relevant commit. - - Please include the exact version number you are using e.g. 109.1.110 (no ambiguous statements like `Latest from Nuget`) + - Please include the exact version number you are using e.g. 110.0.280 (no ambiguous statements like `Latest from Nuget`) - **What architecture x86 or x64?** - **What version of .Net?** - <.Net 4.x/.Net Core 3.1/.Net 5.0> + <.Net 4.x/.Net Core 3.1/.Net 5.0/6.0/7.0> - **On what operating system?** - + - **Are you using `WinForms`, `WPF` or `OffScreen`?** @@ -68,9 +68,9 @@ Delete this line and everything above, and then fill in the details below. - **Does this problem also occur in the `CEF` Sample Application** - Download one of the following: - - For x86 download https://cef-builds.spotifycdn.com/cef_binary_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1dc6fb7cb5..42bc60317c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_109.1.11%2Bg6d4fdb2%2Bchromium-109.0.5414.87_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_110.0.30%2Bg3c2b68f%2Bchromium-110.0.5481.178_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` @@ -47,7 +47,7 @@ Your bug report should **always follow this template**: - **Are you using `WinForms`, `WPF` or `OffScreen`?** - **What version of the product are you using? On what operating system? x86 or x64?** - What version are you using? Nuget? CI Nuget? build from a branch? If so which branch? - - Win7, Win 8, Win10, etc? + - Win10/11, etc? - **Please provide any additional information below.** - A stack trace if available, any Exception information. - Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory) From a39686b339e262de69df27ef565170deb95fc71f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 27 Feb 2023 08:04:40 +1000 Subject: [PATCH 013/275] Core - Cleanup WebBrowserExtensions - Add null check - Rename params - Reduce code duplication --- CefSharp.Test/PrintToPdf/PrintToPdfTests.cs | 59 +++++++++ CefSharp/WebBrowserExtensions.cs | 138 +++++++++++--------- 2 files changed, 133 insertions(+), 64 deletions(-) create mode 100644 CefSharp.Test/PrintToPdf/PrintToPdfTests.cs diff --git a/CefSharp.Test/PrintToPdf/PrintToPdfTests.cs b/CefSharp.Test/PrintToPdf/PrintToPdfTests.cs new file mode 100644 index 0000000000..9a5a0f7560 --- /dev/null +++ b/CefSharp.Test/PrintToPdf/PrintToPdfTests.cs @@ -0,0 +1,59 @@ +using System.Threading.Tasks; +using Xunit.Abstractions; +using Xunit; +using System.IO; +using CefSharp.OffScreen; +using CefSharp.Example; +using System; + +namespace CefSharp.Test.PrintToPdf +{ + [Collection(CefSharpFixtureCollection.Key)] + public class PrintToPdfTests : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture fixture; + + public PrintToPdfTests(ITestOutputHelper output, CefSharpFixture fixture) + { + this.fixture = fixture; + this.output = output; + } + + [Fact] + public async Task ShouldWork() + { + AssertInitialLoadComplete(); + + var tempFile = Path.Combine(Path.GetTempPath(), "test.pdf"); + + if(File.Exists(tempFile)) + { + File.Delete(tempFile); + } + + var success = await Browser.PrintToPdfAsync(tempFile); + + Assert.True(success, $"PDF Generation Failed {tempFile}"); + Assert.True(File.Exists(tempFile), $"PDF File not found {tempFile}"); + } + + [Fact] + public async Task ShouldFailIfPageNotLoaded() + { + var tempFile = Path.Combine(Path.GetTempPath(), "test.pdf"); + + if (File.Exists(tempFile)) + { + File.Delete(tempFile); + } + + using (var browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl, automaticallyCreateBrowser: false)) + { + var exception = await Assert.ThrowsAsync(async () => await browser.PrintToPdfAsync(tempFile)); + + Assert.Equal(WebBrowserExtensions.BrowserNullExceptionString, exception.Message); + } + } + } +} diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs index 8a2d63d256..a4aac6d5cc 100644 --- a/CefSharp/WebBrowserExtensions.cs +++ b/CefSharp/WebBrowserExtensions.cs @@ -743,6 +743,8 @@ public static void ExecuteScriptAsync(this IChromiumWebBrowserBase browser, stri /// , you can provide a custom implementation if you require one. public static void ExecuteScriptAsync(this IBrowser browser, string methodName, params object[] args) { + ThrowExceptionIfBrowserNull(browser); + var script = GetScriptForJavascriptMethodWithArgs(methodName, args); browser.ExecuteScriptAsync(script); @@ -1199,13 +1201,15 @@ public static IRequestContext GetRequestContext(this IChromiumWebBrowserBase bro /// /// Asynchronously gets the current Zoom Level. /// - /// The ChromiumWebBrowser instance this method extends. + /// The ChromiumWebBrowser instance this method extends. /// /// An asynchronous result that yields the zoom level. /// - public static Task GetZoomLevelAsync(this IBrowser cefBrowser) + public static Task GetZoomLevelAsync(this IBrowser browser) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); return host.GetZoomLevelAsync(); @@ -1232,13 +1236,13 @@ public static Task GetZoomLevelAsync(this IChromiumWebBrowserBase browse /// If called on the CEF UI thread the change will be applied immediately. Otherwise, the change will be applied asynchronously /// on the CEF UI thread. The CEF UI thread is different to the WPF/WinForms UI Thread. /// - /// The ChromiumWebBrowser instance this method extends. + /// The ChromiumWebBrowser instance this method extends. /// zoom level. - public static void SetZoomLevel(this IBrowser cefBrowser, double zoomLevel) + public static void SetZoomLevel(this IBrowser browser, double zoomLevel) { - ThrowExceptionIfBrowserNull(cefBrowser); + ThrowExceptionIfBrowserNull(browser); - var host = cefBrowser.GetHost(); + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.SetZoomLevel(zoomLevel); @@ -1263,15 +1267,17 @@ public static void SetZoomLevel(this IChromiumWebBrowserBase browser, double zoo /// /// Search for text within the current page. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// text to search for /// indicates whether to search forward or backward within the page /// indicates whether the search should be case-sensitive /// indicates whether this is the first request or a follow-up /// The instance, if any, will be called to report find results. - public static void Find(this IBrowser cefBrowser, string searchText, bool forward, bool matchCase, bool findNext) + public static void Find(this IBrowser browser, string searchText, bool forward, bool matchCase, bool findNext) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.Find(searchText, forward, matchCase, findNext); @@ -1290,22 +1296,19 @@ public static void Find(this IChromiumWebBrowserBase browser, string searchText, { ThrowExceptionIfChromiumWebBrowserDisposed(browser); - var cefBrowser = browser.BrowserCore; - ThrowExceptionIfBrowserNull(cefBrowser); - - cefBrowser.Find(searchText, forward, matchCase, findNext); + browser.BrowserCore.Find(searchText, forward, matchCase, findNext); } /// /// Cancel all searches that are currently going on. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// clear the current search selection. - public static void StopFinding(this IBrowser cefBrowser, bool clearSelection) + public static void StopFinding(this IBrowser browser, bool clearSelection) { - ThrowExceptionIfBrowserNull(cefBrowser); + ThrowExceptionIfBrowserNull(browser); - var host = cefBrowser.GetHost(); + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.StopFinding(clearSelection); @@ -1326,29 +1329,44 @@ public static void StopFinding(this IChromiumWebBrowserBase browser, bool clearS /// /// Opens a Print Dialog which if used (can be user cancelled) will print the browser contents. /// - /// The ChromiumWebBrowser instance this method extends. - public static void Print(this IBrowser cefBrowser) + /// The browser instance this method extends. + public static void Print(this IBrowser browser) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.Print(); } + /// + /// Opens a Print Dialog which if used (can be user cancelled) will print the browser contents. + /// + /// The ChromiumWebBrowser instance this method extends. + public static void Print(this IChromiumWebBrowserBase browser) + { + ThrowExceptionIfChromiumWebBrowserDisposed(browser); + + browser.BrowserCore.Print(); + } + /// /// Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file /// when done. /// - /// The object this method extends. + /// The object this method extends. /// Output file location. /// (Optional) Print Settings. /// /// A task that represents the asynchronous print operation. The result is true on success or false on failure to generate the /// Pdf. /// - public static Task PrintToPdfAsync(this IBrowser cefBrowser, string path, PdfPrintSettings settings = null) + public static Task PrintToPdfAsync(this IBrowser browser, string path, PdfPrintSettings settings = null) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); var callback = new TaskPrintToPdfCallback(); @@ -1357,20 +1375,6 @@ public static Task PrintToPdfAsync(this IBrowser cefBrowser, string path, return callback.Task; } - /// - /// Opens a Print Dialog which if used (can be user cancelled) will print the browser contents. - /// - /// The ChromiumWebBrowser instance this method extends. - public static void Print(this IChromiumWebBrowserBase browser) - { - ThrowExceptionIfChromiumWebBrowserDisposed(browser); - - var cefBrowser = browser.BrowserCore; - ThrowExceptionIfBrowserNull(cefBrowser); - - cefBrowser.Print(); - } - /// /// Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file /// when done. @@ -1392,13 +1396,15 @@ public static Task PrintToPdfAsync(this IChromiumWebBrowserBase browser, s /// /// Open developer tools in its own window. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// (Optional) window info used for showing dev tools. /// (Optional) x coordinate (used for inspectElement) /// (Optional) y coordinate (used for inspectElement) - public static void ShowDevTools(this IBrowser cefBrowser, IWindowInfo windowInfo = null, int inspectElementAtX = 0, int inspectElementAtY = 0) + public static void ShowDevTools(this IBrowser browser, IWindowInfo windowInfo = null, int inspectElementAtX = 0, int inspectElementAtY = 0) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.ShowDevTools(windowInfo, inspectElementAtX, inspectElementAtY); @@ -1421,10 +1427,12 @@ public static void ShowDevTools(this IChromiumWebBrowserBase browser, IWindowInf /// /// Explicitly close the developer tools window if one exists for this browser instance. /// - /// The ChromiumWebBrowser instance this method extends. - public static void CloseDevTools(this IBrowser cefBrowser) + /// The instance this method extends. + public static void CloseDevTools(this IBrowser browser) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.CloseDevTools(); @@ -1444,11 +1452,13 @@ public static void CloseDevTools(this IChromiumWebBrowserBase browser) /// /// If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// The new word that will replace the currently selected word. - public static void ReplaceMisspelling(this IBrowser cefBrowser, string word) + public static void ReplaceMisspelling(this IBrowser browser, string word) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.ReplaceMisspelling(word); @@ -1469,40 +1479,40 @@ public static void ReplaceMisspelling(this IChromiumWebBrowserBase browser, stri /// /// Add the specified word to the spelling dictionary. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// The new word that will be added to the dictionary. - public static void AddWordToDictionary(this IBrowser cefBrowser, string word) + public static void AddWordToDictionary(this IBrowser browser, string word) { - var host = cefBrowser.GetHost(); + ThrowExceptionIfBrowserNull(browser); + + var host = browser.GetHost(); ThrowExceptionIfBrowserHostNull(host); host.AddWordToDictionary(word); } /// - /// Shortcut method to get the browser IBrowserHost. + /// Add the specified word to the spelling dictionary. /// /// The ChromiumWebBrowser instance this method extends. - /// - /// browserHost or null. - /// - public static IBrowserHost GetBrowserHost(this IChromiumWebBrowserBase browser) + /// The new word that will be added to the dictionary. + public static void AddWordToDictionary(this IChromiumWebBrowserBase browser, string word) { - var cefBrowser = browser.BrowserCore; + ThrowExceptionIfChromiumWebBrowserDisposed(browser); - return cefBrowser == null ? null : cefBrowser.GetHost(); + browser.BrowserCore.AddWordToDictionary(word); } /// - /// Add the specified word to the spelling dictionary. + /// Shortcut method to get the browser IBrowserHost. /// /// The ChromiumWebBrowser instance this method extends. - /// The new word that will be added to the dictionary. - public static void AddWordToDictionary(this IChromiumWebBrowserBase browser, string word) + /// + /// browserHost or null. + /// + public static IBrowserHost GetBrowserHost(this IChromiumWebBrowserBase browser) { - ThrowExceptionIfChromiumWebBrowserDisposed(browser); - - browser.BrowserCore.AddWordToDictionary(word); + return browser.BrowserCore?.GetHost(); } /// @@ -1524,7 +1534,7 @@ public static void SendMouseWheelEvent(this IChromiumWebBrowserBase browser, int /// /// Send a mouse wheel event to the browser. /// - /// The ChromiumWebBrowser instance this method extends. + /// The instance this method extends. /// The x coordinate relative to upper-left corner of view. /// The y coordinate relative to upper-left corner of view. /// The delta x coordinate. From 4f6fdf85c812e125bf37fde74368ccac3512cf8c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 4 Mar 2023 10:19:50 +1000 Subject: [PATCH 014/275] Upgrade to 111.0.11+geb023d1+chromium-111.0.5563.50 / Chromium 111.0.5563.50 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...ackages.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- NuGet/PackageReference/CefSharp.Common.NETCore.targets | 6 +++--- UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- 29 files changed, 39 insertions(+), 39 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 898e2e2ddd..c3e6cf129d 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 3491ee7453..9590bae2b8 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 6e271793c2..1f61c40576 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,280 - PRODUCTVERSION 110,0,280 + FILEVERSION 111,0,110 + PRODUCTVERSION 111,0,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "110.0.280" + VALUE "FileVersion", "111.0.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.280" + VALUE "ProductVersion", "111.0.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index b4fee55398..df741bafa2 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index dbbdfc0dcd..1518ccac57 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index fb1caf3873..1814470adf 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 1f7da64596..067b67dc0e 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index b1e2b83006..11f3269f4b 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index f9455f71d4..ccdeebf6c2 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 110,0,280 - PRODUCTVERSION 110,0,280 + FILEVERSION 111,0,110 + PRODUCTVERSION 111,0,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "110.0.280" + VALUE "FileVersion", "111.0.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "110.0.280" + VALUE "ProductVersion", "111.0.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index b4fee55398..df741bafa2 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index dbbdfc0dcd..1518ccac57 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 8462336ebc..ff13d04a31 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 4c0797cd1d..37d809de3c 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 9b57671604..3938bcc9d5 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index afc1f6a9db..32afdaa20b 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index e8a270adb6..1f63a64a71 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 315da7e65d..c0139eff0d 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 9ca4e2f5b3..2003a31fc5 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 203992f979..5bf53edc14 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index d9bb6bfa96..ef4026f612 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 3fec003c31..2231edd9af 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 9851c7ca10..c31155307d 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index a760749dd7..2593921026 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 110.0.280 + 111.0.110 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 110.0.280 + Version 111.0.110 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index f342ea3bd1..27dbe30612 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "110.0.280"; - public const string AssemblyFileVersion = "110.0.280.0"; + public const string AssemblyVersion = "111.0.110"; + public const string AssemblyFileVersion = "111.0.110.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index c8bc9698b6..ff135284ee 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index a5ebc64142..34cef3994f 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 0de49b777f..6146efe200 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -141,9 +141,9 @@ - - - + + + runtimes\win-x86\native\locales\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index f2d3dec499..d0f937e425 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "110.0.28", + [string] $CefVersion = "111.0.11", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 36312eee35..27d84a4c54 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 110.0.280-CI{build} +version: 111.0.110-CI{build} clone_depth: 10 From edf99b5c2435562cf4e36fcacdd930c3ad5759f6 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 7 Mar 2023 10:53:16 +1000 Subject: [PATCH 015/275] Net Core - ManagePackageVersionsCentrally exclude chromiumembeddedframework.runtime packages - When Nuget packages are managed centrally the build will break when no RuntimeIdentifier is specified as the .targets file includes entries for the chromiumembeddedframework.runtime packages. For now when ManagePackageVersionsCentrally exclude the Issue #4362 --- NuGet/PackageReference/CefSharp.Common.NETCore.targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 6146efe200..fed6f01bb8 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -140,10 +140,12 @@ - + + + runtimes\win-x86\native\locales\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest From 5b61574a51c943289739573e6ebc414111158c3a Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 7 Mar 2023 11:07:44 +1000 Subject: [PATCH 016/275] Net Core - Support Central Package Management - Use VersionOverride in .targets file when ManagePackageVersionsCentrally == true Resolves #4362 --- .../CefSharp.Common.NETCore.targets | 21 ++++++++++++++----- build.ps1 | 9 ++++++-- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index fed6f01bb8..49dab7a836 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -140,11 +140,22 @@ - - - - - + + + + + + + + + + + + + + + + runtimes\win-x86\native\locales\%(RecursiveDir)%(FileName)%(Extension) diff --git a/build.ps1 b/build.ps1 index b8e898a434..bbf4f20b83 100644 --- a/build.ps1 +++ b/build.ps1 @@ -442,11 +442,16 @@ function WriteVersionToNugetTargets $Filename = Join-Path $WorkingDir NuGet\PackageReference\CefSharp.Common.NETCore.targets Write-Diagnostic "Write Version ($RedistVersion) to $Filename" + + $RunTimeJsonData = Get-Content -Encoding UTF8 $Filename + $Regex1 = '" Version=".*"'; $Replace = '" Version="' + $RedistVersion + '"'; - - $RunTimeJsonData = Get-Content -Encoding UTF8 $Filename $NewString = $RunTimeJsonData -replace $Regex1, $Replace + + $Regex1 = '" VersionOverride=".*"'; + $Replace = '" VersionOverride="' + $RedistVersion + '"'; + $NewString = $NewString -replace $Regex1, $Replace $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False [System.IO.File]::WriteAllLines($Filename, $NewString, $Utf8NoBomEncoding) From b17cd2a1b23df786c1051c7c66947f6d52239510 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 7 Mar 2023 13:03:53 +1000 Subject: [PATCH 017/275] Core - High-DPI support is now enabled by default in Chromium. - Chromium now enables DPI awareness programmatically by default - Remove Cef.EnableHighDPISupport calls and mark as obsolete - Remove dpiawareness entries from app.manifest Issues #4417 #4410 --- .../BrowserSubprocessExecutable.h | 4 ---- CefSharp.BrowserSubprocess/Program.cs | 2 -- CefSharp.BrowserSubprocess/app.manifest | 6 ------ CefSharp.Core/BrowserSubprocess/SelfHost.cs | 7 ++----- CefSharp.Core/Cef.cs | 1 + CefSharp.OffScreen.Example/app.manifest | 6 ------ CefSharp.WinForms.Example/Program.cs | 11 ----------- CefSharp.Wpf.Example/app.manifest | 7 ------- 8 files changed, 3 insertions(+), 41 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h index 0587553c00..7d624dc590 100644 --- a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h +++ b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h @@ -34,7 +34,6 @@ namespace CefSharp /// This overload is specifically used for .Net Core. For hosting your own BrowserSubProcess /// it's preferable to use the Main method provided by this class. /// - Obtains the command line args via a call to Environment::GetCommandLineArgs - /// - Calls CefEnableHighDPISupport before any other processing /// /// /// If called for the browser process (identified by no "type" command-line value) it will return immediately @@ -53,7 +52,6 @@ namespace CefSharp /// This overload is specifically used for .Net Core. For hosting your own BrowserSubProcess /// it's preferable to use the Main method provided by this class. /// - Obtains the command line args via a call to Environment::GetCommandLineArgs - /// - Calls CefEnableHighDPISupport before any other processing /// /// /// If called for the browser process (identified by no "type" command-line value) it will return immediately @@ -62,8 +60,6 @@ namespace CefSharp /// - - - true/PM - - - - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 34cef3994f..e853da9c8d 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 49dab7a836..1d588e3bd6 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index d5c64c8fe5..4fba4db4a7 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "111.0.11", + [string] $CefVersion = "111.1.2", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 27d84a4c54..1f04675664 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 111.0.110-CI{build} +version: 111.1.20-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 800a583a3d..60bb9c7f34 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "111.0.110", + [string] $Version = "111.1.20", [Parameter(Position = 2)] - [string] $AssemblyVersion = "111.0.110", + [string] $AssemblyVersion = "111.1.20", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From fa4a37a8b0c842b3fa7b2f945518f2d023e60eb4 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 10 Mar 2023 18:37:42 +1000 Subject: [PATCH 020/275] Core - Add EvaluateScriptAsync(string script) extension method - Add generic overload that uses the DefaultBinder (with CamelCaseNaming) to perform type conversion --- CefSharp.Core/WebBrowserExtensionsEx.cs | 86 ++++++++ .../CookieManager/CookieManagerTests.cs | 14 +- .../EvaluateScriptAsyncGenericTests.cs | 186 ++++++++++++++++++ .../Javascript/EvaluateScriptAsyncTests.cs | 2 +- .../JavascriptBindingTests.cs | 4 +- CefSharp.Test/WebBrowserTestExtensions.cs | 9 - CefSharp/ModelBinding/DefaultBinder.cs | 6 + CefSharp/WebBrowserExtensions.cs | 6 +- 8 files changed, 291 insertions(+), 22 deletions(-) create mode 100644 CefSharp.Test/Javascript/EvaluateScriptAsyncGenericTests.cs diff --git a/CefSharp.Core/WebBrowserExtensionsEx.cs b/CefSharp.Core/WebBrowserExtensionsEx.cs index 78b28b32f2..c7278e4b19 100644 --- a/CefSharp.Core/WebBrowserExtensionsEx.cs +++ b/CefSharp.Core/WebBrowserExtensionsEx.cs @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using CefSharp.Internals; +using CefSharp.ModelBinding; using System; using System.IO; using System.Threading.Tasks; @@ -172,5 +173,90 @@ public static void ToggleAudioMute(this IChromiumWebBrowserBase browser) host.SetAudioMuted(!isAudioMuted); }); } + + /// + /// Evaluate javascript code in the context of the . The script will be executed + /// asynchronously and the method returns a Task that can be awaited to obtain the result. + /// + /// Type + /// Thrown when one or more arguments are outside the required range. + /// Thrown if a Javascript error occurs. + /// The IFrame instance this method extends. + /// The Javascript code that should be executed. + /// (Optional) The timeout after which the Javascript code execution should be aborted. + /// + /// that can be awaited to obtain the result of the script execution. The + /// is used to convert the result to the desired type. Property names are converted from camelCase. + /// If the script execution returns an error then an exception is thrown. + /// + public static async Task EvaluateScriptAsync(this IFrame frame, string script, TimeSpan? timeout = null) + { + WebBrowserExtensions.ThrowExceptionIfFrameNull(frame); + + if (timeout.HasValue && timeout.Value.TotalMilliseconds > uint.MaxValue) + { + throw new ArgumentOutOfRangeException("timeout", "Timeout greater than Maximum allowable value of " + UInt32.MaxValue); + } + + var response = await frame.EvaluateScriptAsync(script, timeout: timeout, useImmediatelyInvokedFuncExpression: false).ConfigureAwait(false); + + if (response.Success) + { + var binder = DefaultBinder.Instance; + + return (T)binder.Bind(response.Result, typeof(T)); + } + + throw new Exception(response.Message); + } + + /// + /// Evaluate some Javascript code in the context of the MainFrame of the ChromiumWebBrowser. The script will be executed + /// asynchronously and the method returns a Task encapsulating the response from the Javascript + /// + /// Type + /// Thrown when one or more arguments are outside the required range. + /// The IBrowser instance this method extends. + /// The JavaScript code that should be executed. + /// (Optional) The timeout after which the JavaScript code execution should be aborted. + /// + /// that can be awaited to obtain the result of the JavaScript execution. + /// + public static Task EvaluateScriptAsync(this IBrowser browser, string script, TimeSpan? timeout = null) + { + WebBrowserExtensions.ThrowExceptionIfBrowserNull(browser); + + using (var frame = browser.MainFrame) + { + return frame.EvaluateScriptAsync(script, timeout: timeout); + } + } + + /// + /// Evaluate Javascript in the context of this Browsers Main Frame. The script will be executed + /// asynchronously and the method returns a Task encapsulating the response from the Javascript + /// + /// Thrown when one or more arguments are outside the required range. + /// Type + /// The ChromiumWebBrowser instance this method extends. + /// The Javascript code that should be executed. + /// (Optional) The timeout after which the Javascript code execution should be aborted. + /// + /// that can be awaited to obtain the result of the script execution. + /// + public static Task EvaluateScriptAsync(this IChromiumWebBrowserBase chromiumWebBrowser, string script, TimeSpan? timeout = null) + { + WebBrowserExtensions.ThrowExceptionIfChromiumWebBrowserDisposed(chromiumWebBrowser); + + if (chromiumWebBrowser is IWebBrowser b) + { + if (b.CanExecuteJavascriptInMainFrame == false) + { + WebBrowserExtensions.ThrowExceptionIfCanExecuteJavascriptInMainFrameFalse(); + } + } + + return chromiumWebBrowser.BrowserCore.EvaluateScriptAsync(script, timeout); + } } } diff --git a/CefSharp.Test/CookieManager/CookieManagerTests.cs b/CefSharp.Test/CookieManager/CookieManagerTests.cs index 42d8963233..7a75b12b99 100644 --- a/CefSharp.Test/CookieManager/CookieManagerTests.cs +++ b/CefSharp.Test/CookieManager/CookieManagerTests.cs @@ -42,7 +42,7 @@ public async Task ShouldWork() Assert.True(success); - var actual = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + var actual = await Browser.EvaluateScriptAsync("document.cookie"); Assert.Equal(expected, actual); } @@ -74,7 +74,7 @@ public async Task ShouldSetMultipleCookies() Assert.True(success); - var actual = await Browser.EvaluateScriptAndAssertAsync>(@"(() => { + var actual = await Browser.EvaluateScriptAsync>(@"(() => { const cookies = document.cookie.split(';'); return cookies.map(cookie => cookie.trim()).sort(); })();"); @@ -87,7 +87,7 @@ public async Task ShouldGetACookie() { AssertInitialLoadComplete(); - var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + var response = await Browser.EvaluateScriptAsync(@"(() => { document.cookie = 'username=John Doe'; return document.cookie; })();"); @@ -113,7 +113,7 @@ public async Task ShouldProperlyReportSecureCookie() { AssertInitialLoadComplete(); - var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + var response = await Browser.EvaluateScriptAsync(@"(() => { document.cookie = 'username=John Doe;Secure;'; return document.cookie; })();"); @@ -132,7 +132,7 @@ public async Task ShouldProperlyReportStrictSameSiteCookie() { AssertInitialLoadComplete(); - var response = await Browser.EvaluateScriptAndAssertAsync(@"(() => { + var response = await Browser.EvaluateScriptAsync(@"(() => { document.cookie = 'username=John Doe;SameSite=Strict;'; return document.cookie; })();"); @@ -195,7 +195,7 @@ public async Task ShouldClearCookies() Assert.True(cookieSet); - var response = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + var response = await Browser.EvaluateScriptAsync("document.cookie"); Assert.Equal("cookie1=1", response); @@ -209,7 +209,7 @@ public async Task ShouldClearCookies() await Browser.WaitForNavigationAsync(); - response = await Browser.EvaluateScriptAndAssertAsync("document.cookie"); + response = await Browser.EvaluateScriptAsync("document.cookie"); Assert.Equal(string.Empty, response); } diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncGenericTests.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncGenericTests.cs new file mode 100644 index 0000000000..994ea7c9b3 --- /dev/null +++ b/CefSharp.Test/Javascript/EvaluateScriptAsyncGenericTests.cs @@ -0,0 +1,186 @@ +// Copyright © 2021 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; +using System.Globalization; +using System.Linq; +using System.Threading.Tasks; +using Xunit; +using Xunit.Abstractions; + +namespace CefSharp.Test.Javascript +{ + [Collection(CefSharpFixtureCollection.Key)] + public class EvaluateScriptAsyncGenericTests : BrowserTests + { + private readonly ITestOutputHelper output; + private readonly CefSharpFixture collectionFixture; + + public EvaluateScriptAsyncGenericTests(ITestOutputHelper output, CefSharpFixture collectionFixture) + { + this.output = output; + this.collectionFixture = collectionFixture; + } + + [Theory] + [InlineData(double.MaxValue, "Number.MAX_VALUE")] + [InlineData(double.MaxValue / 2, "Number.MAX_VALUE / 2")] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForDoubleComputation(double expectedValue, string script) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(script); + + Assert.Equal(expectedValue, actual); + } + + [Theory] + [InlineData(0.5d)] + [InlineData(1.5d)] + [InlineData(-0.5d)] + [InlineData(-1.5d)] + [InlineData(100000.24500d)] + [InlineData(-100000.24500d)] + [InlineData((double)uint.MaxValue)] + [InlineData((double)int.MaxValue + 1)] + [InlineData((double)int.MaxValue + 10)] + [InlineData((double)int.MinValue - 1)] + [InlineData((double)int.MinValue - 10)] + [InlineData(((double)uint.MaxValue * 2))] + [InlineData(((double)uint.MaxValue * 2) + 0.1)] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForDouble(double expected) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(expected.ToString(CultureInfo.InvariantCulture)); + + Assert.Equal(expected, actual, 5); + } + + [Theory] + [InlineData(0)] + [InlineData(-1)] + [InlineData(100)] + [InlineData(int.MaxValue)] + [InlineData(int.MinValue)] + //https://github.com/cefsharp/CefSharp/issues/3858 + public async Task ShouldWorkForInt(object expected) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(expected.ToString()); + + Assert.Equal(expected, actual); + } + + [Theory] + [InlineData("1970-01-01", "1970-01-01")] + [InlineData("1980-01-01", "1980-01-01")] + //https://github.com/cefsharp/CefSharp/issues/4234 + public async Task ShouldWorkForDate(DateTime expected, string str) + { + AssertInitialLoadComplete(); + + expected = expected.ToLocalTime(); + + var actual = await Browser.EvaluateScriptAsync($"new Date('{str}');"); + + Assert.Equal(expected, actual); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { resolve(42); });", "42")] + [InlineData("Promise.resolve(42);", "42")] + [InlineData("(async () => { var result = await fetch('https://cefsharp.example/HelloWorld.html'); return result.status;})();", "200")] + public async Task ShouldWorkForPromisePrimative(string script, string expected) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(script); + + Assert.Equal(expected, actual); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { reject('reject test'); });", "reject test")] + [InlineData("(async () => { throw('reject test'); })();", "reject test")] + public async Task ShouldFailForPromisePrimative(string script, string expected) + { + AssertInitialLoadComplete(); + + var exception = await Assert.ThrowsAsync(async () => + { + await Browser.EvaluateScriptAsync(script); + }); + + Assert.Equal(expected, exception.Message); + } + + [Theory] + [InlineData("new Promise(function(resolve, reject) { resolve({ a: 'CefSharp', b: 42, }); });", "CefSharp", "42")] + [InlineData("new Promise(function(resolve, reject) { setTimeout(resolve.bind(null, { a: 'CefSharp', b: 42, }), 1000); });", "CefSharp", "42")] + [InlineData("(async () => { function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; async function getValAfterSleep() { await sleep(1000); return { a: 'CefSharp', b: 42 }; }; await sleep(2000); const result = await getValAfterSleep(); await sleep(2000); return result; })();", "CefSharp", "42")] + public async Task ShouldWorkForPromisePrimativeObject(string script, string expectedA, string expectedB) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(script); + + Assert.Equal(expectedA, actual.a.ToString()); + Assert.Equal(expectedB, actual.b.ToString()); + } + + [Fact] + public async Task ShouldLoadGoogleAndEvaluateScript() + { + AssertInitialLoadComplete(); + + var loadResponse = await Browser.LoadUrlAsync("www.google.com"); + + Assert.True(loadResponse.Success); + + var mainFrame = Browser.GetMainFrame(); + Assert.True(mainFrame.IsValid); + Assert.Contains("www.google", mainFrame.Url); + + var response = await Browser.EvaluateScriptAsync("2 + 2"); + Assert.Equal(4, response); + output.WriteLine("Result of 2 + 2: {0}", response); + } + + [Fact] + public async Task CanEvaluateScriptInParallel() + { + AssertInitialLoadComplete(); + + var tasks = Enumerable.Range(0, 100).Select(i => Task.Run(async () => + { + return await Browser.EvaluateScriptAsync("2 + 2"); + })).ToList(); + + await Task.WhenAll(tasks); + + Assert.All(tasks, (t) => + { + Assert.Equal(4, t.Result); + }); + } + + [Theory] + [InlineData("[1,2,,5]", new object[] { 1, 2, null, 5 })] + [InlineData("[1,2,,]", new object[] { 1, 2, null })] + [InlineData("[,2,3]", new object[] { null, 2, 3 })] + [InlineData("[,2,,3,,4,,,,5,,,]", new object[] { null, 2, null, 3, null, 4, null, null, null, 5, null, null })] + public async Task CanEvaluateScriptAsyncReturnPartiallyEmptyArrays(string javascript, object[] expected) + { + AssertInitialLoadComplete(); + + var actual = await Browser.EvaluateScriptAsync(javascript); + + Assert.Equal(expected, actual); + } + } +} diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs index dadeee12b6..8e033d9cc3 100644 --- a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs +++ b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs @@ -171,7 +171,7 @@ public async Task ShouldLoadGoogleAndEvaluateScript() Assert.True(mainFrame.IsValid); Assert.Contains("www.google", mainFrame.Url); - var response = await Browser.EvaluateScriptAndAssertAsync("2 + 2"); + var response = await Browser.EvaluateScriptAsync("2 + 2"); Assert.Equal(4, response); output.WriteLine("Result of 2 + 2: {0}", response); } diff --git a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs index b9d816782f..e896dea192 100644 --- a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs +++ b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs @@ -162,9 +162,9 @@ public async Task ShouldWorkAfterACrossOriginNavigation() #endif await Browser.LoadUrlAsync("https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url"); - await Browser.EvaluateScriptAndAssertAsync(script); + await Browser.EvaluateScriptAsync(script); await Browser.LoadUrlAsync("https://www.google.com"); - await Browser.EvaluateScriptAndAssertAsync(script); + await Browser.EvaluateScriptAsync(script); Assert.Equal(2, boundObj.EchoMethodCallCount); } diff --git a/CefSharp.Test/WebBrowserTestExtensions.cs b/CefSharp.Test/WebBrowserTestExtensions.cs index e4b4397f0e..356701f00c 100644 --- a/CefSharp.Test/WebBrowserTestExtensions.cs +++ b/CefSharp.Test/WebBrowserTestExtensions.cs @@ -12,15 +12,6 @@ namespace CefSharp.Test { public static class WebBrowserTestExtensions { - public static async Task EvaluateScriptAndAssertAsync(this IChromiumWebBrowserBase browser, string script) - { - var response = await browser.EvaluateScriptAsync(script).ConfigureAwait(false); - - Assert.True(response.Success, response.Message); - - return (T)response.Result; - } - public static int PaintEventHandlerCount(this CefSharp.Wpf.ChromiumWebBrowser browser) { var field = typeof(CefSharp.Wpf.ChromiumWebBrowser).GetField("Paint", BindingFlags.NonPublic | BindingFlags.Instance); diff --git a/CefSharp/ModelBinding/DefaultBinder.cs b/CefSharp/ModelBinding/DefaultBinder.cs index c616cdbbfe..e8809fdea0 100644 --- a/CefSharp/ModelBinding/DefaultBinder.cs +++ b/CefSharp/ModelBinding/DefaultBinder.cs @@ -21,6 +21,12 @@ public class DefaultBinder : IBinder private static readonly MethodInfo ToArrayMethodInfo = typeof(Enumerable).GetMethod("ToArray", BindingFlags.Public | BindingFlags.Static); private readonly IJavascriptNameConverter javascriptNameConverter; + /// + /// Static Instance of this binding that can be reused as it doesn't store any state information. + /// Uses the naming converter + /// + public static readonly IBinder Instance = new DefaultBinder(new CamelCaseJavascriptNameConverter()); + /// /// Javascript Binder /// diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs index a4aac6d5cc..4ca10dd4e3 100644 --- a/CefSharp/WebBrowserExtensions.cs +++ b/CefSharp/WebBrowserExtensions.cs @@ -1928,7 +1928,7 @@ public static string GetScriptForJavascriptMethodWithArgs(string methodName, obj return stringBuilder.ToString(); } - private static void ThrowExceptionIfChromiumWebBrowserDisposed(IChromiumWebBrowserBase browser) + public static void ThrowExceptionIfChromiumWebBrowserDisposed(IChromiumWebBrowserBase browser) { if (browser == null) { @@ -1950,7 +1950,7 @@ private static void ThrowExceptionIfChromiumWebBrowserDisposed(IChromiumWebBrows /// /// Thrown when an exception error condition occurs. /// The instance this method extends. - private static void ThrowExceptionIfFrameNull(IFrame frame) + public static void ThrowExceptionIfFrameNull(IFrame frame) { if (frame == null) { @@ -1988,7 +1988,7 @@ public static void ThrowExceptionIfBrowserHostNull(IBrowserHost browserHost) /// Throw exception if can execute javascript in main frame false. /// /// Thrown when an exception error condition occurs. - private static void ThrowExceptionIfCanExecuteJavascriptInMainFrameFalse() + public static void ThrowExceptionIfCanExecuteJavascriptInMainFrameFalse() { throw new Exception("Unable to execute javascript at this time, scripts can only be executed within a V8Context. " + "Use the IWebBrowser.CanExecuteJavascriptInMainFrame property to guard against this exception. " + From f6093ef54e634f575245f5d654976eede4697621 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 11 Mar 2023 06:40:51 +1000 Subject: [PATCH 021/275] Core - Add JavascriptMessageReceivedEventArgs.SetBinder method - Allow for specifying a custom binder used for converting the response from cefSharp.postMessage --- .../JavascriptMessageReceivedEventArgs.cs | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/CefSharp/Event/JavascriptMessageReceivedEventArgs.cs b/CefSharp/Event/JavascriptMessageReceivedEventArgs.cs index 2c301a8c63..972ea93091 100644 --- a/CefSharp/Event/JavascriptMessageReceivedEventArgs.cs +++ b/CefSharp/Event/JavascriptMessageReceivedEventArgs.cs @@ -13,8 +13,7 @@ namespace CefSharp /// public class JavascriptMessageReceivedEventArgs : EventArgs { - private static readonly IBinder Binder = new DefaultBinder(); - + private static IBinder Binder = new DefaultBinder(); /// /// The frame that called CefSharp.PostMessage in Javascript @@ -60,5 +59,26 @@ public T ConvertMessageTo() } return (T)Binder.Bind(Message, typeof(T)); } + + /// + /// Provide a custom instance of + /// that will be used when + /// is called. You may wish to provide a custom instance in cases where you + /// wish to override the name conversion. + /// e.g. You wish to convert names from camelCase + /// + /// binder instance + /// + /// JavascriptMessageReceivedEventArgs.SetBinder(new DefaultBinder(new CamelCaseJavascriptNameConverter())); + /// + public static void SetBinder(IBinder binder) + { + if (binder == null) + { + throw new ArgumentNullException(nameof(binder)); + } + + Binder = binder; + } } } From 18772796018108bd409d0191c29e93d22d31a60c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 12 Mar 2023 06:49:47 +1000 Subject: [PATCH 022/275] Test - Add JavascriptBinding/JavascriptBindingSimpleTest.ShouldWork - Now a single file example using OffScreen --- .../JavascriptBindingSimpleTest.cs | 55 +++++++++++++++++++ .../JavascriptBindingTests.cs | 29 +++++++++- 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 CefSharp.Test/JavascriptBinding/JavascriptBindingSimpleTest.cs diff --git a/CefSharp.Test/JavascriptBinding/JavascriptBindingSimpleTest.cs b/CefSharp.Test/JavascriptBinding/JavascriptBindingSimpleTest.cs new file mode 100644 index 0000000000..1fe97b64bf --- /dev/null +++ b/CefSharp.Test/JavascriptBinding/JavascriptBindingSimpleTest.cs @@ -0,0 +1,55 @@ +// Copyright © 2023 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System.Threading.Tasks; +using CefSharp.Example; +using CefSharp.OffScreen; +using Xunit; + +namespace CefSharp.Test.JavascriptBinding +{ + [Collection(CefSharpFixtureCollection.Key)] + public class JavascriptBindingSimpleTest + { + // Keep this class inline as to provide a single file example. + private class MyBoundObject + { + public int EchoMethodCallCount { get; private set; } + public string Echo(string arg) + { + EchoMethodCallCount++; + + return arg; + } + } + + [Fact] + public async Task ShouldWork() + { + const string script = @" + (async function() + { + await CefSharp.BindObjectAsync('bound'); + return await bound.echo('Welcome to CefSharp!'); + })();"; + + using (var browser = new ChromiumWebBrowser(CefExample.HelloWorldUrl)) + { + var boundObj = new MyBoundObject(); + +#if NETCOREAPP + browser.JavascriptObjectRepository.Register("bound", boundObj); +#else + browser.JavascriptObjectRepository.Register("bound", boundObj, true); +#endif + await browser.WaitForInitialLoadAsync(); + + var result = await browser.EvaluateScriptAsync(script); + + Assert.Equal(1, boundObj.EchoMethodCallCount); + Assert.Equal("Welcome to CefSharp!", result); + } + } + } +} diff --git a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs index e896dea192..a0ceac4c65 100644 --- a/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs +++ b/CefSharp.Test/JavascriptBinding/JavascriptBindingTests.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using CefSharp.Event; using CefSharp.Example; +using CefSharp.Example.JavascriptBinding; using CefSharp.Internals; using CefSharp.OffScreen; using Xunit; @@ -25,10 +26,36 @@ public JavascriptBindingTests(ITestOutputHelper output, CefSharpFixture fixture) this.output = output; } + [Fact] + public async Task ShouldWork() + { + AssertInitialLoadComplete(); + + const string script = @" + (async function() + { + await CefSharp.BindObjectAsync('bound'); + return await bound.echo('Welcome to CefSharp!'); + })();"; + + var boundObj = new BindingTestObject(); + +#if NETCOREAPP + Browser.JavascriptObjectRepository.Register("bound", boundObj); +#else + Browser.JavascriptObjectRepository.Register("bound", boundObj, true); +#endif + + var result = await Browser.EvaluateScriptAsync(script); + + Assert.Equal(1, boundObj.EchoMethodCallCount); + Assert.Equal("Welcome to CefSharp!", result); + } + [Fact] //Issue https://github.com/cefsharp/CefSharp/issues/3470 //Verify workaround passes - public async Task ShouldWork() + public async Task ShouldRaiseResolveObjectEvent() { AssertInitialLoadComplete(); From a4db645e5b005e418e41b3ac8ad36010ba9956a6 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 12 Mar 2023 10:53:34 +1000 Subject: [PATCH 023/275] Core - Xml Doc fixes --- CefSharp.Core/Fluent/DownloadHandler.cs | 2 +- CefSharp.Core/WebBrowserExtensionsEx.cs | 4 ++-- CefSharp.WinForms/ChromiumWebBrowser.cs | 2 +- CefSharp.Wpf/Experimental/LifespanHandler.cs | 2 +- CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs | 1 + CefSharp/IChromiumWebBrowserBase.cs | 2 +- CefSharp/Internals/JavascriptObjectRepository.cs | 1 - 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CefSharp.Core/Fluent/DownloadHandler.cs b/CefSharp.Core/Fluent/DownloadHandler.cs index 5de6025877..b32281c121 100644 --- a/CefSharp.Core/Fluent/DownloadHandler.cs +++ b/CefSharp.Core/Fluent/DownloadHandler.cs @@ -28,7 +28,7 @@ namespace CefSharp.Fluent public delegate void OnBeforeDownloadDelegate(IWebBrowser chromiumWebBrowser, IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback); /// - /// Called when a download's status or progress information has been updated. This may be called multiple times before and after . + /// Called when a download's status or progress information has been updated. This may be called multiple times before and after . /// /// the ChromiumWebBrowser control /// The browser instance diff --git a/CefSharp.Core/WebBrowserExtensionsEx.cs b/CefSharp.Core/WebBrowserExtensionsEx.cs index c7278e4b19..9892ff52a9 100644 --- a/CefSharp.Core/WebBrowserExtensionsEx.cs +++ b/CefSharp.Core/WebBrowserExtensionsEx.cs @@ -94,12 +94,12 @@ public static void DownloadUrl(this IFrame frame, string url, Action - /// Downloads the specified as a . + /// Downloads the specified as a . /// Makes a GET Request. /// /// valid frame /// url to download - /// A task that can be awaited to get the representing the Url + /// A task that can be awaited to get the representing the Url public static Task DownloadUrlAsync(this IFrame frame, string url) { if (!frame.IsValid) diff --git a/CefSharp.WinForms/ChromiumWebBrowser.cs b/CefSharp.WinForms/ChromiumWebBrowser.cs index d39ae42d64..de3f20fad0 100644 --- a/CefSharp.WinForms/ChromiumWebBrowser.cs +++ b/CefSharp.WinForms/ChromiumWebBrowser.cs @@ -76,7 +76,7 @@ public partial class ChromiumWebBrowser : ChromiumHostControlBase, IWebBrowserIn /// /// Parking control used to temporarily host the CefBrowser instance - /// when is true. + /// when is true. /// private Control parkingControl; /// diff --git a/CefSharp.Wpf/Experimental/LifespanHandler.cs b/CefSharp.Wpf/Experimental/LifespanHandler.cs index a9fc37b720..2bc6b36e02 100644 --- a/CefSharp.Wpf/Experimental/LifespanHandler.cs +++ b/CefSharp.Wpf/Experimental/LifespanHandler.cs @@ -76,7 +76,7 @@ public class LifeSpanHandler : CefSharp.Handler.LifeSpanHandler /// /// Default constructor /// - /// optional delegate to create a custom + /// optional delegate to create a custom instance. public LifeSpanHandler(LifeSpanHandlerCreatePopupChromiumWebBrowser chromiumWebBrowserCreatedDelegate = null) { this.chromiumWebBrowserCreatedDelegate = chromiumWebBrowserCreatedDelegate; diff --git a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs index 14740d50a2..a5b1c05bcb 100644 --- a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs +++ b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs @@ -286,6 +286,7 @@ private void OnImeComposition(IBrowserHost browserHost, IntPtr hwnd, int lParam) /// /// Cancel composition. /// + /// browser host /// The hwnd. private void CancelComposition(IBrowserHost browserHost, IntPtr hwnd) { diff --git a/CefSharp/IChromiumWebBrowserBase.cs b/CefSharp/IChromiumWebBrowserBase.cs index 5b8df55658..d710873db2 100644 --- a/CefSharp/IChromiumWebBrowserBase.cs +++ b/CefSharp/IChromiumWebBrowserBase.cs @@ -9,7 +9,7 @@ namespace CefSharp { /// - /// Interface for common events/methods/properties for and popup host implementations. + /// Interface for common events/methods/properties for ChromiumWebBrowser and popup host implementations. /// /// public interface IChromiumWebBrowserBase : IDisposable diff --git a/CefSharp/Internals/JavascriptObjectRepository.cs b/CefSharp/Internals/JavascriptObjectRepository.cs index e8f79fdd6d..8136b9e50e 100644 --- a/CefSharp/Internals/JavascriptObjectRepository.cs +++ b/CefSharp/Internals/JavascriptObjectRepository.cs @@ -661,7 +661,6 @@ protected virtual bool TrySetProperty(long objectId, string name, object value, /// Analyse methods for inclusion in metadata model /// Analyse properties for inclusion in metadata model /// When analysis is done on a property, if true then get it's value for transmission over WCF - /// convert names of properties/methods private void AnalyseObjectForBinding(JavascriptObject obj, bool analyseMethods, bool analyseProperties, bool readPropertyValue) { if (obj.Value == null) From 7cdab11dc36a8e42a18f6cf07f8876ce28a708db Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 12 Mar 2023 16:53:52 +1000 Subject: [PATCH 024/275] Upgrade to 111.2.2+g1b83ff6+chromium-111.0.5563.65 / Chromium 111.0.5563.65 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index e7ca6c0ddb..6daf8fd5e6 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 421289cf6b..34378b0507 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index e4edfd7988..9196fe8cf2 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 111,1,20 - PRODUCTVERSION 111,1,20 + FILEVERSION 111,2,20 + PRODUCTVERSION 111,2,20 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "111.1.20" + VALUE "FileVersion", "111.2.20" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "111.1.20" + VALUE "ProductVersion", "111.2.20" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index b9204bb5aa..7c71b1d79c 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 35ceea3684..b2b2f90b0c 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 86d53bf7dd..0217e4287d 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index c52ebf72eb..42f7cd3393 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index c5773e58eb..e7a00e28b0 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index ce00209666..2bf272d641 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 111,1,20 - PRODUCTVERSION 111,1,20 + FILEVERSION 111,2,20 + PRODUCTVERSION 111,2,20 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "111.1.20" + VALUE "FileVersion", "111.2.20" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "111.1.20" + VALUE "ProductVersion", "111.2.20" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index b9204bb5aa..7c71b1d79c 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 35ceea3684..b2b2f90b0c 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 1ad0db98b5..de75f29b04 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 064b4403d9..bb00e31c8c 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 87d7393098..09997f0176 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 2ab4cf3094..ff681e0689 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 403e140b38..976770b6eb 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 0328b9dd73..b1ed373d53 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 978369ba1a..9364b92673 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 5474aaa4f6..0a510568e5 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index d59d8e2eac..5846385d60 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 425c1a8ebe..369d8cbd13 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index dee8aaa553..703af5ea0c 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 7871c6040b..a7fe20674b 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 111.1.20 + 111.2.20 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 111.1.20 + Version 111.2.20 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 161ee90418..5e54b875a5 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "111.1.20"; - public const string AssemblyFileVersion = "111.1.20.0"; + public const string AssemblyVersion = "111.2.20"; + public const string AssemblyFileVersion = "111.2.20.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 234564b3e6..01e8d4bcdd 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index e853da9c8d..9a314a8308 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 1d588e3bd6..4877fdec37 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 4fba4db4a7..34c0777b32 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "111.1.2", + [string] $CefVersion = "111.2.2", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 1f04675664..0cfb181677 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 111.1.20-CI{build} +version: 111.2.20-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 60bb9c7f34..1a2d9827c4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "111.1.20", + [string] $Version = "111.2.20", [Parameter(Position = 2)] - [string] $AssemblyVersion = "111.1.20", + [string] $AssemblyVersion = "111.2.20", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 1dc71ee48645ee8c75f682251eece2c87e105753 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 25 Feb 2022 10:39:30 +1000 Subject: [PATCH 025/275] WinForms - OOP Designer migrate to Microsoft.WinForms.Designer.SDK Only for Net Core (.Net 5/6/7) --- CefSharp.WinForms/CefSharp.WinForms.netcore.csproj | 6 +++++- CefSharp.WinForms/ChromiumWebBrowserDesigner.cs | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj index bf4c998a14..c300cebd56 100644 --- a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj +++ b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj @@ -55,7 +55,11 @@ - + + + all + compile;runtime + diff --git a/CefSharp.WinForms/ChromiumWebBrowserDesigner.cs b/CefSharp.WinForms/ChromiumWebBrowserDesigner.cs index 22e0d008fb..1a2966735d 100644 --- a/CefSharp.WinForms/ChromiumWebBrowserDesigner.cs +++ b/CefSharp.WinForms/ChromiumWebBrowserDesigner.cs @@ -4,7 +4,11 @@ using System.Collections; using System.Drawing; +#if NETCOREAPP +using Microsoft.DotNet.DesignTools.Designers; +#else using System.Windows.Forms.Design; +#endif namespace CefSharp.WinForms { From 8f03007cee68d44b1095f35fccd2352481d7f7b4 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 12 Mar 2023 19:31:41 +1000 Subject: [PATCH 026/275] WinForms - ChromiumHostControl change designer image --- CefSharp.WinForms/Host/ChromiumHostControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CefSharp.WinForms/Host/ChromiumHostControl.cs b/CefSharp.WinForms/Host/ChromiumHostControl.cs index c5ae0f61a6..a5469b86c8 100644 --- a/CefSharp.WinForms/Host/ChromiumHostControl.cs +++ b/CefSharp.WinForms/Host/ChromiumHostControl.cs @@ -15,7 +15,7 @@ namespace CefSharp.WinForms.Host /// Chromium Browser Host Control, used for hosting Popups in WinForms /// /// - [Docking(DockingBehavior.AutoDock), ToolboxBitmap(typeof(ChromiumHostControl)), + [Docking(DockingBehavior.AutoDock), ToolboxBitmap(typeof(ChromiumWebBrowser)), Designer(typeof(ChromiumWebBrowserDesigner))] public class ChromiumHostControl : ChromiumHostControlBase, IWinFormsChromiumWebBrowser { From 7bfcaef94c9f386690293eac976e17f4f95d125f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 13 Mar 2023 13:03:05 +1000 Subject: [PATCH 027/275] Net Core - Remove EnableHighDPISupport from BrowserSubProcess - NetCore has it's own exe which still had a call to EnableHighDPISupport - WPF seems to default to System DPI aware, revert to using app.manifest for PerMonitorV2 Follow up to https://github.com/cefsharp/CefSharp/commit/b17cd2a1b23df786c1051c7c66947f6d52239510 Issues #4417 #4410 --- CefSharp.BrowserSubprocess/Program.netcore.cs | 2 -- CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj | 6 ++++-- CefSharp.Wpf.Example/app.manifest | 7 +++++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CefSharp.BrowserSubprocess/Program.netcore.cs b/CefSharp.BrowserSubprocess/Program.netcore.cs index e021a07258..e3ad8ad90c 100644 --- a/CefSharp.BrowserSubprocess/Program.netcore.cs +++ b/CefSharp.BrowserSubprocess/Program.netcore.cs @@ -19,8 +19,6 @@ public static int Main(string[] args) { Debug.WriteLine("BrowserSubprocess starting up with command line: " + string.Join("\n", args)); - SubProcess.EnableHighDPISupport(); - //Add your own custom implementation of IRenderProcessHandler here IRenderProcessHandler handler = null; diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 369d8cbd13..0a17eaeced 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -11,7 +11,8 @@ WinExe - netcoreapp3.1 + netcoreapp3.1;net5.0-windows + $(TargetFrameworks);net6.0-windows CefSharp.Wpf.Example CefSharp.Wpf.Example true @@ -40,6 +41,7 @@ + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 703af5ea0c..17903334bf 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -28,6 +28,13 @@
+ + + PerMonitorV2 + true/PM + + + - - - + + +
\ No newline at end of file From 35f3a576884916338dadacf52804c33e873b5721 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 8 Mar 2023 10:11:00 +1000 Subject: [PATCH 029/275] MSBuild - change from using $(SolutionDir) to $MSBuildThisFileDirectory - Changes to make CefSharp easier to use as a git submodule - BrowserSubProcess now builds for net6.0-windows for use with WinForms example --- CefSharp.AfterBuild.targets | 4 ++-- .../CefSharp.Core.Runtime.RefAssembly.netcore.csproj | 10 +++++----- CefSharp.Native.props | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 4 ++-- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 4 ++-- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 4 ++-- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CefSharp.AfterBuild.targets b/CefSharp.AfterBuild.targets index ef5658bd94..f26ed0b382 100644 --- a/CefSharp.AfterBuild.targets +++ b/CefSharp.AfterBuild.targets @@ -10,9 +10,9 @@ - + - + diff --git a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.RefAssembly.netcore.csproj b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.RefAssembly.netcore.csproj index ae4256500e..4f45f47d07 100644 --- a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.RefAssembly.netcore.csproj +++ b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.RefAssembly.netcore.csproj @@ -54,19 +54,19 @@ Haven't found a nice way to determine the Platform (resolves as AnyCPU) --> - + - $(SolutionDir)CefSharp.Core.Runtime\bin.netcore\x64\$(Configuration)\CefSharp.Core.Runtime.dll + $(MSBuildThisFileDirectory)..\CefSharp.Core.Runtime\bin.netcore\x64\$(Configuration)\CefSharp.Core.Runtime.dll - + - $(SolutionDir)CefSharp.Core.Runtime\bin.netcore\arm64\$(Configuration)\CefSharp.Core.Runtime.dll + $(MSBuildThisFileDirectory)..\CefSharp.Core.Runtime\bin.netcore\arm64\$(Configuration)\CefSharp.Core.Runtime.dll - $(SolutionDir)CefSharp.Core.Runtime\bin.netcore\win32\$(Configuration)\CefSharp.Core.Runtime.dll + $(MSBuildThisFileDirectory)..\CefSharp.Core.Runtime\bin.netcore\win32\$(Configuration)\CefSharp.Core.Runtime.dll diff --git a/CefSharp.Native.props b/CefSharp.Native.props index b6912821fc..7f59ab51cb 100644 --- a/CefSharp.Native.props +++ b/CefSharp.Native.props @@ -3,7 +3,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index de75f29b04..bf02171540 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -35,5 +35,5 @@ - +
\ No newline at end of file diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index bb00e31c8c..a85a11c248 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -55,6 +55,6 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index ff681e0689..231b769d1f 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -66,5 +66,5 @@ - +
\ No newline at end of file diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 976770b6eb..8e244ffa78 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -59,6 +59,6 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index b1ed373d53..e98bad61d9 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -44,5 +44,5 @@ - +
\ No newline at end of file diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 9364b92673..912302c410 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -62,6 +62,6 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 5846385d60..a16e99ec50 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -43,5 +43,5 @@ - +
\ No newline at end of file diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 0a17eaeced..e113cc7bb7 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -57,6 +57,6 @@ - + From 0c7bc3f9b68e6196b2f2e60a2326aa8dadb7dfa2 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 13 Mar 2023 19:33:26 +1000 Subject: [PATCH 030/275] WinForms - Refactor ChromiumHostControlBase to use P/Invoke - Avoid using using NativeMethodWrapper, hopefully this keeps the designer happy, no need to load CefSharp.Core.Runtime.dll Issue #4019 --- .../Host/ChromiumHostControlBase.cs | 47 ++++++++++++------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/CefSharp.WinForms/Host/ChromiumHostControlBase.cs b/CefSharp.WinForms/Host/ChromiumHostControlBase.cs index aa08480ee8..8cd2c1e861 100644 --- a/CefSharp.WinForms/Host/ChromiumHostControlBase.cs +++ b/CefSharp.WinForms/Host/ChromiumHostControlBase.cs @@ -6,6 +6,7 @@ using System.ComponentModel; using System.Drawing; using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; using System.Windows.Forms; namespace CefSharp.WinForms.Host @@ -17,6 +18,10 @@ namespace CefSharp.WinForms.Host /// public abstract class ChromiumHostControlBase : Control { + [DllImport("user32.dll", SetLastError = true)] + [return: MarshalAs(UnmanagedType.Bool)] + private static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags); + /// /// IntPtr that represents the CefBrowser Hwnd /// Used for sending messages to the browser @@ -121,25 +126,10 @@ protected virtual void ResizeBrowser(int width, int height) { if (BrowserHwnd != IntPtr.Zero) { - ResizeBrowserInternal(Width, Height); + SetWindowPosition(BrowserHwnd, 0, 0, width, height); } } - /// - /// Resizes the browser. - /// - /// width - /// height - /// - /// To avoid the Designer trying to load CefSharp.Core.Runtime we explicitly - /// ask for NoInlining. - /// - [MethodImpl(MethodImplOptions.NoInlining)] - private void ResizeBrowserInternal(int width, int height) - { - NativeMethodWrapper.SetWindowPosition(BrowserHwnd, 0, 0, width, height); - } - /// /// When minimized set the browser window size to 0x0 to reduce resource usage. /// https://github.com/chromiumembedded/cef/blob/c7701b8a6168f105f2c2d6b239ce3958da3e3f13/tests/cefclient/browser/browser_window_std_win.cc#L87 @@ -148,7 +138,7 @@ internal virtual void HideInternal() { if (BrowserHwnd != IntPtr.Zero) { - NativeMethodWrapper.SetWindowPosition(BrowserHwnd, 0, 0, 0, 0); + SetWindowPosition(BrowserHwnd, 0, 0, 0, 0); } } @@ -159,7 +149,7 @@ internal virtual void ShowInternal() { if (BrowserHwnd != IntPtr.Zero) { - NativeMethodWrapper.SetWindowPosition(BrowserHwnd, 0, 0, Width, Height); + SetWindowPosition(BrowserHwnd, 0, 0, Width, Height); } } @@ -183,6 +173,27 @@ internal void RaiseIsBrowserInitializedChangedEvent() IsBrowserInitializedChanged?.Invoke(this, EventArgs.Empty); } + private void SetWindowPosition(IntPtr handle, int x, int y, int width, int height) + { + const uint SWP_NOMOVE = 0x0002; + const uint SWP_NOZORDER = 0x0004; + const uint SWP_NOACTIVATE = 0x0010; + + if (handle != IntPtr.Zero) + { + if (width == 0 && height == 0) + { + // For windowed browsers when the frame window is minimized set the + // browser window size to 0x0 to reduce resource usage. + SetWindowPos(handle, IntPtr.Zero, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE); + } + else + { + SetWindowPos(handle, IntPtr.Zero, x, y, width, height, SWP_NOZORDER); + } + } + } + /// /// Gets the or associated with /// a specific instance. From 75fd3acf663015cc0f311e44cb4516cb3b583e04 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 14 Mar 2023 13:19:38 +1000 Subject: [PATCH 031/275] WinForms - LifeSpanHandler.DoClose add ObjectDisposedException try/catch - If the popup is being hosted on a Form that is being Closed/Disposed as we attempt to call Control.Invoke we can end up with an ObjectDisposedException --- CefSharp.WinForms/Handler/LifeSpanHandler.cs | 25 ++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/CefSharp.WinForms/Handler/LifeSpanHandler.cs b/CefSharp.WinForms/Handler/LifeSpanHandler.cs index 9db4a93bc5..87915658b7 100644 --- a/CefSharp.WinForms/Handler/LifeSpanHandler.cs +++ b/CefSharp.WinForms/Handler/LifeSpanHandler.cs @@ -105,15 +105,26 @@ protected override bool DoClose(IWebBrowser chromiumWebBrowser, IBrowser browser //need to remove the popup (likely removed from menu) if (!control.IsDisposed && control.IsHandleCreated) { - //We need to invoke in a sync fashion so our IBrowser object is still in scope - //Calling in an async fashion leads to the IBrowser being disposed before we - //can access it. - control.InvokeSyncOnUiThreadIfRequired(new Action(() => + try { - onPopupDestroyed?.Invoke(control, browser); + //We need to invoke in a sync fashion so our IBrowser object is still in scope + //Calling in an async fashion leads to the IBrowser being disposed before we + //can access it. + control.InvokeSyncOnUiThreadIfRequired(new Action(() => + { + onPopupDestroyed?.Invoke(control, browser); - control.Dispose(); - })); + control.Dispose(); + })); + } + catch (ObjectDisposedException) + { + // If the popup is being hosted on a Form that is being + // Closed/Disposed as we attempt to call Control.Invoke + // we can end up with an ObjectDisposedException + // return false (Default behaviour). + return false; + } } } From fb779a5b4603a5bd30738e5383c7b67676b19097 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 13 Mar 2023 19:01:34 +1000 Subject: [PATCH 032/275] Core - Move DevTools Client from CefSharp.dll to CefSharp.Core.dll - Moves the Dependency of System.Text.Json from CefSharp.dll BrowserSubProcess as a result no longer has a reference where wasn't required for it's operation. Resolves #4428 #4427 --- CefSharp.Core/CefSharp.Core.csproj | 1 + CefSharp.Core/CefSharp.Core.netcore.csproj | 15 +++-- .../DevTools/DevToolsClient.Generated.cs | 0 .../DevToolsClient.Generated.netcore.cs | 0 .../DevTools/DevToolsClient.Partial.cs | 0 .../DevTools/DevToolsClient.cs | 0 .../DevTools/DevToolsClientException.cs | 0 .../DevTools/DevToolsDomainBase.cs | 0 .../DevTools/DevToolsDomainEntityBase.cs | 0 .../DevTools/DevToolsDomainErrorResponse.cs | 0 .../DevTools/DevToolsDomainEventArgsBase.cs | 0 .../DevTools/DevToolsDomainResponseBase.cs | 0 .../DevTools/DevToolsErrorEventArgs.cs | 0 .../DevTools/DevToolsEventArgs.cs | 0 .../DevTools/DevToolsMethodResponse.cs | 0 .../DevTools/DevToolsMethodResponseContext.cs | 0 .../DevTools/EventProxy.cs | 0 .../DevTools/Headers.cs | 0 .../DevTools/IDevToolsClient.cs | 0 .../DevTools/IEventProxy.cs | 0 .../DevTools/MemoryDumpConfig.cs | 0 .../DevTools/TargetFilter.cs | 0 .../DevToolsExtensions.cs | 0 CefSharp/CefSharp.csproj | 1 - CefSharp/CefSharp.netcore.csproj | 1 - CefSharp/IWebBrowser.cs | 2 +- .../Partial/ChromiumWebBrowser.Partial.cs | 5 +- CefSharp/Structs/DomRect.cs | 63 +++++++++++++++++++ 28 files changed, 75 insertions(+), 13 deletions(-) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsClient.Generated.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsClient.Generated.netcore.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsClient.Partial.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsClient.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsClientException.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsDomainBase.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsDomainEntityBase.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsDomainErrorResponse.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsDomainEventArgsBase.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsDomainResponseBase.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsErrorEventArgs.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsEventArgs.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsMethodResponse.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/DevToolsMethodResponseContext.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/EventProxy.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/Headers.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/IDevToolsClient.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/IEventProxy.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/MemoryDumpConfig.cs (100%) rename {CefSharp => CefSharp.Core}/DevTools/TargetFilter.cs (100%) rename {CefSharp => CefSharp.Core}/DevToolsExtensions.cs (100%) create mode 100644 CefSharp/Structs/DomRect.cs diff --git a/CefSharp.Core/CefSharp.Core.csproj b/CefSharp.Core/CefSharp.Core.csproj index 53cc1fbb49..03f22f3fc4 100644 --- a/CefSharp.Core/CefSharp.Core.csproj +++ b/CefSharp.Core/CefSharp.Core.csproj @@ -41,6 +41,7 @@ + diff --git a/CefSharp.Core/CefSharp.Core.netcore.csproj b/CefSharp.Core/CefSharp.Core.netcore.csproj index ba41877257..e3e11764fb 100644 --- a/CefSharp.Core/CefSharp.Core.netcore.csproj +++ b/CefSharp.Core/CefSharp.Core.netcore.csproj @@ -44,6 +44,7 @@ + @@ -51,10 +52,12 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + @@ -66,9 +69,5 @@ - - - - \ No newline at end of file diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs similarity index 100% rename from CefSharp/DevTools/DevToolsClient.Generated.cs rename to CefSharp.Core/DevTools/DevToolsClient.Generated.cs diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs similarity index 100% rename from CefSharp/DevTools/DevToolsClient.Generated.netcore.cs rename to CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs diff --git a/CefSharp/DevTools/DevToolsClient.Partial.cs b/CefSharp.Core/DevTools/DevToolsClient.Partial.cs similarity index 100% rename from CefSharp/DevTools/DevToolsClient.Partial.cs rename to CefSharp.Core/DevTools/DevToolsClient.Partial.cs diff --git a/CefSharp/DevTools/DevToolsClient.cs b/CefSharp.Core/DevTools/DevToolsClient.cs similarity index 100% rename from CefSharp/DevTools/DevToolsClient.cs rename to CefSharp.Core/DevTools/DevToolsClient.cs diff --git a/CefSharp/DevTools/DevToolsClientException.cs b/CefSharp.Core/DevTools/DevToolsClientException.cs similarity index 100% rename from CefSharp/DevTools/DevToolsClientException.cs rename to CefSharp.Core/DevTools/DevToolsClientException.cs diff --git a/CefSharp/DevTools/DevToolsDomainBase.cs b/CefSharp.Core/DevTools/DevToolsDomainBase.cs similarity index 100% rename from CefSharp/DevTools/DevToolsDomainBase.cs rename to CefSharp.Core/DevTools/DevToolsDomainBase.cs diff --git a/CefSharp/DevTools/DevToolsDomainEntityBase.cs b/CefSharp.Core/DevTools/DevToolsDomainEntityBase.cs similarity index 100% rename from CefSharp/DevTools/DevToolsDomainEntityBase.cs rename to CefSharp.Core/DevTools/DevToolsDomainEntityBase.cs diff --git a/CefSharp/DevTools/DevToolsDomainErrorResponse.cs b/CefSharp.Core/DevTools/DevToolsDomainErrorResponse.cs similarity index 100% rename from CefSharp/DevTools/DevToolsDomainErrorResponse.cs rename to CefSharp.Core/DevTools/DevToolsDomainErrorResponse.cs diff --git a/CefSharp/DevTools/DevToolsDomainEventArgsBase.cs b/CefSharp.Core/DevTools/DevToolsDomainEventArgsBase.cs similarity index 100% rename from CefSharp/DevTools/DevToolsDomainEventArgsBase.cs rename to CefSharp.Core/DevTools/DevToolsDomainEventArgsBase.cs diff --git a/CefSharp/DevTools/DevToolsDomainResponseBase.cs b/CefSharp.Core/DevTools/DevToolsDomainResponseBase.cs similarity index 100% rename from CefSharp/DevTools/DevToolsDomainResponseBase.cs rename to CefSharp.Core/DevTools/DevToolsDomainResponseBase.cs diff --git a/CefSharp/DevTools/DevToolsErrorEventArgs.cs b/CefSharp.Core/DevTools/DevToolsErrorEventArgs.cs similarity index 100% rename from CefSharp/DevTools/DevToolsErrorEventArgs.cs rename to CefSharp.Core/DevTools/DevToolsErrorEventArgs.cs diff --git a/CefSharp/DevTools/DevToolsEventArgs.cs b/CefSharp.Core/DevTools/DevToolsEventArgs.cs similarity index 100% rename from CefSharp/DevTools/DevToolsEventArgs.cs rename to CefSharp.Core/DevTools/DevToolsEventArgs.cs diff --git a/CefSharp/DevTools/DevToolsMethodResponse.cs b/CefSharp.Core/DevTools/DevToolsMethodResponse.cs similarity index 100% rename from CefSharp/DevTools/DevToolsMethodResponse.cs rename to CefSharp.Core/DevTools/DevToolsMethodResponse.cs diff --git a/CefSharp/DevTools/DevToolsMethodResponseContext.cs b/CefSharp.Core/DevTools/DevToolsMethodResponseContext.cs similarity index 100% rename from CefSharp/DevTools/DevToolsMethodResponseContext.cs rename to CefSharp.Core/DevTools/DevToolsMethodResponseContext.cs diff --git a/CefSharp/DevTools/EventProxy.cs b/CefSharp.Core/DevTools/EventProxy.cs similarity index 100% rename from CefSharp/DevTools/EventProxy.cs rename to CefSharp.Core/DevTools/EventProxy.cs diff --git a/CefSharp/DevTools/Headers.cs b/CefSharp.Core/DevTools/Headers.cs similarity index 100% rename from CefSharp/DevTools/Headers.cs rename to CefSharp.Core/DevTools/Headers.cs diff --git a/CefSharp/DevTools/IDevToolsClient.cs b/CefSharp.Core/DevTools/IDevToolsClient.cs similarity index 100% rename from CefSharp/DevTools/IDevToolsClient.cs rename to CefSharp.Core/DevTools/IDevToolsClient.cs diff --git a/CefSharp/DevTools/IEventProxy.cs b/CefSharp.Core/DevTools/IEventProxy.cs similarity index 100% rename from CefSharp/DevTools/IEventProxy.cs rename to CefSharp.Core/DevTools/IEventProxy.cs diff --git a/CefSharp/DevTools/MemoryDumpConfig.cs b/CefSharp.Core/DevTools/MemoryDumpConfig.cs similarity index 100% rename from CefSharp/DevTools/MemoryDumpConfig.cs rename to CefSharp.Core/DevTools/MemoryDumpConfig.cs diff --git a/CefSharp/DevTools/TargetFilter.cs b/CefSharp.Core/DevTools/TargetFilter.cs similarity index 100% rename from CefSharp/DevTools/TargetFilter.cs rename to CefSharp.Core/DevTools/TargetFilter.cs diff --git a/CefSharp/DevToolsExtensions.cs b/CefSharp.Core/DevToolsExtensions.cs similarity index 100% rename from CefSharp/DevToolsExtensions.cs rename to CefSharp.Core/DevToolsExtensions.cs diff --git a/CefSharp/CefSharp.csproj b/CefSharp/CefSharp.csproj index 4db7f4767a..900b025ca2 100644 --- a/CefSharp/CefSharp.csproj +++ b/CefSharp/CefSharp.csproj @@ -28,7 +28,6 @@ - diff --git a/CefSharp/CefSharp.netcore.csproj b/CefSharp/CefSharp.netcore.csproj index 7bf3764cdd..e898cdf74d 100644 --- a/CefSharp/CefSharp.netcore.csproj +++ b/CefSharp/CefSharp.netcore.csproj @@ -31,7 +31,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/CefSharp/IWebBrowser.cs b/CefSharp/IWebBrowser.cs index 6b9df0782f..bf938d4207 100644 --- a/CefSharp/IWebBrowser.cs +++ b/CefSharp/IWebBrowser.cs @@ -179,6 +179,6 @@ public interface IWebBrowser : IChromiumWebBrowserBase /// Size of scrollable area in CSS pixels /// /// A task that can be awaited to get the size of the scrollable area in CSS pixels. - Task GetContentSizeAsync(); + Task GetContentSizeAsync(); } } diff --git a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs index 555bb1d24d..50f4c2d6de 100644 --- a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs +++ b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs @@ -410,7 +410,7 @@ public bool TryGetBrowserCoreById(int browserId, out IBrowser browser) } /// - public async Task GetContentSizeAsync() + public async Task GetContentSizeAsync() { ThrowExceptionIfDisposed(); ThrowExceptionIfBrowserNotInitialized(); @@ -419,8 +419,9 @@ public bool TryGetBrowserCoreById(int browserId, out IBrowser browser) { //Get the content size var layoutMetricsResponse = await devToolsClient.Page.GetLayoutMetricsAsync().ConfigureAwait(continueOnCapturedContext: false); + var rect = layoutMetricsResponse.CssContentSize; - return layoutMetricsResponse.CssContentSize; + return new Structs.DomRect(rect.X, rect.Y, rect.Width, rect.Height); } } diff --git a/CefSharp/Structs/DomRect.cs b/CefSharp/Structs/DomRect.cs new file mode 100644 index 0000000000..5a9846e40a --- /dev/null +++ b/CefSharp/Structs/DomRect.cs @@ -0,0 +1,63 @@ +// Copyright © 2023 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +namespace CefSharp.Structs +{ + /// + /// Dom Rect + /// + public struct DomRect + { + /// + /// X coordinate + /// + public double X + { + get; + private set; + } + + /// + /// Y coordinate + /// + public double Y + { + get; + private set; + } + + /// + /// Rectangle width + /// + public double Width + { + get; + private set; + } + + /// + /// Rectangle height + /// + public double Height + { + get; + private set; + } + + /// + /// Constructor + /// + /// x + /// y + /// width + /// height + public DomRect(double x, double y, double width, double height) + { + X = x; + Y = y; + Width = width; + Height = height; + } + } +} From 874f18bc33154adaa6c602849d386ff262a07c57 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 15 Mar 2023 10:29:46 +1000 Subject: [PATCH 033/275] DevTools Client - Update to 111.0.5563.65 --- .../DevTools/DevToolsClient.Generated.cs | 249 +++++++++++++----- .../DevToolsClient.Generated.netcore.cs | 235 +++++++++++++---- 2 files changed, 373 insertions(+), 111 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index c431a7dc44..488abc29df 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 110.0.5481.77 +// CHROMIUM VERSION 111.0.5563.65 namespace CefSharp.DevTools.Accessibility { /// @@ -2769,7 +2769,27 @@ public enum GenericIssueErrorType /// FormLabelForNameError /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormLabelForNameError"))] - FormLabelForNameError + FormLabelForNameError, + /// + /// FormDuplicateIdForInputError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormDuplicateIdForInputError"))] + FormDuplicateIdForInputError, + /// + /// FormInputWithNoLabelError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormInputWithNoLabelError"))] + FormInputWithNoLabelError, + /// + /// FormAutocompleteAttributeEmptyError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormAutocompleteAttributeEmptyError"))] + FormAutocompleteAttributeEmptyError, + /// + /// FormEmptyIdAndNameAttributesForInputError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormEmptyIdAndNameAttributesForInputError"))] + FormEmptyIdAndNameAttributesForInputError } /// @@ -2961,6 +2981,11 @@ public enum DeprecationIssueType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotificationPermissionRequestedIframe"))] NotificationPermissionRequestedIframe, /// + /// ObsoleteCreateImageBitmapImageOrientationNone + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ObsoleteCreateImageBitmapImageOrientationNone"))] + ObsoleteCreateImageBitmapImageOrientationNone, + /// /// ObsoleteWebRtcCipherSuite /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ObsoleteWebRtcCipherSuite"))] @@ -3041,6 +3066,11 @@ public enum DeprecationIssueType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoSupportsFullscreen"))] PrefixedVideoSupportsFullscreen, /// + /// PrivacySandboxExtensionsAPI + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrivacySandboxExtensionsAPI"))] + PrivacySandboxExtensionsAPI, + /// /// RangeExpand /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RangeExpand"))] @@ -3245,6 +3275,11 @@ public enum FederatedAuthRequestIssueReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownInvalidResponse"))] WellKnownInvalidResponse, /// + /// WellKnownListEmpty + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownListEmpty"))] + WellKnownListEmpty, + /// /// ConfigNotInWellKnown /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigNotInWellKnown"))] @@ -3315,6 +3350,11 @@ public enum FederatedAuthRequestIssueReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsInvalidResponse"))] AccountsInvalidResponse, /// + /// AccountsListEmpty + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsListEmpty"))] + AccountsListEmpty, + /// /// IdTokenHttpNotFound /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdTokenHttpNotFound"))] @@ -4171,6 +4211,11 @@ public enum PermissionType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("storageAccess"))] StorageAccess, /// + /// topLevelStorageAccess + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("topLevelStorageAccess"))] + TopLevelStorageAccess, + /// /// videoCapture /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("videoCapture"))] @@ -9472,7 +9517,7 @@ public string Version public partial class UserAgentMetadata : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// Brands + /// Brands appearing in Sec-CH-UA. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("brands"), IsRequired = (false))] public System.Collections.Generic.IList Brands @@ -9482,7 +9527,7 @@ public System.Collections.Generic.IList - /// FullVersionList + /// Brands appearing in Sec-CH-UA-Full-Version-List. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("fullVersionList"), IsRequired = (false))] public System.Collections.Generic.IList FullVersionList @@ -12592,7 +12637,7 @@ public enum ServiceWorkerResponseSource } /// - /// Only set for "token-redemption" type and determine whether + /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// public enum TrustTokenParamsRefreshPolicy @@ -12618,33 +12663,33 @@ public enum TrustTokenParamsRefreshPolicy public partial class TrustTokenParams : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// Type + /// Operation /// - public CefSharp.DevTools.Network.TrustTokenOperationType Type + public CefSharp.DevTools.Network.TrustTokenOperationType Operation { get { - return (CefSharp.DevTools.Network.TrustTokenOperationType)(StringToEnum(typeof(CefSharp.DevTools.Network.TrustTokenOperationType), type)); + return (CefSharp.DevTools.Network.TrustTokenOperationType)(StringToEnum(typeof(CefSharp.DevTools.Network.TrustTokenOperationType), operation)); } set { - this.type = (EnumToString(value)); + this.operation = (EnumToString(value)); } } /// - /// Type + /// Operation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] - internal string type + [System.Runtime.Serialization.DataMemberAttribute(Name = ("operation"), IsRequired = (true))] + internal string operation { get; set; } /// - /// Only set for "token-redemption" type and determine whether + /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// public CefSharp.DevTools.Network.TrustTokenParamsRefreshPolicy RefreshPolicy @@ -12661,7 +12706,7 @@ public CefSharp.DevTools.Network.TrustTokenParamsRefreshPolicy RefreshPolicy } /// - /// Only set for "token-redemption" type and determine whether + /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("refreshPolicy"), IsRequired = (true))] @@ -16563,6 +16608,27 @@ public string HeadersText get; private set; } + + /// + /// The cookie partition key that will be used to store partitioned cookies set in this response. + /// Only sent when partitioned cookies are enabled. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookiePartitionKey"), IsRequired = (false))] + public string CookiePartitionKey + { + get; + private set; + } + + /// + /// True if partitioned cookies are enabled, but the partition key is not serializeable to string. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookiePartitionKeyOpaque"), IsRequired = (false))] + public bool? CookiePartitionKeyOpaque + { + get; + private set; + } } /// @@ -18550,6 +18616,11 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("picture-in-picture"))] PictureInPicture, /// + /// private-aggregation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("private-aggregation"))] + PrivateAggregation, + /// /// publickey-credentials-get /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("publickey-credentials-get"))] @@ -18580,6 +18651,11 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage"))] SharedStorage, /// + /// shared-storage-select-url + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage-select-url"))] + SharedStorageSelectUrl, + /// /// smart-card /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("smart-card"))] @@ -18620,6 +18696,11 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("web-share"))] WebShare, /// + /// window-management + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("window-management"))] + WindowManagement, + /// /// window-placement /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("window-placement"))] @@ -20752,6 +20833,11 @@ public enum BackForwardCacheNotRestoredReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("KeepaliveRequest"))] KeepaliveRequest, /// + /// IndexedDBEvent + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IndexedDBEvent"))] + IndexedDBEvent, + /// /// Dummy /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Dummy"))] @@ -21252,7 +21338,37 @@ public enum PrerenderFinalStatus /// EmbedderHostDisallowed /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderHostDisallowed"))] - EmbedderHostDisallowed + EmbedderHostDisallowed, + /// + /// ActivationNavigationDestroyedBeforeSuccess + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationNavigationDestroyedBeforeSuccess"))] + ActivationNavigationDestroyedBeforeSuccess, + /// + /// TabClosedByUserGesture + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TabClosedByUserGesture"))] + TabClosedByUserGesture, + /// + /// TabClosedWithoutUserGesture + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TabClosedWithoutUserGesture"))] + TabClosedWithoutUserGesture, + /// + /// PrimaryMainFrameRendererProcessCrashed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrimaryMainFrameRendererProcessCrashed"))] + PrimaryMainFrameRendererProcessCrashed, + /// + /// PrimaryMainFrameRendererProcessKilled + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrimaryMainFrameRendererProcessKilled"))] + PrimaryMainFrameRendererProcessKilled, + /// + /// ActivationFramePolicyNotCompatible + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationFramePolicyNotCompatible"))] + ActivationFramePolicyNotCompatible } /// @@ -27397,6 +27513,18 @@ public bool? HasMinPinLength set; } + /// + /// If set to true, the authenticator will support the prf extension. + /// https://w3c.github.io/webauthn/#prf-extension + /// Defaults to false. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasPrf"), IsRequired = (false))] + public bool? HasPrf + { + get; + set; + } + /// /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. @@ -31547,6 +31675,16 @@ public int ExecutionContextId get; private set; } + + /// + /// Unique Id of the destroyed context + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextUniqueId"), IsRequired = (true))] + public string ExecutionContextUniqueId + { + get; + private set; + } } /// @@ -33119,7 +33257,7 @@ public System.Threading.Tasks.Task GetBrowserComm /// Get Chrome histograms. /// /// Requested substring in name. Only histograms which have query as asubstring in their name are extracted. An empty or absent query returnsall histograms. - /// If true, retrieve delta since last call. + /// If true, retrieve delta since last delta call. /// returns System.Threading.Tasks.Task<GetHistogramsResponse> public System.Threading.Tasks.Task GetHistogramsAsync(string query = null, bool? delta = null) { @@ -33143,7 +33281,7 @@ public System.Threading.Tasks.Task GetHistogramsAsync(str /// Get a Chrome histogram by name. /// /// Requested histogram name. - /// If true, retrieve delta since last call. + /// If true, retrieve delta since last delta call. /// returns System.Threading.Tasks.Task<GetHistogramResponse> public System.Threading.Tasks.Task GetHistogramAsync(string name, bool? delta = null) { @@ -40731,34 +40869,6 @@ public System.Threading.Tasks.Task GetSamplingProfil } } -namespace CefSharp.DevTools.Network -{ - /// - /// GetAllCookiesResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAllCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal System.Collections.Generic.IList cookies - { - get; - set; - } - - /// - /// cookies - /// - public System.Collections.Generic.IList Cookies - { - get - { - return cookies; - } - } - } -} - namespace CefSharp.DevTools.Network { /// @@ -41712,17 +41822,6 @@ public System.Threading.Tasks.Task EnableAsync(int? maxT return _client.ExecuteDevToolsMethodAsync("Network.enable", dict); } - /// - /// Returns all browser cookies. Depending on the backend support, will return detailed cookie - /// information in the `cookies` field. - /// - /// returns System.Threading.Tasks.Task<GetAllCookiesResponse> - public System.Threading.Tasks.Task GetAllCookiesAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Network.getAllCookies", dict); - } - partial void ValidateGetCertificate(string origin); /// /// Returns the DER-encoded certificate. @@ -46176,6 +46275,20 @@ public System.Threading.Tasks.Task ClearSharedStorageEnt return _client.ExecuteDevToolsMethodAsync("Storage.clearSharedStorageEntries", dict); } + partial void ValidateResetSharedStorageBudget(string ownerOrigin); + /// + /// Resets the budget for `ownerOrigin` by clearing all budget withdrawals. + /// + /// ownerOrigin + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ResetSharedStorageBudgetAsync(string ownerOrigin) + { + ValidateResetSharedStorageBudget(ownerOrigin); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("ownerOrigin", ownerOrigin); + return _client.ExecuteDevToolsMethodAsync("Storage.resetSharedStorageBudget", dict); + } + partial void ValidateSetSharedStorageTracking(bool enable); /// /// Enables/disables issuing of sharedStorageAccessed events. @@ -46875,7 +46988,7 @@ public System.Threading.Tasks.Task GetBrowserContext return _client.ExecuteDevToolsMethodAsync("Target.getBrowserContexts", dict); } - partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null); + partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null); /// /// Creates a new page. /// @@ -46886,10 +46999,11 @@ public System.Threading.Tasks.Task GetBrowserContext /// Whether BeginFrames for this target will be controlled via DevTools (headless chrome only,not supported on MacOS yet, false by default). /// Whether to create a new Window or Tab (chrome-only, false by default). /// Whether to create the target in background or foreground (chrome-only,false by default). + /// Whether to create the target of type "tab". /// returns System.Threading.Tasks.Task<CreateTargetResponse> - public System.Threading.Tasks.Task CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null) + public System.Threading.Tasks.Task CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null) { - ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background); + ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab); var dict = new System.Collections.Generic.Dictionary(); dict.Add("url", url); if (width.HasValue) @@ -46922,6 +47036,11 @@ public System.Threading.Tasks.Task CreateTargetAsync(strin dict.Add("background", background.Value); } + if (forTab.HasValue) + { + dict.Add("forTab", forTab.Value); + } + return _client.ExecuteDevToolsMethodAsync("Target.createTarget", dict); } @@ -51404,7 +51523,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -51420,11 +51539,12 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Specifies execution context which global object will be used to call function on. EitherexecutionContextId or objectId should be specified. /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. + /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, generateWebDriverValue); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -51477,6 +51597,11 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("throwOnSideEffect", throwOnSideEffect.Value); } + if (!(string.IsNullOrEmpty(uniqueContextId))) + { + dict.Add("uniqueContextId", uniqueContextId); + } + if (generateWebDriverValue.HasValue) { dict.Add("generateWebDriverValue", generateWebDriverValue.Value); diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 5d71b13c8c..ab84242223 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 110.0.5481.77 +// CHROMIUM VERSION 111.0.5563.65 namespace CefSharp.DevTools.Accessibility { /// @@ -2490,7 +2490,27 @@ public enum GenericIssueErrorType /// FormLabelForNameError /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormLabelForNameError")] - FormLabelForNameError + FormLabelForNameError, + /// + /// FormDuplicateIdForInputError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormDuplicateIdForInputError")] + FormDuplicateIdForInputError, + /// + /// FormInputWithNoLabelError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormInputWithNoLabelError")] + FormInputWithNoLabelError, + /// + /// FormAutocompleteAttributeEmptyError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormAutocompleteAttributeEmptyError")] + FormAutocompleteAttributeEmptyError, + /// + /// FormEmptyIdAndNameAttributesForInputError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormEmptyIdAndNameAttributesForInputError")] + FormEmptyIdAndNameAttributesForInputError } /// @@ -2665,6 +2685,11 @@ public enum DeprecationIssueType [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotificationPermissionRequestedIframe")] NotificationPermissionRequestedIframe, /// + /// ObsoleteCreateImageBitmapImageOrientationNone + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ObsoleteCreateImageBitmapImageOrientationNone")] + ObsoleteCreateImageBitmapImageOrientationNone, + /// /// ObsoleteWebRtcCipherSuite /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ObsoleteWebRtcCipherSuite")] @@ -2745,6 +2770,11 @@ public enum DeprecationIssueType [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoSupportsFullscreen")] PrefixedVideoSupportsFullscreen, /// + /// PrivacySandboxExtensionsAPI + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrivacySandboxExtensionsAPI")] + PrivacySandboxExtensionsAPI, + /// /// RangeExpand /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("RangeExpand")] @@ -2916,6 +2946,11 @@ public enum FederatedAuthRequestIssueReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownInvalidResponse")] WellKnownInvalidResponse, /// + /// WellKnownListEmpty + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownListEmpty")] + WellKnownListEmpty, + /// /// ConfigNotInWellKnown /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigNotInWellKnown")] @@ -2986,6 +3021,11 @@ public enum FederatedAuthRequestIssueReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsInvalidResponse")] AccountsInvalidResponse, /// + /// AccountsListEmpty + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsListEmpty")] + AccountsListEmpty, + /// /// IdTokenHttpNotFound /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdTokenHttpNotFound")] @@ -3769,6 +3809,11 @@ public enum PermissionType [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageAccess")] StorageAccess, /// + /// topLevelStorageAccess + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("topLevelStorageAccess")] + TopLevelStorageAccess, + /// /// videoCapture /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("videoCapture")] @@ -8900,7 +8945,7 @@ public string Version public partial class UserAgentMetadata : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// Brands + /// Brands appearing in Sec-CH-UA. /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("brands")] public System.Collections.Generic.IList Brands @@ -8910,7 +8955,7 @@ public System.Collections.Generic.IList - /// FullVersionList + /// Brands appearing in Sec-CH-UA-Full-Version-List. /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("fullVersionList")] public System.Collections.Generic.IList FullVersionList @@ -11839,7 +11884,7 @@ public enum ServiceWorkerResponseSource } /// - /// Only set for "token-redemption" type and determine whether + /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// public enum TrustTokenParamsRefreshPolicy @@ -11864,17 +11909,17 @@ public enum TrustTokenParamsRefreshPolicy public partial class TrustTokenParams : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// Type + /// Operation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] - public CefSharp.DevTools.Network.TrustTokenOperationType Type + [System.Text.Json.Serialization.JsonPropertyNameAttribute("operation")] + public CefSharp.DevTools.Network.TrustTokenOperationType Operation { get; set; } /// - /// Only set for "token-redemption" type and determine whether + /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("refreshPolicy")] @@ -15378,6 +15423,29 @@ public string HeadersText get; private set; } + + /// + /// The cookie partition key that will be used to store partitioned cookies set in this response. + /// Only sent when partitioned cookies are enabled. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookiePartitionKey")] + public string CookiePartitionKey + { + get; + private set; + } + + /// + /// True if partitioned cookies are enabled, but the partition key is not serializeable to string. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookiePartitionKeyOpaque")] + public bool? CookiePartitionKeyOpaque + { + get; + private set; + } } /// @@ -17270,6 +17338,11 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("picture-in-picture")] PictureInPicture, /// + /// private-aggregation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("private-aggregation")] + PrivateAggregation, + /// /// publickey-credentials-get /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("publickey-credentials-get")] @@ -17300,6 +17373,11 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage")] SharedStorage, /// + /// shared-storage-select-url + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage-select-url")] + SharedStorageSelectUrl, + /// /// smart-card /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("smart-card")] @@ -17340,6 +17418,11 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("web-share")] WebShare, /// + /// window-management + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("window-management")] + WindowManagement, + /// /// window-placement /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("window-placement")] @@ -19319,6 +19402,11 @@ public enum BackForwardCacheNotRestoredReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("KeepaliveRequest")] KeepaliveRequest, /// + /// IndexedDBEvent + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("IndexedDBEvent")] + IndexedDBEvent, + /// /// Dummy /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("Dummy")] @@ -19788,7 +19876,37 @@ public enum PrerenderFinalStatus /// EmbedderHostDisallowed /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderHostDisallowed")] - EmbedderHostDisallowed + EmbedderHostDisallowed, + /// + /// ActivationNavigationDestroyedBeforeSuccess + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationNavigationDestroyedBeforeSuccess")] + ActivationNavigationDestroyedBeforeSuccess, + /// + /// TabClosedByUserGesture + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TabClosedByUserGesture")] + TabClosedByUserGesture, + /// + /// TabClosedWithoutUserGesture + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TabClosedWithoutUserGesture")] + TabClosedWithoutUserGesture, + /// + /// PrimaryMainFrameRendererProcessCrashed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrimaryMainFrameRendererProcessCrashed")] + PrimaryMainFrameRendererProcessCrashed, + /// + /// PrimaryMainFrameRendererProcessKilled + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrimaryMainFrameRendererProcessKilled")] + PrimaryMainFrameRendererProcessKilled, + /// + /// ActivationFramePolicyNotCompatible + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationFramePolicyNotCompatible")] + ActivationFramePolicyNotCompatible } /// @@ -25523,6 +25641,18 @@ public bool? HasMinPinLength set; } + /// + /// If set to true, the authenticator will support the prf extension. + /// https://w3c.github.io/webauthn/#prf-extension + /// Defaults to false. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPrf")] + public bool? HasPrf + { + get; + set; + } + /// /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. @@ -29538,6 +29668,18 @@ public int ExecutionContextId get; private set; } + + /// + /// Unique Id of the destroyed context + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextUniqueId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ExecutionContextUniqueId + { + get; + private set; + } } /// @@ -30937,7 +31079,7 @@ public System.Threading.Tasks.Task GetBrowserComm /// Get Chrome histograms. /// /// Requested substring in name. Only histograms which have query as asubstring in their name are extracted. An empty or absent query returnsall histograms. - /// If true, retrieve delta since last call. + /// If true, retrieve delta since last delta call. /// returns System.Threading.Tasks.Task<GetHistogramsResponse> public System.Threading.Tasks.Task GetHistogramsAsync(string query = null, bool? delta = null) { @@ -30961,7 +31103,7 @@ public System.Threading.Tasks.Task GetHistogramsAsync(str /// Get a Chrome histogram by name. /// /// Requested histogram name. - /// If true, retrieve delta since last call. + /// If true, retrieve delta since last delta call. /// returns System.Threading.Tasks.Task<GetHistogramResponse> public System.Threading.Tasks.Task GetHistogramAsync(string name, bool? delta = null) { @@ -37752,26 +37894,6 @@ public System.Threading.Tasks.Task GetSamplingProfil } } -namespace CefSharp.DevTools.Network -{ - /// - /// GetAllCookiesResponse - /// - public class GetAllCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// cookies - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookies")] - public System.Collections.Generic.IList Cookies - { - get; - private set; - } - } -} - namespace CefSharp.DevTools.Network { /// @@ -38631,17 +38753,6 @@ public System.Threading.Tasks.Task EnableAsync(int? maxT return _client.ExecuteDevToolsMethodAsync("Network.enable", dict); } - /// - /// Returns all browser cookies. Depending on the backend support, will return detailed cookie - /// information in the `cookies` field. - /// - /// returns System.Threading.Tasks.Task<GetAllCookiesResponse> - public System.Threading.Tasks.Task GetAllCookiesAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Network.getAllCookies", dict); - } - partial void ValidateGetCertificate(string origin); /// /// Returns the DER-encoded certificate. @@ -42728,6 +42839,20 @@ public System.Threading.Tasks.Task ClearSharedStorageEnt return _client.ExecuteDevToolsMethodAsync("Storage.clearSharedStorageEntries", dict); } + partial void ValidateResetSharedStorageBudget(string ownerOrigin); + /// + /// Resets the budget for `ownerOrigin` by clearing all budget withdrawals. + /// + /// ownerOrigin + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ResetSharedStorageBudgetAsync(string ownerOrigin) + { + ValidateResetSharedStorageBudget(ownerOrigin); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("ownerOrigin", ownerOrigin); + return _client.ExecuteDevToolsMethodAsync("Storage.resetSharedStorageBudget", dict); + } + partial void ValidateSetSharedStorageTracking(bool enable); /// /// Enables/disables issuing of sharedStorageAccessed events. @@ -43318,7 +43443,7 @@ public System.Threading.Tasks.Task GetBrowserContext return _client.ExecuteDevToolsMethodAsync("Target.getBrowserContexts", dict); } - partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null); + partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null); /// /// Creates a new page. /// @@ -43329,10 +43454,11 @@ public System.Threading.Tasks.Task GetBrowserContext /// Whether BeginFrames for this target will be controlled via DevTools (headless chrome only,not supported on MacOS yet, false by default). /// Whether to create a new Window or Tab (chrome-only, false by default). /// Whether to create the target in background or foreground (chrome-only,false by default). + /// Whether to create the target of type "tab". /// returns System.Threading.Tasks.Task<CreateTargetResponse> - public System.Threading.Tasks.Task CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null) + public System.Threading.Tasks.Task CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null) { - ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background); + ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab); var dict = new System.Collections.Generic.Dictionary(); dict.Add("url", url); if (width.HasValue) @@ -43365,6 +43491,11 @@ public System.Threading.Tasks.Task CreateTargetAsync(strin dict.Add("background", background.Value); } + if (forTab.HasValue) + { + dict.Add("forTab", forTab.Value); + } + return _client.ExecuteDevToolsMethodAsync("Target.createTarget", dict); } @@ -47337,7 +47468,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -47353,11 +47484,12 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Specifies execution context which global object will be used to call function on. EitherexecutionContextId or objectId should be specified. /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. + /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, generateWebDriverValue); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -47410,6 +47542,11 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("throwOnSideEffect", throwOnSideEffect.Value); } + if (!(string.IsNullOrEmpty(uniqueContextId))) + { + dict.Add("uniqueContextId", uniqueContextId); + } + if (generateWebDriverValue.HasValue) { dict.Add("generateWebDriverValue", generateWebDriverValue.Value); From f14ecb69b9d9ca5bfd5810746e0ca40361c59a9d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 15 Mar 2023 18:26:35 +1000 Subject: [PATCH 034/275] Core - Remove Cef.EnableHighDPISupport Resolves #4417 --- CefSharp.BrowserSubprocess.Core/SubProcess.h | 5 ----- CefSharp.Core.Runtime/Cef.h | 10 ---------- CefSharp.Core/Cef.cs | 11 ----------- 3 files changed, 26 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/SubProcess.h b/CefSharp.BrowserSubprocess.Core/SubProcess.h index 01416c1843..8f988f561b 100644 --- a/CefSharp.BrowserSubprocess.Core/SubProcess.h +++ b/CefSharp.BrowserSubprocess.Core/SubProcess.h @@ -67,11 +67,6 @@ namespace CefSharp } - static void EnableHighDPISupport() - { - CefEnableHighDPISupport(); - } - static int ExecuteProcess(IEnumerable^ args) { auto hInstance = Process::GetCurrentProcess()->Handle; diff --git a/CefSharp.Core.Runtime/Cef.h b/CefSharp.Core.Runtime/Cef.h index 9f42332782..1040f1cede 100644 --- a/CefSharp.Core.Runtime/Cef.h +++ b/CefSharp.Core.Runtime/Cef.h @@ -638,16 +638,6 @@ namespace CefSharp return CefClearSchemeHandlerFactories(); } - /// - /// Call during process startup to enable High-DPI support on Windows 7 or newer. - /// Older versions of Windows should be left DPI-unaware because they do not - /// support DirectWrite and GDI fonts are kerned very badly. - /// - static void EnableHighDPISupport() - { - CefEnableHighDPISupport(); - } - /// /// Returns true if called on the specified CEF thread. /// diff --git a/CefSharp.Core/Cef.cs b/CefSharp.Core/Cef.cs index 09db764bd4..d1356fb854 100644 --- a/CefSharp.Core/Cef.cs +++ b/CefSharp.Core/Cef.cs @@ -422,17 +422,6 @@ public static bool ClearSchemeHandlerFactories() return Core.Cef.ClearSchemeHandlerFactories(); } - /// - /// Call during process startup to enable High-DPI support on Windows 7 or newer. - /// Older versions of Windows should be left DPI-unaware because they do not - /// support DirectWrite and GDI fonts are kerned very badly. - /// - [Obsolete("This method will be removed in M113. See https://github.com/cefsharp/CefSharp/issues/4417")] - public static void EnableHighDPISupport() - { - Core.Cef.EnableHighDPISupport(); - } - /// /// Returns true if called on the specified CEF thread. /// From 3ce76eb1910c8b653f5506a4dc8ac0cd43a07c5c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 24 Mar 2023 10:52:58 +1000 Subject: [PATCH 035/275] CEF Issue Tracker moved to GitHub - Update some of the internal links Issue #4430 --- CONTRIBUTING.md | 2 +- CefSharp.Core.Runtime/CefSettingsBase.h | 2 +- CefSharp.Core.Runtime/Internals/CefSharpApp.h | 2 +- CefSharp.Core.Runtime/Internals/ClientAdapter.cpp | 2 +- CefSharp.Core/CefSettingsBase.cs | 8 ++++---- CefSharp.Example/CefExample.cs | 4 ++-- CefSharp.OffScreen/ChromiumWebBrowser.cs | 2 +- CefSharp.WinForms/ChromiumWebBrowser.cs | 6 +++--- CefSharp.Wpf/ChromiumWebBrowser.cs | 8 ++++---- CefSharp/Internals/PathCheck.cs | 2 +- ISSUE_TEMPLATE.md | 2 +- README.md | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 42bc60317c..10d7f93050 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,7 +32,7 @@ It maybe helpful to run the `cefclient` application and compare output with `Cef cefclient.exe --multi-threaded-message-loop --no-sandbox ``` - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED ABOVE** - - If you can reproduce the problem with `cefclient` then you'll need to report the bug on https://bitbucket.org/chromiumembedded/cef/overview there is no point opening an issue here. (Make sure you search before opening an issue) + - If you can reproduce the problem with `cefclient` then you'll need to report the bug on https://github.com/chromiumembedded/cef there is no point opening an issue here. (Make sure you search before opening an issue) ### What should I include when creating an `Issue`? diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h index f6cfe4f3dc..b083bdf003 100644 --- a/CefSharp.Core.Runtime/CefSettingsBase.h +++ b/CefSharp.Core.Runtime/CefSettingsBase.h @@ -88,7 +88,7 @@ namespace CefSharp /// **Experimental** /// Set to true to enable use of the Chrome runtime in CEF. This feature is /// considered experimental and is not recommended for most users at this time. - /// See issue https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks for details. + /// See issue https://github.com/chromiumembedded/cef/issues/2969 /// property bool ChromeRuntime { diff --git a/CefSharp.Core.Runtime/Internals/CefSharpApp.h b/CefSharp.Core.Runtime/Internals/CefSharpApp.h index e6292fee57..8a40b3a02c 100644 --- a/CefSharp.Core.Runtime/Internals/CefSharpApp.h +++ b/CefSharp.Core.Runtime/Internals/CefSharpApp.h @@ -135,7 +135,7 @@ namespace CefSharp commandLine->AppendSwitch(StringUtils::ToNative(CefSharpArguments::ExitIfParentProcessClosed)); } - //ChannelId was removed in https://bitbucket.org/chromiumembedded/cef/issues/1912/notreached-in-logchannelidandcookiestores + //ChannelId was removed in https://github.com/chromiumembedded/cef/issues/1912 //We need to know the process Id to establish WCF communication and for monitoring of parent process exit commandLine->AppendArgument(StringUtils::ToNative(CefSharpArguments::HostProcessIdArgument + "=" + Process::GetCurrentProcess()->Id)); diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp index 71af300dc3..a0c6db8928 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp @@ -416,7 +416,7 @@ namespace CefSharp bool returnFlag = true; //NOTE: Only called if tooltip changed otherwise called many times - // also only called when using OSR, https://bitbucket.org/chromiumembedded/cef/issues/783 + // also only called when using OSR, https://github.com/chromiumembedded/cef/issues/783 if (hasChanged) { diff --git a/CefSharp.Core/CefSettingsBase.cs b/CefSharp.Core/CefSettingsBase.cs index b11542069a..8080a22866 100644 --- a/CefSharp.Core/CefSettingsBase.cs +++ b/CefSharp.Core/CefSettingsBase.cs @@ -73,7 +73,7 @@ public CommandLineArgDictionary CefCommandLineArgs /// **Experimental** /// Set to true to enable use of the Chrome runtime in CEF. This feature is /// considered experimental and is not recommended for most users at this time. - /// See issue https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks for details. + /// See issue https://github.com/chromiumembedded/cef/issues/2969 /// public bool ChromeRuntime { @@ -424,7 +424,7 @@ public void DisableGpuAcceleration() /// /// Set command line argument to enable Print Preview See - /// https://bitbucket.org/chromiumembedded/cef/issues/123/add-support-for-print-preview for details. + /// https://github.com/chromiumembedded/cef/issues/123/add-support-for-print-preview for details. /// public void EnablePrintPreview() { @@ -442,7 +442,7 @@ public void SetOffScreenRenderingBestPerformanceArgs() { // Use software rendering and compositing (disable GPU) for increased FPS // and decreased CPU usage. - // See https://bitbucket.org/chromiumembedded/cef/issues/1257 for details. + // See https://github.com/chromiumembedded/cef/issues/1257 for details. if (!settings.CefCommandLineArgs.ContainsKey("disable-gpu")) { settings.CefCommandLineArgs.Add("disable-gpu"); @@ -459,7 +459,7 @@ public void SetOffScreenRenderingBestPerformanceArgs() // creation time via IBrowserSettings.WindowlessFrameRate or changed // dynamically using IBrowserHost.SetWindowlessFrameRate. In cefclient // it can be set via the command-line using `--off-screen-frame-rate=XX`. - // See https://bitbucket.org/chromiumembedded/cef/issues/1368 for details. + // See https://github.com/chromiumembedded/cef/issues/1368 for details. if (!settings.CefCommandLineArgs.ContainsKey("enable-begin-frame-scheduling")) { settings.CefCommandLineArgs.Add("enable-begin-frame-scheduling"); diff --git a/CefSharp.Example/CefExample.cs b/CefSharp.Example/CefExample.cs index 2c49845247..04645f15fe 100644 --- a/CefSharp.Example/CefExample.cs +++ b/CefSharp.Example/CefExample.cs @@ -14,7 +14,7 @@ namespace CefSharp.Example { public static class CefExample { - //TODO: Revert after https://bitbucket.org/chromiumembedded/cef/issues/2685/networkservice-custom-scheme-unable-to + //TODO: Revert after https://github.com/chromiumembedded/cef/issues/2685 //has been fixed. public const string ExampleDomain = "cefsharp.example"; public const string BaseUrl = "https://" + ExampleDomain; @@ -161,7 +161,7 @@ public static void Init(CefSettingsBase settings, IBrowserProcessHandler browser //settings.LogSeverity = LogSeverity.Verbose; - //Experimental setting see https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks + //Experimental setting see https://github.com/chromiumembedded/cef/issues/2969 //for details //settings.ChromeRuntime = true; diff --git a/CefSharp.OffScreen/ChromiumWebBrowser.cs b/CefSharp.OffScreen/ChromiumWebBrowser.cs index df9fe6f00b..1144c64fbf 100644 --- a/CefSharp.OffScreen/ChromiumWebBrowser.cs +++ b/CefSharp.OffScreen/ChromiumWebBrowser.cs @@ -580,7 +580,7 @@ public async Task CaptureScreenshotAsync(CaptureScreenshotFormat? format throw new ArgumentException($"{nameof(viewport)}.{nameof(viewport.Scale)} must be greater than 0."); } - //https://bitbucket.org/chromiumembedded/cef/issues/3103/offscreen-capture-screenshot-with-devtools + //https://github.com/chromiumembedded/cef/issues/3103 //CEF OSR mode doesn't set the size internally when CaptureScreenShot is called with a clip param specified, so //we must manually resize our view if size is greater var newWidth = viewport.Width + viewport.X; diff --git a/CefSharp.WinForms/ChromiumWebBrowser.cs b/CefSharp.WinForms/ChromiumWebBrowser.cs index de3f20fad0..239a3994c7 100644 --- a/CefSharp.WinForms/ChromiumWebBrowser.cs +++ b/CefSharp.WinForms/ChromiumWebBrowser.cs @@ -137,7 +137,7 @@ public IBrowserSettings BrowserSettings /// Activates browser upon creation, the default value is false. Prior to version 73 /// the default behaviour was to activate browser on creation (Equivalent of setting this property to true). /// To restore this behaviour set this value to true immediately after you create the instance. - /// https://bitbucket.org/chromiumembedded/cef/issues/1856/branch-2526-cef-activates-browser-window + /// https://github.com/chromiumembedded/cef/issues/1856 /// public bool ActivateBrowserOnCreation { get; set; } /// @@ -662,7 +662,7 @@ protected virtual IWindowInfo CreateBrowserWindowInfo(IntPtr handle) if (!ActivateBrowserOnCreation) { //Disable Window activation by default - //https://bitbucket.org/chromiumembedded/cef/issues/1856/branch-2526-cef-activates-browser-window + //https://github.com/chromiumembedded/cef/issues/1856/branch-2526-cef-activates-browser-window windowInfo.ExStyle |= WS_EX_NOACTIVATE; } @@ -722,7 +722,7 @@ protected virtual void OnSetBrowserInitialFocus() // It's possible to use Cef.PostAction to invoke directly on the CEF UI Thread, // this also seems to work as expected, using the WinForms UI Thread allows // us to check the Focused property to determine if we actully have focus - // https://bitbucket.org/chromiumembedded/cef/issues/3436/chromium-based-browser-loses-focus-when + // https://github.com/chromiumembedded/cef/issues/3436/chromium-based-browser-loses-focus-when if (InvokeRequired) { BeginInvoke((Action)(() => diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs index b7a2f8cd00..16973f9e2f 100644 --- a/CefSharp.Wpf/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf/ChromiumWebBrowser.cs @@ -140,7 +140,7 @@ public partial class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBro /// private static bool DesignMode; - // https://bitbucket.org/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and + // https://github.com/chromiumembedded/cef/issues/3427 private bool resizeHackIgnoreOnPaint; private Structs.Size? resizeHackSize; @@ -153,7 +153,7 @@ public partial class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBro /// /// When enabled the browser will resize by 1px when it becomes visible to workaround /// the upstream issue - /// Hack to work around upstream issue https://bitbucket.org/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and + /// Hack to work around upstream issue https://github.com/chromiumembedded/cef/issues/3427 /// Disabled by default /// public bool ResizeHackEnabled { get; set; } = false; @@ -162,7 +162,7 @@ public partial class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBro /// Number of milliseconds to wait after resizing the browser when it first /// becomes visible. After the delay the browser will revert to it's /// original size. - /// Hack to workaround upstream issue https://bitbucket.org/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and + /// Hack to workaround upstream issue https://github.com/chromiumembedded/cef/issues/3427 /// public int ResizeHackDelayInMs { get; set; } = 50; @@ -2793,7 +2793,7 @@ await Cef.UIThreadTaskFactory.StartNew(delegate } /// - /// Resize hack for https://bitbucket.org/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and + /// Resize hack for https://github.com/chromiumembedded/cef/issues/3427/osr-rendering-bug-when-minimizing-and /// /// Task private async Task ResizeHackRun() diff --git a/CefSharp/Internals/PathCheck.cs b/CefSharp/Internals/PathCheck.cs index 4fec57eda1..ac8c2f48b8 100644 --- a/CefSharp/Internals/PathCheck.cs +++ b/CefSharp/Internals/PathCheck.cs @@ -50,7 +50,7 @@ internal static bool IsDirectorySeparator(char c) /// /// Throw exception if the path provided is non-asbolute /// CEF now explicitly requires absolute paths - /// https://bitbucket.org/chromiumembedded/cef/issues/2916/not-persisting-in-local-stoage-when-using + /// https://github.com/chromiumembedded/cef/issues/2916 /// Empty paths are ignored /// /// path diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 1d54e6c1a0..f3b93c31be 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -49,5 +49,5 @@ e.g. 57.0.0 or 63.0.0-pre01 - To compare with WPF run cefclient --multi-threaded-message-loop --off-screen-rendering-enabled --enable-gpu - To compare with WinForms run cefclient --multi-threaded-message-loop - - If you can reproduce the problem with `cefclient` then you'll need to report the bug on https://bitbucket.org/chromiumembedded/cef/overview there is no point opening an issue here. (Make sure you search before opening an issue) + - If you can reproduce the problem with `cefclient` then you'll need to report the bug on https://github.com/chromiumembedded/cef there is no point opening an issue here. (Make sure you search before opening an issue) - Please include the version you tested with e.g. `cef_binary_3.3029.1611.g44e39a8_windows64_client.tar.bz2`. It's important to you test with the same version that `CefSharp` is based on. Check the release notes to determine the version (https://github.com/cefsharp/CefSharp/releases) or load `chrome://version` in the browser. diff --git a/README.md b/README.md index d150fd8356..fe00ceb32a 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ As a stay at home dad I ([@amaitland](https://github.com/amaitland)) rely on you ## Links - [CefGlue](https://gitlab.com/xiliumhq/chromiumembedded/cefglue): An alternative .NET CEF wrapper built using P/Invoke. -- [CEF Bitbucket Project](https://bitbucket.org/chromiumembedded/cef/overview) : The official CEF issue tracker +- [CEF GitHub Project](https://github.com/chromiumembedded/cef) : The official CEF issue tracker - [CEF Forum](http://magpcss.org/ceforum/) : The official CEF Forum - [CEF API Docs](http://magpcss.org/ceforum/apidocs3/index-all.html) : Well worth a read if you are implementing a new feature - [CefSharp API Doc](http://cefsharp.github.io/api/) From 261894181f9168c28093757410a6cf5acf58d04a Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 28 Mar 2023 06:00:28 +1000 Subject: [PATCH 036/275] Net Core - Update RefAssembly --- .../CefSharp.Core.Runtime.netcore.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs index f1cd6b3ffc..812e7ff1e2 100644 --- a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs +++ b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs @@ -68,7 +68,6 @@ public static void AddDisposable(System.IDisposable item) { } public static uint ColorSetARGB(uint a, uint r, uint g, uint b) { throw null; } public static bool CurrentlyOnThread(CefSharp.CefThreadIds threadId) { throw null; } public static void DoMessageLoopWork() { } - public static void EnableHighDPISupport() { } public static void EnableWaitForBrowsersToClose() { } public static int ExecuteProcess() { throw null; } public static CefSharp.ICookieManager GetGlobalCookieManager() { throw null; } From 6e1105996117f5909b609ae7a4c50d1c8d116be1 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 1 Apr 2023 11:11:09 +1000 Subject: [PATCH 037/275] Upgrade to 111.2.7+gebf5d6a+chromium-111.0.5563.148 / Chromium 111.0.5563.148 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 4 ++-- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 4 ++-- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 4 ++-- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 4 ++-- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 48 insertions(+), 48 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 6daf8fd5e6..9257f0b3b2 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 34378b0507..f0252e8152 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 9196fe8cf2..3843dacc4c 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 111,2,20 - PRODUCTVERSION 111,2,20 + FILEVERSION 111,2,70 + PRODUCTVERSION 111,2,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "111.2.20" + VALUE "FileVersion", "111.2.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "111.2.20" + VALUE "ProductVersion", "111.2.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 7c71b1d79c..8773891078 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index b2b2f90b0c..2679ae86ae 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 0217e4287d..ca0d612090 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 42f7cd3393..2fc24e4fbb 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index e7a00e28b0..fe6607b8d3 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 2bf272d641..13309b32f6 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 111,2,20 - PRODUCTVERSION 111,2,20 + FILEVERSION 111,2,70 + PRODUCTVERSION 111,2,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "111.2.20" + VALUE "FileVersion", "111.2.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "111.2.20" + VALUE "ProductVersion", "111.2.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 7c71b1d79c..8773891078 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index b2b2f90b0c..2679ae86ae 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index bf02171540..0df83d3013 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index a85a11c248..b25e6895b5 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 09997f0176..5e14039126 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 231b769d1f..30d1c1fe48 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 8e244ffa78..c4d7e19c06 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index e98bad61d9..550ce5df7a 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 912302c410..31c1edd7f8 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 0a510568e5..81195e0589 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index a16e99ec50..8699b4a00b 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index e113cc7bb7..5d178c55ee 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 17903334bf..2cf83f4291 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index a7fe20674b..89bceeaf01 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 111.2.20 + 111.2.70 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 111.2.20 + Version 111.2.70 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 5e54b875a5..96c4faf874 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "111.2.20"; - public const string AssemblyFileVersion = "111.2.20.0"; + public const string AssemblyVersion = "111.2.70"; + public const string AssemblyFileVersion = "111.2.70.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 01e8d4bcdd..9e8a6ffd4c 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 9a314a8308..58ca91afc6 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 4877fdec37..a8406e9ee1 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 34c0777b32..a161892673 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "111.2.2", + [string] $CefVersion = "111.2.7", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 0cfb181677..71fa5f6c90 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 111.2.20-CI{build} +version: 111.2.70-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 1a2d9827c4..67aecd3205 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "111.2.20", + [string] $Version = "111.2.70", [Parameter(Position = 2)] - [string] $AssemblyVersion = "111.2.20", + [string] $AssemblyVersion = "111.2.70", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 1460dee5a165e7388f165c40860d7916f0ebc443 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 1 Apr 2023 18:58:27 +1000 Subject: [PATCH 038/275] Core - ClientAdapter improve HasParent checks (#4443) * Core - Improve ClientAdapter::GetBrowserWrapper logic Simplify the logic - For non popup return immediately (most common scenario) - Check for IBrowser instance for matching popup - Check for HasParent and return the browser Instance - Return nullptr if no matching IBrowser wrapper found * Core - ClientAdapter::OnFrameCreated called before OnAfterCreated - The very first call to ClientAdapter::OnFrameCreated happens before OnAfterCreated leaving us with a IBrowser instance that's null Create an IBrowser instance that's scoped to the method call * Core - ClientAdapter improve HasParent checks - HasParent check has now been replaced with IsHostedBrowser which has additional check to make sure the internal IWebBrowser.Set* methods are only called for a IBrowser instance that's directly associated with a ChromiumWebBrowser instance This resolves issues with DevTools being opened for a popup hosted in a ChromiumWebBrowser instance. Related discussion https://github.com/cefsharp/CefSharp/discussions/4438 --- .../Internals/ClientAdapter.cpp | 121 ++++++++---- .../Internals/ClientAdapter.h | 1 + .../Handlers/WinFormsLifeSpanHandlerEx.cs | 176 ++++++++++++++++++ 3 files changed, 260 insertions(+), 38 deletions(-) create mode 100644 CefSharp.WinForms.Example/Handlers/WinFormsLifeSpanHandlerEx.cs diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp index a0c6db8928..0cc7c31cf6 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp @@ -75,23 +75,62 @@ namespace CefSharp IBrowser^ ClientAdapter::GetBrowserWrapper(int browserId, bool isPopup) { + if (!isPopup) + { + return _browser; + } + + IBrowser^ popupBrowser; + if (_popupBrowsers->TryGetValue(browserId, popupBrowser)) + { + return popupBrowser; + } + + // For popups that were hosted using a ChromiumWebBrowser instance if (_browserControl->HasParent) { return _browser; } - if (isPopup) + return nullptr; + } + + // Is a main browser if isPopuo == false or the IBrowser instance is directly associated + // with the ChromiumWebBrowser instance. Should be true in cases + // where ChromiumWebBrowser is instanciated directly or + // when a popup is hosted in a ChromiumWebBrowser instance + // For popups hosted in ChromiumWebBrowser instances it's important + // that DevTools popups return false; + bool ClientAdapter::IsMainBrowser(bool isPopup, int browserId) + { + // Main browser is always true + if (!isPopup) { - IBrowser^ popupBrowser; - if (_popupBrowsers->TryGetValue(browserId, popupBrowser)) - { - return popupBrowser; - } + return true; + } - return nullptr; + // If popup and HasParent == false then always false + if (!_browserControl->HasParent) + { + return false; } - return _browser; + // This method is called from OnAfterCreated before _cefBrowser is set + // If the _cefBrowser reference is null then this should be a ChromiumWebBrowser + // hosted as a popup + if (!_cefBrowser.get()) + { + return true; + } + + // For popups hosted in ChromiumWebBrowser instance directly (non DevTools popup) + // then return true; + if (_cefBrowser->GetIdentifier() == browserId) + { + return true; + } + + return false; } void ClientAdapter::CloseAllPopups(bool forceClose) @@ -180,14 +219,7 @@ namespace CefSharp auto browserWrapper = gcnew CefBrowserWrapper(browser); - auto isPopup = browser->IsPopup() && !_browserControl->HasParent; - - if (isPopup) - { - // Add to the list of popup browsers. - _popupBrowsers->Add(browser->GetIdentifier(), browserWrapper); - } - else + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserHwnd = browser->GetHost()->GetWindowHandle(); _cefBrowser = browser; @@ -199,6 +231,11 @@ namespace CefSharp _browserAdapter->OnAfterBrowserCreated(browserWrapper); } } + else + { + // Add to the list of popup browsers. + _popupBrowsers->Add(browser->GetIdentifier(), browserWrapper); + } auto handler = _browserControl->LifeSpanHandler; @@ -227,7 +264,6 @@ namespace CefSharp void ClientAdapter::OnBeforeClose(CefRefPtr browser) { - auto isPopup = browser->IsPopup() && !_browserControl->HasParent; auto handler = _browserControl->LifeSpanHandler; if (handler != nullptr) @@ -240,7 +276,11 @@ namespace CefSharp handler->OnBeforeClose(_browserControl, %browserWrapper); } - if (isPopup) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) + { + _cefBrowser = nullptr; + } + else { // Remove from the browser popup list. auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), true); @@ -248,12 +288,6 @@ namespace CefSharp // Dispose the CefBrowserWrapper delete browserWrapper; } - //TODO: When creating a new ChromiumWebBrowser and passing in a newBrowser to OnBeforePopup - //the handles don't match up (at least in WPF), need to investigate further. - else if (_browserHwnd == browser->GetHost()->GetWindowHandle() || _browserControl->HasParent) - { - _cefBrowser = nullptr; - } BrowserRefCounter::Instance->Decrement(_browserControl->GetType()); } @@ -263,7 +297,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); auto args = gcnew LoadingStateChangedEventArgs(browserWrapper, canGoBack, canGoForward, isLoading); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->SetLoadingStateChange(args); } @@ -281,7 +315,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); auto args = gcnew AddressChangedEventArgs(browserWrapper, StringUtils::ToClr(address)); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->SetAddress(args); } @@ -354,15 +388,15 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); auto args = gcnew TitleChangedEventArgs(browserWrapper, StringUtils::ToClr(title)); - if (browser->IsPopup() && !_browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { - // Set the popup window title - auto hwnd = browser->GetHost()->GetWindowHandle(); - SetWindowText(hwnd, std::wstring(title).c_str()); + _browserControl->SetTitle(args); } else { - _browserControl->SetTitle(args); + // Set the popup window title + auto hwnd = browser->GetHost()->GetWindowHandle(); + SetWindowText(hwnd, std::wstring(title).c_str()); } auto handler = _browserControl->DisplayHandler; @@ -426,7 +460,7 @@ namespace CefSharp returnFlag = handler->OnTooltipChanged(_browserControl, tooltip); } - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _tooltip = tooltip; _browserControl->SetTooltipText(_tooltip); @@ -442,7 +476,7 @@ namespace CefSharp auto args = gcnew ConsoleMessageEventArgs(browserWrapper, (LogSeverity)level, StringUtils::ToClr(message), StringUtils::ToClr(source), line); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->OnConsoleMessage(args); } @@ -461,7 +495,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); auto args = gcnew StatusMessageEventArgs(browserWrapper, StringUtils::ToClr(value)); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->OnStatusMessage(args); } @@ -512,7 +546,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); CefFrameWrapper frameWrapper(frame); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->OnFrameLoadStart(gcnew FrameLoadStartEventArgs(browserWrapper, %frameWrapper, (CefSharp::TransitionType)transitionType)); } @@ -529,7 +563,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); CefFrameWrapper frameWrapper(frame); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->OnFrameLoadEnd(gcnew FrameLoadEndEventArgs(browserWrapper, %frameWrapper, httpStatusCode)); } @@ -547,7 +581,7 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); CefFrameWrapper frameWrapper(frame); - if (!browser->IsPopup() || _browserControl->HasParent) + if (IsMainBrowser(browser->IsPopup(), browser->GetIdentifier())) { _browserControl->OnLoadError(gcnew LoadErrorEventArgs(browserWrapper, %frameWrapper, (CefErrorCode)errorCode, StringUtils::ToClr(errorText), StringUtils::ToClr(failedUrl))); @@ -1117,7 +1151,18 @@ namespace CefSharp auto browserWrapper = GetBrowserWrapper(browser->GetIdentifier(), browser->IsPopup()); auto frameWrapper = gcnew CefFrameWrapper(frame); - handler->OnFrameCreated(_browserControl, browserWrapper, frameWrapper); + if (browserWrapper == nullptr) + { + // Very first OnFrameCreated called may happen before OnAfterCreated + // so we have to create a new wrapper that's lifespan is scoped to this single call. + CefBrowserWrapper browserWrapper(browser); + + handler->OnFrameCreated(_browserControl, %browserWrapper, frameWrapper); + } + else + { + handler->OnFrameCreated(_browserControl, browserWrapper, frameWrapper); + } } } diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.h b/CefSharp.Core.Runtime/Internals/ClientAdapter.h index 279ab86b4c..142c4a7713 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.h +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.h @@ -87,6 +87,7 @@ namespace CefSharp void CloseAllPopups(bool forceClose); void MethodInvocationComplete(MethodInvocationResult^ result); IBrowser^ GetBrowserWrapper(int browserId); + bool IsMainBrowser(bool isPopup, int browserId); // CefClient virtual DECL CefRefPtr GetLifeSpanHandler() override { return this; } diff --git a/CefSharp.WinForms.Example/Handlers/WinFormsLifeSpanHandlerEx.cs b/CefSharp.WinForms.Example/Handlers/WinFormsLifeSpanHandlerEx.cs new file mode 100644 index 0000000000..b55e10662b --- /dev/null +++ b/CefSharp.WinForms.Example/Handlers/WinFormsLifeSpanHandlerEx.cs @@ -0,0 +1,176 @@ +// Copyright © 2023 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; +using System.Windows.Forms; +using CefSharp.WinForms.Host; + +namespace CefSharp.WinForms.Example.Handlers +{ + /// + /// A WinForms Specific implementation that demos + /// the process of hosting a Popup using a instance. + /// This implementation returns true in + /// so no WM_CLOSE message is sent, this differs from the default CEF behaviour. + /// + internal class WinFormsLifeSpanHandlerEx : CefSharp.Handler.LifeSpanHandler + { + private Action onPopupBrowserCreated; + private Action onPopupDestroyed; + private Action onPopupCreated; + + /// + /// The delegate will be called when the underlying CEF has been + /// created. The instance is valid until + /// is called. provides low level access to the CEF Browser, you can access frames, view source, + /// perform navigation (via frame) etc. This is equivilent to the . + /// + /// Action to be invoked when the has been created. + /// instance allowing you to chain method calls together + public WinFormsLifeSpanHandlerEx OnPopupBrowserCreated(Action onPopupBrowserCreated) + { + this.onPopupBrowserCreated = onPopupBrowserCreated; + + return this; + } + + /// + /// The will be called when the is to be + /// removed from it's parent. + /// When the is called you must remove/dispose of the . + /// + /// Action to be invoked when the Popup is to be destroyed. + /// instance allowing you to chain method calls together + public WinFormsLifeSpanHandlerEx OnPopupDestroyed(Action onPopupDestroyed) + { + this.onPopupDestroyed = onPopupDestroyed; + + return this; + } + + /// + /// The will be called when the has been + /// created. When the is called you must add the control to it's intended parent. + /// + /// Action to be invoked when the Popup host has been created and is ready to be attached to it's parent. + /// instance allowing you to chain method calls together + public WinFormsLifeSpanHandlerEx OnPopupCreated(Action onPopupCreated) + { + this.onPopupCreated = onPopupCreated; + + return this; + } + + /// + protected override bool DoClose(IWebBrowser chromiumWebBrowser, IBrowser browser) + { + if (browser.IsPopup) + { + var control = ChromiumHostControlBase.FromBrowser(browser); + + //We don't have a parent control so we allow the default behaviour, required to close + //default popups e.g. DevTools + if (control == null) + { + return false; + } + + //If the main browser is disposed or the handle has been released then we don't + //need to remove the popup (likely removed from menu) + if (!control.IsDisposed && control.IsHandleCreated) + { + try + { + control.BeginInvoke(new Action(() => + { + onPopupDestroyed?.Invoke(control); + + control.Dispose(); + })); + } + catch (ObjectDisposedException) + { + // If the popup is being hosted on a Form that is being + // Closed/Disposed as we attempt to call Control.BeginInvoke + // we can end up with an ObjectDisposedException + // return false (Default behaviour). + return false; + } + } + } + + //No WM_CLOSE message will be sent, manually handle closing + return true; + } + + /// + protected override void OnAfterCreated(IWebBrowser chromiumWebBrowser, IBrowser browser) + { + if (browser.IsPopup) + { + var webBrowser = (ChromiumWebBrowser)chromiumWebBrowser; + + webBrowser.BeginInvoke((Action) (() => + { + var control = ChromiumHostControlBase.FromBrowser(browser); + + if (control != null) + { + onPopupBrowserCreated?.Invoke(control); + } + })); + + } + } + + /// + protected override void OnBeforeClose(IWebBrowser chromiumWebBrowser, IBrowser browser) + { + if (!browser.IsDisposed && browser.IsPopup) + { + + } + } + + /// + /// + /// NOTE: DevTools popups DO NOT trigger OnBeforePopup. + /// + protected override bool OnBeforePopup(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, string targetUrl, string targetFrameName, WindowOpenDisposition targetDisposition, bool userGesture, IPopupFeatures popupFeatures, IWindowInfo windowInfo, IBrowserSettings browserSettings, ref bool noJavascriptAccess, out IWebBrowser newBrowser) + { + newBrowser = null; + + var webBrowser = (ChromiumWebBrowser)chromiumWebBrowser; + + ChromiumWebBrowser control = null; + + //We need to execute sync here so IWindowInfo.SetAsChild is called before we return false; + webBrowser.Invoke(new Action(() => + { + control = new ChromiumWebBrowser + { + Dock = DockStyle.Fill + }; + + //NOTE: This is important and must be called before the handle is created + control.SetAsPopup(); + control.LifeSpanHandler = this; + + control.CreateControl(); + + var rect = control.ClientRectangle; + + var windowBounds = new CefSharp.Structs.Rect(rect.X, rect.Y, rect.Width, rect.Height); + + windowInfo.SetAsChild(control.Handle, windowBounds); + + onPopupCreated?.Invoke(control, targetUrl, targetFrameName, windowBounds); + })); + + newBrowser = control; + + return false; + } + } +} From 90c31b4490a7411e11f12e3b9d299a1231d3f5c4 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 2 Apr 2023 11:46:00 +1000 Subject: [PATCH 039/275] WPF Example - Implement Material Design (#4446) * WPF Example - Improve layout/design using MaterialDesignInXamlToolkit - Some very basic UI improvements using MaterialDesignInXamlToolkit --- CefSharp.Wpf.Example/App.xaml | 134 +++--- .../CefSharp.Wpf.Example.csproj | 1 + .../CefSharp.Wpf.Example.netcore.csproj | 3 +- CefSharp.Wpf.Example/MainWindow.xaml | 18 +- .../Views/BrowserTabView.xaml | 408 +++++++++--------- 5 files changed, 294 insertions(+), 270 deletions(-) diff --git a/CefSharp.Wpf.Example/App.xaml b/CefSharp.Wpf.Example/App.xaml index b1ea6e7419..47e4e21753 100644 --- a/CefSharp.Wpf.Example/App.xaml +++ b/CefSharp.Wpf.Example/App.xaml @@ -1,55 +1,62 @@ - - + + + + + - --> + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 8699b4a00b..9e1f164986 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -32,6 +32,7 @@ + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 5d178c55ee..f3b1eeab19 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -1,4 +1,4 @@ - + @@ -42,6 +42,7 @@ + diff --git a/CefSharp.Wpf.Example/MainWindow.xaml b/CefSharp.Wpf.Example/MainWindow.xaml index 39a2129a7f..978acd2068 100644 --- a/CefSharp.Wpf.Example/MainWindow.xaml +++ b/CefSharp.Wpf.Example/MainWindow.xaml @@ -1,8 +1,16 @@ @@ -10,7 +18,7 @@ - + @@ -63,12 +71,10 @@ - - - - - - - - + + - [System.Runtime.Serialization.DataMemberAttribute(Name = ("role"), IsRequired = (false))] + [DataMember(Name = ("role"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Role { get; @@ -720,7 +722,7 @@ public CefSharp.DevTools.Accessibility.AXValue Role /// /// This `Node`'s Chrome raw role. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("chromeRole"), IsRequired = (false))] + [DataMember(Name = ("chromeRole"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue ChromeRole { get; @@ -730,7 +732,7 @@ public CefSharp.DevTools.Accessibility.AXValue ChromeRole /// /// The accessible name for this `Node`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Name { get; @@ -740,7 +742,7 @@ public CefSharp.DevTools.Accessibility.AXValue Name /// /// The accessible description for this `Node`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] + [DataMember(Name = ("description"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Description { get; @@ -750,7 +752,7 @@ public CefSharp.DevTools.Accessibility.AXValue Description /// /// The value for this `Node`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Value { get; @@ -760,7 +762,7 @@ public CefSharp.DevTools.Accessibility.AXValue Value /// /// All other properties /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("properties"), IsRequired = (false))] + [DataMember(Name = ("properties"), IsRequired = (false))] public System.Collections.Generic.IList Properties { get; @@ -770,7 +772,7 @@ public System.Collections.Generic.IList /// ID for this node's parent. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (false))] + [DataMember(Name = ("parentId"), IsRequired = (false))] public string ParentId { get; @@ -780,7 +782,7 @@ public string ParentId /// /// IDs for each of this node's child nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childIds"), IsRequired = (false))] + [DataMember(Name = ("childIds"), IsRequired = (false))] public string[] ChildIds { get; @@ -790,7 +792,7 @@ public string[] ChildIds /// /// The backend ID for the associated DOM node, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendDOMNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendDOMNodeId"), IsRequired = (false))] public int? BackendDOMNodeId { get; @@ -800,7 +802,7 @@ public int? BackendDOMNodeId /// /// The frame ID for the frame associated with this nodes document. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -818,7 +820,7 @@ public class LoadCompleteEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// New document root node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("root"), IsRequired = (true))] + [DataMember(Name = ("root"), IsRequired = (true))] public CefSharp.DevTools.Accessibility.AXNode Root { get; @@ -835,7 +837,7 @@ public class NodesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Updated node data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodes"), IsRequired = (true))] + [DataMember(Name = ("nodes"), IsRequired = (true))] public System.Collections.Generic.IList Nodes { get; @@ -854,17 +856,17 @@ public enum AnimationType /// /// CSSTransition /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSSTransition"))] + [EnumMember(Value = ("CSSTransition"))] CSSTransition, /// /// CSSAnimation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSSAnimation"))] + [EnumMember(Value = ("CSSAnimation"))] CSSAnimation, /// /// WebAnimation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebAnimation"))] + [EnumMember(Value = ("WebAnimation"))] WebAnimation } @@ -877,7 +879,7 @@ public partial class Animation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Animation`'s id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -887,7 +889,7 @@ public string Id /// /// `Animation`'s name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -897,7 +899,7 @@ public string Name /// /// `Animation`'s internal paused state. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pausedState"), IsRequired = (true))] + [DataMember(Name = ("pausedState"), IsRequired = (true))] public bool PausedState { get; @@ -907,7 +909,7 @@ public bool PausedState /// /// `Animation`'s play state. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playState"), IsRequired = (true))] + [DataMember(Name = ("playState"), IsRequired = (true))] public string PlayState { get; @@ -917,7 +919,7 @@ public string PlayState /// /// `Animation`'s playback rate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playbackRate"), IsRequired = (true))] + [DataMember(Name = ("playbackRate"), IsRequired = (true))] public double PlaybackRate { get; @@ -927,7 +929,7 @@ public double PlaybackRate /// /// `Animation`'s start time. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startTime"), IsRequired = (true))] + [DataMember(Name = ("startTime"), IsRequired = (true))] public double StartTime { get; @@ -937,7 +939,7 @@ public double StartTime /// /// `Animation`'s current time. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("currentTime"), IsRequired = (true))] + [DataMember(Name = ("currentTime"), IsRequired = (true))] public double CurrentTime { get; @@ -963,7 +965,7 @@ public CefSharp.DevTools.Animation.AnimationType Type /// /// Animation type of `Animation`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -973,7 +975,7 @@ internal string type /// /// `Animation`'s source animation node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("source"), IsRequired = (false))] + [DataMember(Name = ("source"), IsRequired = (false))] public CefSharp.DevTools.Animation.AnimationEffect Source { get; @@ -984,7 +986,7 @@ public CefSharp.DevTools.Animation.AnimationEffect Source /// A unique ID for `Animation` representing the sources that triggered this CSS /// animation/transition. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssId"), IsRequired = (false))] + [DataMember(Name = ("cssId"), IsRequired = (false))] public string CssId { get; @@ -1001,7 +1003,7 @@ public partial class AnimationEffect : CefSharp.DevTools.DevToolsDomainEntityBas /// /// `AnimationEffect`'s delay. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("delay"), IsRequired = (true))] + [DataMember(Name = ("delay"), IsRequired = (true))] public double Delay { get; @@ -1011,7 +1013,7 @@ public double Delay /// /// `AnimationEffect`'s end delay. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endDelay"), IsRequired = (true))] + [DataMember(Name = ("endDelay"), IsRequired = (true))] public double EndDelay { get; @@ -1021,7 +1023,7 @@ public double EndDelay /// /// `AnimationEffect`'s iteration start. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("iterationStart"), IsRequired = (true))] + [DataMember(Name = ("iterationStart"), IsRequired = (true))] public double IterationStart { get; @@ -1031,7 +1033,7 @@ public double IterationStart /// /// `AnimationEffect`'s iterations. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("iterations"), IsRequired = (true))] + [DataMember(Name = ("iterations"), IsRequired = (true))] public double Iterations { get; @@ -1041,7 +1043,7 @@ public double Iterations /// /// `AnimationEffect`'s iteration duration. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("duration"), IsRequired = (true))] + [DataMember(Name = ("duration"), IsRequired = (true))] public double Duration { get; @@ -1051,7 +1053,7 @@ public double Duration /// /// `AnimationEffect`'s playback direction. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("direction"), IsRequired = (true))] + [DataMember(Name = ("direction"), IsRequired = (true))] public string Direction { get; @@ -1061,7 +1063,7 @@ public string Direction /// /// `AnimationEffect`'s fill mode. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fill"), IsRequired = (true))] + [DataMember(Name = ("fill"), IsRequired = (true))] public string Fill { get; @@ -1071,7 +1073,7 @@ public string Fill /// /// `AnimationEffect`'s target node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int? BackendNodeId { get; @@ -1081,7 +1083,7 @@ public int? BackendNodeId /// /// `AnimationEffect`'s keyframes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyframesRule"), IsRequired = (false))] + [DataMember(Name = ("keyframesRule"), IsRequired = (false))] public CefSharp.DevTools.Animation.KeyframesRule KeyframesRule { get; @@ -1091,7 +1093,7 @@ public CefSharp.DevTools.Animation.KeyframesRule KeyframesRule /// /// `AnimationEffect`'s timing function. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("easing"), IsRequired = (true))] + [DataMember(Name = ("easing"), IsRequired = (true))] public string Easing { get; @@ -1108,7 +1110,7 @@ public partial class KeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CSS keyframed animation's name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public string Name { get; @@ -1118,7 +1120,7 @@ public string Name /// /// List of animation keyframes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyframes"), IsRequired = (true))] + [DataMember(Name = ("keyframes"), IsRequired = (true))] public System.Collections.Generic.IList Keyframes { get; @@ -1135,7 +1137,7 @@ public partial class KeyframeStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Keyframe's time offset. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offset"), IsRequired = (true))] + [DataMember(Name = ("offset"), IsRequired = (true))] public string Offset { get; @@ -1145,7 +1147,7 @@ public string Offset /// /// `AnimationEffect`'s timing function. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("easing"), IsRequired = (true))] + [DataMember(Name = ("easing"), IsRequired = (true))] public string Easing { get; @@ -1162,7 +1164,7 @@ public class AnimationCanceledEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the animation that was cancelled. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -1179,7 +1181,7 @@ public class AnimationCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Id of the animation that was created. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -1196,7 +1198,7 @@ public class AnimationStartedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Animation that was started. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("animation"), IsRequired = (true))] + [DataMember(Name = ("animation"), IsRequired = (true))] public CefSharp.DevTools.Animation.Animation Animation { get; @@ -1216,7 +1218,7 @@ public partial class AffectedCookie : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The following three properties uniquely identify a cookie /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -1226,7 +1228,7 @@ public string Name /// /// Path /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("path"), IsRequired = (true))] + [DataMember(Name = ("path"), IsRequired = (true))] public string Path { get; @@ -1236,7 +1238,7 @@ public string Path /// /// Domain /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domain"), IsRequired = (true))] + [DataMember(Name = ("domain"), IsRequired = (true))] public string Domain { get; @@ -1253,7 +1255,7 @@ public partial class AffectedRequest : CefSharp.DevTools.DevToolsDomainEntityBas /// /// The unique request id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -1263,7 +1265,7 @@ public string RequestId /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -1280,7 +1282,7 @@ public partial class AffectedFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// FrameId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -1296,42 +1298,42 @@ public enum CookieExclusionReason /// /// ExcludeSameSiteUnspecifiedTreatedAsLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSameSiteUnspecifiedTreatedAsLax"))] + [EnumMember(Value = ("ExcludeSameSiteUnspecifiedTreatedAsLax"))] ExcludeSameSiteUnspecifiedTreatedAsLax, /// /// ExcludeSameSiteNoneInsecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSameSiteNoneInsecure"))] + [EnumMember(Value = ("ExcludeSameSiteNoneInsecure"))] ExcludeSameSiteNoneInsecure, /// /// ExcludeSameSiteLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSameSiteLax"))] + [EnumMember(Value = ("ExcludeSameSiteLax"))] ExcludeSameSiteLax, /// /// ExcludeSameSiteStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSameSiteStrict"))] + [EnumMember(Value = ("ExcludeSameSiteStrict"))] ExcludeSameSiteStrict, /// /// ExcludeInvalidSameParty /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeInvalidSameParty"))] + [EnumMember(Value = ("ExcludeInvalidSameParty"))] ExcludeInvalidSameParty, /// /// ExcludeSamePartyCrossPartyContext /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSamePartyCrossPartyContext"))] + [EnumMember(Value = ("ExcludeSamePartyCrossPartyContext"))] ExcludeSamePartyCrossPartyContext, /// /// ExcludeDomainNonASCII /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeDomainNonASCII"))] + [EnumMember(Value = ("ExcludeDomainNonASCII"))] ExcludeDomainNonASCII, /// /// ExcludeThirdPartyCookieBlockedInFirstPartySet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeThirdPartyCookieBlockedInFirstPartySet"))] + [EnumMember(Value = ("ExcludeThirdPartyCookieBlockedInFirstPartySet"))] ExcludeThirdPartyCookieBlockedInFirstPartySet } @@ -1343,52 +1345,52 @@ public enum CookieWarningReason /// /// WarnSameSiteUnspecifiedCrossSiteContext /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteUnspecifiedCrossSiteContext"))] + [EnumMember(Value = ("WarnSameSiteUnspecifiedCrossSiteContext"))] WarnSameSiteUnspecifiedCrossSiteContext, /// /// WarnSameSiteNoneInsecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteNoneInsecure"))] + [EnumMember(Value = ("WarnSameSiteNoneInsecure"))] WarnSameSiteNoneInsecure, /// /// WarnSameSiteUnspecifiedLaxAllowUnsafe /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteUnspecifiedLaxAllowUnsafe"))] + [EnumMember(Value = ("WarnSameSiteUnspecifiedLaxAllowUnsafe"))] WarnSameSiteUnspecifiedLaxAllowUnsafe, /// /// WarnSameSiteStrictLaxDowngradeStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteStrictLaxDowngradeStrict"))] + [EnumMember(Value = ("WarnSameSiteStrictLaxDowngradeStrict"))] WarnSameSiteStrictLaxDowngradeStrict, /// /// WarnSameSiteStrictCrossDowngradeStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteStrictCrossDowngradeStrict"))] + [EnumMember(Value = ("WarnSameSiteStrictCrossDowngradeStrict"))] WarnSameSiteStrictCrossDowngradeStrict, /// /// WarnSameSiteStrictCrossDowngradeLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteStrictCrossDowngradeLax"))] + [EnumMember(Value = ("WarnSameSiteStrictCrossDowngradeLax"))] WarnSameSiteStrictCrossDowngradeLax, /// /// WarnSameSiteLaxCrossDowngradeStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteLaxCrossDowngradeStrict"))] + [EnumMember(Value = ("WarnSameSiteLaxCrossDowngradeStrict"))] WarnSameSiteLaxCrossDowngradeStrict, /// /// WarnSameSiteLaxCrossDowngradeLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnSameSiteLaxCrossDowngradeLax"))] + [EnumMember(Value = ("WarnSameSiteLaxCrossDowngradeLax"))] WarnSameSiteLaxCrossDowngradeLax, /// /// WarnAttributeValueExceedsMaxSize /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnAttributeValueExceedsMaxSize"))] + [EnumMember(Value = ("WarnAttributeValueExceedsMaxSize"))] WarnAttributeValueExceedsMaxSize, /// /// WarnDomainNonASCII /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnDomainNonASCII"))] + [EnumMember(Value = ("WarnDomainNonASCII"))] WarnDomainNonASCII } @@ -1400,12 +1402,12 @@ public enum CookieOperation /// /// SetCookie /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SetCookie"))] + [EnumMember(Value = ("SetCookie"))] SetCookie, /// /// ReadCookie /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ReadCookie"))] + [EnumMember(Value = ("ReadCookie"))] ReadCookie } @@ -1423,7 +1425,7 @@ public partial class CookieIssueDetails : CefSharp.DevTools.DevToolsDomainEntity /// cookie line is syntactically or semantically malformed in a way /// that no valid cookie could be created. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookie"), IsRequired = (false))] + [DataMember(Name = ("cookie"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedCookie Cookie { get; @@ -1433,7 +1435,7 @@ public CefSharp.DevTools.Audits.AffectedCookie Cookie /// /// RawCookieLine /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rawCookieLine"), IsRequired = (false))] + [DataMember(Name = ("rawCookieLine"), IsRequired = (false))] public string RawCookieLine { get; @@ -1459,7 +1461,7 @@ public CefSharp.DevTools.Audits.CookieWarningReason[] CookieWarningReasons /// /// CookieWarningReasons /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookieWarningReasons"), IsRequired = (true))] + [DataMember(Name = ("cookieWarningReasons"), IsRequired = (true))] internal string cookieWarningReasons { get; @@ -1485,7 +1487,7 @@ public CefSharp.DevTools.Audits.CookieExclusionReason[] CookieExclusionReasons /// /// CookieExclusionReasons /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookieExclusionReasons"), IsRequired = (true))] + [DataMember(Name = ("cookieExclusionReasons"), IsRequired = (true))] internal string cookieExclusionReasons { get; @@ -1513,7 +1515,7 @@ public CefSharp.DevTools.Audits.CookieOperation Operation /// Optionally identifies the site-for-cookies and the cookie url, which /// may be used by the front-end as additional context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("operation"), IsRequired = (true))] + [DataMember(Name = ("operation"), IsRequired = (true))] internal string operation { get; @@ -1523,7 +1525,7 @@ internal string operation /// /// SiteForCookies /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("siteForCookies"), IsRequired = (false))] + [DataMember(Name = ("siteForCookies"), IsRequired = (false))] public string SiteForCookies { get; @@ -1533,7 +1535,7 @@ public string SiteForCookies /// /// CookieUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookieUrl"), IsRequired = (false))] + [DataMember(Name = ("cookieUrl"), IsRequired = (false))] public string CookieUrl { get; @@ -1543,7 +1545,7 @@ public string CookieUrl /// /// Request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (false))] + [DataMember(Name = ("request"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -1559,17 +1561,17 @@ public enum MixedContentResolutionStatus /// /// MixedContentBlocked /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContentBlocked"))] + [EnumMember(Value = ("MixedContentBlocked"))] MixedContentBlocked, /// /// MixedContentAutomaticallyUpgraded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContentAutomaticallyUpgraded"))] + [EnumMember(Value = ("MixedContentAutomaticallyUpgraded"))] MixedContentAutomaticallyUpgraded, /// /// MixedContentWarning /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContentWarning"))] + [EnumMember(Value = ("MixedContentWarning"))] MixedContentWarning } @@ -1581,137 +1583,137 @@ public enum MixedContentResourceType /// /// AttributionSrc /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AttributionSrc"))] + [EnumMember(Value = ("AttributionSrc"))] AttributionSrc, /// /// Audio /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Audio"))] + [EnumMember(Value = ("Audio"))] Audio, /// /// Beacon /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Beacon"))] + [EnumMember(Value = ("Beacon"))] Beacon, /// /// CSPReport /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSPReport"))] + [EnumMember(Value = ("CSPReport"))] CSPReport, /// /// Download /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Download"))] + [EnumMember(Value = ("Download"))] Download, /// /// EventSource /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventSource"))] + [EnumMember(Value = ("EventSource"))] EventSource, /// /// Favicon /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Favicon"))] + [EnumMember(Value = ("Favicon"))] Favicon, /// /// Font /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Font"))] + [EnumMember(Value = ("Font"))] Font, /// /// Form /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Form"))] + [EnumMember(Value = ("Form"))] Form, /// /// Frame /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Frame"))] + [EnumMember(Value = ("Frame"))] Frame, /// /// Image /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Image"))] + [EnumMember(Value = ("Image"))] Image, /// /// Import /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Import"))] + [EnumMember(Value = ("Import"))] Import, /// /// Manifest /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Manifest"))] + [EnumMember(Value = ("Manifest"))] Manifest, /// /// Ping /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Ping"))] + [EnumMember(Value = ("Ping"))] Ping, /// /// PluginData /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PluginData"))] + [EnumMember(Value = ("PluginData"))] PluginData, /// /// PluginResource /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PluginResource"))] + [EnumMember(Value = ("PluginResource"))] PluginResource, /// /// Prefetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Prefetch"))] + [EnumMember(Value = ("Prefetch"))] Prefetch, /// /// Resource /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Resource"))] + [EnumMember(Value = ("Resource"))] Resource, /// /// Script /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Script"))] + [EnumMember(Value = ("Script"))] Script, /// /// ServiceWorker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorker"))] + [EnumMember(Value = ("ServiceWorker"))] ServiceWorker, /// /// SharedWorker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedWorker"))] + [EnumMember(Value = ("SharedWorker"))] SharedWorker, /// /// Stylesheet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Stylesheet"))] + [EnumMember(Value = ("Stylesheet"))] Stylesheet, /// /// Track /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Track"))] + [EnumMember(Value = ("Track"))] Track, /// /// Video /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Video"))] + [EnumMember(Value = ("Video"))] Video, /// /// Worker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Worker"))] + [EnumMember(Value = ("Worker"))] Worker, /// /// XMLHttpRequest /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XMLHttpRequest"))] + [EnumMember(Value = ("XMLHttpRequest"))] XMLHttpRequest, /// /// XSLT /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XSLT"))] + [EnumMember(Value = ("XSLT"))] XSLT } @@ -1746,7 +1748,7 @@ public CefSharp.DevTools.Audits.MixedContentResourceType? ResourceType /// blink::mojom::RequestContextType, which will be replaced /// by network::mojom::RequestDestination /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (false))] + [DataMember(Name = ("resourceType"), IsRequired = (false))] internal string resourceType { get; @@ -1772,7 +1774,7 @@ public CefSharp.DevTools.Audits.MixedContentResolutionStatus ResolutionStatus /// /// The way the mixed content issue is being resolved. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resolutionStatus"), IsRequired = (true))] + [DataMember(Name = ("resolutionStatus"), IsRequired = (true))] internal string resolutionStatus { get; @@ -1782,7 +1784,7 @@ internal string resolutionStatus /// /// The unsafe http url causing the mixed content issue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("insecureURL"), IsRequired = (true))] + [DataMember(Name = ("insecureURL"), IsRequired = (true))] public string InsecureURL { get; @@ -1792,7 +1794,7 @@ public string InsecureURL /// /// The url responsible for the call to an unsafe url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mainResourceURL"), IsRequired = (true))] + [DataMember(Name = ("mainResourceURL"), IsRequired = (true))] public string MainResourceURL { get; @@ -1803,7 +1805,7 @@ public string MainResourceURL /// The mixed content request. /// Does not always exist (e.g. for unsafe form submission urls). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (false))] + [DataMember(Name = ("request"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -1813,7 +1815,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// Optional because not every mixed content issue is necessarily linked to a frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (false))] + [DataMember(Name = ("frame"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedFrame Frame { get; @@ -1830,27 +1832,27 @@ public enum BlockedByResponseReason /// /// CoepFrameResourceNeedsCoepHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CoepFrameResourceNeedsCoepHeader"))] + [EnumMember(Value = ("CoepFrameResourceNeedsCoepHeader"))] CoepFrameResourceNeedsCoepHeader, /// /// CoopSandboxedIFrameCannotNavigateToCoopPage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CoopSandboxedIFrameCannotNavigateToCoopPage"))] + [EnumMember(Value = ("CoopSandboxedIFrameCannotNavigateToCoopPage"))] CoopSandboxedIFrameCannotNavigateToCoopPage, /// /// CorpNotSameOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorpNotSameOrigin"))] + [EnumMember(Value = ("CorpNotSameOrigin"))] CorpNotSameOrigin, /// /// CorpNotSameOriginAfterDefaultedToSameOriginByCoep /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorpNotSameOriginAfterDefaultedToSameOriginByCoep"))] + [EnumMember(Value = ("CorpNotSameOriginAfterDefaultedToSameOriginByCoep"))] CorpNotSameOriginAfterDefaultedToSameOriginByCoep, /// /// CorpNotSameSite /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorpNotSameSite"))] + [EnumMember(Value = ("CorpNotSameSite"))] CorpNotSameSite } @@ -1865,7 +1867,7 @@ public partial class BlockedByResponseIssueDetails : CefSharp.DevTools.DevToolsD /// /// Request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -1875,7 +1877,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// ParentFrame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentFrame"), IsRequired = (false))] + [DataMember(Name = ("parentFrame"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedFrame ParentFrame { get; @@ -1885,7 +1887,7 @@ public CefSharp.DevTools.Audits.AffectedFrame ParentFrame /// /// BlockedFrame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedFrame"), IsRequired = (false))] + [DataMember(Name = ("blockedFrame"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedFrame BlockedFrame { get; @@ -1911,7 +1913,7 @@ public CefSharp.DevTools.Audits.BlockedByResponseReason Reason /// /// Reason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -1927,12 +1929,12 @@ public enum HeavyAdResolutionStatus /// /// HeavyAdBlocked /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HeavyAdBlocked"))] + [EnumMember(Value = ("HeavyAdBlocked"))] HeavyAdBlocked, /// /// HeavyAdWarning /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HeavyAdWarning"))] + [EnumMember(Value = ("HeavyAdWarning"))] HeavyAdWarning } @@ -1944,17 +1946,17 @@ public enum HeavyAdReason /// /// NetworkTotalLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkTotalLimit"))] + [EnumMember(Value = ("NetworkTotalLimit"))] NetworkTotalLimit, /// /// CpuTotalLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CpuTotalLimit"))] + [EnumMember(Value = ("CpuTotalLimit"))] CpuTotalLimit, /// /// CpuPeakLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CpuPeakLimit"))] + [EnumMember(Value = ("CpuPeakLimit"))] CpuPeakLimit } @@ -1983,7 +1985,7 @@ public CefSharp.DevTools.Audits.HeavyAdResolutionStatus Resolution /// /// The resolution status, either blocking the content or warning. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resolution"), IsRequired = (true))] + [DataMember(Name = ("resolution"), IsRequired = (true))] internal string resolution { get; @@ -2009,7 +2011,7 @@ public CefSharp.DevTools.Audits.HeavyAdReason Reason /// /// The reason the ad was blocked, total network or cpu or peak cpu. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -2019,7 +2021,7 @@ internal string reason /// /// The frame that was blocked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (true))] + [DataMember(Name = ("frame"), IsRequired = (true))] public CefSharp.DevTools.Audits.AffectedFrame Frame { get; @@ -2035,32 +2037,32 @@ public enum ContentSecurityPolicyViolationType /// /// kInlineViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kInlineViolation"))] + [EnumMember(Value = ("kInlineViolation"))] KInlineViolation, /// /// kEvalViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kEvalViolation"))] + [EnumMember(Value = ("kEvalViolation"))] KEvalViolation, /// /// kURLViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kURLViolation"))] + [EnumMember(Value = ("kURLViolation"))] KURLViolation, /// /// kTrustedTypesSinkViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kTrustedTypesSinkViolation"))] + [EnumMember(Value = ("kTrustedTypesSinkViolation"))] KTrustedTypesSinkViolation, /// /// kTrustedTypesPolicyViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kTrustedTypesPolicyViolation"))] + [EnumMember(Value = ("kTrustedTypesPolicyViolation"))] KTrustedTypesPolicyViolation, /// /// kWasmEvalViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kWasmEvalViolation"))] + [EnumMember(Value = ("kWasmEvalViolation"))] KWasmEvalViolation } @@ -2073,7 +2075,7 @@ public partial class SourceCodeLocation : CefSharp.DevTools.DevToolsDomainEntity /// /// ScriptId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (false))] + [DataMember(Name = ("scriptId"), IsRequired = (false))] public string ScriptId { get; @@ -2083,7 +2085,7 @@ public string ScriptId /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -2093,7 +2095,7 @@ public string Url /// /// LineNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -2103,7 +2105,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -2120,7 +2122,7 @@ public partial class ContentSecurityPolicyIssueDetails : CefSharp.DevTools.DevTo /// /// The url not included in allowed sources. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedURL"), IsRequired = (false))] + [DataMember(Name = ("blockedURL"), IsRequired = (false))] public string BlockedURL { get; @@ -2130,7 +2132,7 @@ public string BlockedURL /// /// Specific directive that is violated, causing the CSP issue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatedDirective"), IsRequired = (true))] + [DataMember(Name = ("violatedDirective"), IsRequired = (true))] public string ViolatedDirective { get; @@ -2140,7 +2142,7 @@ public string ViolatedDirective /// /// IsReportOnly /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isReportOnly"), IsRequired = (true))] + [DataMember(Name = ("isReportOnly"), IsRequired = (true))] public bool IsReportOnly { get; @@ -2166,7 +2168,7 @@ public CefSharp.DevTools.Audits.ContentSecurityPolicyViolationType ContentSecuri /// /// ContentSecurityPolicyViolationType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentSecurityPolicyViolationType"), IsRequired = (true))] + [DataMember(Name = ("contentSecurityPolicyViolationType"), IsRequired = (true))] internal string contentSecurityPolicyViolationType { get; @@ -2176,7 +2178,7 @@ internal string contentSecurityPolicyViolationType /// /// FrameAncestor /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameAncestor"), IsRequired = (false))] + [DataMember(Name = ("frameAncestor"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedFrame FrameAncestor { get; @@ -2186,7 +2188,7 @@ public CefSharp.DevTools.Audits.AffectedFrame FrameAncestor /// /// SourceCodeLocation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (false))] + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (false))] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { get; @@ -2196,7 +2198,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation /// /// ViolatingNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeId"), IsRequired = (false))] + [DataMember(Name = ("violatingNodeId"), IsRequired = (false))] public int? ViolatingNodeId { get; @@ -2212,12 +2214,12 @@ public enum SharedArrayBufferIssueType /// /// TransferIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TransferIssue"))] + [EnumMember(Value = ("TransferIssue"))] TransferIssue, /// /// CreationIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CreationIssue"))] + [EnumMember(Value = ("CreationIssue"))] CreationIssue } @@ -2231,7 +2233,7 @@ public partial class SharedArrayBufferIssueDetails : CefSharp.DevTools.DevToolsD /// /// SourceCodeLocation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (true))] + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { get; @@ -2241,7 +2243,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation /// /// IsWarning /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isWarning"), IsRequired = (true))] + [DataMember(Name = ("isWarning"), IsRequired = (true))] public bool IsWarning { get; @@ -2267,7 +2269,7 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueType Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -2283,17 +2285,17 @@ public enum TwaQualityEnforcementViolationType /// /// kHttpError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kHttpError"))] + [EnumMember(Value = ("kHttpError"))] KHttpError, /// /// kUnavailableOffline /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kUnavailableOffline"))] + [EnumMember(Value = ("kUnavailableOffline"))] KUnavailableOffline, /// /// kDigitalAssetLinks /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("kDigitalAssetLinks"))] + [EnumMember(Value = ("kDigitalAssetLinks"))] KDigitalAssetLinks } @@ -2306,7 +2308,7 @@ public partial class TrustedWebActivityIssueDetails : CefSharp.DevTools.DevTools /// /// The url that triggers the violation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -2332,7 +2334,7 @@ public CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType ViolationType /// /// ViolationType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violationType"), IsRequired = (true))] + [DataMember(Name = ("violationType"), IsRequired = (true))] internal string violationType { get; @@ -2342,7 +2344,7 @@ internal string violationType /// /// HttpStatusCode /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("httpStatusCode"), IsRequired = (false))] + [DataMember(Name = ("httpStatusCode"), IsRequired = (false))] public int? HttpStatusCode { get; @@ -2353,7 +2355,7 @@ public int? HttpStatusCode /// The package name of the Trusted Web Activity client app. This field is /// only used when violation type is kDigitalAssetLinks. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("packageName"), IsRequired = (false))] + [DataMember(Name = ("packageName"), IsRequired = (false))] public string PackageName { get; @@ -2364,7 +2366,7 @@ public string PackageName /// The signature of the Trusted Web Activity client app. This field is only /// used when violation type is kDigitalAssetLinks. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signature"), IsRequired = (false))] + [DataMember(Name = ("signature"), IsRequired = (false))] public string Signature { get; @@ -2381,7 +2383,7 @@ public partial class LowTextContrastIssueDetails : CefSharp.DevTools.DevToolsDom /// /// ViolatingNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeId"), IsRequired = (true))] + [DataMember(Name = ("violatingNodeId"), IsRequired = (true))] public int ViolatingNodeId { get; @@ -2391,7 +2393,7 @@ public int ViolatingNodeId /// /// ViolatingNodeSelector /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeSelector"), IsRequired = (true))] + [DataMember(Name = ("violatingNodeSelector"), IsRequired = (true))] public string ViolatingNodeSelector { get; @@ -2401,7 +2403,7 @@ public string ViolatingNodeSelector /// /// ContrastRatio /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contrastRatio"), IsRequired = (true))] + [DataMember(Name = ("contrastRatio"), IsRequired = (true))] public double ContrastRatio { get; @@ -2411,7 +2413,7 @@ public double ContrastRatio /// /// ThresholdAA /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("thresholdAA"), IsRequired = (true))] + [DataMember(Name = ("thresholdAA"), IsRequired = (true))] public double ThresholdAA { get; @@ -2421,7 +2423,7 @@ public double ThresholdAA /// /// ThresholdAAA /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("thresholdAAA"), IsRequired = (true))] + [DataMember(Name = ("thresholdAAA"), IsRequired = (true))] public double ThresholdAAA { get; @@ -2431,7 +2433,7 @@ public double ThresholdAAA /// /// FontSize /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontSize"), IsRequired = (true))] + [DataMember(Name = ("fontSize"), IsRequired = (true))] public string FontSize { get; @@ -2441,7 +2443,7 @@ public string FontSize /// /// FontWeight /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontWeight"), IsRequired = (true))] + [DataMember(Name = ("fontWeight"), IsRequired = (true))] public string FontWeight { get; @@ -2459,7 +2461,7 @@ public partial class CorsIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBa /// /// CorsErrorStatus /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("corsErrorStatus"), IsRequired = (true))] + [DataMember(Name = ("corsErrorStatus"), IsRequired = (true))] public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus { get; @@ -2469,7 +2471,7 @@ public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus /// /// IsWarning /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isWarning"), IsRequired = (true))] + [DataMember(Name = ("isWarning"), IsRequired = (true))] public bool IsWarning { get; @@ -2479,7 +2481,7 @@ public bool IsWarning /// /// Request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -2489,7 +2491,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// Location /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (false))] + [DataMember(Name = ("location"), IsRequired = (false))] public CefSharp.DevTools.Audits.SourceCodeLocation Location { get; @@ -2499,7 +2501,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation Location /// /// InitiatorOrigin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiatorOrigin"), IsRequired = (false))] + [DataMember(Name = ("initiatorOrigin"), IsRequired = (false))] public string InitiatorOrigin { get; @@ -2525,7 +2527,7 @@ public CefSharp.DevTools.Network.IPAddressSpace? ResourceIPAddressSpace /// /// ResourceIPAddressSpace /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceIPAddressSpace"), IsRequired = (false))] + [DataMember(Name = ("resourceIPAddressSpace"), IsRequired = (false))] internal string resourceIPAddressSpace { get; @@ -2535,7 +2537,7 @@ internal string resourceIPAddressSpace /// /// ClientSecurityState /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientSecurityState"), IsRequired = (false))] + [DataMember(Name = ("clientSecurityState"), IsRequired = (false))] public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState { get; @@ -2551,57 +2553,57 @@ public enum AttributionReportingIssueType /// /// PermissionPolicyDisabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PermissionPolicyDisabled"))] + [EnumMember(Value = ("PermissionPolicyDisabled"))] PermissionPolicyDisabled, /// /// PermissionPolicyNotDelegated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PermissionPolicyNotDelegated"))] + [EnumMember(Value = ("PermissionPolicyNotDelegated"))] PermissionPolicyNotDelegated, /// /// UntrustworthyReportingOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UntrustworthyReportingOrigin"))] + [EnumMember(Value = ("UntrustworthyReportingOrigin"))] UntrustworthyReportingOrigin, /// /// InsecureContext /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecureContext"))] + [EnumMember(Value = ("InsecureContext"))] InsecureContext, /// /// InvalidHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidHeader"))] + [EnumMember(Value = ("InvalidHeader"))] InvalidHeader, /// /// InvalidRegisterTriggerHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidRegisterTriggerHeader"))] + [EnumMember(Value = ("InvalidRegisterTriggerHeader"))] InvalidRegisterTriggerHeader, /// /// InvalidEligibleHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidEligibleHeader"))] + [EnumMember(Value = ("InvalidEligibleHeader"))] InvalidEligibleHeader, /// /// TooManyConcurrentRequests /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TooManyConcurrentRequests"))] + [EnumMember(Value = ("TooManyConcurrentRequests"))] TooManyConcurrentRequests, /// /// SourceAndTriggerHeaders /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SourceAndTriggerHeaders"))] + [EnumMember(Value = ("SourceAndTriggerHeaders"))] SourceAndTriggerHeaders, /// /// SourceIgnored /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SourceIgnored"))] + [EnumMember(Value = ("SourceIgnored"))] SourceIgnored, /// /// TriggerIgnored /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerIgnored"))] + [EnumMember(Value = ("TriggerIgnored"))] TriggerIgnored } @@ -2631,7 +2633,7 @@ public CefSharp.DevTools.Audits.AttributionReportingIssueType ViolationType /// /// ViolationType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violationType"), IsRequired = (true))] + [DataMember(Name = ("violationType"), IsRequired = (true))] internal string violationType { get; @@ -2641,7 +2643,7 @@ internal string violationType /// /// Request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (false))] + [DataMember(Name = ("request"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -2651,7 +2653,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// ViolatingNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeId"), IsRequired = (false))] + [DataMember(Name = ("violatingNodeId"), IsRequired = (false))] public int? ViolatingNodeId { get; @@ -2661,7 +2663,7 @@ public int? ViolatingNodeId /// /// InvalidParameter /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("invalidParameter"), IsRequired = (false))] + [DataMember(Name = ("invalidParameter"), IsRequired = (false))] public string InvalidParameter { get; @@ -2680,7 +2682,7 @@ public partial class QuirksModeIssueDetails : CefSharp.DevTools.DevToolsDomainEn /// If false, it means the document's mode is "quirks" /// instead of "limited-quirks". /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isLimitedQuirksMode"), IsRequired = (true))] + [DataMember(Name = ("isLimitedQuirksMode"), IsRequired = (true))] public bool IsLimitedQuirksMode { get; @@ -2690,7 +2692,7 @@ public bool IsLimitedQuirksMode /// /// DocumentNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentNodeId"), IsRequired = (true))] + [DataMember(Name = ("documentNodeId"), IsRequired = (true))] public int DocumentNodeId { get; @@ -2700,7 +2702,7 @@ public int DocumentNodeId /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -2710,7 +2712,7 @@ public string Url /// /// FrameId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -2720,7 +2722,7 @@ public string FrameId /// /// LoaderId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -2737,7 +2739,7 @@ public partial class NavigatorUserAgentIssueDetails : CefSharp.DevTools.DevTools /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -2747,7 +2749,7 @@ public string Url /// /// Location /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (false))] + [DataMember(Name = ("location"), IsRequired = (false))] public CefSharp.DevTools.Audits.SourceCodeLocation Location { get; @@ -2763,33 +2765,58 @@ public enum GenericIssueErrorType /// /// CrossOriginPortalPostMessageError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginPortalPostMessageError"))] + [EnumMember(Value = ("CrossOriginPortalPostMessageError"))] CrossOriginPortalPostMessageError, /// /// FormLabelForNameError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormLabelForNameError"))] + [EnumMember(Value = ("FormLabelForNameError"))] FormLabelForNameError, /// /// FormDuplicateIdForInputError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormDuplicateIdForInputError"))] + [EnumMember(Value = ("FormDuplicateIdForInputError"))] FormDuplicateIdForInputError, /// /// FormInputWithNoLabelError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormInputWithNoLabelError"))] + [EnumMember(Value = ("FormInputWithNoLabelError"))] FormInputWithNoLabelError, /// /// FormAutocompleteAttributeEmptyError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormAutocompleteAttributeEmptyError"))] + [EnumMember(Value = ("FormAutocompleteAttributeEmptyError"))] FormAutocompleteAttributeEmptyError, /// /// FormEmptyIdAndNameAttributesForInputError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormEmptyIdAndNameAttributesForInputError"))] - FormEmptyIdAndNameAttributesForInputError + [EnumMember(Value = ("FormEmptyIdAndNameAttributesForInputError"))] + FormEmptyIdAndNameAttributesForInputError, + /// + /// FormAriaLabelledByToNonExistingId + /// + [EnumMember(Value = ("FormAriaLabelledByToNonExistingId"))] + FormAriaLabelledByToNonExistingId, + /// + /// FormInputAssignedAutocompleteValueToIdOrNameAttributeError + /// + [EnumMember(Value = ("FormInputAssignedAutocompleteValueToIdOrNameAttributeError"))] + FormInputAssignedAutocompleteValueToIdOrNameAttributeError, + /// + /// FormLabelHasNeitherForNorNestedInput + /// + [EnumMember(Value = ("FormLabelHasNeitherForNorNestedInput"))] + FormLabelHasNeitherForNorNestedInput, + /// + /// FormLabelForMatchesNonExistingIdError + /// + [EnumMember(Value = ("FormLabelForMatchesNonExistingIdError"))] + FormLabelForMatchesNonExistingIdError, + /// + /// FormHasPasswordFieldWithoutUsernameFieldError + /// + [EnumMember(Value = ("FormHasPasswordFieldWithoutUsernameFieldError"))] + FormHasPasswordFieldWithoutUsernameFieldError } /// @@ -2817,7 +2844,7 @@ public CefSharp.DevTools.Audits.GenericIssueErrorType ErrorType /// /// Issues with the same errorType are aggregated in the frontend. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorType"), IsRequired = (true))] + [DataMember(Name = ("errorType"), IsRequired = (true))] internal string errorType { get; @@ -2827,7 +2854,7 @@ internal string errorType /// /// FrameId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -2837,7 +2864,7 @@ public string FrameId /// /// ViolatingNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeId"), IsRequired = (false))] + [DataMember(Name = ("violatingNodeId"), IsRequired = (false))] public int? ViolatingNodeId { get; @@ -2845,298 +2872,6 @@ public int? ViolatingNodeId } } - /// - /// DeprecationIssueType - /// - public enum DeprecationIssueType - { - /// - /// AuthorizationCoveredByWildcard - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AuthorizationCoveredByWildcard"))] - AuthorizationCoveredByWildcard, - /// - /// CanRequestURLHTTPContainingNewline - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CanRequestURLHTTPContainingNewline"))] - CanRequestURLHTTPContainingNewline, - /// - /// ChromeLoadTimesConnectionInfo - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesConnectionInfo"))] - ChromeLoadTimesConnectionInfo, - /// - /// ChromeLoadTimesFirstPaintAfterLoadTime - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesFirstPaintAfterLoadTime"))] - ChromeLoadTimesFirstPaintAfterLoadTime, - /// - /// ChromeLoadTimesWasAlternateProtocolAvailable - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesWasAlternateProtocolAvailable"))] - ChromeLoadTimesWasAlternateProtocolAvailable, - /// - /// CookieWithTruncatingChar - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CookieWithTruncatingChar"))] - CookieWithTruncatingChar, - /// - /// CrossOriginAccessBasedOnDocumentDomain - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginAccessBasedOnDocumentDomain"))] - CrossOriginAccessBasedOnDocumentDomain, - /// - /// CrossOriginWindowAlert - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginWindowAlert"))] - CrossOriginWindowAlert, - /// - /// CrossOriginWindowConfirm - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginWindowConfirm"))] - CrossOriginWindowConfirm, - /// - /// CSSSelectorInternalMediaControlsOverlayCastButton - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSSSelectorInternalMediaControlsOverlayCastButton"))] - CSSSelectorInternalMediaControlsOverlayCastButton, - /// - /// DeprecationExample - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DeprecationExample"))] - DeprecationExample, - /// - /// DocumentDomainSettingWithoutOriginAgentClusterHeader - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DocumentDomainSettingWithoutOriginAgentClusterHeader"))] - DocumentDomainSettingWithoutOriginAgentClusterHeader, - /// - /// EventPath - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventPath"))] - EventPath, - /// - /// ExpectCTHeader - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExpectCTHeader"))] - ExpectCTHeader, - /// - /// GeolocationInsecureOrigin - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GeolocationInsecureOrigin"))] - GeolocationInsecureOrigin, - /// - /// GeolocationInsecureOriginDeprecatedNotRemoved - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GeolocationInsecureOriginDeprecatedNotRemoved"))] - GeolocationInsecureOriginDeprecatedNotRemoved, - /// - /// GetUserMediaInsecureOrigin - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GetUserMediaInsecureOrigin"))] - GetUserMediaInsecureOrigin, - /// - /// HostCandidateAttributeGetter - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HostCandidateAttributeGetter"))] - HostCandidateAttributeGetter, - /// - /// IdentityInCanMakePaymentEvent - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdentityInCanMakePaymentEvent"))] - IdentityInCanMakePaymentEvent, - /// - /// InsecurePrivateNetworkSubresourceRequest - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecurePrivateNetworkSubresourceRequest"))] - InsecurePrivateNetworkSubresourceRequest, - /// - /// LocalCSSFileExtensionRejected - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LocalCSSFileExtensionRejected"))] - LocalCSSFileExtensionRejected, - /// - /// MediaSourceAbortRemove - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceAbortRemove"))] - MediaSourceAbortRemove, - /// - /// MediaSourceDurationTruncatingBuffered - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceDurationTruncatingBuffered"))] - MediaSourceDurationTruncatingBuffered, - /// - /// NoSysexWebMIDIWithoutPermission - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoSysexWebMIDIWithoutPermission"))] - NoSysexWebMIDIWithoutPermission, - /// - /// NotificationInsecureOrigin - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotificationInsecureOrigin"))] - NotificationInsecureOrigin, - /// - /// NotificationPermissionRequestedIframe - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotificationPermissionRequestedIframe"))] - NotificationPermissionRequestedIframe, - /// - /// ObsoleteCreateImageBitmapImageOrientationNone - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ObsoleteCreateImageBitmapImageOrientationNone"))] - ObsoleteCreateImageBitmapImageOrientationNone, - /// - /// ObsoleteWebRtcCipherSuite - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ObsoleteWebRtcCipherSuite"))] - ObsoleteWebRtcCipherSuite, - /// - /// OpenWebDatabaseInsecureContext - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OpenWebDatabaseInsecureContext"))] - OpenWebDatabaseInsecureContext, - /// - /// OverflowVisibleOnReplacedElement - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OverflowVisibleOnReplacedElement"))] - OverflowVisibleOnReplacedElement, - /// - /// PaymentInstruments - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentInstruments"))] - PaymentInstruments, - /// - /// PaymentRequestCSPViolation - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentRequestCSPViolation"))] - PaymentRequestCSPViolation, - /// - /// PersistentQuotaType - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PersistentQuotaType"))] - PersistentQuotaType, - /// - /// PictureSourceSrc - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PictureSourceSrc"))] - PictureSourceSrc, - /// - /// PrefixedCancelAnimationFrame - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedCancelAnimationFrame"))] - PrefixedCancelAnimationFrame, - /// - /// PrefixedRequestAnimationFrame - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedRequestAnimationFrame"))] - PrefixedRequestAnimationFrame, - /// - /// PrefixedStorageInfo - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedStorageInfo"))] - PrefixedStorageInfo, - /// - /// PrefixedVideoDisplayingFullscreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoDisplayingFullscreen"))] - PrefixedVideoDisplayingFullscreen, - /// - /// PrefixedVideoEnterFullscreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoEnterFullscreen"))] - PrefixedVideoEnterFullscreen, - /// - /// PrefixedVideoEnterFullScreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoEnterFullScreen"))] - PrefixedVideoEnterFullScreen, - /// - /// PrefixedVideoExitFullscreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoExitFullscreen"))] - PrefixedVideoExitFullscreen, - /// - /// PrefixedVideoExitFullScreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoExitFullScreen"))] - PrefixedVideoExitFullScreen, - /// - /// PrefixedVideoSupportsFullscreen - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoSupportsFullscreen"))] - PrefixedVideoSupportsFullscreen, - /// - /// PrivacySandboxExtensionsAPI - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrivacySandboxExtensionsAPI"))] - PrivacySandboxExtensionsAPI, - /// - /// RangeExpand - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RangeExpand"))] - RangeExpand, - /// - /// RequestedSubresourceWithEmbeddedCredentials - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedSubresourceWithEmbeddedCredentials"))] - RequestedSubresourceWithEmbeddedCredentials, - /// - /// RTCConstraintEnableDtlsSrtpFalse - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCConstraintEnableDtlsSrtpFalse"))] - RTCConstraintEnableDtlsSrtpFalse, - /// - /// RTCConstraintEnableDtlsSrtpTrue - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCConstraintEnableDtlsSrtpTrue"))] - RTCConstraintEnableDtlsSrtpTrue, - /// - /// RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics"))] - RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics, - /// - /// RTCPeerConnectionSdpSemanticsPlanB - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCPeerConnectionSdpSemanticsPlanB"))] - RTCPeerConnectionSdpSemanticsPlanB, - /// - /// RtcpMuxPolicyNegotiate - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RtcpMuxPolicyNegotiate"))] - RtcpMuxPolicyNegotiate, - /// - /// SharedArrayBufferConstructedWithoutIsolation - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedArrayBufferConstructedWithoutIsolation"))] - SharedArrayBufferConstructedWithoutIsolation, - /// - /// TextToSpeech_DisallowedByAutoplay - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TextToSpeech_DisallowedByAutoplay"))] - TextToSpeechDisallowedByAutoplay, - /// - /// V8SharedArrayBufferConstructedInExtensionWithoutIsolation - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("V8SharedArrayBufferConstructedInExtensionWithoutIsolation"))] - V8SharedArrayBufferConstructedInExtensionWithoutIsolation, - /// - /// XHRJSONEncodingDetection - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XHRJSONEncodingDetection"))] - XHRJSONEncodingDetection, - /// - /// XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload"))] - XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload, - /// - /// XRSupportsSession - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XRSupportsSession"))] - XRSupportsSession - } - /// /// This issue tracks information needed to print a deprecation message. /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md @@ -3147,7 +2882,7 @@ public partial class DeprecationIssueDetails : CefSharp.DevTools.DevToolsDomainE /// /// AffectedFrame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("affectedFrame"), IsRequired = (false))] + [DataMember(Name = ("affectedFrame"), IsRequired = (false))] public CefSharp.DevTools.Audits.AffectedFrame AffectedFrame { get; @@ -3157,7 +2892,7 @@ public CefSharp.DevTools.Audits.AffectedFrame AffectedFrame /// /// SourceCodeLocation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (true))] + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { get; @@ -3165,26 +2900,10 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation } /// - /// Type + /// One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5 /// - public CefSharp.DevTools.Audits.DeprecationIssueType Type - { - get - { - return (CefSharp.DevTools.Audits.DeprecationIssueType)(StringToEnum(typeof(CefSharp.DevTools.Audits.DeprecationIssueType), type)); - } - - set - { - this.type = (EnumToString(value)); - } - } - - /// - /// Type - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] - internal string type + [DataMember(Name = ("type"), IsRequired = (true))] + public string Type { get; set; @@ -3199,12 +2918,12 @@ public enum ClientHintIssueReason /// /// MetaTagAllowListInvalidOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MetaTagAllowListInvalidOrigin"))] + [EnumMember(Value = ("MetaTagAllowListInvalidOrigin"))] MetaTagAllowListInvalidOrigin, /// /// MetaTagModifiedHTML /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MetaTagModifiedHTML"))] + [EnumMember(Value = ("MetaTagModifiedHTML"))] MetaTagModifiedHTML } @@ -3233,7 +2952,7 @@ public CefSharp.DevTools.Audits.FederatedAuthRequestIssueReason FederatedAuthReq /// /// FederatedAuthRequestIssueReason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("federatedAuthRequestIssueReason"), IsRequired = (true))] + [DataMember(Name = ("federatedAuthRequestIssueReason"), IsRequired = (true))] internal string federatedAuthRequestIssueReason { get; @@ -3252,142 +2971,142 @@ public enum FederatedAuthRequestIssueReason /// /// ShouldEmbargo /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ShouldEmbargo"))] + [EnumMember(Value = ("ShouldEmbargo"))] ShouldEmbargo, /// /// TooManyRequests /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TooManyRequests"))] + [EnumMember(Value = ("TooManyRequests"))] TooManyRequests, /// /// WellKnownHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownHttpNotFound"))] + [EnumMember(Value = ("WellKnownHttpNotFound"))] WellKnownHttpNotFound, /// /// WellKnownNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownNoResponse"))] + [EnumMember(Value = ("WellKnownNoResponse"))] WellKnownNoResponse, /// /// WellKnownInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownInvalidResponse"))] + [EnumMember(Value = ("WellKnownInvalidResponse"))] WellKnownInvalidResponse, /// /// WellKnownListEmpty /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownListEmpty"))] + [EnumMember(Value = ("WellKnownListEmpty"))] WellKnownListEmpty, /// /// ConfigNotInWellKnown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigNotInWellKnown"))] + [EnumMember(Value = ("ConfigNotInWellKnown"))] ConfigNotInWellKnown, /// /// WellKnownTooBig /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownTooBig"))] + [EnumMember(Value = ("WellKnownTooBig"))] WellKnownTooBig, /// /// ConfigHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigHttpNotFound"))] + [EnumMember(Value = ("ConfigHttpNotFound"))] ConfigHttpNotFound, /// /// ConfigNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigNoResponse"))] + [EnumMember(Value = ("ConfigNoResponse"))] ConfigNoResponse, /// /// ConfigInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigInvalidResponse"))] + [EnumMember(Value = ("ConfigInvalidResponse"))] ConfigInvalidResponse, /// /// ClientMetadataHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientMetadataHttpNotFound"))] + [EnumMember(Value = ("ClientMetadataHttpNotFound"))] ClientMetadataHttpNotFound, /// /// ClientMetadataNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientMetadataNoResponse"))] + [EnumMember(Value = ("ClientMetadataNoResponse"))] ClientMetadataNoResponse, /// /// ClientMetadataInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientMetadataInvalidResponse"))] + [EnumMember(Value = ("ClientMetadataInvalidResponse"))] ClientMetadataInvalidResponse, /// /// DisabledInSettings /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DisabledInSettings"))] + [EnumMember(Value = ("DisabledInSettings"))] DisabledInSettings, /// /// ErrorFetchingSignin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ErrorFetchingSignin"))] + [EnumMember(Value = ("ErrorFetchingSignin"))] ErrorFetchingSignin, /// /// InvalidSigninResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSigninResponse"))] + [EnumMember(Value = ("InvalidSigninResponse"))] InvalidSigninResponse, /// /// AccountsHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsHttpNotFound"))] + [EnumMember(Value = ("AccountsHttpNotFound"))] AccountsHttpNotFound, /// /// AccountsNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsNoResponse"))] + [EnumMember(Value = ("AccountsNoResponse"))] AccountsNoResponse, /// /// AccountsInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsInvalidResponse"))] + [EnumMember(Value = ("AccountsInvalidResponse"))] AccountsInvalidResponse, /// /// AccountsListEmpty /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccountsListEmpty"))] + [EnumMember(Value = ("AccountsListEmpty"))] AccountsListEmpty, /// /// IdTokenHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdTokenHttpNotFound"))] + [EnumMember(Value = ("IdTokenHttpNotFound"))] IdTokenHttpNotFound, /// /// IdTokenNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdTokenNoResponse"))] + [EnumMember(Value = ("IdTokenNoResponse"))] IdTokenNoResponse, /// /// IdTokenInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdTokenInvalidResponse"))] + [EnumMember(Value = ("IdTokenInvalidResponse"))] IdTokenInvalidResponse, /// /// IdTokenInvalidRequest /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdTokenInvalidRequest"))] + [EnumMember(Value = ("IdTokenInvalidRequest"))] IdTokenInvalidRequest, /// /// ErrorIdToken /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ErrorIdToken"))] + [EnumMember(Value = ("ErrorIdToken"))] ErrorIdToken, /// /// Canceled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Canceled"))] + [EnumMember(Value = ("Canceled"))] Canceled, /// /// RpPageNotVisible /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RpPageNotVisible"))] + [EnumMember(Value = ("RpPageNotVisible"))] RpPageNotVisible } @@ -3401,7 +3120,7 @@ public partial class ClientHintIssueDetails : CefSharp.DevTools.DevToolsDomainEn /// /// SourceCodeLocation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (true))] + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { get; @@ -3427,7 +3146,7 @@ public CefSharp.DevTools.Audits.ClientHintIssueReason ClientHintIssueReason /// /// ClientHintIssueReason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHintIssueReason"), IsRequired = (true))] + [DataMember(Name = ("clientHintIssueReason"), IsRequired = (true))] internal string clientHintIssueReason { get; @@ -3445,82 +3164,82 @@ public enum InspectorIssueCode /// /// CookieIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CookieIssue"))] + [EnumMember(Value = ("CookieIssue"))] CookieIssue, /// /// MixedContentIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContentIssue"))] + [EnumMember(Value = ("MixedContentIssue"))] MixedContentIssue, /// /// BlockedByResponseIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockedByResponseIssue"))] + [EnumMember(Value = ("BlockedByResponseIssue"))] BlockedByResponseIssue, /// /// HeavyAdIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HeavyAdIssue"))] + [EnumMember(Value = ("HeavyAdIssue"))] HeavyAdIssue, /// /// ContentSecurityPolicyIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentSecurityPolicyIssue"))] + [EnumMember(Value = ("ContentSecurityPolicyIssue"))] ContentSecurityPolicyIssue, /// /// SharedArrayBufferIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedArrayBufferIssue"))] + [EnumMember(Value = ("SharedArrayBufferIssue"))] SharedArrayBufferIssue, /// /// TrustedWebActivityIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TrustedWebActivityIssue"))] + [EnumMember(Value = ("TrustedWebActivityIssue"))] TrustedWebActivityIssue, /// /// LowTextContrastIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LowTextContrastIssue"))] + [EnumMember(Value = ("LowTextContrastIssue"))] LowTextContrastIssue, /// /// CorsIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorsIssue"))] + [EnumMember(Value = ("CorsIssue"))] CorsIssue, /// /// AttributionReportingIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AttributionReportingIssue"))] + [EnumMember(Value = ("AttributionReportingIssue"))] AttributionReportingIssue, /// /// QuirksModeIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("QuirksModeIssue"))] + [EnumMember(Value = ("QuirksModeIssue"))] QuirksModeIssue, /// /// NavigatorUserAgentIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigatorUserAgentIssue"))] + [EnumMember(Value = ("NavigatorUserAgentIssue"))] NavigatorUserAgentIssue, /// /// GenericIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GenericIssue"))] + [EnumMember(Value = ("GenericIssue"))] GenericIssue, /// /// DeprecationIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DeprecationIssue"))] + [EnumMember(Value = ("DeprecationIssue"))] DeprecationIssue, /// /// ClientHintIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientHintIssue"))] + [EnumMember(Value = ("ClientHintIssue"))] ClientHintIssue, /// /// FederatedAuthRequestIssue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FederatedAuthRequestIssue"))] + [EnumMember(Value = ("FederatedAuthRequestIssue"))] FederatedAuthRequestIssue } @@ -3535,7 +3254,7 @@ public partial class InspectorIssueDetails : CefSharp.DevTools.DevToolsDomainEnt /// /// CookieIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookieIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("cookieIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.CookieIssueDetails CookieIssueDetails { get; @@ -3545,7 +3264,7 @@ public CefSharp.DevTools.Audits.CookieIssueDetails CookieIssueDetails /// /// MixedContentIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mixedContentIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("mixedContentIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.MixedContentIssueDetails MixedContentIssueDetails { get; @@ -3555,7 +3274,7 @@ public CefSharp.DevTools.Audits.MixedContentIssueDetails MixedContentIssueDetail /// /// BlockedByResponseIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedByResponseIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("blockedByResponseIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.BlockedByResponseIssueDetails BlockedByResponseIssueDetails { get; @@ -3565,7 +3284,7 @@ public CefSharp.DevTools.Audits.BlockedByResponseIssueDetails BlockedByResponseI /// /// HeavyAdIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("heavyAdIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("heavyAdIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.HeavyAdIssueDetails HeavyAdIssueDetails { get; @@ -3575,7 +3294,7 @@ public CefSharp.DevTools.Audits.HeavyAdIssueDetails HeavyAdIssueDetails /// /// ContentSecurityPolicyIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentSecurityPolicyIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("contentSecurityPolicyIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.ContentSecurityPolicyIssueDetails ContentSecurityPolicyIssueDetails { get; @@ -3585,7 +3304,7 @@ public CefSharp.DevTools.Audits.ContentSecurityPolicyIssueDetails ContentSecurit /// /// SharedArrayBufferIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sharedArrayBufferIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("sharedArrayBufferIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferIssueDetails { get; @@ -3595,7 +3314,7 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferI /// /// TwaQualityEnforcementDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("twaQualityEnforcementDetails"), IsRequired = (false))] + [DataMember(Name = ("twaQualityEnforcementDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforcementDetails { get; @@ -3605,7 +3324,7 @@ public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforce /// /// LowTextContrastIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lowTextContrastIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("lowTextContrastIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.LowTextContrastIssueDetails LowTextContrastIssueDetails { get; @@ -3615,7 +3334,7 @@ public CefSharp.DevTools.Audits.LowTextContrastIssueDetails LowTextContrastIssue /// /// CorsIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("corsIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("corsIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.CorsIssueDetails CorsIssueDetails { get; @@ -3625,7 +3344,7 @@ public CefSharp.DevTools.Audits.CorsIssueDetails CorsIssueDetails /// /// AttributionReportingIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("attributionReportingIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("attributionReportingIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.AttributionReportingIssueDetails AttributionReportingIssueDetails { get; @@ -3635,7 +3354,7 @@ public CefSharp.DevTools.Audits.AttributionReportingIssueDetails AttributionRepo /// /// QuirksModeIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("quirksModeIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("quirksModeIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.QuirksModeIssueDetails QuirksModeIssueDetails { get; @@ -3645,7 +3364,7 @@ public CefSharp.DevTools.Audits.QuirksModeIssueDetails QuirksModeIssueDetails /// /// NavigatorUserAgentIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("navigatorUserAgentIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("navigatorUserAgentIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.NavigatorUserAgentIssueDetails NavigatorUserAgentIssueDetails { get; @@ -3655,7 +3374,7 @@ public CefSharp.DevTools.Audits.NavigatorUserAgentIssueDetails NavigatorUserAgen /// /// GenericIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("genericIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("genericIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails { get; @@ -3665,7 +3384,7 @@ public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails /// /// DeprecationIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deprecationIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("deprecationIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails { get; @@ -3675,7 +3394,7 @@ public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails /// /// ClientHintIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHintIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("clientHintIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails { get; @@ -3685,7 +3404,7 @@ public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails /// /// FederatedAuthRequestIssueDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("federatedAuthRequestIssueDetails"), IsRequired = (false))] + [DataMember(Name = ("federatedAuthRequestIssueDetails"), IsRequired = (false))] public CefSharp.DevTools.Audits.FederatedAuthRequestIssueDetails FederatedAuthRequestIssueDetails { get; @@ -3718,7 +3437,7 @@ public CefSharp.DevTools.Audits.InspectorIssueCode Code /// /// Code /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("code"), IsRequired = (true))] + [DataMember(Name = ("code"), IsRequired = (true))] internal string code { get; @@ -3728,7 +3447,7 @@ internal string code /// /// Details /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("details"), IsRequired = (true))] + [DataMember(Name = ("details"), IsRequired = (true))] public CefSharp.DevTools.Audits.InspectorIssueDetails Details { get; @@ -3739,7 +3458,7 @@ public CefSharp.DevTools.Audits.InspectorIssueDetails Details /// A unique id for this issue. May be omitted if no other entity (e.g. /// exception, CDP message, etc.) is referencing this issue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issueId"), IsRequired = (false))] + [DataMember(Name = ("issueId"), IsRequired = (false))] public string IssueId { get; @@ -3756,7 +3475,7 @@ public class IssueAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Issue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issue"), IsRequired = (true))] + [DataMember(Name = ("issue"), IsRequired = (true))] public CefSharp.DevTools.Audits.InspectorIssue Issue { get; @@ -3777,32 +3496,32 @@ public enum ServiceName /// /// backgroundFetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("backgroundFetch"))] + [EnumMember(Value = ("backgroundFetch"))] BackgroundFetch, /// /// backgroundSync /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("backgroundSync"))] + [EnumMember(Value = ("backgroundSync"))] BackgroundSync, /// /// pushMessaging /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("pushMessaging"))] + [EnumMember(Value = ("pushMessaging"))] PushMessaging, /// /// notifications /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("notifications"))] + [EnumMember(Value = ("notifications"))] Notifications, /// /// paymentHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("paymentHandler"))] + [EnumMember(Value = ("paymentHandler"))] PaymentHandler, /// /// periodicBackgroundSync /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("periodicBackgroundSync"))] + [EnumMember(Value = ("periodicBackgroundSync"))] PeriodicBackgroundSync } @@ -3815,7 +3534,7 @@ public partial class EventMetadata : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public string Key { get; @@ -3825,7 +3544,7 @@ public string Key /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -3842,7 +3561,7 @@ public partial class BackgroundServiceEvent : CefSharp.DevTools.DevToolsDomainEn /// /// Timestamp of the event (in seconds). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -3852,7 +3571,7 @@ public double Timestamp /// /// The origin this event belongs to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -3862,7 +3581,7 @@ public string Origin /// /// The Service Worker ID that initiated the event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("serviceWorkerRegistrationId"), IsRequired = (true))] + [DataMember(Name = ("serviceWorkerRegistrationId"), IsRequired = (true))] public string ServiceWorkerRegistrationId { get; @@ -3888,7 +3607,7 @@ public CefSharp.DevTools.BackgroundService.ServiceName Service /// /// The Background Service this event belongs to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("service"), IsRequired = (true))] + [DataMember(Name = ("service"), IsRequired = (true))] internal string service { get; @@ -3898,7 +3617,7 @@ internal string service /// /// A description of the event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventName"), IsRequired = (true))] + [DataMember(Name = ("eventName"), IsRequired = (true))] public string EventName { get; @@ -3908,7 +3627,7 @@ public string EventName /// /// An identifier that groups related events together. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("instanceId"), IsRequired = (true))] + [DataMember(Name = ("instanceId"), IsRequired = (true))] public string InstanceId { get; @@ -3918,7 +3637,7 @@ public string InstanceId /// /// A list of event-specific information. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventMetadata"), IsRequired = (true))] + [DataMember(Name = ("eventMetadata"), IsRequired = (true))] public System.Collections.Generic.IList EventMetadata { get; @@ -3928,7 +3647,7 @@ public System.Collections.Generic.IList /// Storage key this event belongs to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -3945,7 +3664,7 @@ public class RecordingStateChangedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// IsRecording /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isRecording"), IsRequired = (true))] + [DataMember(Name = ("isRecording"), IsRequired = (true))] public bool IsRecording { get; @@ -3971,7 +3690,7 @@ public CefSharp.DevTools.BackgroundService.ServiceName Service /// /// Service /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("service"), IsRequired = (true))] + [DataMember(Name = ("service"), IsRequired = (true))] internal string service { get; @@ -3989,7 +3708,7 @@ public class BackgroundServiceEventReceivedEventArgs : CefSharp.DevTools.DevTool /// /// BackgroundServiceEvent /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backgroundServiceEvent"), IsRequired = (true))] + [DataMember(Name = ("backgroundServiceEvent"), IsRequired = (true))] public CefSharp.DevTools.BackgroundService.BackgroundServiceEvent BackgroundServiceEvent { get; @@ -4008,22 +3727,22 @@ public enum WindowState /// /// normal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("normal"))] + [EnumMember(Value = ("normal"))] Normal, /// /// minimized /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("minimized"))] + [EnumMember(Value = ("minimized"))] Minimized, /// /// maximized /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("maximized"))] + [EnumMember(Value = ("maximized"))] Maximized, /// /// fullscreen /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("fullscreen"))] + [EnumMember(Value = ("fullscreen"))] Fullscreen } @@ -4036,7 +3755,7 @@ public partial class Bounds : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The offset from the left edge of the screen to the window in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("left"), IsRequired = (false))] + [DataMember(Name = ("left"), IsRequired = (false))] public int? Left { get; @@ -4046,7 +3765,7 @@ public int? Left /// /// The offset from the top edge of the screen to the window in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("top"), IsRequired = (false))] + [DataMember(Name = ("top"), IsRequired = (false))] public int? Top { get; @@ -4056,7 +3775,7 @@ public int? Top /// /// The window width in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (false))] + [DataMember(Name = ("width"), IsRequired = (false))] public int? Width { get; @@ -4066,7 +3785,7 @@ public int? Width /// /// The window height in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (false))] + [DataMember(Name = ("height"), IsRequired = (false))] public int? Height { get; @@ -4092,7 +3811,7 @@ public CefSharp.DevTools.Browser.WindowState? WindowState /// /// The window state. Default to normal. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("windowState"), IsRequired = (false))] + [DataMember(Name = ("windowState"), IsRequired = (false))] internal string windowState { get; @@ -4108,137 +3827,137 @@ public enum PermissionType /// /// accessibilityEvents /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("accessibilityEvents"))] + [EnumMember(Value = ("accessibilityEvents"))] AccessibilityEvents, /// /// audioCapture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("audioCapture"))] + [EnumMember(Value = ("audioCapture"))] AudioCapture, /// /// backgroundSync /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("backgroundSync"))] + [EnumMember(Value = ("backgroundSync"))] BackgroundSync, /// /// backgroundFetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("backgroundFetch"))] + [EnumMember(Value = ("backgroundFetch"))] BackgroundFetch, /// /// clipboardReadWrite /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clipboardReadWrite"))] + [EnumMember(Value = ("clipboardReadWrite"))] ClipboardReadWrite, /// /// clipboardSanitizedWrite /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clipboardSanitizedWrite"))] + [EnumMember(Value = ("clipboardSanitizedWrite"))] ClipboardSanitizedWrite, /// /// displayCapture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("displayCapture"))] + [EnumMember(Value = ("displayCapture"))] DisplayCapture, /// /// durableStorage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("durableStorage"))] + [EnumMember(Value = ("durableStorage"))] DurableStorage, /// /// flash /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("flash"))] + [EnumMember(Value = ("flash"))] Flash, /// /// geolocation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("geolocation"))] + [EnumMember(Value = ("geolocation"))] Geolocation, /// /// idleDetection /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("idleDetection"))] + [EnumMember(Value = ("idleDetection"))] IdleDetection, /// /// localFonts /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("localFonts"))] + [EnumMember(Value = ("localFonts"))] LocalFonts, /// /// midi /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("midi"))] + [EnumMember(Value = ("midi"))] Midi, /// /// midiSysex /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("midiSysex"))] + [EnumMember(Value = ("midiSysex"))] MidiSysex, /// /// nfc /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("nfc"))] + [EnumMember(Value = ("nfc"))] Nfc, /// /// notifications /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("notifications"))] + [EnumMember(Value = ("notifications"))] Notifications, /// /// paymentHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("paymentHandler"))] + [EnumMember(Value = ("paymentHandler"))] PaymentHandler, /// /// periodicBackgroundSync /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("periodicBackgroundSync"))] + [EnumMember(Value = ("periodicBackgroundSync"))] PeriodicBackgroundSync, /// /// protectedMediaIdentifier /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("protectedMediaIdentifier"))] + [EnumMember(Value = ("protectedMediaIdentifier"))] ProtectedMediaIdentifier, /// /// sensors /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("sensors"))] + [EnumMember(Value = ("sensors"))] Sensors, /// /// storageAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("storageAccess"))] + [EnumMember(Value = ("storageAccess"))] StorageAccess, /// /// topLevelStorageAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("topLevelStorageAccess"))] + [EnumMember(Value = ("topLevelStorageAccess"))] TopLevelStorageAccess, /// /// videoCapture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("videoCapture"))] + [EnumMember(Value = ("videoCapture"))] VideoCapture, /// /// videoCapturePanTiltZoom /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("videoCapturePanTiltZoom"))] + [EnumMember(Value = ("videoCapturePanTiltZoom"))] VideoCapturePanTiltZoom, /// /// wakeLockScreen /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wakeLockScreen"))] + [EnumMember(Value = ("wakeLockScreen"))] WakeLockScreen, /// /// wakeLockSystem /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wakeLockSystem"))] + [EnumMember(Value = ("wakeLockSystem"))] WakeLockSystem, /// /// windowManagement /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("windowManagement"))] + [EnumMember(Value = ("windowManagement"))] WindowManagement } @@ -4250,17 +3969,17 @@ public enum PermissionSetting /// /// granted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("granted"))] + [EnumMember(Value = ("granted"))] Granted, /// /// denied /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("denied"))] + [EnumMember(Value = ("denied"))] Denied, /// /// prompt /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("prompt"))] + [EnumMember(Value = ("prompt"))] Prompt } @@ -4275,7 +3994,7 @@ public partial class PermissionDescriptor : CefSharp.DevTools.DevToolsDomainEnti /// Name of permission. /// See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -4285,7 +4004,7 @@ public string Name /// /// For "midi" permission, may also specify sysex control. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sysex"), IsRequired = (false))] + [DataMember(Name = ("sysex"), IsRequired = (false))] public bool? Sysex { get; @@ -4296,7 +4015,7 @@ public bool? Sysex /// For "push" permission, may specify userVisibleOnly. /// Note that userVisibleOnly = true is the only currently supported type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userVisibleOnly"), IsRequired = (false))] + [DataMember(Name = ("userVisibleOnly"), IsRequired = (false))] public bool? UserVisibleOnly { get; @@ -4306,7 +4025,7 @@ public bool? UserVisibleOnly /// /// For "clipboard" permission, may specify allowWithoutSanitization. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("allowWithoutSanitization"), IsRequired = (false))] + [DataMember(Name = ("allowWithoutSanitization"), IsRequired = (false))] public bool? AllowWithoutSanitization { get; @@ -4316,7 +4035,7 @@ public bool? AllowWithoutSanitization /// /// For "camera" permission, may specify panTiltZoom. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("panTiltZoom"), IsRequired = (false))] + [DataMember(Name = ("panTiltZoom"), IsRequired = (false))] public bool? PanTiltZoom { get; @@ -4332,12 +4051,12 @@ public enum BrowserCommandId /// /// openTabSearch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("openTabSearch"))] + [EnumMember(Value = ("openTabSearch"))] OpenTabSearch, /// /// closeTabSearch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("closeTabSearch"))] + [EnumMember(Value = ("closeTabSearch"))] CloseTabSearch } @@ -4350,7 +4069,7 @@ public partial class Bucket : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Minimum value (inclusive). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("low"), IsRequired = (true))] + [DataMember(Name = ("low"), IsRequired = (true))] public int Low { get; @@ -4360,7 +4079,7 @@ public int Low /// /// Maximum value (exclusive). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("high"), IsRequired = (true))] + [DataMember(Name = ("high"), IsRequired = (true))] public int High { get; @@ -4370,7 +4089,7 @@ public int High /// /// Number of samples. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("count"), IsRequired = (true))] + [DataMember(Name = ("count"), IsRequired = (true))] public int Count { get; @@ -4387,7 +4106,7 @@ public partial class Histogram : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -4397,7 +4116,7 @@ public string Name /// /// Sum of sample values. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sum"), IsRequired = (true))] + [DataMember(Name = ("sum"), IsRequired = (true))] public int Sum { get; @@ -4407,7 +4126,7 @@ public int Sum /// /// Total number of samples. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("count"), IsRequired = (true))] + [DataMember(Name = ("count"), IsRequired = (true))] public int Count { get; @@ -4417,7 +4136,7 @@ public int Count /// /// Buckets. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("buckets"), IsRequired = (true))] + [DataMember(Name = ("buckets"), IsRequired = (true))] public System.Collections.Generic.IList Buckets { get; @@ -4434,7 +4153,7 @@ public class DownloadWillBeginEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame that caused the download to begin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -4444,7 +4163,7 @@ public string FrameId /// /// Global unique identifier of the download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("guid"), IsRequired = (true))] + [DataMember(Name = ("guid"), IsRequired = (true))] public string Guid { get; @@ -4454,7 +4173,7 @@ public string Guid /// /// URL of the resource being downloaded. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -4464,7 +4183,7 @@ public string Url /// /// Suggested file name of the resource (the actual name of the file saved on disk may differ). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("suggestedFilename"), IsRequired = (true))] + [DataMember(Name = ("suggestedFilename"), IsRequired = (true))] public string SuggestedFilename { get; @@ -4480,17 +4199,17 @@ public enum DownloadProgressState /// /// inProgress /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("inProgress"))] + [EnumMember(Value = ("inProgress"))] InProgress, /// /// completed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("completed"))] + [EnumMember(Value = ("completed"))] Completed, /// /// canceled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("canceled"))] + [EnumMember(Value = ("canceled"))] Canceled } @@ -4503,7 +4222,7 @@ public class DownloadProgressEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Global unique identifier of the download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("guid"), IsRequired = (true))] + [DataMember(Name = ("guid"), IsRequired = (true))] public string Guid { get; @@ -4513,7 +4232,7 @@ public string Guid /// /// Total expected bytes to download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("totalBytes"), IsRequired = (true))] + [DataMember(Name = ("totalBytes"), IsRequired = (true))] public double TotalBytes { get; @@ -4523,7 +4242,7 @@ public double TotalBytes /// /// Total bytes received. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("receivedBytes"), IsRequired = (true))] + [DataMember(Name = ("receivedBytes"), IsRequired = (true))] public double ReceivedBytes { get; @@ -4549,7 +4268,7 @@ public CefSharp.DevTools.Browser.DownloadProgressState State /// /// Download status. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("state"), IsRequired = (true))] + [DataMember(Name = ("state"), IsRequired = (true))] internal string state { get; @@ -4570,22 +4289,22 @@ public enum StyleSheetOrigin /// /// injected /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("injected"))] + [EnumMember(Value = ("injected"))] Injected, /// /// user-agent /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("user-agent"))] + [EnumMember(Value = ("user-agent"))] UserAgent, /// /// inspector /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("inspector"))] + [EnumMember(Value = ("inspector"))] Inspector, /// /// regular /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("regular"))] + [EnumMember(Value = ("regular"))] Regular } @@ -4614,7 +4333,7 @@ public CefSharp.DevTools.DOM.PseudoType PseudoType /// /// Pseudo element type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoType"), IsRequired = (true))] + [DataMember(Name = ("pseudoType"), IsRequired = (true))] internal string pseudoType { get; @@ -4624,7 +4343,7 @@ internal string pseudoType /// /// Pseudo element custom ident. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoIdentifier"), IsRequired = (false))] + [DataMember(Name = ("pseudoIdentifier"), IsRequired = (false))] public string PseudoIdentifier { get; @@ -4634,7 +4353,7 @@ public string PseudoIdentifier /// /// Matches of CSS rules applicable to the pseudo style. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("matches"), IsRequired = (true))] + [DataMember(Name = ("matches"), IsRequired = (true))] public System.Collections.Generic.IList Matches { get; @@ -4651,7 +4370,7 @@ public partial class InheritedStyleEntry : CefSharp.DevTools.DevToolsDomainEntit /// /// The ancestor node's inline style, if any, in the style inheritance chain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inlineStyle"), IsRequired = (false))] + [DataMember(Name = ("inlineStyle"), IsRequired = (false))] public CefSharp.DevTools.CSS.CSSStyle InlineStyle { get; @@ -4661,7 +4380,7 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle /// /// Matches of CSS rules matching the ancestor node in the style inheritance chain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("matchedCSSRules"), IsRequired = (true))] + [DataMember(Name = ("matchedCSSRules"), IsRequired = (true))] public System.Collections.Generic.IList MatchedCSSRules { get; @@ -4678,7 +4397,7 @@ public partial class InheritedPseudoElementMatches : CefSharp.DevTools.DevToolsD /// /// Matches of pseudo styles from the pseudos of an ancestor node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoElements"), IsRequired = (true))] + [DataMember(Name = ("pseudoElements"), IsRequired = (true))] public System.Collections.Generic.IList PseudoElements { get; @@ -4695,7 +4414,7 @@ public partial class RuleMatch : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CSS rule in the match. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rule"), IsRequired = (true))] + [DataMember(Name = ("rule"), IsRequired = (true))] public CefSharp.DevTools.CSS.CSSRule Rule { get; @@ -4705,7 +4424,7 @@ public CefSharp.DevTools.CSS.CSSRule Rule /// /// Matching selector indices in the rule's selectorList selectors (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("matchingSelectors"), IsRequired = (true))] + [DataMember(Name = ("matchingSelectors"), IsRequired = (true))] public int[] MatchingSelectors { get; @@ -4722,7 +4441,7 @@ public partial class Value : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Value text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -4732,7 +4451,7 @@ public string Text /// /// Value range in the underlying resource (if available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -4749,7 +4468,7 @@ public partial class SelectorList : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Selectors in the list. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("selectors"), IsRequired = (true))] + [DataMember(Name = ("selectors"), IsRequired = (true))] public System.Collections.Generic.IList Selectors { get; @@ -4759,7 +4478,7 @@ public System.Collections.Generic.IList Selectors /// /// Rule selector text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -4776,7 +4495,7 @@ public partial class CSSStyleSheetHeader : CefSharp.DevTools.DevToolsDomainEntit /// /// The stylesheet identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (true))] + [DataMember(Name = ("styleSheetId"), IsRequired = (true))] public string StyleSheetId { get; @@ -4786,7 +4505,7 @@ public string StyleSheetId /// /// Owner frame identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -4798,7 +4517,7 @@ public string FrameId /// new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported /// as a CSS module script). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceURL"), IsRequired = (true))] + [DataMember(Name = ("sourceURL"), IsRequired = (true))] public string SourceURL { get; @@ -4808,7 +4527,7 @@ public string SourceURL /// /// URL of source map associated with the stylesheet (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceMapURL"), IsRequired = (false))] + [DataMember(Name = ("sourceMapURL"), IsRequired = (false))] public string SourceMapURL { get; @@ -4834,7 +4553,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Stylesheet origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] internal string origin { get; @@ -4844,7 +4563,7 @@ internal string origin /// /// Stylesheet title. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public string Title { get; @@ -4854,7 +4573,7 @@ public string Title /// /// The backend id for the owner node of the stylesheet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerNode"), IsRequired = (false))] + [DataMember(Name = ("ownerNode"), IsRequired = (false))] public int? OwnerNode { get; @@ -4864,7 +4583,7 @@ public int? OwnerNode /// /// Denotes whether the stylesheet is disabled. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("disabled"), IsRequired = (true))] + [DataMember(Name = ("disabled"), IsRequired = (true))] public bool Disabled { get; @@ -4874,7 +4593,7 @@ public bool Disabled /// /// Whether the sourceURL field value comes from the sourceURL comment. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasSourceURL"), IsRequired = (false))] + [DataMember(Name = ("hasSourceURL"), IsRequired = (false))] public bool? HasSourceURL { get; @@ -4885,7 +4604,7 @@ public bool? HasSourceURL /// Whether this stylesheet is created for STYLE tag by parser. This flag is not set for /// document.written STYLE tags. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isInline"), IsRequired = (true))] + [DataMember(Name = ("isInline"), IsRequired = (true))] public bool IsInline { get; @@ -4898,7 +4617,7 @@ public bool IsInline /// <link> element's stylesheets become mutable only if DevTools modifies them. /// Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isMutable"), IsRequired = (true))] + [DataMember(Name = ("isMutable"), IsRequired = (true))] public bool IsMutable { get; @@ -4909,7 +4628,7 @@ public bool IsMutable /// True if this stylesheet is created through new CSSStyleSheet() or imported as a /// CSS module script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isConstructed"), IsRequired = (true))] + [DataMember(Name = ("isConstructed"), IsRequired = (true))] public bool IsConstructed { get; @@ -4919,7 +4638,7 @@ public bool IsConstructed /// /// Line offset of the stylesheet within the resource (zero based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startLine"), IsRequired = (true))] + [DataMember(Name = ("startLine"), IsRequired = (true))] public double StartLine { get; @@ -4929,7 +4648,7 @@ public double StartLine /// /// Column offset of the stylesheet within the resource (zero based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startColumn"), IsRequired = (true))] + [DataMember(Name = ("startColumn"), IsRequired = (true))] public double StartColumn { get; @@ -4939,7 +4658,7 @@ public double StartColumn /// /// Size of the content (in characters). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("length"), IsRequired = (true))] + [DataMember(Name = ("length"), IsRequired = (true))] public double Length { get; @@ -4949,7 +4668,7 @@ public double Length /// /// Line offset of the end of the stylesheet within the resource (zero based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endLine"), IsRequired = (true))] + [DataMember(Name = ("endLine"), IsRequired = (true))] public double EndLine { get; @@ -4959,7 +4678,7 @@ public double EndLine /// /// Column offset of the end of the stylesheet within the resource (zero based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endColumn"), IsRequired = (true))] + [DataMember(Name = ("endColumn"), IsRequired = (true))] public double EndColumn { get; @@ -4977,7 +4696,7 @@ public partial class CSSRule : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -4987,7 +4706,7 @@ public string StyleSheetId /// /// Rule selector data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("selectorList"), IsRequired = (true))] + [DataMember(Name = ("selectorList"), IsRequired = (true))] public CefSharp.DevTools.CSS.SelectorList SelectorList { get; @@ -5013,7 +4732,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Parent stylesheet's origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] internal string origin { get; @@ -5023,7 +4742,7 @@ internal string origin /// /// Associated style declaration. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("style"), IsRequired = (true))] + [DataMember(Name = ("style"), IsRequired = (true))] public CefSharp.DevTools.CSS.CSSStyle Style { get; @@ -5034,7 +4753,7 @@ public CefSharp.DevTools.CSS.CSSStyle Style /// Media list array (for rules involving media queries). The array enumerates media queries /// starting with the innermost one, going outwards. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("media"), IsRequired = (false))] + [DataMember(Name = ("media"), IsRequired = (false))] public System.Collections.Generic.IList Media { get; @@ -5045,7 +4764,7 @@ public System.Collections.Generic.IList Media /// Container query list array (for rules involving container queries). /// The array enumerates container queries starting with the innermost one, going outwards. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueries"), IsRequired = (false))] + [DataMember(Name = ("containerQueries"), IsRequired = (false))] public System.Collections.Generic.IList ContainerQueries { get; @@ -5056,7 +4775,7 @@ public System.Collections.Generic.IList /// @supports CSS at-rule array. /// The array enumerates @supports at-rules starting with the innermost one, going outwards. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("supports"), IsRequired = (false))] + [DataMember(Name = ("supports"), IsRequired = (false))] public System.Collections.Generic.IList Supports { get; @@ -5067,7 +4786,7 @@ public System.Collections.Generic.IList Suppo /// Cascade layer array. Contains the layer hierarchy that this rule belongs to starting /// with the innermost layer and going outwards. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layers"), IsRequired = (false))] + [DataMember(Name = ("layers"), IsRequired = (false))] public System.Collections.Generic.IList Layers { get; @@ -5078,7 +4797,7 @@ public System.Collections.Generic.IList Layers /// @scope CSS at-rule array. /// The array enumerates @scope at-rules starting with the innermost one, going outwards. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scopes"), IsRequired = (false))] + [DataMember(Name = ("scopes"), IsRequired = (false))] public System.Collections.Generic.IList Scopes { get; @@ -5096,7 +4815,7 @@ public partial class RuleUsage : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (true))] + [DataMember(Name = ("styleSheetId"), IsRequired = (true))] public string StyleSheetId { get; @@ -5106,7 +4825,7 @@ public string StyleSheetId /// /// Offset of the start of the rule (including selector) from the beginning of the stylesheet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startOffset"), IsRequired = (true))] + [DataMember(Name = ("startOffset"), IsRequired = (true))] public double StartOffset { get; @@ -5116,7 +4835,7 @@ public double StartOffset /// /// Offset of the end of the rule body from the beginning of the stylesheet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endOffset"), IsRequired = (true))] + [DataMember(Name = ("endOffset"), IsRequired = (true))] public double EndOffset { get; @@ -5126,7 +4845,7 @@ public double EndOffset /// /// Indicates whether the rule was actually used by some element in the page. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("used"), IsRequired = (true))] + [DataMember(Name = ("used"), IsRequired = (true))] public bool Used { get; @@ -5143,7 +4862,7 @@ public partial class SourceRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Start line of range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startLine"), IsRequired = (true))] + [DataMember(Name = ("startLine"), IsRequired = (true))] public int StartLine { get; @@ -5153,7 +4872,7 @@ public int StartLine /// /// Start column of range (inclusive). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startColumn"), IsRequired = (true))] + [DataMember(Name = ("startColumn"), IsRequired = (true))] public int StartColumn { get; @@ -5163,7 +4882,7 @@ public int StartColumn /// /// End line of range /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endLine"), IsRequired = (true))] + [DataMember(Name = ("endLine"), IsRequired = (true))] public int EndLine { get; @@ -5173,7 +4892,7 @@ public int EndLine /// /// End column of range (exclusive). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endColumn"), IsRequired = (true))] + [DataMember(Name = ("endColumn"), IsRequired = (true))] public int EndColumn { get; @@ -5190,7 +4909,7 @@ public partial class ShorthandEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Shorthand name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -5200,7 +4919,7 @@ public string Name /// /// Shorthand value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -5210,7 +4929,7 @@ public string Value /// /// Whether the property has "!important" annotation (implies `false` if absent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("important"), IsRequired = (false))] + [DataMember(Name = ("important"), IsRequired = (false))] public bool? Important { get; @@ -5227,7 +4946,7 @@ public partial class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomain /// /// Computed style property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -5237,7 +4956,7 @@ public string Name /// /// Computed style property value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -5255,7 +4974,7 @@ public partial class CSSStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5265,7 +4984,7 @@ public string StyleSheetId /// /// CSS properties in the style. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssProperties"), IsRequired = (true))] + [DataMember(Name = ("cssProperties"), IsRequired = (true))] public System.Collections.Generic.IList CssProperties { get; @@ -5275,7 +4994,7 @@ public System.Collections.Generic.IList CssPr /// /// Computed values for all shorthands found in the style. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shorthandEntries"), IsRequired = (true))] + [DataMember(Name = ("shorthandEntries"), IsRequired = (true))] public System.Collections.Generic.IList ShorthandEntries { get; @@ -5285,7 +5004,7 @@ public System.Collections.Generic.IList Sh /// /// Style declaration text (if available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssText"), IsRequired = (false))] + [DataMember(Name = ("cssText"), IsRequired = (false))] public string CssText { get; @@ -5295,7 +5014,7 @@ public string CssText /// /// Style declaration range in the enclosing stylesheet (if available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5312,7 +5031,7 @@ public partial class CSSProperty : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -5322,7 +5041,7 @@ public string Name /// /// The property value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -5332,7 +5051,7 @@ public string Value /// /// Whether the property has "!important" annotation (implies `false` if absent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("important"), IsRequired = (false))] + [DataMember(Name = ("important"), IsRequired = (false))] public bool? Important { get; @@ -5342,7 +5061,7 @@ public bool? Important /// /// Whether the property is implicit (implies `false` if absent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("implicit"), IsRequired = (false))] + [DataMember(Name = ("implicit"), IsRequired = (false))] public bool? Implicit { get; @@ -5352,7 +5071,7 @@ public bool? Implicit /// /// The full property text as specified in the style. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (false))] + [DataMember(Name = ("text"), IsRequired = (false))] public string Text { get; @@ -5362,7 +5081,7 @@ public string Text /// /// Whether the property is understood by the browser (implies `true` if absent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parsedOk"), IsRequired = (false))] + [DataMember(Name = ("parsedOk"), IsRequired = (false))] public bool? ParsedOk { get; @@ -5372,7 +5091,7 @@ public bool? ParsedOk /// /// Whether the property is disabled by the user (present for source-based properties only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("disabled"), IsRequired = (false))] + [DataMember(Name = ("disabled"), IsRequired = (false))] public bool? Disabled { get; @@ -5382,7 +5101,7 @@ public bool? Disabled /// /// The entire property range in the enclosing style declaration (if available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5393,7 +5112,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// Parsed longhand components of this property if it is a shorthand. /// This field will be empty if the given property is not a shorthand. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("longhandProperties"), IsRequired = (false))] + [DataMember(Name = ("longhandProperties"), IsRequired = (false))] public System.Collections.Generic.IList LonghandProperties { get; @@ -5412,22 +5131,22 @@ public enum CSSMediaSource /// /// mediaRule /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mediaRule"))] + [EnumMember(Value = ("mediaRule"))] MediaRule, /// /// importRule /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("importRule"))] + [EnumMember(Value = ("importRule"))] ImportRule, /// /// linkedSheet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("linkedSheet"))] + [EnumMember(Value = ("linkedSheet"))] LinkedSheet, /// /// inlineSheet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("inlineSheet"))] + [EnumMember(Value = ("inlineSheet"))] InlineSheet } @@ -5440,7 +5159,7 @@ public partial class CSSMedia : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Media query text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -5472,7 +5191,7 @@ public CefSharp.DevTools.CSS.CSSMediaSource Source /// stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline /// stylesheet's STYLE tag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("source"), IsRequired = (true))] + [DataMember(Name = ("source"), IsRequired = (true))] internal string source { get; @@ -5482,7 +5201,7 @@ internal string source /// /// URL of the document containing the media query description. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceURL"), IsRequired = (false))] + [DataMember(Name = ("sourceURL"), IsRequired = (false))] public string SourceURL { get; @@ -5493,7 +5212,7 @@ public string SourceURL /// The associated rule (@media or @import) header range in the enclosing stylesheet (if /// available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5503,7 +5222,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5513,7 +5232,7 @@ public string StyleSheetId /// /// Array of media queries. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mediaList"), IsRequired = (false))] + [DataMember(Name = ("mediaList"), IsRequired = (false))] public System.Collections.Generic.IList MediaList { get; @@ -5530,7 +5249,7 @@ public partial class MediaQuery : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Array of media query expressions. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expressions"), IsRequired = (true))] + [DataMember(Name = ("expressions"), IsRequired = (true))] public System.Collections.Generic.IList Expressions { get; @@ -5540,7 +5259,7 @@ public System.Collections.Generic.IList /// Whether the media query condition is satisfied. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("active"), IsRequired = (true))] + [DataMember(Name = ("active"), IsRequired = (true))] public bool Active { get; @@ -5557,7 +5276,7 @@ public partial class MediaQueryExpression : CefSharp.DevTools.DevToolsDomainEnti /// /// Media query expression value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public double Value { get; @@ -5567,7 +5286,7 @@ public double Value /// /// Media query expression units. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unit"), IsRequired = (true))] + [DataMember(Name = ("unit"), IsRequired = (true))] public string Unit { get; @@ -5577,7 +5296,7 @@ public string Unit /// /// Media query expression feature. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("feature"), IsRequired = (true))] + [DataMember(Name = ("feature"), IsRequired = (true))] public string Feature { get; @@ -5587,7 +5306,7 @@ public string Feature /// /// The associated range of the value text in the enclosing stylesheet (if available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("valueRange"), IsRequired = (false))] + [DataMember(Name = ("valueRange"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange ValueRange { get; @@ -5597,7 +5316,7 @@ public CefSharp.DevTools.CSS.SourceRange ValueRange /// /// Computed length of media query expression (if applicable). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("computedLength"), IsRequired = (false))] + [DataMember(Name = ("computedLength"), IsRequired = (false))] public double? ComputedLength { get; @@ -5614,7 +5333,7 @@ public partial class CSSContainerQuery : CefSharp.DevTools.DevToolsDomainEntityB /// /// Container query text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -5625,7 +5344,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5635,7 +5354,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5645,7 +5364,7 @@ public string StyleSheetId /// /// Optional name for the container. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public string Name { get; @@ -5671,7 +5390,7 @@ public CefSharp.DevTools.DOM.PhysicalAxes? PhysicalAxes /// /// Optional physical axes queried for the container. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("physicalAxes"), IsRequired = (false))] + [DataMember(Name = ("physicalAxes"), IsRequired = (false))] internal string physicalAxes { get; @@ -5697,7 +5416,7 @@ public CefSharp.DevTools.DOM.LogicalAxes? LogicalAxes /// /// Optional logical axes queried for the container. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("logicalAxes"), IsRequired = (false))] + [DataMember(Name = ("logicalAxes"), IsRequired = (false))] internal string logicalAxes { get; @@ -5714,7 +5433,7 @@ public partial class CSSSupports : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Supports rule text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -5724,7 +5443,7 @@ public string Text /// /// Whether the supports condition is satisfied. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("active"), IsRequired = (true))] + [DataMember(Name = ("active"), IsRequired = (true))] public bool Active { get; @@ -5735,7 +5454,7 @@ public bool Active /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5745,7 +5464,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5762,7 +5481,7 @@ public partial class CSSScope : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Scope rule text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -5773,7 +5492,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5783,7 +5502,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5800,7 +5519,7 @@ public partial class CSSLayer : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Layer name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -5811,7 +5530,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] + [DataMember(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5821,7 +5540,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -5838,7 +5557,7 @@ public partial class CSSLayerData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Layer name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -5848,7 +5567,7 @@ public string Name /// /// Direct sub-layers /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subLayers"), IsRequired = (false))] + [DataMember(Name = ("subLayers"), IsRequired = (false))] public System.Collections.Generic.IList SubLayers { get; @@ -5859,7 +5578,7 @@ public System.Collections.Generic.IList SubL /// Layer order. The order determines the order of the layer in the cascade order. /// A higher number has higher priority in the cascade order. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("order"), IsRequired = (true))] + [DataMember(Name = ("order"), IsRequired = (true))] public double Order { get; @@ -5876,7 +5595,7 @@ public partial class PlatformFontUsage : CefSharp.DevTools.DevToolsDomainEntityB /// /// Font's family name reported by platform. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("familyName"), IsRequired = (true))] + [DataMember(Name = ("familyName"), IsRequired = (true))] public string FamilyName { get; @@ -5886,7 +5605,7 @@ public string FamilyName /// /// Indicates if the font was downloaded or resolved locally. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isCustomFont"), IsRequired = (true))] + [DataMember(Name = ("isCustomFont"), IsRequired = (true))] public bool IsCustomFont { get; @@ -5896,7 +5615,7 @@ public bool IsCustomFont /// /// Amount of glyphs that were rendered with this font. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("glyphCount"), IsRequired = (true))] + [DataMember(Name = ("glyphCount"), IsRequired = (true))] public double GlyphCount { get; @@ -5913,7 +5632,7 @@ public partial class FontVariationAxis : CefSharp.DevTools.DevToolsDomainEntityB /// /// The font-variation-setting tag (a.k.a. "axis tag"). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("tag"), IsRequired = (true))] + [DataMember(Name = ("tag"), IsRequired = (true))] public string Tag { get; @@ -5923,7 +5642,7 @@ public string Tag /// /// Human-readable variation name in the default language (normally, "en"). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -5933,7 +5652,7 @@ public string Name /// /// The minimum value (inclusive) the font supports for this tag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("minValue"), IsRequired = (true))] + [DataMember(Name = ("minValue"), IsRequired = (true))] public double MinValue { get; @@ -5943,7 +5662,7 @@ public double MinValue /// /// The maximum value (inclusive) the font supports for this tag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxValue"), IsRequired = (true))] + [DataMember(Name = ("maxValue"), IsRequired = (true))] public double MaxValue { get; @@ -5953,7 +5672,7 @@ public double MaxValue /// /// The default value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("defaultValue"), IsRequired = (true))] + [DataMember(Name = ("defaultValue"), IsRequired = (true))] public double DefaultValue { get; @@ -5971,7 +5690,7 @@ public partial class FontFace : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontFamily"), IsRequired = (true))] + [DataMember(Name = ("fontFamily"), IsRequired = (true))] public string FontFamily { get; @@ -5981,7 +5700,7 @@ public string FontFamily /// /// The font-style. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontStyle"), IsRequired = (true))] + [DataMember(Name = ("fontStyle"), IsRequired = (true))] public string FontStyle { get; @@ -5991,7 +5710,7 @@ public string FontStyle /// /// The font-variant. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontVariant"), IsRequired = (true))] + [DataMember(Name = ("fontVariant"), IsRequired = (true))] public string FontVariant { get; @@ -6001,7 +5720,7 @@ public string FontVariant /// /// The font-weight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontWeight"), IsRequired = (true))] + [DataMember(Name = ("fontWeight"), IsRequired = (true))] public string FontWeight { get; @@ -6011,7 +5730,7 @@ public string FontWeight /// /// The font-stretch. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontStretch"), IsRequired = (true))] + [DataMember(Name = ("fontStretch"), IsRequired = (true))] public string FontStretch { get; @@ -6021,7 +5740,7 @@ public string FontStretch /// /// The font-display. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontDisplay"), IsRequired = (true))] + [DataMember(Name = ("fontDisplay"), IsRequired = (true))] public string FontDisplay { get; @@ -6031,7 +5750,7 @@ public string FontDisplay /// /// The unicode-range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unicodeRange"), IsRequired = (true))] + [DataMember(Name = ("unicodeRange"), IsRequired = (true))] public string UnicodeRange { get; @@ -6041,7 +5760,7 @@ public string UnicodeRange /// /// The src. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("src"), IsRequired = (true))] + [DataMember(Name = ("src"), IsRequired = (true))] public string Src { get; @@ -6051,7 +5770,7 @@ public string Src /// /// The resolved platform font family /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("platformFontFamily"), IsRequired = (true))] + [DataMember(Name = ("platformFontFamily"), IsRequired = (true))] public string PlatformFontFamily { get; @@ -6061,7 +5780,7 @@ public string PlatformFontFamily /// /// Available variation settings (a.k.a. "axes"). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontVariationAxes"), IsRequired = (false))] + [DataMember(Name = ("fontVariationAxes"), IsRequired = (false))] public System.Collections.Generic.IList FontVariationAxes { get; @@ -6078,7 +5797,7 @@ public partial class CSSKeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Animation name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("animationName"), IsRequired = (true))] + [DataMember(Name = ("animationName"), IsRequired = (true))] public CefSharp.DevTools.CSS.Value AnimationName { get; @@ -6088,7 +5807,7 @@ public CefSharp.DevTools.CSS.Value AnimationName /// /// List of keyframes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyframes"), IsRequired = (true))] + [DataMember(Name = ("keyframes"), IsRequired = (true))] public System.Collections.Generic.IList Keyframes { get; @@ -6106,7 +5825,7 @@ public partial class CSSKeyframeRule : CefSharp.DevTools.DevToolsDomainEntityBas /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; @@ -6132,7 +5851,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Parent stylesheet's origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] internal string origin { get; @@ -6142,7 +5861,7 @@ internal string origin /// /// Associated key text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyText"), IsRequired = (true))] + [DataMember(Name = ("keyText"), IsRequired = (true))] public CefSharp.DevTools.CSS.Value KeyText { get; @@ -6152,7 +5871,7 @@ public CefSharp.DevTools.CSS.Value KeyText /// /// Associated style declaration. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("style"), IsRequired = (true))] + [DataMember(Name = ("style"), IsRequired = (true))] public CefSharp.DevTools.CSS.CSSStyle Style { get; @@ -6169,7 +5888,7 @@ public partial class StyleDeclarationEdit : CefSharp.DevTools.DevToolsDomainEnti /// /// The css style sheet identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (true))] + [DataMember(Name = ("styleSheetId"), IsRequired = (true))] public string StyleSheetId { get; @@ -6179,7 +5898,7 @@ public string StyleSheetId /// /// The range of the style text in the enclosing stylesheet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (true))] + [DataMember(Name = ("range"), IsRequired = (true))] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -6189,7 +5908,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// New style text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -6199,7 +5918,7 @@ public string Text /// /// Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded - /// web font + /// web font. /// [System.Runtime.Serialization.DataContractAttribute] public class FontsUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase @@ -6207,7 +5926,7 @@ public class FontsUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// The web font that has loaded. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("font"), IsRequired = (false))] + [DataMember(Name = ("font"), IsRequired = (false))] public CefSharp.DevTools.CSS.FontFace Font { get; @@ -6224,7 +5943,7 @@ public class StyleSheetAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Added stylesheet metainfo. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("header"), IsRequired = (true))] + [DataMember(Name = ("header"), IsRequired = (true))] public CefSharp.DevTools.CSS.CSSStyleSheetHeader Header { get; @@ -6241,7 +5960,7 @@ public class StyleSheetChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// StyleSheetId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (true))] + [DataMember(Name = ("styleSheetId"), IsRequired = (true))] public string StyleSheetId { get; @@ -6258,7 +5977,7 @@ public class StyleSheetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Identifier of the removed stylesheet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (true))] + [DataMember(Name = ("styleSheetId"), IsRequired = (true))] public string StyleSheetId { get; @@ -6277,32 +5996,32 @@ public enum CachedResponseType /// /// basic /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("basic"))] + [EnumMember(Value = ("basic"))] Basic, /// /// cors /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cors"))] + [EnumMember(Value = ("cors"))] Cors, /// /// default /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("default"))] + [EnumMember(Value = ("default"))] Default, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// opaqueResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("opaqueResponse"))] + [EnumMember(Value = ("opaqueResponse"))] OpaqueResponse, /// /// opaqueRedirect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("opaqueRedirect"))] + [EnumMember(Value = ("opaqueRedirect"))] OpaqueRedirect } @@ -6315,7 +6034,7 @@ public partial class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Request URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestURL"), IsRequired = (true))] + [DataMember(Name = ("requestURL"), IsRequired = (true))] public string RequestURL { get; @@ -6325,7 +6044,7 @@ public string RequestURL /// /// Request method. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestMethod"), IsRequired = (true))] + [DataMember(Name = ("requestMethod"), IsRequired = (true))] public string RequestMethod { get; @@ -6335,7 +6054,7 @@ public string RequestMethod /// /// Request headers /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestHeaders"), IsRequired = (true))] + [DataMember(Name = ("requestHeaders"), IsRequired = (true))] public System.Collections.Generic.IList RequestHeaders { get; @@ -6345,7 +6064,7 @@ public System.Collections.Generic.IList R /// /// Number of seconds since epoch. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseTime"), IsRequired = (true))] + [DataMember(Name = ("responseTime"), IsRequired = (true))] public double ResponseTime { get; @@ -6355,7 +6074,7 @@ public double ResponseTime /// /// HTTP response status code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseStatus"), IsRequired = (true))] + [DataMember(Name = ("responseStatus"), IsRequired = (true))] public int ResponseStatus { get; @@ -6365,7 +6084,7 @@ public int ResponseStatus /// /// HTTP response status text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseStatusText"), IsRequired = (true))] + [DataMember(Name = ("responseStatusText"), IsRequired = (true))] public string ResponseStatusText { get; @@ -6391,7 +6110,7 @@ public CefSharp.DevTools.CacheStorage.CachedResponseType ResponseType /// /// HTTP response type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseType"), IsRequired = (true))] + [DataMember(Name = ("responseType"), IsRequired = (true))] internal string responseType { get; @@ -6401,7 +6120,7 @@ internal string responseType /// /// Response headers /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseHeaders"), IsRequired = (true))] + [DataMember(Name = ("responseHeaders"), IsRequired = (true))] public System.Collections.Generic.IList ResponseHeaders { get; @@ -6418,7 +6137,7 @@ public partial class Cache : CefSharp.DevTools.DevToolsDomainEntityBase /// /// An opaque unique id of the cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cacheId"), IsRequired = (true))] + [DataMember(Name = ("cacheId"), IsRequired = (true))] public string CacheId { get; @@ -6428,7 +6147,7 @@ public string CacheId /// /// Security origin of the cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityOrigin"), IsRequired = (true))] + [DataMember(Name = ("securityOrigin"), IsRequired = (true))] public string SecurityOrigin { get; @@ -6438,7 +6157,7 @@ public string SecurityOrigin /// /// Storage key of the cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -6448,7 +6167,7 @@ public string StorageKey /// /// The name of the cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cacheName"), IsRequired = (true))] + [DataMember(Name = ("cacheName"), IsRequired = (true))] public string CacheName { get; @@ -6465,7 +6184,7 @@ public partial class Header : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -6475,7 +6194,7 @@ public string Name /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -6492,7 +6211,7 @@ public partial class CachedResponse : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Entry content, base64-encoded. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("body"), IsRequired = (true))] + [DataMember(Name = ("body"), IsRequired = (true))] public byte[] Body { get; @@ -6512,7 +6231,7 @@ public partial class Sink : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -6522,7 +6241,7 @@ public string Name /// /// Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -6533,7 +6252,7 @@ public string Id /// Text describing the current session. Present only if there is an active /// session on the sink. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("session"), IsRequired = (false))] + [DataMember(Name = ("session"), IsRequired = (false))] public string Session { get; @@ -6551,7 +6270,7 @@ public class SinksUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Sinks /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sinks"), IsRequired = (true))] + [DataMember(Name = ("sinks"), IsRequired = (true))] public System.Collections.Generic.IList Sinks { get; @@ -6569,7 +6288,7 @@ public class IssueUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// IssueMessage /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issueMessage"), IsRequired = (true))] + [DataMember(Name = ("issueMessage"), IsRequired = (true))] public string IssueMessage { get; @@ -6589,7 +6308,7 @@ public partial class BackendNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Node`'s nodeType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (true))] + [DataMember(Name = ("nodeType"), IsRequired = (true))] public int NodeType { get; @@ -6599,7 +6318,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeName"), IsRequired = (true))] + [DataMember(Name = ("nodeName"), IsRequired = (true))] public string NodeName { get; @@ -6609,7 +6328,7 @@ public string NodeName /// /// BackendNodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (true))] + [DataMember(Name = ("backendNodeId"), IsRequired = (true))] public int BackendNodeId { get; @@ -6625,127 +6344,127 @@ public enum PseudoType /// /// first-line /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("first-line"))] + [EnumMember(Value = ("first-line"))] FirstLine, /// /// first-letter /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("first-letter"))] + [EnumMember(Value = ("first-letter"))] FirstLetter, /// /// before /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("before"))] + [EnumMember(Value = ("before"))] Before, /// /// after /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("after"))] + [EnumMember(Value = ("after"))] After, /// /// marker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("marker"))] + [EnumMember(Value = ("marker"))] Marker, /// /// backdrop /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("backdrop"))] + [EnumMember(Value = ("backdrop"))] Backdrop, /// /// selection /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("selection"))] + [EnumMember(Value = ("selection"))] Selection, /// /// target-text /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("target-text"))] + [EnumMember(Value = ("target-text"))] TargetText, /// /// spelling-error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("spelling-error"))] + [EnumMember(Value = ("spelling-error"))] SpellingError, /// /// grammar-error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("grammar-error"))] + [EnumMember(Value = ("grammar-error"))] GrammarError, /// /// highlight /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("highlight"))] + [EnumMember(Value = ("highlight"))] Highlight, /// /// first-line-inherited /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("first-line-inherited"))] + [EnumMember(Value = ("first-line-inherited"))] FirstLineInherited, /// /// scrollbar /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar"))] + [EnumMember(Value = ("scrollbar"))] Scrollbar, /// /// scrollbar-thumb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar-thumb"))] + [EnumMember(Value = ("scrollbar-thumb"))] ScrollbarThumb, /// /// scrollbar-button /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar-button"))] + [EnumMember(Value = ("scrollbar-button"))] ScrollbarButton, /// /// scrollbar-track /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar-track"))] + [EnumMember(Value = ("scrollbar-track"))] ScrollbarTrack, /// /// scrollbar-track-piece /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar-track-piece"))] + [EnumMember(Value = ("scrollbar-track-piece"))] ScrollbarTrackPiece, /// /// scrollbar-corner /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scrollbar-corner"))] + [EnumMember(Value = ("scrollbar-corner"))] ScrollbarCorner, /// /// resizer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("resizer"))] + [EnumMember(Value = ("resizer"))] Resizer, /// /// input-list-button /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("input-list-button"))] + [EnumMember(Value = ("input-list-button"))] InputListButton, /// /// view-transition /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("view-transition"))] + [EnumMember(Value = ("view-transition"))] ViewTransition, /// /// view-transition-group /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("view-transition-group"))] + [EnumMember(Value = ("view-transition-group"))] ViewTransitionGroup, /// /// view-transition-image-pair /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("view-transition-image-pair"))] + [EnumMember(Value = ("view-transition-image-pair"))] ViewTransitionImagePair, /// /// view-transition-old /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("view-transition-old"))] + [EnumMember(Value = ("view-transition-old"))] ViewTransitionOld, /// /// view-transition-new /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("view-transition-new"))] + [EnumMember(Value = ("view-transition-new"))] ViewTransitionNew } @@ -6757,17 +6476,17 @@ public enum ShadowRootType /// /// user-agent /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("user-agent"))] + [EnumMember(Value = ("user-agent"))] UserAgent, /// /// open /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("open"))] + [EnumMember(Value = ("open"))] Open, /// /// closed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("closed"))] + [EnumMember(Value = ("closed"))] Closed } @@ -6779,17 +6498,17 @@ public enum CompatibilityMode /// /// QuirksMode /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("QuirksMode"))] + [EnumMember(Value = ("QuirksMode"))] QuirksMode, /// /// LimitedQuirksMode /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LimitedQuirksMode"))] + [EnumMember(Value = ("LimitedQuirksMode"))] LimitedQuirksMode, /// /// NoQuirksMode /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoQuirksMode"))] + [EnumMember(Value = ("NoQuirksMode"))] NoQuirksMode } @@ -6801,17 +6520,17 @@ public enum PhysicalAxes /// /// Horizontal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Horizontal"))] + [EnumMember(Value = ("Horizontal"))] Horizontal, /// /// Vertical /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Vertical"))] + [EnumMember(Value = ("Vertical"))] Vertical, /// /// Both /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Both"))] + [EnumMember(Value = ("Both"))] Both } @@ -6823,17 +6542,17 @@ public enum LogicalAxes /// /// Inline /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Inline"))] + [EnumMember(Value = ("Inline"))] Inline, /// /// Block /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Block"))] + [EnumMember(Value = ("Block"))] Block, /// /// Both /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Both"))] + [EnumMember(Value = ("Both"))] Both } @@ -6849,7 +6568,7 @@ public partial class Node : CefSharp.DevTools.DevToolsDomainEntityBase /// will only push node with given `id` once. It is aware of all requested nodes and will only /// fire DOM events for nodes known to the client. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -6859,7 +6578,7 @@ public int NodeId /// /// The id of the parent node if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (false))] + [DataMember(Name = ("parentId"), IsRequired = (false))] public int? ParentId { get; @@ -6869,7 +6588,7 @@ public int? ParentId /// /// The BackendNodeId for this node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (true))] + [DataMember(Name = ("backendNodeId"), IsRequired = (true))] public int BackendNodeId { get; @@ -6879,7 +6598,7 @@ public int BackendNodeId /// /// `Node`'s nodeType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (true))] + [DataMember(Name = ("nodeType"), IsRequired = (true))] public int NodeType { get; @@ -6889,7 +6608,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeName"), IsRequired = (true))] + [DataMember(Name = ("nodeName"), IsRequired = (true))] public string NodeName { get; @@ -6899,7 +6618,7 @@ public string NodeName /// /// `Node`'s localName. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("localName"), IsRequired = (true))] + [DataMember(Name = ("localName"), IsRequired = (true))] public string LocalName { get; @@ -6909,7 +6628,7 @@ public string LocalName /// /// `Node`'s nodeValue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeValue"), IsRequired = (true))] + [DataMember(Name = ("nodeValue"), IsRequired = (true))] public string NodeValue { get; @@ -6919,7 +6638,7 @@ public string NodeValue /// /// Child count for `Container` nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childNodeCount"), IsRequired = (false))] + [DataMember(Name = ("childNodeCount"), IsRequired = (false))] public int? ChildNodeCount { get; @@ -6929,7 +6648,7 @@ public int? ChildNodeCount /// /// Child nodes of this node when requested with children. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("children"), IsRequired = (false))] + [DataMember(Name = ("children"), IsRequired = (false))] public System.Collections.Generic.IList Children { get; @@ -6939,7 +6658,7 @@ public System.Collections.Generic.IList Children /// /// Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("attributes"), IsRequired = (false))] + [DataMember(Name = ("attributes"), IsRequired = (false))] public string[] Attributes { get; @@ -6949,7 +6668,7 @@ public string[] Attributes /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentURL"), IsRequired = (false))] + [DataMember(Name = ("documentURL"), IsRequired = (false))] public string DocumentURL { get; @@ -6959,7 +6678,7 @@ public string DocumentURL /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseURL"), IsRequired = (false))] + [DataMember(Name = ("baseURL"), IsRequired = (false))] public string BaseURL { get; @@ -6969,7 +6688,7 @@ public string BaseURL /// /// `DocumentType`'s publicId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("publicId"), IsRequired = (false))] + [DataMember(Name = ("publicId"), IsRequired = (false))] public string PublicId { get; @@ -6979,7 +6698,7 @@ public string PublicId /// /// `DocumentType`'s systemId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("systemId"), IsRequired = (false))] + [DataMember(Name = ("systemId"), IsRequired = (false))] public string SystemId { get; @@ -6989,7 +6708,7 @@ public string SystemId /// /// `DocumentType`'s internalSubset. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("internalSubset"), IsRequired = (false))] + [DataMember(Name = ("internalSubset"), IsRequired = (false))] public string InternalSubset { get; @@ -6999,7 +6718,7 @@ public string InternalSubset /// /// `Document`'s XML version in case of XML documents. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("xmlVersion"), IsRequired = (false))] + [DataMember(Name = ("xmlVersion"), IsRequired = (false))] public string XmlVersion { get; @@ -7009,7 +6728,7 @@ public string XmlVersion /// /// `Attr`'s name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public string Name { get; @@ -7019,7 +6738,7 @@ public string Name /// /// `Attr`'s value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public string Value { get; @@ -7045,7 +6764,7 @@ public CefSharp.DevTools.DOM.PseudoType? PseudoType /// /// Pseudo element type for this node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoType"), IsRequired = (false))] + [DataMember(Name = ("pseudoType"), IsRequired = (false))] internal string pseudoType { get; @@ -7056,7 +6775,7 @@ internal string pseudoType /// Pseudo element identifier for this node. Only present if there is a /// valid pseudoType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoIdentifier"), IsRequired = (false))] + [DataMember(Name = ("pseudoIdentifier"), IsRequired = (false))] public string PseudoIdentifier { get; @@ -7082,7 +6801,7 @@ public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType /// /// Shadow root type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shadowRootType"), IsRequired = (false))] + [DataMember(Name = ("shadowRootType"), IsRequired = (false))] internal string shadowRootType { get; @@ -7092,7 +6811,7 @@ internal string shadowRootType /// /// Frame ID for frame owner elements. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -7102,7 +6821,7 @@ public string FrameId /// /// Content document for frame owner elements. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentDocument"), IsRequired = (false))] + [DataMember(Name = ("contentDocument"), IsRequired = (false))] public CefSharp.DevTools.DOM.Node ContentDocument { get; @@ -7112,7 +6831,7 @@ public CefSharp.DevTools.DOM.Node ContentDocument /// /// Shadow root list for given element host. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shadowRoots"), IsRequired = (false))] + [DataMember(Name = ("shadowRoots"), IsRequired = (false))] public System.Collections.Generic.IList ShadowRoots { get; @@ -7122,7 +6841,7 @@ public System.Collections.Generic.IList ShadowRoots /// /// Content document fragment for template elements. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("templateContent"), IsRequired = (false))] + [DataMember(Name = ("templateContent"), IsRequired = (false))] public CefSharp.DevTools.DOM.Node TemplateContent { get; @@ -7132,7 +6851,7 @@ public CefSharp.DevTools.DOM.Node TemplateContent /// /// Pseudo elements associated with this node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoElements"), IsRequired = (false))] + [DataMember(Name = ("pseudoElements"), IsRequired = (false))] public System.Collections.Generic.IList PseudoElements { get; @@ -7144,7 +6863,7 @@ public System.Collections.Generic.IList PseudoElemen /// This property used to return the imported document for the HTMLImport links. /// The property is always undefined now. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("importedDocument"), IsRequired = (false))] + [DataMember(Name = ("importedDocument"), IsRequired = (false))] public CefSharp.DevTools.DOM.Node ImportedDocument { get; @@ -7154,7 +6873,7 @@ public CefSharp.DevTools.DOM.Node ImportedDocument /// /// Distributed nodes for given insertion point. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("distributedNodes"), IsRequired = (false))] + [DataMember(Name = ("distributedNodes"), IsRequired = (false))] public System.Collections.Generic.IList DistributedNodes { get; @@ -7164,7 +6883,7 @@ public System.Collections.Generic.IList Distr /// /// Whether the node is SVG. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isSVG"), IsRequired = (false))] + [DataMember(Name = ("isSVG"), IsRequired = (false))] public bool? IsSVG { get; @@ -7190,7 +6909,7 @@ public CefSharp.DevTools.DOM.CompatibilityMode? CompatibilityMode /// /// CompatibilityMode /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("compatibilityMode"), IsRequired = (false))] + [DataMember(Name = ("compatibilityMode"), IsRequired = (false))] internal string compatibilityMode { get; @@ -7200,7 +6919,7 @@ internal string compatibilityMode /// /// AssignedSlot /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("assignedSlot"), IsRequired = (false))] + [DataMember(Name = ("assignedSlot"), IsRequired = (false))] public CefSharp.DevTools.DOM.BackendNode AssignedSlot { get; @@ -7217,7 +6936,7 @@ public partial class RGBA : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The red component, in the [0-255] range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("r"), IsRequired = (true))] + [DataMember(Name = ("r"), IsRequired = (true))] public int R { get; @@ -7227,7 +6946,7 @@ public int R /// /// The green component, in the [0-255] range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("g"), IsRequired = (true))] + [DataMember(Name = ("g"), IsRequired = (true))] public int G { get; @@ -7237,7 +6956,7 @@ public int G /// /// The blue component, in the [0-255] range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("b"), IsRequired = (true))] + [DataMember(Name = ("b"), IsRequired = (true))] public int B { get; @@ -7247,7 +6966,7 @@ public int B /// /// The alpha component, in the [0-1] range (default: 1). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("a"), IsRequired = (false))] + [DataMember(Name = ("a"), IsRequired = (false))] public double? A { get; @@ -7264,7 +6983,7 @@ public partial class BoxModel : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Content box /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("content"), IsRequired = (true))] + [DataMember(Name = ("content"), IsRequired = (true))] public double[] Content { get; @@ -7274,7 +6993,7 @@ public double[] Content /// /// Padding box /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("padding"), IsRequired = (true))] + [DataMember(Name = ("padding"), IsRequired = (true))] public double[] Padding { get; @@ -7284,7 +7003,7 @@ public double[] Padding /// /// Border box /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("border"), IsRequired = (true))] + [DataMember(Name = ("border"), IsRequired = (true))] public double[] Border { get; @@ -7294,7 +7013,7 @@ public double[] Border /// /// Margin box /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("margin"), IsRequired = (true))] + [DataMember(Name = ("margin"), IsRequired = (true))] public double[] Margin { get; @@ -7304,7 +7023,7 @@ public double[] Margin /// /// Node width /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))] + [DataMember(Name = ("width"), IsRequired = (true))] public int Width { get; @@ -7314,7 +7033,7 @@ public int Width /// /// Node height /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))] + [DataMember(Name = ("height"), IsRequired = (true))] public int Height { get; @@ -7324,7 +7043,7 @@ public int Height /// /// Shape outside coordinates /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shapeOutside"), IsRequired = (false))] + [DataMember(Name = ("shapeOutside"), IsRequired = (false))] public CefSharp.DevTools.DOM.ShapeOutsideInfo ShapeOutside { get; @@ -7341,7 +7060,7 @@ public partial class ShapeOutsideInfo : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Shape bounds /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bounds"), IsRequired = (true))] + [DataMember(Name = ("bounds"), IsRequired = (true))] public double[] Bounds { get; @@ -7351,7 +7070,7 @@ public double[] Bounds /// /// Shape coordinate details /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shape"), IsRequired = (true))] + [DataMember(Name = ("shape"), IsRequired = (true))] public object[] Shape { get; @@ -7361,7 +7080,7 @@ public object[] Shape /// /// Margin shape bounds /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("marginShape"), IsRequired = (true))] + [DataMember(Name = ("marginShape"), IsRequired = (true))] public object[] MarginShape { get; @@ -7378,7 +7097,7 @@ public partial class Rect : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X coordinate /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("x"), IsRequired = (true))] + [DataMember(Name = ("x"), IsRequired = (true))] public double X { get; @@ -7388,7 +7107,7 @@ public double X /// /// Y coordinate /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("y"), IsRequired = (true))] + [DataMember(Name = ("y"), IsRequired = (true))] public double Y { get; @@ -7398,7 +7117,7 @@ public double Y /// /// Rectangle width /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))] + [DataMember(Name = ("width"), IsRequired = (true))] public double Width { get; @@ -7408,7 +7127,7 @@ public double Width /// /// Rectangle height /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))] + [DataMember(Name = ("height"), IsRequired = (true))] public double Height { get; @@ -7425,7 +7144,7 @@ public partial class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomain /// /// Computed style property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -7435,7 +7154,7 @@ public string Name /// /// Computed style property value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -7452,7 +7171,7 @@ public class AttributeModifiedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the node that has changed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -7462,7 +7181,7 @@ public int NodeId /// /// Attribute name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -7472,7 +7191,7 @@ public string Name /// /// Attribute value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -7489,7 +7208,7 @@ public class AttributeRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Id of the node that has changed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -7499,7 +7218,7 @@ public int NodeId /// /// A ttribute name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -7516,7 +7235,7 @@ public class CharacterDataModifiedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id of the node that has changed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -7526,7 +7245,7 @@ public int NodeId /// /// New text value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("characterData"), IsRequired = (true))] + [DataMember(Name = ("characterData"), IsRequired = (true))] public string CharacterData { get; @@ -7543,7 +7262,7 @@ public class ChildNodeCountUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id of the node that has changed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -7553,7 +7272,7 @@ public int NodeId /// /// New node count. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childNodeCount"), IsRequired = (true))] + [DataMember(Name = ("childNodeCount"), IsRequired = (true))] public int ChildNodeCount { get; @@ -7570,7 +7289,7 @@ public class ChildNodeInsertedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the node that has changed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentNodeId"), IsRequired = (true))] + [DataMember(Name = ("parentNodeId"), IsRequired = (true))] public int ParentNodeId { get; @@ -7580,7 +7299,7 @@ public int ParentNodeId /// /// Id of the previous sibling. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("previousNodeId"), IsRequired = (true))] + [DataMember(Name = ("previousNodeId"), IsRequired = (true))] public int PreviousNodeId { get; @@ -7590,7 +7309,7 @@ public int PreviousNodeId /// /// Inserted node data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("node"), IsRequired = (true))] + [DataMember(Name = ("node"), IsRequired = (true))] public CefSharp.DevTools.DOM.Node Node { get; @@ -7607,7 +7326,7 @@ public class ChildNodeRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Parent id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentNodeId"), IsRequired = (true))] + [DataMember(Name = ("parentNodeId"), IsRequired = (true))] public int ParentNodeId { get; @@ -7617,7 +7336,7 @@ public int ParentNodeId /// /// Id of the node that has been removed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -7634,7 +7353,7 @@ public class DistributedNodesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Insertion point where distributed nodes were updated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("insertionPointId"), IsRequired = (true))] + [DataMember(Name = ("insertionPointId"), IsRequired = (true))] public int InsertionPointId { get; @@ -7644,7 +7363,7 @@ public int InsertionPointId /// /// Distributed nodes for given insertion point. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("distributedNodes"), IsRequired = (true))] + [DataMember(Name = ("distributedNodes"), IsRequired = (true))] public System.Collections.Generic.IList DistributedNodes { get; @@ -7661,7 +7380,7 @@ public class InlineStyleInvalidatedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Ids of the nodes for which the inline styles have been invalidated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeIds"), IsRequired = (true))] + [DataMember(Name = ("nodeIds"), IsRequired = (true))] public int[] NodeIds { get; @@ -7678,7 +7397,7 @@ public class PseudoElementAddedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Pseudo element's parent element id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (true))] + [DataMember(Name = ("parentId"), IsRequired = (true))] public int ParentId { get; @@ -7688,7 +7407,7 @@ public int ParentId /// /// The added pseudo element. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoElement"), IsRequired = (true))] + [DataMember(Name = ("pseudoElement"), IsRequired = (true))] public CefSharp.DevTools.DOM.Node PseudoElement { get; @@ -7705,7 +7424,7 @@ public class PseudoElementRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Pseudo element's parent element id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (true))] + [DataMember(Name = ("parentId"), IsRequired = (true))] public int ParentId { get; @@ -7715,7 +7434,7 @@ public int ParentId /// /// The removed pseudo element id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoElementId"), IsRequired = (true))] + [DataMember(Name = ("pseudoElementId"), IsRequired = (true))] public int PseudoElementId { get; @@ -7733,7 +7452,7 @@ public class SetChildNodesEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Parent node id to populate with children. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (true))] + [DataMember(Name = ("parentId"), IsRequired = (true))] public int ParentId { get; @@ -7743,7 +7462,7 @@ public int ParentId /// /// Child nodes array. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodes"), IsRequired = (true))] + [DataMember(Name = ("nodes"), IsRequired = (true))] public System.Collections.Generic.IList Nodes { get; @@ -7760,7 +7479,7 @@ public class ShadowRootPoppedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Host element id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hostId"), IsRequired = (true))] + [DataMember(Name = ("hostId"), IsRequired = (true))] public int HostId { get; @@ -7770,7 +7489,7 @@ public int HostId /// /// Shadow root id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rootId"), IsRequired = (true))] + [DataMember(Name = ("rootId"), IsRequired = (true))] public int RootId { get; @@ -7787,7 +7506,7 @@ public class ShadowRootPushedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Host element id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hostId"), IsRequired = (true))] + [DataMember(Name = ("hostId"), IsRequired = (true))] public int HostId { get; @@ -7797,7 +7516,7 @@ public int HostId /// /// Shadow root. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("root"), IsRequired = (true))] + [DataMember(Name = ("root"), IsRequired = (true))] public CefSharp.DevTools.DOM.Node Root { get; @@ -7816,17 +7535,17 @@ public enum DOMBreakpointType /// /// subtree-modified /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("subtree-modified"))] + [EnumMember(Value = ("subtree-modified"))] SubtreeModified, /// /// attribute-modified /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("attribute-modified"))] + [EnumMember(Value = ("attribute-modified"))] AttributeModified, /// /// node-removed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("node-removed"))] + [EnumMember(Value = ("node-removed"))] NodeRemoved } @@ -7838,12 +7557,12 @@ public enum CSPViolationType /// /// trustedtype-sink-violation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("trustedtype-sink-violation"))] + [EnumMember(Value = ("trustedtype-sink-violation"))] TrustedtypeSinkViolation, /// /// trustedtype-policy-violation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("trustedtype-policy-violation"))] + [EnumMember(Value = ("trustedtype-policy-violation"))] TrustedtypePolicyViolation } @@ -7856,7 +7575,7 @@ public partial class EventListener : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `EventListener`'s type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] public string Type { get; @@ -7866,7 +7585,7 @@ public string Type /// /// `EventListener`'s useCapture. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("useCapture"), IsRequired = (true))] + [DataMember(Name = ("useCapture"), IsRequired = (true))] public bool UseCapture { get; @@ -7876,7 +7595,7 @@ public bool UseCapture /// /// `EventListener`'s passive flag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("passive"), IsRequired = (true))] + [DataMember(Name = ("passive"), IsRequired = (true))] public bool Passive { get; @@ -7886,7 +7605,7 @@ public bool Passive /// /// `EventListener`'s once flag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("once"), IsRequired = (true))] + [DataMember(Name = ("once"), IsRequired = (true))] public bool Once { get; @@ -7896,7 +7615,7 @@ public bool Once /// /// Script id of the handler code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -7906,7 +7625,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -7916,7 +7635,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -7926,7 +7645,7 @@ public int ColumnNumber /// /// Event handler function value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("handler"), IsRequired = (false))] + [DataMember(Name = ("handler"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Handler { get; @@ -7936,7 +7655,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Handler /// /// Event original handler function value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("originalHandler"), IsRequired = (false))] + [DataMember(Name = ("originalHandler"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject OriginalHandler { get; @@ -7946,7 +7665,7 @@ public CefSharp.DevTools.Runtime.RemoteObject OriginalHandler /// /// Node the listener is added to (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int? BackendNodeId { get; @@ -7966,7 +7685,7 @@ public partial class DOMNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Node`'s nodeType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (true))] + [DataMember(Name = ("nodeType"), IsRequired = (true))] public int NodeType { get; @@ -7976,7 +7695,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeName"), IsRequired = (true))] + [DataMember(Name = ("nodeName"), IsRequired = (true))] public string NodeName { get; @@ -7986,7 +7705,7 @@ public string NodeName /// /// `Node`'s nodeValue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeValue"), IsRequired = (true))] + [DataMember(Name = ("nodeValue"), IsRequired = (true))] public string NodeValue { get; @@ -7996,7 +7715,7 @@ public string NodeValue /// /// Only set for textarea elements, contains the text value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("textValue"), IsRequired = (false))] + [DataMember(Name = ("textValue"), IsRequired = (false))] public string TextValue { get; @@ -8006,7 +7725,7 @@ public string TextValue /// /// Only set for input elements, contains the input's associated text value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inputValue"), IsRequired = (false))] + [DataMember(Name = ("inputValue"), IsRequired = (false))] public string InputValue { get; @@ -8016,7 +7735,7 @@ public string InputValue /// /// Only set for radio and checkbox input elements, indicates if the element has been checked /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inputChecked"), IsRequired = (false))] + [DataMember(Name = ("inputChecked"), IsRequired = (false))] public bool? InputChecked { get; @@ -8026,7 +7745,7 @@ public bool? InputChecked /// /// Only set for option elements, indicates if the element has been selected /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("optionSelected"), IsRequired = (false))] + [DataMember(Name = ("optionSelected"), IsRequired = (false))] public bool? OptionSelected { get; @@ -8036,7 +7755,7 @@ public bool? OptionSelected /// /// `Node`'s id, corresponds to DOM.Node.backendNodeId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (true))] + [DataMember(Name = ("backendNodeId"), IsRequired = (true))] public int BackendNodeId { get; @@ -8047,7 +7766,7 @@ public int BackendNodeId /// The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if /// any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childNodeIndexes"), IsRequired = (false))] + [DataMember(Name = ("childNodeIndexes"), IsRequired = (false))] public int[] ChildNodeIndexes { get; @@ -8057,7 +7776,7 @@ public int[] ChildNodeIndexes /// /// Attributes of an `Element` node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("attributes"), IsRequired = (false))] + [DataMember(Name = ("attributes"), IsRequired = (false))] public System.Collections.Generic.IList Attributes { get; @@ -8068,7 +7787,7 @@ public System.Collections.Generic.IList /// Indexes of pseudo elements associated with this node in the `domNodes` array returned by /// `getSnapshot`, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoElementIndexes"), IsRequired = (false))] + [DataMember(Name = ("pseudoElementIndexes"), IsRequired = (false))] public int[] PseudoElementIndexes { get; @@ -8079,7 +7798,7 @@ public int[] PseudoElementIndexes /// The index of the node's related layout tree node in the `layoutTreeNodes` array returned by /// `getSnapshot`, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layoutNodeIndex"), IsRequired = (false))] + [DataMember(Name = ("layoutNodeIndex"), IsRequired = (false))] public int? LayoutNodeIndex { get; @@ -8089,7 +7808,7 @@ public int? LayoutNodeIndex /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentURL"), IsRequired = (false))] + [DataMember(Name = ("documentURL"), IsRequired = (false))] public string DocumentURL { get; @@ -8099,7 +7818,7 @@ public string DocumentURL /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseURL"), IsRequired = (false))] + [DataMember(Name = ("baseURL"), IsRequired = (false))] public string BaseURL { get; @@ -8109,7 +7828,7 @@ public string BaseURL /// /// Only set for documents, contains the document's content language. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentLanguage"), IsRequired = (false))] + [DataMember(Name = ("contentLanguage"), IsRequired = (false))] public string ContentLanguage { get; @@ -8119,7 +7838,7 @@ public string ContentLanguage /// /// Only set for documents, contains the document's character set encoding. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentEncoding"), IsRequired = (false))] + [DataMember(Name = ("documentEncoding"), IsRequired = (false))] public string DocumentEncoding { get; @@ -8129,7 +7848,7 @@ public string DocumentEncoding /// /// `DocumentType` node's publicId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("publicId"), IsRequired = (false))] + [DataMember(Name = ("publicId"), IsRequired = (false))] public string PublicId { get; @@ -8139,7 +7858,7 @@ public string PublicId /// /// `DocumentType` node's systemId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("systemId"), IsRequired = (false))] + [DataMember(Name = ("systemId"), IsRequired = (false))] public string SystemId { get; @@ -8149,7 +7868,7 @@ public string SystemId /// /// Frame ID for frame owner elements and also for the document node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -8160,7 +7879,7 @@ public string FrameId /// The index of a frame owner element's content document in the `domNodes` array returned by /// `getSnapshot`, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentDocumentIndex"), IsRequired = (false))] + [DataMember(Name = ("contentDocumentIndex"), IsRequired = (false))] public int? ContentDocumentIndex { get; @@ -8186,7 +7905,7 @@ public CefSharp.DevTools.DOM.PseudoType? PseudoType /// /// Type of a pseudo element node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoType"), IsRequired = (false))] + [DataMember(Name = ("pseudoType"), IsRequired = (false))] internal string pseudoType { get; @@ -8212,7 +7931,7 @@ public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType /// /// Shadow root type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shadowRootType"), IsRequired = (false))] + [DataMember(Name = ("shadowRootType"), IsRequired = (false))] internal string shadowRootType { get; @@ -8224,7 +7943,7 @@ internal string shadowRootType /// event listeners attached via JavaScript as well as anchor tags that naturally navigate when /// clicked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isClickable"), IsRequired = (false))] + [DataMember(Name = ("isClickable"), IsRequired = (false))] public bool? IsClickable { get; @@ -8234,7 +7953,7 @@ public bool? IsClickable /// /// Details of the node's event listeners, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventListeners"), IsRequired = (false))] + [DataMember(Name = ("eventListeners"), IsRequired = (false))] public System.Collections.Generic.IList EventListeners { get; @@ -8244,7 +7963,7 @@ public System.Collections.Generic.IList /// The selected url for nodes with a srcset attribute. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("currentSourceURL"), IsRequired = (false))] + [DataMember(Name = ("currentSourceURL"), IsRequired = (false))] public string CurrentSourceURL { get; @@ -8254,7 +7973,7 @@ public string CurrentSourceURL /// /// The url of the script (if any) that generates this node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("originURL"), IsRequired = (false))] + [DataMember(Name = ("originURL"), IsRequired = (false))] public string OriginURL { get; @@ -8264,7 +7983,7 @@ public string OriginURL /// /// Scroll offsets, set when this node is a Document. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetX"), IsRequired = (false))] + [DataMember(Name = ("scrollOffsetX"), IsRequired = (false))] public double? ScrollOffsetX { get; @@ -8274,7 +7993,7 @@ public double? ScrollOffsetX /// /// ScrollOffsetY /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetY"), IsRequired = (false))] + [DataMember(Name = ("scrollOffsetY"), IsRequired = (false))] public double? ScrollOffsetY { get; @@ -8292,7 +8011,7 @@ public partial class InlineTextBox : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The bounding box in document coordinates. Note that scroll offset of the document is ignored. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("boundingBox"), IsRequired = (true))] + [DataMember(Name = ("boundingBox"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect BoundingBox { get; @@ -8303,7 +8022,7 @@ public CefSharp.DevTools.DOM.Rect BoundingBox /// The starting index in characters, for this post layout textbox substring. Characters that /// would be represented as a surrogate pair in UTF-16 have length 2. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startCharacterIndex"), IsRequired = (true))] + [DataMember(Name = ("startCharacterIndex"), IsRequired = (true))] public int StartCharacterIndex { get; @@ -8314,7 +8033,7 @@ public int StartCharacterIndex /// The number of characters in this post layout textbox substring. Characters that would be /// represented as a surrogate pair in UTF-16 have length 2. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("numCharacters"), IsRequired = (true))] + [DataMember(Name = ("numCharacters"), IsRequired = (true))] public int NumCharacters { get; @@ -8331,7 +8050,7 @@ public partial class LayoutTreeNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The index of the related DOM node in the `domNodes` array returned by `getSnapshot`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domNodeIndex"), IsRequired = (true))] + [DataMember(Name = ("domNodeIndex"), IsRequired = (true))] public int DomNodeIndex { get; @@ -8341,7 +8060,7 @@ public int DomNodeIndex /// /// The bounding box in document coordinates. Note that scroll offset of the document is ignored. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("boundingBox"), IsRequired = (true))] + [DataMember(Name = ("boundingBox"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect BoundingBox { get; @@ -8351,7 +8070,7 @@ public CefSharp.DevTools.DOM.Rect BoundingBox /// /// Contents of the LayoutText, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layoutText"), IsRequired = (false))] + [DataMember(Name = ("layoutText"), IsRequired = (false))] public string LayoutText { get; @@ -8361,7 +8080,7 @@ public string LayoutText /// /// The post-layout inline text nodes, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inlineTextNodes"), IsRequired = (false))] + [DataMember(Name = ("inlineTextNodes"), IsRequired = (false))] public System.Collections.Generic.IList InlineTextNodes { get; @@ -8371,7 +8090,7 @@ public System.Collections.Generic.IList /// Index into the `computedStyles` array returned by `getSnapshot`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleIndex"), IsRequired = (false))] + [DataMember(Name = ("styleIndex"), IsRequired = (false))] public int? StyleIndex { get; @@ -8383,7 +8102,7 @@ public int? StyleIndex /// that are painted together will have the same index. Only provided if includePaintOrder in /// getSnapshot was true. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paintOrder"), IsRequired = (false))] + [DataMember(Name = ("paintOrder"), IsRequired = (false))] public int? PaintOrder { get; @@ -8393,7 +8112,7 @@ public int? PaintOrder /// /// Set to true to indicate the element begins a new stacking context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isStackingContext"), IsRequired = (false))] + [DataMember(Name = ("isStackingContext"), IsRequired = (false))] public bool? IsStackingContext { get; @@ -8410,7 +8129,7 @@ public partial class ComputedStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name/value pairs of computed style properties. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("properties"), IsRequired = (true))] + [DataMember(Name = ("properties"), IsRequired = (true))] public System.Collections.Generic.IList Properties { get; @@ -8427,7 +8146,7 @@ public partial class NameValue : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Attribute/property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -8437,7 +8156,7 @@ public string Name /// /// Attribute/property value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -8454,7 +8173,7 @@ public partial class RareStringData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Index /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("index"), IsRequired = (true))] + [DataMember(Name = ("index"), IsRequired = (true))] public int[] Index { get; @@ -8464,7 +8183,7 @@ public int[] Index /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public int[] Value { get; @@ -8481,7 +8200,7 @@ public partial class RareBooleanData : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("index"), IsRequired = (true))] + [DataMember(Name = ("index"), IsRequired = (true))] public int[] Index { get; @@ -8498,7 +8217,7 @@ public partial class RareIntegerData : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("index"), IsRequired = (true))] + [DataMember(Name = ("index"), IsRequired = (true))] public int[] Index { get; @@ -8508,7 +8227,7 @@ public int[] Index /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public int[] Value { get; @@ -8525,7 +8244,7 @@ public partial class DocumentSnapshot : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentURL"), IsRequired = (true))] + [DataMember(Name = ("documentURL"), IsRequired = (true))] public int DocumentURL { get; @@ -8535,7 +8254,7 @@ public int DocumentURL /// /// Document title. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public int Title { get; @@ -8545,7 +8264,7 @@ public int Title /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseURL"), IsRequired = (true))] + [DataMember(Name = ("baseURL"), IsRequired = (true))] public int BaseURL { get; @@ -8555,7 +8274,7 @@ public int BaseURL /// /// Contains the document's content language. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentLanguage"), IsRequired = (true))] + [DataMember(Name = ("contentLanguage"), IsRequired = (true))] public int ContentLanguage { get; @@ -8565,7 +8284,7 @@ public int ContentLanguage /// /// Contains the document's character set encoding. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("encodingName"), IsRequired = (true))] + [DataMember(Name = ("encodingName"), IsRequired = (true))] public int EncodingName { get; @@ -8575,7 +8294,7 @@ public int EncodingName /// /// `DocumentType` node's publicId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("publicId"), IsRequired = (true))] + [DataMember(Name = ("publicId"), IsRequired = (true))] public int PublicId { get; @@ -8585,7 +8304,7 @@ public int PublicId /// /// `DocumentType` node's systemId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("systemId"), IsRequired = (true))] + [DataMember(Name = ("systemId"), IsRequired = (true))] public int SystemId { get; @@ -8595,7 +8314,7 @@ public int SystemId /// /// Frame ID for frame owner elements and also for the document node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public int FrameId { get; @@ -8605,7 +8324,7 @@ public int FrameId /// /// A table with dom nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodes"), IsRequired = (true))] + [DataMember(Name = ("nodes"), IsRequired = (true))] public CefSharp.DevTools.DOMSnapshot.NodeTreeSnapshot Nodes { get; @@ -8615,7 +8334,7 @@ public CefSharp.DevTools.DOMSnapshot.NodeTreeSnapshot Nodes /// /// The nodes in the layout tree. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layout"), IsRequired = (true))] + [DataMember(Name = ("layout"), IsRequired = (true))] public CefSharp.DevTools.DOMSnapshot.LayoutTreeSnapshot Layout { get; @@ -8625,7 +8344,7 @@ public CefSharp.DevTools.DOMSnapshot.LayoutTreeSnapshot Layout /// /// The post-layout inline text nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("textBoxes"), IsRequired = (true))] + [DataMember(Name = ("textBoxes"), IsRequired = (true))] public CefSharp.DevTools.DOMSnapshot.TextBoxSnapshot TextBoxes { get; @@ -8635,7 +8354,7 @@ public CefSharp.DevTools.DOMSnapshot.TextBoxSnapshot TextBoxes /// /// Horizontal scroll offset. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetX"), IsRequired = (false))] + [DataMember(Name = ("scrollOffsetX"), IsRequired = (false))] public double? ScrollOffsetX { get; @@ -8645,7 +8364,7 @@ public double? ScrollOffsetX /// /// Vertical scroll offset. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetY"), IsRequired = (false))] + [DataMember(Name = ("scrollOffsetY"), IsRequired = (false))] public double? ScrollOffsetY { get; @@ -8655,7 +8374,7 @@ public double? ScrollOffsetY /// /// Document content width. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentWidth"), IsRequired = (false))] + [DataMember(Name = ("contentWidth"), IsRequired = (false))] public double? ContentWidth { get; @@ -8665,7 +8384,7 @@ public double? ContentWidth /// /// Document content height. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentHeight"), IsRequired = (false))] + [DataMember(Name = ("contentHeight"), IsRequired = (false))] public double? ContentHeight { get; @@ -8682,7 +8401,7 @@ public partial class NodeTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Parent node index. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentIndex"), IsRequired = (false))] + [DataMember(Name = ("parentIndex"), IsRequired = (false))] public int[] ParentIndex { get; @@ -8692,7 +8411,7 @@ public int[] ParentIndex /// /// `Node`'s nodeType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (false))] + [DataMember(Name = ("nodeType"), IsRequired = (false))] public int[] NodeType { get; @@ -8702,7 +8421,7 @@ public int[] NodeType /// /// Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shadowRootType"), IsRequired = (false))] + [DataMember(Name = ("shadowRootType"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType { get; @@ -8712,7 +8431,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType /// /// `Node`'s nodeName. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeName"), IsRequired = (false))] + [DataMember(Name = ("nodeName"), IsRequired = (false))] public int[] NodeName { get; @@ -8722,7 +8441,7 @@ public int[] NodeName /// /// `Node`'s nodeValue. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeValue"), IsRequired = (false))] + [DataMember(Name = ("nodeValue"), IsRequired = (false))] public int[] NodeValue { get; @@ -8732,7 +8451,7 @@ public int[] NodeValue /// /// `Node`'s id, corresponds to DOM.Node.backendNodeId. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int[] BackendNodeId { get; @@ -8742,7 +8461,7 @@ public int[] BackendNodeId /// /// Attributes of an `Element` node. Flatten name, value pairs. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("attributes"), IsRequired = (false))] + [DataMember(Name = ("attributes"), IsRequired = (false))] public int[] Attributes { get; @@ -8752,7 +8471,7 @@ public int[] Attributes /// /// Only set for textarea elements, contains the text value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("textValue"), IsRequired = (false))] + [DataMember(Name = ("textValue"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData TextValue { get; @@ -8762,7 +8481,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData TextValue /// /// Only set for input elements, contains the input's associated text value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inputValue"), IsRequired = (false))] + [DataMember(Name = ("inputValue"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData InputValue { get; @@ -8772,7 +8491,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData InputValue /// /// Only set for radio and checkbox input elements, indicates if the element has been checked /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("inputChecked"), IsRequired = (false))] + [DataMember(Name = ("inputChecked"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareBooleanData InputChecked { get; @@ -8782,7 +8501,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData InputChecked /// /// Only set for option elements, indicates if the element has been selected /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("optionSelected"), IsRequired = (false))] + [DataMember(Name = ("optionSelected"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareBooleanData OptionSelected { get; @@ -8792,7 +8511,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData OptionSelected /// /// The index of the document in the list of the snapshot documents. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentDocumentIndex"), IsRequired = (false))] + [DataMember(Name = ("contentDocumentIndex"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareIntegerData ContentDocumentIndex { get; @@ -8802,7 +8521,7 @@ public CefSharp.DevTools.DOMSnapshot.RareIntegerData ContentDocumentIndex /// /// Type of a pseudo element node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoType"), IsRequired = (false))] + [DataMember(Name = ("pseudoType"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoType { get; @@ -8813,7 +8532,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoType /// Pseudo element identifier for this node. Only present if there is a /// valid pseudoType. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pseudoIdentifier"), IsRequired = (false))] + [DataMember(Name = ("pseudoIdentifier"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoIdentifier { get; @@ -8825,7 +8544,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoIdentifier /// event listeners attached via JavaScript as well as anchor tags that naturally navigate when /// clicked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isClickable"), IsRequired = (false))] + [DataMember(Name = ("isClickable"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareBooleanData IsClickable { get; @@ -8835,7 +8554,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData IsClickable /// /// The selected url for nodes with a srcset attribute. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("currentSourceURL"), IsRequired = (false))] + [DataMember(Name = ("currentSourceURL"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData CurrentSourceURL { get; @@ -8845,7 +8564,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData CurrentSourceURL /// /// The url of the script (if any) that generates this node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("originURL"), IsRequired = (false))] + [DataMember(Name = ("originURL"), IsRequired = (false))] public CefSharp.DevTools.DOMSnapshot.RareStringData OriginURL { get; @@ -8862,7 +8581,7 @@ public partial class LayoutTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntity /// /// Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeIndex"), IsRequired = (true))] + [DataMember(Name = ("nodeIndex"), IsRequired = (true))] public int[] NodeIndex { get; @@ -8872,7 +8591,7 @@ public int[] NodeIndex /// /// Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("styles"), IsRequired = (true))] + [DataMember(Name = ("styles"), IsRequired = (true))] public int[] Styles { get; @@ -8882,7 +8601,7 @@ public int[] Styles /// /// The absolute position bounding box. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bounds"), IsRequired = (true))] + [DataMember(Name = ("bounds"), IsRequired = (true))] public double[] Bounds { get; @@ -8892,7 +8611,7 @@ public double[] Bounds /// /// Contents of the LayoutText, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public int[] Text { get; @@ -8902,7 +8621,7 @@ public int[] Text /// /// Stacking context information. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackingContexts"), IsRequired = (true))] + [DataMember(Name = ("stackingContexts"), IsRequired = (true))] public CefSharp.DevTools.DOMSnapshot.RareBooleanData StackingContexts { get; @@ -8914,7 +8633,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData StackingContexts /// that are painted together will have the same index. Only provided if includePaintOrder in /// captureSnapshot was true. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paintOrders"), IsRequired = (false))] + [DataMember(Name = ("paintOrders"), IsRequired = (false))] public int[] PaintOrders { get; @@ -8924,7 +8643,7 @@ public int[] PaintOrders /// /// The offset rect of nodes. Only available when includeDOMRects is set to true /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetRects"), IsRequired = (false))] + [DataMember(Name = ("offsetRects"), IsRequired = (false))] public double[] OffsetRects { get; @@ -8934,7 +8653,7 @@ public double[] OffsetRects /// /// The scroll rect of nodes. Only available when includeDOMRects is set to true /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollRects"), IsRequired = (false))] + [DataMember(Name = ("scrollRects"), IsRequired = (false))] public double[] ScrollRects { get; @@ -8944,7 +8663,7 @@ public double[] ScrollRects /// /// The client rect of nodes. Only available when includeDOMRects is set to true /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientRects"), IsRequired = (false))] + [DataMember(Name = ("clientRects"), IsRequired = (false))] public double[] ClientRects { get; @@ -8954,7 +8673,7 @@ public double[] ClientRects /// /// The list of background colors that are blended with colors of overlapping elements. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blendedBackgroundColors"), IsRequired = (false))] + [DataMember(Name = ("blendedBackgroundColors"), IsRequired = (false))] public int[] BlendedBackgroundColors { get; @@ -8964,7 +8683,7 @@ public int[] BlendedBackgroundColors /// /// The list of computed text opacities. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("textColorOpacities"), IsRequired = (false))] + [DataMember(Name = ("textColorOpacities"), IsRequired = (false))] public double[] TextColorOpacities { get; @@ -8982,7 +8701,7 @@ public partial class TextBoxSnapshot : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index of the layout tree node that owns this box collection. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layoutIndex"), IsRequired = (true))] + [DataMember(Name = ("layoutIndex"), IsRequired = (true))] public int[] LayoutIndex { get; @@ -8992,7 +8711,7 @@ public int[] LayoutIndex /// /// The absolute position bounding box. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bounds"), IsRequired = (true))] + [DataMember(Name = ("bounds"), IsRequired = (true))] public double[] Bounds { get; @@ -9003,7 +8722,7 @@ public double[] Bounds /// The starting index in characters, for this post layout textbox substring. Characters that /// would be represented as a surrogate pair in UTF-16 have length 2. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("start"), IsRequired = (true))] + [DataMember(Name = ("start"), IsRequired = (true))] public int[] Start { get; @@ -9014,7 +8733,7 @@ public int[] Start /// The number of characters in this post layout textbox substring. Characters that would be /// represented as a surrogate pair in UTF-16 have length 2. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("length"), IsRequired = (true))] + [DataMember(Name = ("length"), IsRequired = (true))] public int[] Length { get; @@ -9034,7 +8753,7 @@ public partial class StorageId : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Security origin for the storage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityOrigin"), IsRequired = (false))] + [DataMember(Name = ("securityOrigin"), IsRequired = (false))] public string SecurityOrigin { get; @@ -9044,7 +8763,7 @@ public string SecurityOrigin /// /// Represents a key by which DOM Storage keys its CachedStorageAreas /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (false))] + [DataMember(Name = ("storageKey"), IsRequired = (false))] public string StorageKey { get; @@ -9054,7 +8773,7 @@ public string StorageKey /// /// Whether the storage is local storage (not session storage). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isLocalStorage"), IsRequired = (true))] + [DataMember(Name = ("isLocalStorage"), IsRequired = (true))] public bool IsLocalStorage { get; @@ -9071,7 +8790,7 @@ public class DomStorageItemAddedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// StorageId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageId"), IsRequired = (true))] + [DataMember(Name = ("storageId"), IsRequired = (true))] public CefSharp.DevTools.DOMStorage.StorageId StorageId { get; @@ -9081,7 +8800,7 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public string Key { get; @@ -9091,7 +8810,7 @@ public string Key /// /// NewValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("newValue"), IsRequired = (true))] + [DataMember(Name = ("newValue"), IsRequired = (true))] public string NewValue { get; @@ -9108,7 +8827,7 @@ public class DomStorageItemRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// StorageId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageId"), IsRequired = (true))] + [DataMember(Name = ("storageId"), IsRequired = (true))] public CefSharp.DevTools.DOMStorage.StorageId StorageId { get; @@ -9118,7 +8837,7 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public string Key { get; @@ -9135,7 +8854,7 @@ public class DomStorageItemUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// StorageId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageId"), IsRequired = (true))] + [DataMember(Name = ("storageId"), IsRequired = (true))] public CefSharp.DevTools.DOMStorage.StorageId StorageId { get; @@ -9145,7 +8864,7 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public string Key { get; @@ -9155,7 +8874,7 @@ public string Key /// /// OldValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("oldValue"), IsRequired = (true))] + [DataMember(Name = ("oldValue"), IsRequired = (true))] public string OldValue { get; @@ -9165,7 +8884,7 @@ public string OldValue /// /// NewValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("newValue"), IsRequired = (true))] + [DataMember(Name = ("newValue"), IsRequired = (true))] public string NewValue { get; @@ -9182,7 +8901,7 @@ public class DomStorageItemsClearedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// StorageId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageId"), IsRequired = (true))] + [DataMember(Name = ("storageId"), IsRequired = (true))] public CefSharp.DevTools.DOMStorage.StorageId StorageId { get; @@ -9202,7 +8921,7 @@ public partial class Database : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Database ID. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -9212,7 +8931,7 @@ public string Id /// /// Database domain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domain"), IsRequired = (true))] + [DataMember(Name = ("domain"), IsRequired = (true))] public string Domain { get; @@ -9222,7 +8941,7 @@ public string Domain /// /// Database name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -9232,7 +8951,7 @@ public string Name /// /// Database version. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("version"), IsRequired = (true))] + [DataMember(Name = ("version"), IsRequired = (true))] public string Version { get; @@ -9249,7 +8968,7 @@ public partial class Error : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Error message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -9259,7 +8978,7 @@ public string Message /// /// Error code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("code"), IsRequired = (true))] + [DataMember(Name = ("code"), IsRequired = (true))] public int Code { get; @@ -9276,7 +8995,7 @@ public class AddDatabaseEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBas /// /// Database /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("database"), IsRequired = (true))] + [DataMember(Name = ("database"), IsRequired = (true))] public CefSharp.DevTools.Database.Database Database { get; @@ -9295,22 +9014,22 @@ public enum ScreenOrientationType /// /// portraitPrimary /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("portraitPrimary"))] + [EnumMember(Value = ("portraitPrimary"))] PortraitPrimary, /// /// portraitSecondary /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("portraitSecondary"))] + [EnumMember(Value = ("portraitSecondary"))] PortraitSecondary, /// /// landscapePrimary /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("landscapePrimary"))] + [EnumMember(Value = ("landscapePrimary"))] LandscapePrimary, /// /// landscapeSecondary /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("landscapeSecondary"))] + [EnumMember(Value = ("landscapeSecondary"))] LandscapeSecondary } @@ -9339,7 +9058,7 @@ public CefSharp.DevTools.Emulation.ScreenOrientationType Type /// /// Orientation type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -9349,7 +9068,7 @@ internal string type /// /// Orientation angle. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("angle"), IsRequired = (true))] + [DataMember(Name = ("angle"), IsRequired = (true))] public int Angle { get; @@ -9365,12 +9084,12 @@ public enum DisplayFeatureOrientation /// /// vertical /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("vertical"))] + [EnumMember(Value = ("vertical"))] Vertical, /// /// horizontal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("horizontal"))] + [EnumMember(Value = ("horizontal"))] Horizontal } @@ -9399,7 +9118,7 @@ public CefSharp.DevTools.Emulation.DisplayFeatureOrientation Orientation /// /// Orientation of a display feature in relation to screen /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("orientation"), IsRequired = (true))] + [DataMember(Name = ("orientation"), IsRequired = (true))] internal string orientation { get; @@ -9410,7 +9129,7 @@ internal string orientation /// The offset from the screen origin in either the x (for vertical /// orientation) or y (for horizontal orientation) direction. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offset"), IsRequired = (true))] + [DataMember(Name = ("offset"), IsRequired = (true))] public int Offset { get; @@ -9422,7 +9141,7 @@ public int Offset /// displayed - this length along with the offset describes this area. /// A display feature that only splits content will have a 0 mask_length. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maskLength"), IsRequired = (true))] + [DataMember(Name = ("maskLength"), IsRequired = (true))] public int MaskLength { get; @@ -9439,7 +9158,7 @@ public partial class MediaFeature : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -9449,7 +9168,7 @@ public string Name /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -9468,17 +9187,17 @@ public enum VirtualTimePolicy /// /// advance /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("advance"))] + [EnumMember(Value = ("advance"))] Advance, /// /// pause /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("pause"))] + [EnumMember(Value = ("pause"))] Pause, /// /// pauseIfNetworkFetchesPending /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("pauseIfNetworkFetchesPending"))] + [EnumMember(Value = ("pauseIfNetworkFetchesPending"))] PauseIfNetworkFetchesPending } @@ -9491,7 +9210,7 @@ public partial class UserAgentBrandVersion : CefSharp.DevTools.DevToolsDomainEnt /// /// Brand /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("brand"), IsRequired = (true))] + [DataMember(Name = ("brand"), IsRequired = (true))] public string Brand { get; @@ -9501,7 +9220,7 @@ public string Brand /// /// Version /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("version"), IsRequired = (true))] + [DataMember(Name = ("version"), IsRequired = (true))] public string Version { get; @@ -9519,7 +9238,7 @@ public partial class UserAgentMetadata : CefSharp.DevTools.DevToolsDomainEntityB /// /// Brands appearing in Sec-CH-UA. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("brands"), IsRequired = (false))] + [DataMember(Name = ("brands"), IsRequired = (false))] public System.Collections.Generic.IList Brands { get; @@ -9529,7 +9248,7 @@ public System.Collections.Generic.IList /// Brands appearing in Sec-CH-UA-Full-Version-List. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fullVersionList"), IsRequired = (false))] + [DataMember(Name = ("fullVersionList"), IsRequired = (false))] public System.Collections.Generic.IList FullVersionList { get; @@ -9539,7 +9258,7 @@ public System.Collections.Generic.IList /// FullVersion /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fullVersion"), IsRequired = (false))] + [DataMember(Name = ("fullVersion"), IsRequired = (false))] public string FullVersion { get; @@ -9549,7 +9268,7 @@ public string FullVersion /// /// Platform /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("platform"), IsRequired = (true))] + [DataMember(Name = ("platform"), IsRequired = (true))] public string Platform { get; @@ -9559,7 +9278,7 @@ public string Platform /// /// PlatformVersion /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("platformVersion"), IsRequired = (true))] + [DataMember(Name = ("platformVersion"), IsRequired = (true))] public string PlatformVersion { get; @@ -9569,7 +9288,7 @@ public string PlatformVersion /// /// Architecture /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("architecture"), IsRequired = (true))] + [DataMember(Name = ("architecture"), IsRequired = (true))] public string Architecture { get; @@ -9579,7 +9298,7 @@ public string Architecture /// /// Model /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("model"), IsRequired = (true))] + [DataMember(Name = ("model"), IsRequired = (true))] public string Model { get; @@ -9589,7 +9308,7 @@ public string Model /// /// Mobile /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mobile"), IsRequired = (true))] + [DataMember(Name = ("mobile"), IsRequired = (true))] public bool Mobile { get; @@ -9599,7 +9318,7 @@ public bool Mobile /// /// Bitness /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bitness"), IsRequired = (false))] + [DataMember(Name = ("bitness"), IsRequired = (false))] public string Bitness { get; @@ -9609,7 +9328,7 @@ public string Bitness /// /// Wow64 /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("wow64"), IsRequired = (false))] + [DataMember(Name = ("wow64"), IsRequired = (false))] public bool? Wow64 { get; @@ -9625,12 +9344,12 @@ public enum DisabledImageType /// /// avif /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("avif"))] + [EnumMember(Value = ("avif"))] Avif, /// /// webp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] + [EnumMember(Value = ("webp"))] Webp } } @@ -9645,17 +9364,17 @@ public enum ScreenshotParamsFormat /// /// jpeg /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jpeg"))] + [EnumMember(Value = ("jpeg"))] Jpeg, /// /// png /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("png"))] + [EnumMember(Value = ("png"))] Png, /// /// webp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] + [EnumMember(Value = ("webp"))] Webp } @@ -9684,7 +9403,7 @@ public CefSharp.DevTools.HeadlessExperimental.ScreenshotParamsFormat? Format /// /// Image compression format (defaults to png). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("format"), IsRequired = (false))] + [DataMember(Name = ("format"), IsRequired = (false))] internal string format { get; @@ -9694,7 +9413,7 @@ internal string format /// /// Compression quality from range [0..100] (jpeg only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("quality"), IsRequired = (false))] + [DataMember(Name = ("quality"), IsRequired = (false))] public int? Quality { get; @@ -9704,7 +9423,7 @@ public int? Quality /// /// Optimize image encoding for speed, not for resulting size (defaults to false) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("optimizeForSpeed"), IsRequired = (false))] + [DataMember(Name = ("optimizeForSpeed"), IsRequired = (false))] public bool? OptimizeForSpeed { get; @@ -9724,7 +9443,7 @@ public partial class DatabaseWithObjectStores : CefSharp.DevTools.DevToolsDomain /// /// Database name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -9735,7 +9454,7 @@ public string Name /// Database version (type is not 'integer', as the standard /// requires the version number to be 'unsigned long long') /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("version"), IsRequired = (true))] + [DataMember(Name = ("version"), IsRequired = (true))] public double Version { get; @@ -9745,7 +9464,7 @@ public double Version /// /// Object stores in this database. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectStores"), IsRequired = (true))] + [DataMember(Name = ("objectStores"), IsRequired = (true))] public System.Collections.Generic.IList ObjectStores { get; @@ -9762,7 +9481,7 @@ public partial class ObjectStore : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Object store name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -9772,7 +9491,7 @@ public string Name /// /// Object store key path. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyPath"), IsRequired = (true))] + [DataMember(Name = ("keyPath"), IsRequired = (true))] public CefSharp.DevTools.IndexedDB.KeyPath KeyPath { get; @@ -9782,7 +9501,7 @@ public CefSharp.DevTools.IndexedDB.KeyPath KeyPath /// /// If true, object store has auto increment flag set. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("autoIncrement"), IsRequired = (true))] + [DataMember(Name = ("autoIncrement"), IsRequired = (true))] public bool AutoIncrement { get; @@ -9792,7 +9511,7 @@ public bool AutoIncrement /// /// Indexes in this object store. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("indexes"), IsRequired = (true))] + [DataMember(Name = ("indexes"), IsRequired = (true))] public System.Collections.Generic.IList Indexes { get; @@ -9809,7 +9528,7 @@ public partial class ObjectStoreIndex : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Index name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -9819,7 +9538,7 @@ public string Name /// /// Index key path. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyPath"), IsRequired = (true))] + [DataMember(Name = ("keyPath"), IsRequired = (true))] public CefSharp.DevTools.IndexedDB.KeyPath KeyPath { get; @@ -9829,7 +9548,7 @@ public CefSharp.DevTools.IndexedDB.KeyPath KeyPath /// /// If true, index is unique. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unique"), IsRequired = (true))] + [DataMember(Name = ("unique"), IsRequired = (true))] public bool Unique { get; @@ -9839,7 +9558,7 @@ public bool Unique /// /// If true, index allows multiple entries for a key. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("multiEntry"), IsRequired = (true))] + [DataMember(Name = ("multiEntry"), IsRequired = (true))] public bool MultiEntry { get; @@ -9855,22 +9574,22 @@ public enum KeyType /// /// number /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("number"))] + [EnumMember(Value = ("number"))] Number, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// date /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("date"))] + [EnumMember(Value = ("date"))] Date, /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array } @@ -9899,7 +9618,7 @@ public CefSharp.DevTools.IndexedDB.KeyType Type /// /// Key type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -9909,7 +9628,7 @@ internal string type /// /// Number value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("number"), IsRequired = (false))] + [DataMember(Name = ("number"), IsRequired = (false))] public double? Number { get; @@ -9919,7 +9638,7 @@ public double? Number /// /// String value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("string"), IsRequired = (false))] + [DataMember(Name = ("string"), IsRequired = (false))] public string String { get; @@ -9929,7 +9648,7 @@ public string String /// /// Date value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("date"), IsRequired = (false))] + [DataMember(Name = ("date"), IsRequired = (false))] public double? Date { get; @@ -9939,7 +9658,7 @@ public double? Date /// /// Array value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("array"), IsRequired = (false))] + [DataMember(Name = ("array"), IsRequired = (false))] public System.Collections.Generic.IList Array { get; @@ -9956,7 +9675,7 @@ public partial class KeyRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Lower bound. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lower"), IsRequired = (false))] + [DataMember(Name = ("lower"), IsRequired = (false))] public CefSharp.DevTools.IndexedDB.Key Lower { get; @@ -9966,7 +9685,7 @@ public CefSharp.DevTools.IndexedDB.Key Lower /// /// Upper bound. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("upper"), IsRequired = (false))] + [DataMember(Name = ("upper"), IsRequired = (false))] public CefSharp.DevTools.IndexedDB.Key Upper { get; @@ -9976,7 +9695,7 @@ public CefSharp.DevTools.IndexedDB.Key Upper /// /// If true lower bound is open. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lowerOpen"), IsRequired = (true))] + [DataMember(Name = ("lowerOpen"), IsRequired = (true))] public bool LowerOpen { get; @@ -9986,7 +9705,7 @@ public bool LowerOpen /// /// If true upper bound is open. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("upperOpen"), IsRequired = (true))] + [DataMember(Name = ("upperOpen"), IsRequired = (true))] public bool UpperOpen { get; @@ -10003,7 +9722,7 @@ public partial class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject Key { get; @@ -10013,7 +9732,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Key /// /// Primary key object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("primaryKey"), IsRequired = (true))] + [DataMember(Name = ("primaryKey"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject PrimaryKey { get; @@ -10023,7 +9742,7 @@ public CefSharp.DevTools.Runtime.RemoteObject PrimaryKey /// /// Value object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -10039,17 +9758,17 @@ public enum KeyPathType /// /// null /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("null"))] + [EnumMember(Value = ("null"))] Null, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array } @@ -10078,7 +9797,7 @@ public CefSharp.DevTools.IndexedDB.KeyPathType Type /// /// Key path type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -10088,7 +9807,7 @@ internal string type /// /// String value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("string"), IsRequired = (false))] + [DataMember(Name = ("string"), IsRequired = (false))] public string String { get; @@ -10098,7 +9817,7 @@ public string String /// /// Array value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("array"), IsRequired = (false))] + [DataMember(Name = ("array"), IsRequired = (false))] public string[] Array { get; @@ -10118,7 +9837,7 @@ public partial class TouchPoint : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X coordinate of the event relative to the main frame's viewport in CSS pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("x"), IsRequired = (true))] + [DataMember(Name = ("x"), IsRequired = (true))] public double X { get; @@ -10129,7 +9848,7 @@ public double X /// Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to /// the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("y"), IsRequired = (true))] + [DataMember(Name = ("y"), IsRequired = (true))] public double Y { get; @@ -10139,7 +9858,7 @@ public double Y /// /// X radius of the touch area (default: 1.0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("radiusX"), IsRequired = (false))] + [DataMember(Name = ("radiusX"), IsRequired = (false))] public double? RadiusX { get; @@ -10149,7 +9868,7 @@ public double? RadiusX /// /// Y radius of the touch area (default: 1.0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("radiusY"), IsRequired = (false))] + [DataMember(Name = ("radiusY"), IsRequired = (false))] public double? RadiusY { get; @@ -10159,7 +9878,7 @@ public double? RadiusY /// /// Rotation angle (default: 0.0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rotationAngle"), IsRequired = (false))] + [DataMember(Name = ("rotationAngle"), IsRequired = (false))] public double? RotationAngle { get; @@ -10169,7 +9888,7 @@ public double? RotationAngle /// /// Force (default: 1.0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("force"), IsRequired = (false))] + [DataMember(Name = ("force"), IsRequired = (false))] public double? Force { get; @@ -10179,7 +9898,7 @@ public double? Force /// /// The normalized tangential pressure, which has a range of [-1,1] (default: 0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("tangentialPressure"), IsRequired = (false))] + [DataMember(Name = ("tangentialPressure"), IsRequired = (false))] public double? TangentialPressure { get; @@ -10189,7 +9908,7 @@ public double? TangentialPressure /// /// The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("tiltX"), IsRequired = (false))] + [DataMember(Name = ("tiltX"), IsRequired = (false))] public int? TiltX { get; @@ -10199,7 +9918,7 @@ public int? TiltX /// /// The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("tiltY"), IsRequired = (false))] + [DataMember(Name = ("tiltY"), IsRequired = (false))] public int? TiltY { get; @@ -10209,7 +9928,7 @@ public int? TiltY /// /// The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("twist"), IsRequired = (false))] + [DataMember(Name = ("twist"), IsRequired = (false))] public int? Twist { get; @@ -10219,7 +9938,7 @@ public int? Twist /// /// Identifier used to track touch sources between events, must be unique within an event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (false))] + [DataMember(Name = ("id"), IsRequired = (false))] public double? Id { get; @@ -10235,17 +9954,17 @@ public enum GestureSourceType /// /// default /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("default"))] + [EnumMember(Value = ("default"))] Default, /// /// touch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("touch"))] + [EnumMember(Value = ("touch"))] Touch, /// /// mouse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouse"))] + [EnumMember(Value = ("mouse"))] Mouse } @@ -10257,32 +9976,32 @@ public enum MouseButton /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// left /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("left"))] + [EnumMember(Value = ("left"))] Left, /// /// middle /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("middle"))] + [EnumMember(Value = ("middle"))] Middle, /// /// right /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("right"))] + [EnumMember(Value = ("right"))] Right, /// /// back /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("back"))] + [EnumMember(Value = ("back"))] Back, /// /// forward /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("forward"))] + [EnumMember(Value = ("forward"))] Forward } @@ -10295,7 +10014,7 @@ public partial class DragDataItem : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Mime type of the dragged data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mimeType"), IsRequired = (true))] + [DataMember(Name = ("mimeType"), IsRequired = (true))] public string MimeType { get; @@ -10306,7 +10025,7 @@ public string MimeType /// Depending of the value of `mimeType`, it contains the dragged link, /// text, HTML markup or any other data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public string Data { get; @@ -10316,7 +10035,7 @@ public string Data /// /// Title associated with a link. Only valid when `mimeType` == "text/uri-list". /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (false))] + [DataMember(Name = ("title"), IsRequired = (false))] public string Title { get; @@ -10327,7 +10046,7 @@ public string Title /// Stores the base URL for the contained markup. Only valid when `mimeType` /// == "text/html". /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseURL"), IsRequired = (false))] + [DataMember(Name = ("baseURL"), IsRequired = (false))] public string BaseURL { get; @@ -10344,7 +10063,7 @@ public partial class DragData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Items /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("items"), IsRequired = (true))] + [DataMember(Name = ("items"), IsRequired = (true))] public System.Collections.Generic.IList Items { get; @@ -10354,7 +10073,7 @@ public System.Collections.Generic.IList It /// /// List of filenames that should be included when dropping /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("files"), IsRequired = (false))] + [DataMember(Name = ("files"), IsRequired = (false))] public string[] Files { get; @@ -10364,7 +10083,7 @@ public string[] Files /// /// Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16 /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("dragOperationsMask"), IsRequired = (true))] + [DataMember(Name = ("dragOperationsMask"), IsRequired = (true))] public int DragOperationsMask { get; @@ -10382,7 +10101,7 @@ public class DragInterceptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Data /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public CefSharp.DevTools.Input.DragData Data { get; @@ -10402,7 +10121,7 @@ public class DetachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The reason why connection has been terminated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] public string Reason { get; @@ -10421,17 +10140,17 @@ public enum ScrollRectType /// /// RepaintsOnScroll /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RepaintsOnScroll"))] + [EnumMember(Value = ("RepaintsOnScroll"))] RepaintsOnScroll, /// /// TouchEventHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TouchEventHandler"))] + [EnumMember(Value = ("TouchEventHandler"))] TouchEventHandler, /// /// WheelEventHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WheelEventHandler"))] + [EnumMember(Value = ("WheelEventHandler"))] WheelEventHandler } @@ -10444,7 +10163,7 @@ public partial class ScrollRect : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Rectangle itself. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rect"), IsRequired = (true))] + [DataMember(Name = ("rect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect Rect { get; @@ -10470,7 +10189,7 @@ public CefSharp.DevTools.LayerTree.ScrollRectType Type /// /// Reason for rectangle to force scrolling on the main thread /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -10487,7 +10206,7 @@ public partial class StickyPositionConstraint : CefSharp.DevTools.DevToolsDomain /// /// Layout rectangle of the sticky element before being shifted /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stickyBoxRect"), IsRequired = (true))] + [DataMember(Name = ("stickyBoxRect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect StickyBoxRect { get; @@ -10497,7 +10216,7 @@ public CefSharp.DevTools.DOM.Rect StickyBoxRect /// /// Layout rectangle of the containing block of the sticky element /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containingBlockRect"), IsRequired = (true))] + [DataMember(Name = ("containingBlockRect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect ContainingBlockRect { get; @@ -10507,7 +10226,7 @@ public CefSharp.DevTools.DOM.Rect ContainingBlockRect /// /// The nearest sticky layer that shifts the sticky box /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nearestLayerShiftingStickyBox"), IsRequired = (false))] + [DataMember(Name = ("nearestLayerShiftingStickyBox"), IsRequired = (false))] public string NearestLayerShiftingStickyBox { get; @@ -10517,7 +10236,7 @@ public string NearestLayerShiftingStickyBox /// /// The nearest sticky layer that shifts the containing block /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nearestLayerShiftingContainingBlock"), IsRequired = (false))] + [DataMember(Name = ("nearestLayerShiftingContainingBlock"), IsRequired = (false))] public string NearestLayerShiftingContainingBlock { get; @@ -10534,7 +10253,7 @@ public partial class PictureTile : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Offset from owning layer left boundary /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("x"), IsRequired = (true))] + [DataMember(Name = ("x"), IsRequired = (true))] public double X { get; @@ -10544,7 +10263,7 @@ public double X /// /// Offset from owning layer top boundary /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("y"), IsRequired = (true))] + [DataMember(Name = ("y"), IsRequired = (true))] public double Y { get; @@ -10554,7 +10273,7 @@ public double Y /// /// Base64-encoded snapshot data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("picture"), IsRequired = (true))] + [DataMember(Name = ("picture"), IsRequired = (true))] public byte[] Picture { get; @@ -10571,7 +10290,7 @@ public partial class Layer : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The unique id for this layer. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layerId"), IsRequired = (true))] + [DataMember(Name = ("layerId"), IsRequired = (true))] public string LayerId { get; @@ -10581,7 +10300,7 @@ public string LayerId /// /// The id of parent (not present for root). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentLayerId"), IsRequired = (false))] + [DataMember(Name = ("parentLayerId"), IsRequired = (false))] public string ParentLayerId { get; @@ -10591,7 +10310,7 @@ public string ParentLayerId /// /// The backend id for the node associated with this layer. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int? BackendNodeId { get; @@ -10601,7 +10320,7 @@ public int? BackendNodeId /// /// Offset from parent layer, X coordinate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetX"), IsRequired = (true))] + [DataMember(Name = ("offsetX"), IsRequired = (true))] public double OffsetX { get; @@ -10611,7 +10330,7 @@ public double OffsetX /// /// Offset from parent layer, Y coordinate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetY"), IsRequired = (true))] + [DataMember(Name = ("offsetY"), IsRequired = (true))] public double OffsetY { get; @@ -10621,7 +10340,7 @@ public double OffsetY /// /// Layer width. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))] + [DataMember(Name = ("width"), IsRequired = (true))] public double Width { get; @@ -10631,7 +10350,7 @@ public double Width /// /// Layer height. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))] + [DataMember(Name = ("height"), IsRequired = (true))] public double Height { get; @@ -10641,7 +10360,7 @@ public double Height /// /// Transformation matrix for layer, default is identity matrix /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transform"), IsRequired = (false))] + [DataMember(Name = ("transform"), IsRequired = (false))] public double[] Transform { get; @@ -10651,7 +10370,7 @@ public double[] Transform /// /// Transform anchor point X, absent if no transform specified /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("anchorX"), IsRequired = (false))] + [DataMember(Name = ("anchorX"), IsRequired = (false))] public double? AnchorX { get; @@ -10661,7 +10380,7 @@ public double? AnchorX /// /// Transform anchor point Y, absent if no transform specified /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("anchorY"), IsRequired = (false))] + [DataMember(Name = ("anchorY"), IsRequired = (false))] public double? AnchorY { get; @@ -10671,7 +10390,7 @@ public double? AnchorY /// /// Transform anchor point Z, absent if no transform specified /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("anchorZ"), IsRequired = (false))] + [DataMember(Name = ("anchorZ"), IsRequired = (false))] public double? AnchorZ { get; @@ -10681,7 +10400,7 @@ public double? AnchorZ /// /// Indicates how many time this layer has painted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paintCount"), IsRequired = (true))] + [DataMember(Name = ("paintCount"), IsRequired = (true))] public int PaintCount { get; @@ -10692,7 +10411,7 @@ public int PaintCount /// Indicates whether this layer hosts any content, rather than being used for /// transform/scrolling purposes only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("drawsContent"), IsRequired = (true))] + [DataMember(Name = ("drawsContent"), IsRequired = (true))] public bool DrawsContent { get; @@ -10702,7 +10421,7 @@ public bool DrawsContent /// /// Set if layer is not visible. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("invisible"), IsRequired = (false))] + [DataMember(Name = ("invisible"), IsRequired = (false))] public bool? Invisible { get; @@ -10712,7 +10431,7 @@ public bool? Invisible /// /// Rectangles scrolling on main thread only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollRects"), IsRequired = (false))] + [DataMember(Name = ("scrollRects"), IsRequired = (false))] public System.Collections.Generic.IList ScrollRects { get; @@ -10722,7 +10441,7 @@ public System.Collections.Generic.IList /// /// Sticky position constraint information /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stickyPositionConstraint"), IsRequired = (false))] + [DataMember(Name = ("stickyPositionConstraint"), IsRequired = (false))] public CefSharp.DevTools.LayerTree.StickyPositionConstraint StickyPositionConstraint { get; @@ -10739,7 +10458,7 @@ public class LayerPaintedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// The id of the painted layer. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layerId"), IsRequired = (true))] + [DataMember(Name = ("layerId"), IsRequired = (true))] public string LayerId { get; @@ -10749,7 +10468,7 @@ public string LayerId /// /// Clip rectangle. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clip"), IsRequired = (true))] + [DataMember(Name = ("clip"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect Clip { get; @@ -10766,7 +10485,7 @@ public class LayerTreeDidChangeEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Layer tree, absent if not in the comspositing mode. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layers"), IsRequired = (false))] + [DataMember(Name = ("layers"), IsRequired = (false))] public System.Collections.Generic.IList Layers { get; @@ -10785,67 +10504,67 @@ public enum LogEntrySource /// /// xml /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("xml"))] + [EnumMember(Value = ("xml"))] Xml, /// /// javascript /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("javascript"))] + [EnumMember(Value = ("javascript"))] Javascript, /// /// network /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("network"))] + [EnumMember(Value = ("network"))] Network, /// /// storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("storage"))] + [EnumMember(Value = ("storage"))] Storage, /// /// appcache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("appcache"))] + [EnumMember(Value = ("appcache"))] Appcache, /// /// rendering /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("rendering"))] + [EnumMember(Value = ("rendering"))] Rendering, /// /// security /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("security"))] + [EnumMember(Value = ("security"))] Security, /// /// deprecation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("deprecation"))] + [EnumMember(Value = ("deprecation"))] Deprecation, /// /// worker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("worker"))] + [EnumMember(Value = ("worker"))] Worker, /// /// violation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("violation"))] + [EnumMember(Value = ("violation"))] Violation, /// /// intervention /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("intervention"))] + [EnumMember(Value = ("intervention"))] Intervention, /// /// recommendation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("recommendation"))] + [EnumMember(Value = ("recommendation"))] Recommendation, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other } @@ -10857,22 +10576,22 @@ public enum LogEntryLevel /// /// verbose /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("verbose"))] + [EnumMember(Value = ("verbose"))] Verbose, /// /// info /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("info"))] + [EnumMember(Value = ("info"))] Info, /// /// warning /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("warning"))] + [EnumMember(Value = ("warning"))] Warning, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error } @@ -10884,7 +10603,7 @@ public enum LogEntryCategory /// /// cors /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cors"))] + [EnumMember(Value = ("cors"))] Cors } @@ -10913,7 +10632,7 @@ public CefSharp.DevTools.Log.LogEntrySource Source /// /// Log entry source. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("source"), IsRequired = (true))] + [DataMember(Name = ("source"), IsRequired = (true))] internal string source { get; @@ -10939,7 +10658,7 @@ public CefSharp.DevTools.Log.LogEntryLevel Level /// /// Log entry severity. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("level"), IsRequired = (true))] + [DataMember(Name = ("level"), IsRequired = (true))] internal string level { get; @@ -10949,7 +10668,7 @@ internal string level /// /// Logged text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -10975,7 +10694,7 @@ public CefSharp.DevTools.Log.LogEntryCategory? Category /// /// Category /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("category"), IsRequired = (false))] + [DataMember(Name = ("category"), IsRequired = (false))] internal string category { get; @@ -10985,7 +10704,7 @@ internal string category /// /// Timestamp when this entry was added. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -10995,7 +10714,7 @@ public double Timestamp /// /// URL of the resource if known. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -11005,7 +10724,7 @@ public string Url /// /// Line number in the resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (false))] + [DataMember(Name = ("lineNumber"), IsRequired = (false))] public int? LineNumber { get; @@ -11015,7 +10734,7 @@ public int? LineNumber /// /// JavaScript stack trace. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackTrace"), IsRequired = (false))] + [DataMember(Name = ("stackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -11025,7 +10744,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// Identifier of the network request associated with this entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("networkRequestId"), IsRequired = (false))] + [DataMember(Name = ("networkRequestId"), IsRequired = (false))] public string NetworkRequestId { get; @@ -11035,7 +10754,7 @@ public string NetworkRequestId /// /// Identifier of the worker associated with this entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("workerId"), IsRequired = (false))] + [DataMember(Name = ("workerId"), IsRequired = (false))] public string WorkerId { get; @@ -11045,7 +10764,7 @@ public string WorkerId /// /// Call arguments. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("args"), IsRequired = (false))] + [DataMember(Name = ("args"), IsRequired = (false))] public System.Collections.Generic.IList Args { get; @@ -11061,37 +10780,37 @@ public enum ViolationSettingName /// /// longTask /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("longTask"))] + [EnumMember(Value = ("longTask"))] LongTask, /// /// longLayout /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("longLayout"))] + [EnumMember(Value = ("longLayout"))] LongLayout, /// /// blockedEvent /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("blockedEvent"))] + [EnumMember(Value = ("blockedEvent"))] BlockedEvent, /// /// blockedParser /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("blockedParser"))] + [EnumMember(Value = ("blockedParser"))] BlockedParser, /// /// discouragedAPIUse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("discouragedAPIUse"))] + [EnumMember(Value = ("discouragedAPIUse"))] DiscouragedAPIUse, /// /// handler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("handler"))] + [EnumMember(Value = ("handler"))] Handler, /// /// recurringHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("recurringHandler"))] + [EnumMember(Value = ("recurringHandler"))] RecurringHandler } @@ -11120,7 +10839,7 @@ public CefSharp.DevTools.Log.ViolationSettingName Name /// /// Violation type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] internal string name { get; @@ -11130,7 +10849,7 @@ internal string name /// /// Time threshold to trigger upon. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("threshold"), IsRequired = (true))] + [DataMember(Name = ("threshold"), IsRequired = (true))] public double Threshold { get; @@ -11147,7 +10866,7 @@ public class EntryAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("entry"), IsRequired = (true))] + [DataMember(Name = ("entry"), IsRequired = (true))] public CefSharp.DevTools.Log.LogEntry Entry { get; @@ -11166,12 +10885,12 @@ public enum PressureLevel /// /// moderate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("moderate"))] + [EnumMember(Value = ("moderate"))] Moderate, /// /// critical /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("critical"))] + [EnumMember(Value = ("critical"))] Critical } @@ -11184,7 +10903,7 @@ public partial class SamplingProfileNode : CefSharp.DevTools.DevToolsDomainEntit /// /// Size of the sampled allocation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] + [DataMember(Name = ("size"), IsRequired = (true))] public double Size { get; @@ -11194,7 +10913,7 @@ public double Size /// /// Total bytes attributed to this sample. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("total"), IsRequired = (true))] + [DataMember(Name = ("total"), IsRequired = (true))] public double Total { get; @@ -11204,7 +10923,7 @@ public double Total /// /// Execution stack at the point of allocation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stack"), IsRequired = (true))] + [DataMember(Name = ("stack"), IsRequired = (true))] public string[] Stack { get; @@ -11221,7 +10940,7 @@ public partial class SamplingProfile : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Samples /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("samples"), IsRequired = (true))] + [DataMember(Name = ("samples"), IsRequired = (true))] public System.Collections.Generic.IList Samples { get; @@ -11231,7 +10950,7 @@ public System.Collections.Generic.IList /// Modules /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("modules"), IsRequired = (true))] + [DataMember(Name = ("modules"), IsRequired = (true))] public System.Collections.Generic.IList Modules { get; @@ -11248,7 +10967,7 @@ public partial class Module : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name of the module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -11258,7 +10977,7 @@ public string Name /// /// UUID of the module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("uuid"), IsRequired = (true))] + [DataMember(Name = ("uuid"), IsRequired = (true))] public string Uuid { get; @@ -11269,7 +10988,7 @@ public string Uuid /// Base address where the module is loaded into memory. Encoded as a decimal /// or hexadecimal (0x prefixed) string. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseAddress"), IsRequired = (true))] + [DataMember(Name = ("baseAddress"), IsRequired = (true))] public string BaseAddress { get; @@ -11279,7 +10998,7 @@ public string BaseAddress /// /// Size of the module in bytes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] + [DataMember(Name = ("size"), IsRequired = (true))] public double Size { get; @@ -11298,92 +11017,92 @@ public enum ResourceType /// /// Document /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Document"))] + [EnumMember(Value = ("Document"))] Document, /// /// Stylesheet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Stylesheet"))] + [EnumMember(Value = ("Stylesheet"))] Stylesheet, /// /// Image /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Image"))] + [EnumMember(Value = ("Image"))] Image, /// /// Media /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Media"))] + [EnumMember(Value = ("Media"))] Media, /// /// Font /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Font"))] + [EnumMember(Value = ("Font"))] Font, /// /// Script /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Script"))] + [EnumMember(Value = ("Script"))] Script, /// /// TextTrack /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TextTrack"))] + [EnumMember(Value = ("TextTrack"))] TextTrack, /// /// XHR /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XHR"))] + [EnumMember(Value = ("XHR"))] XHR, /// /// Fetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Fetch"))] + [EnumMember(Value = ("Fetch"))] Fetch, /// /// Prefetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Prefetch"))] + [EnumMember(Value = ("Prefetch"))] Prefetch, /// /// EventSource /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventSource"))] + [EnumMember(Value = ("EventSource"))] EventSource, /// /// WebSocket /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebSocket"))] + [EnumMember(Value = ("WebSocket"))] WebSocket, /// /// Manifest /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Manifest"))] + [EnumMember(Value = ("Manifest"))] Manifest, /// /// SignedExchange /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SignedExchange"))] + [EnumMember(Value = ("SignedExchange"))] SignedExchange, /// /// Ping /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Ping"))] + [EnumMember(Value = ("Ping"))] Ping, /// /// CSPViolationReport /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSPViolationReport"))] + [EnumMember(Value = ("CSPViolationReport"))] CSPViolationReport, /// /// Preflight /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Preflight"))] + [EnumMember(Value = ("Preflight"))] Preflight, /// /// Other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Other"))] + [EnumMember(Value = ("Other"))] Other } @@ -11395,72 +11114,72 @@ public enum ErrorReason /// /// Failed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Failed"))] + [EnumMember(Value = ("Failed"))] Failed, /// /// Aborted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Aborted"))] + [EnumMember(Value = ("Aborted"))] Aborted, /// /// TimedOut /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TimedOut"))] + [EnumMember(Value = ("TimedOut"))] TimedOut, /// /// AccessDenied /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AccessDenied"))] + [EnumMember(Value = ("AccessDenied"))] AccessDenied, /// /// ConnectionClosed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConnectionClosed"))] + [EnumMember(Value = ("ConnectionClosed"))] ConnectionClosed, /// /// ConnectionReset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConnectionReset"))] + [EnumMember(Value = ("ConnectionReset"))] ConnectionReset, /// /// ConnectionRefused /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConnectionRefused"))] + [EnumMember(Value = ("ConnectionRefused"))] ConnectionRefused, /// /// ConnectionAborted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConnectionAborted"))] + [EnumMember(Value = ("ConnectionAborted"))] ConnectionAborted, /// /// ConnectionFailed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConnectionFailed"))] + [EnumMember(Value = ("ConnectionFailed"))] ConnectionFailed, /// /// NameNotResolved /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NameNotResolved"))] + [EnumMember(Value = ("NameNotResolved"))] NameNotResolved, /// /// InternetDisconnected /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InternetDisconnected"))] + [EnumMember(Value = ("InternetDisconnected"))] InternetDisconnected, /// /// AddressUnreachable /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AddressUnreachable"))] + [EnumMember(Value = ("AddressUnreachable"))] AddressUnreachable, /// /// BlockedByClient /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockedByClient"))] + [EnumMember(Value = ("BlockedByClient"))] BlockedByClient, /// /// BlockedByResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockedByResponse"))] + [EnumMember(Value = ("BlockedByResponse"))] BlockedByResponse } @@ -11472,47 +11191,47 @@ public enum ConnectionType /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// cellular2g /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cellular2g"))] + [EnumMember(Value = ("cellular2g"))] Cellular2g, /// /// cellular3g /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cellular3g"))] + [EnumMember(Value = ("cellular3g"))] Cellular3g, /// /// cellular4g /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cellular4g"))] + [EnumMember(Value = ("cellular4g"))] Cellular4g, /// /// bluetooth /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bluetooth"))] + [EnumMember(Value = ("bluetooth"))] Bluetooth, /// /// ethernet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ethernet"))] + [EnumMember(Value = ("ethernet"))] Ethernet, /// /// wifi /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wifi"))] + [EnumMember(Value = ("wifi"))] Wifi, /// /// wimax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wimax"))] + [EnumMember(Value = ("wimax"))] Wimax, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other } @@ -11525,17 +11244,17 @@ public enum CookieSameSite /// /// Strict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Strict"))] + [EnumMember(Value = ("Strict"))] Strict, /// /// Lax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Lax"))] + [EnumMember(Value = ("Lax"))] Lax, /// /// None /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("None"))] + [EnumMember(Value = ("None"))] None } @@ -11548,17 +11267,17 @@ public enum CookiePriority /// /// Low /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Low"))] + [EnumMember(Value = ("Low"))] Low, /// /// Medium /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Medium"))] + [EnumMember(Value = ("Medium"))] Medium, /// /// High /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("High"))] + [EnumMember(Value = ("High"))] High } @@ -11572,17 +11291,17 @@ public enum CookieSourceScheme /// /// Unset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unset"))] + [EnumMember(Value = ("Unset"))] Unset, /// /// NonSecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NonSecure"))] + [EnumMember(Value = ("NonSecure"))] NonSecure, /// /// Secure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Secure"))] + [EnumMember(Value = ("Secure"))] Secure } @@ -11596,7 +11315,7 @@ public partial class ResourceTiming : CefSharp.DevTools.DevToolsDomainEntityBase /// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in /// milliseconds relatively to this requestTime. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestTime"), IsRequired = (true))] + [DataMember(Name = ("requestTime"), IsRequired = (true))] public double RequestTime { get; @@ -11606,7 +11325,7 @@ public double RequestTime /// /// Started resolving proxy. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("proxyStart"), IsRequired = (true))] + [DataMember(Name = ("proxyStart"), IsRequired = (true))] public double ProxyStart { get; @@ -11616,7 +11335,7 @@ public double ProxyStart /// /// Finished resolving proxy. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("proxyEnd"), IsRequired = (true))] + [DataMember(Name = ("proxyEnd"), IsRequired = (true))] public double ProxyEnd { get; @@ -11626,7 +11345,7 @@ public double ProxyEnd /// /// Started DNS address resolve. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("dnsStart"), IsRequired = (true))] + [DataMember(Name = ("dnsStart"), IsRequired = (true))] public double DnsStart { get; @@ -11636,7 +11355,7 @@ public double DnsStart /// /// Finished DNS address resolve. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("dnsEnd"), IsRequired = (true))] + [DataMember(Name = ("dnsEnd"), IsRequired = (true))] public double DnsEnd { get; @@ -11646,7 +11365,7 @@ public double DnsEnd /// /// Started connecting to the remote host. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectStart"), IsRequired = (true))] + [DataMember(Name = ("connectStart"), IsRequired = (true))] public double ConnectStart { get; @@ -11656,7 +11375,7 @@ public double ConnectStart /// /// Connected to the remote host. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectEnd"), IsRequired = (true))] + [DataMember(Name = ("connectEnd"), IsRequired = (true))] public double ConnectEnd { get; @@ -11666,7 +11385,7 @@ public double ConnectEnd /// /// Started SSL handshake. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sslStart"), IsRequired = (true))] + [DataMember(Name = ("sslStart"), IsRequired = (true))] public double SslStart { get; @@ -11676,7 +11395,7 @@ public double SslStart /// /// Finished SSL handshake. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sslEnd"), IsRequired = (true))] + [DataMember(Name = ("sslEnd"), IsRequired = (true))] public double SslEnd { get; @@ -11686,7 +11405,7 @@ public double SslEnd /// /// Started running ServiceWorker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("workerStart"), IsRequired = (true))] + [DataMember(Name = ("workerStart"), IsRequired = (true))] public double WorkerStart { get; @@ -11696,7 +11415,7 @@ public double WorkerStart /// /// Finished Starting ServiceWorker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("workerReady"), IsRequired = (true))] + [DataMember(Name = ("workerReady"), IsRequired = (true))] public double WorkerReady { get; @@ -11706,7 +11425,7 @@ public double WorkerReady /// /// Started fetch event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("workerFetchStart"), IsRequired = (true))] + [DataMember(Name = ("workerFetchStart"), IsRequired = (true))] public double WorkerFetchStart { get; @@ -11716,7 +11435,7 @@ public double WorkerFetchStart /// /// Settled fetch event respondWith promise. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("workerRespondWithSettled"), IsRequired = (true))] + [DataMember(Name = ("workerRespondWithSettled"), IsRequired = (true))] public double WorkerRespondWithSettled { get; @@ -11726,7 +11445,7 @@ public double WorkerRespondWithSettled /// /// Started sending request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sendStart"), IsRequired = (true))] + [DataMember(Name = ("sendStart"), IsRequired = (true))] public double SendStart { get; @@ -11736,7 +11455,7 @@ public double SendStart /// /// Finished sending request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sendEnd"), IsRequired = (true))] + [DataMember(Name = ("sendEnd"), IsRequired = (true))] public double SendEnd { get; @@ -11746,7 +11465,7 @@ public double SendEnd /// /// Time the server started pushing request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pushStart"), IsRequired = (true))] + [DataMember(Name = ("pushStart"), IsRequired = (true))] public double PushStart { get; @@ -11756,7 +11475,7 @@ public double PushStart /// /// Time the server finished pushing request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pushEnd"), IsRequired = (true))] + [DataMember(Name = ("pushEnd"), IsRequired = (true))] public double PushEnd { get; @@ -11766,7 +11485,7 @@ public double PushEnd /// /// Finished receiving response headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("receiveHeadersEnd"), IsRequired = (true))] + [DataMember(Name = ("receiveHeadersEnd"), IsRequired = (true))] public double ReceiveHeadersEnd { get; @@ -11782,27 +11501,27 @@ public enum ResourcePriority /// /// VeryLow /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("VeryLow"))] + [EnumMember(Value = ("VeryLow"))] VeryLow, /// /// Low /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Low"))] + [EnumMember(Value = ("Low"))] Low, /// /// Medium /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Medium"))] + [EnumMember(Value = ("Medium"))] Medium, /// /// High /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("High"))] + [EnumMember(Value = ("High"))] High, /// /// VeryHigh /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("VeryHigh"))] + [EnumMember(Value = ("VeryHigh"))] VeryHigh } @@ -11815,7 +11534,7 @@ public partial class PostDataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Bytes /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bytes"), IsRequired = (false))] + [DataMember(Name = ("bytes"), IsRequired = (false))] public byte[] Bytes { get; @@ -11831,42 +11550,42 @@ public enum RequestReferrerPolicy /// /// unsafe-url /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unsafe-url"))] + [EnumMember(Value = ("unsafe-url"))] UnsafeUrl, /// /// no-referrer-when-downgrade /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("no-referrer-when-downgrade"))] + [EnumMember(Value = ("no-referrer-when-downgrade"))] NoReferrerWhenDowngrade, /// /// no-referrer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("no-referrer"))] + [EnumMember(Value = ("no-referrer"))] NoReferrer, /// /// origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("origin"))] + [EnumMember(Value = ("origin"))] Origin, /// /// origin-when-cross-origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("origin-when-cross-origin"))] + [EnumMember(Value = ("origin-when-cross-origin"))] OriginWhenCrossOrigin, /// /// same-origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("same-origin"))] + [EnumMember(Value = ("same-origin"))] SameOrigin, /// /// strict-origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("strict-origin"))] + [EnumMember(Value = ("strict-origin"))] StrictOrigin, /// /// strict-origin-when-cross-origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("strict-origin-when-cross-origin"))] + [EnumMember(Value = ("strict-origin-when-cross-origin"))] StrictOriginWhenCrossOrigin } @@ -11879,7 +11598,7 @@ public partial class Request : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Request URL (without fragment). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -11889,7 +11608,7 @@ public string Url /// /// Fragment of the requested URL starting with hash, if present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urlFragment"), IsRequired = (false))] + [DataMember(Name = ("urlFragment"), IsRequired = (false))] public string UrlFragment { get; @@ -11899,7 +11618,7 @@ public string UrlFragment /// /// HTTP request method. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("method"), IsRequired = (true))] + [DataMember(Name = ("method"), IsRequired = (true))] public string Method { get; @@ -11909,7 +11628,7 @@ public string Method /// /// HTTP request headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -11919,7 +11638,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP POST request data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("postData"), IsRequired = (false))] + [DataMember(Name = ("postData"), IsRequired = (false))] public string PostData { get; @@ -11929,7 +11648,7 @@ public string PostData /// /// True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasPostData"), IsRequired = (false))] + [DataMember(Name = ("hasPostData"), IsRequired = (false))] public bool? HasPostData { get; @@ -11939,7 +11658,7 @@ public bool? HasPostData /// /// Request body elements. This will be converted from base64 to binary /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("postDataEntries"), IsRequired = (false))] + [DataMember(Name = ("postDataEntries"), IsRequired = (false))] public System.Collections.Generic.IList PostDataEntries { get; @@ -11965,7 +11684,7 @@ public CefSharp.DevTools.Security.MixedContentType? MixedContentType /// /// The mixed content type of the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mixedContentType"), IsRequired = (false))] + [DataMember(Name = ("mixedContentType"), IsRequired = (false))] internal string mixedContentType { get; @@ -11991,7 +11710,7 @@ public CefSharp.DevTools.Network.ResourcePriority InitialPriority /// /// Priority of the resource request at the time request is sent. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initialPriority"), IsRequired = (true))] + [DataMember(Name = ("initialPriority"), IsRequired = (true))] internal string initialPriority { get; @@ -12017,7 +11736,7 @@ public CefSharp.DevTools.Network.RequestReferrerPolicy ReferrerPolicy /// /// The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("referrerPolicy"), IsRequired = (true))] + [DataMember(Name = ("referrerPolicy"), IsRequired = (true))] internal string referrerPolicy { get; @@ -12027,7 +11746,7 @@ internal string referrerPolicy /// /// Whether is loaded via link preload. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isLinkPreload"), IsRequired = (false))] + [DataMember(Name = ("isLinkPreload"), IsRequired = (false))] public bool? IsLinkPreload { get; @@ -12038,7 +11757,7 @@ public bool? IsLinkPreload /// Set for requests when the TrustToken API is used. Contains the parameters /// passed by the developer (e.g. via "fetch") as understood by the backend. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("trustTokenParams"), IsRequired = (false))] + [DataMember(Name = ("trustTokenParams"), IsRequired = (false))] public CefSharp.DevTools.Network.TrustTokenParams TrustTokenParams { get; @@ -12049,7 +11768,7 @@ public CefSharp.DevTools.Network.TrustTokenParams TrustTokenParams /// True if this resource request is considered to be the 'same site' as the /// request correspondinfg to the main frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isSameSite"), IsRequired = (false))] + [DataMember(Name = ("isSameSite"), IsRequired = (false))] public bool? IsSameSite { get; @@ -12066,7 +11785,7 @@ public partial class SignedCertificateTimestamp : CefSharp.DevTools.DevToolsDoma /// /// Validation status. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] public string Status { get; @@ -12076,7 +11795,7 @@ public string Status /// /// Origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -12086,7 +11805,7 @@ public string Origin /// /// Log name / description. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("logDescription"), IsRequired = (true))] + [DataMember(Name = ("logDescription"), IsRequired = (true))] public string LogDescription { get; @@ -12096,7 +11815,7 @@ public string LogDescription /// /// Log ID. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("logId"), IsRequired = (true))] + [DataMember(Name = ("logId"), IsRequired = (true))] public string LogId { get; @@ -12107,7 +11826,7 @@ public string LogId /// Issuance date. Unlike TimeSinceEpoch, this contains the number of /// milliseconds since January 1, 1970, UTC, not the number of seconds. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -12117,7 +11836,7 @@ public double Timestamp /// /// Hash algorithm. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hashAlgorithm"), IsRequired = (true))] + [DataMember(Name = ("hashAlgorithm"), IsRequired = (true))] public string HashAlgorithm { get; @@ -12127,7 +11846,7 @@ public string HashAlgorithm /// /// Signature algorithm. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signatureAlgorithm"), IsRequired = (true))] + [DataMember(Name = ("signatureAlgorithm"), IsRequired = (true))] public string SignatureAlgorithm { get; @@ -12137,7 +11856,7 @@ public string SignatureAlgorithm /// /// Signature data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signatureData"), IsRequired = (true))] + [DataMember(Name = ("signatureData"), IsRequired = (true))] public string SignatureData { get; @@ -12154,7 +11873,7 @@ public partial class SecurityDetails : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Protocol name (e.g. "TLS 1.2" or "QUIC"). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("protocol"), IsRequired = (true))] + [DataMember(Name = ("protocol"), IsRequired = (true))] public string Protocol { get; @@ -12164,7 +11883,7 @@ public string Protocol /// /// Key Exchange used by the connection, or the empty string if not applicable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyExchange"), IsRequired = (true))] + [DataMember(Name = ("keyExchange"), IsRequired = (true))] public string KeyExchange { get; @@ -12174,7 +11893,7 @@ public string KeyExchange /// /// (EC)DH group used by the connection, if applicable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyExchangeGroup"), IsRequired = (false))] + [DataMember(Name = ("keyExchangeGroup"), IsRequired = (false))] public string KeyExchangeGroup { get; @@ -12184,7 +11903,7 @@ public string KeyExchangeGroup /// /// Cipher name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cipher"), IsRequired = (true))] + [DataMember(Name = ("cipher"), IsRequired = (true))] public string Cipher { get; @@ -12194,7 +11913,7 @@ public string Cipher /// /// TLS MAC. Note that AEAD ciphers do not have separate MACs. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mac"), IsRequired = (false))] + [DataMember(Name = ("mac"), IsRequired = (false))] public string Mac { get; @@ -12204,7 +11923,7 @@ public string Mac /// /// Certificate ID value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateId"), IsRequired = (true))] + [DataMember(Name = ("certificateId"), IsRequired = (true))] public int CertificateId { get; @@ -12214,7 +11933,7 @@ public int CertificateId /// /// Certificate subject name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subjectName"), IsRequired = (true))] + [DataMember(Name = ("subjectName"), IsRequired = (true))] public string SubjectName { get; @@ -12224,7 +11943,7 @@ public string SubjectName /// /// Subject Alternative Name (SAN) DNS names and IP addresses. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sanList"), IsRequired = (true))] + [DataMember(Name = ("sanList"), IsRequired = (true))] public string[] SanList { get; @@ -12234,7 +11953,7 @@ public string[] SanList /// /// Name of the issuing CA. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuer"), IsRequired = (true))] + [DataMember(Name = ("issuer"), IsRequired = (true))] public string Issuer { get; @@ -12244,7 +11963,7 @@ public string Issuer /// /// Certificate valid from date. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("validFrom"), IsRequired = (true))] + [DataMember(Name = ("validFrom"), IsRequired = (true))] public double ValidFrom { get; @@ -12254,7 +11973,7 @@ public double ValidFrom /// /// Certificate valid to (expiration) date /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("validTo"), IsRequired = (true))] + [DataMember(Name = ("validTo"), IsRequired = (true))] public double ValidTo { get; @@ -12264,7 +11983,7 @@ public double ValidTo /// /// List of signed certificate timestamps (SCTs). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signedCertificateTimestampList"), IsRequired = (true))] + [DataMember(Name = ("signedCertificateTimestampList"), IsRequired = (true))] public System.Collections.Generic.IList SignedCertificateTimestampList { get; @@ -12290,7 +12009,7 @@ public CefSharp.DevTools.Network.CertificateTransparencyCompliance CertificateTr /// /// Whether the request complied with Certificate Transparency policy /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateTransparencyCompliance"), IsRequired = (true))] + [DataMember(Name = ("certificateTransparencyCompliance"), IsRequired = (true))] internal string certificateTransparencyCompliance { get; @@ -12302,7 +12021,7 @@ internal string certificateTransparencyCompliance /// represented as a TLS SignatureScheme code point. Omitted if not /// applicable or not known. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("serverSignatureAlgorithm"), IsRequired = (false))] + [DataMember(Name = ("serverSignatureAlgorithm"), IsRequired = (false))] public int? ServerSignatureAlgorithm { get; @@ -12312,7 +12031,7 @@ public int? ServerSignatureAlgorithm /// /// Whether the connection used Encrypted ClientHello /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("encryptedClientHello"), IsRequired = (true))] + [DataMember(Name = ("encryptedClientHello"), IsRequired = (true))] public bool EncryptedClientHello { get; @@ -12328,17 +12047,17 @@ public enum CertificateTransparencyCompliance /// /// unknown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unknown"))] + [EnumMember(Value = ("unknown"))] Unknown, /// /// not-compliant /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("not-compliant"))] + [EnumMember(Value = ("not-compliant"))] NotCompliant, /// /// compliant /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("compliant"))] + [EnumMember(Value = ("compliant"))] Compliant } @@ -12350,62 +12069,62 @@ public enum BlockedReason /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other, /// /// csp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("csp"))] + [EnumMember(Value = ("csp"))] Csp, /// /// mixed-content /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mixed-content"))] + [EnumMember(Value = ("mixed-content"))] MixedContent, /// /// origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("origin"))] + [EnumMember(Value = ("origin"))] Origin, /// /// inspector /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("inspector"))] + [EnumMember(Value = ("inspector"))] Inspector, /// /// subresource-filter /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("subresource-filter"))] + [EnumMember(Value = ("subresource-filter"))] SubresourceFilter, /// /// content-type /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("content-type"))] + [EnumMember(Value = ("content-type"))] ContentType, /// /// coep-frame-resource-needs-coep-header /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("coep-frame-resource-needs-coep-header"))] + [EnumMember(Value = ("coep-frame-resource-needs-coep-header"))] CoepFrameResourceNeedsCoepHeader, /// /// coop-sandboxed-iframe-cannot-navigate-to-coop-page /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("coop-sandboxed-iframe-cannot-navigate-to-coop-page"))] + [EnumMember(Value = ("coop-sandboxed-iframe-cannot-navigate-to-coop-page"))] CoopSandboxedIframeCannotNavigateToCoopPage, /// /// corp-not-same-origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("corp-not-same-origin"))] + [EnumMember(Value = ("corp-not-same-origin"))] CorpNotSameOrigin, /// /// corp-not-same-origin-after-defaulted-to-same-origin-by-coep /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("corp-not-same-origin-after-defaulted-to-same-origin-by-coep"))] + [EnumMember(Value = ("corp-not-same-origin-after-defaulted-to-same-origin-by-coep"))] CorpNotSameOriginAfterDefaultedToSameOriginByCoep, /// /// corp-not-same-site /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("corp-not-same-site"))] + [EnumMember(Value = ("corp-not-same-site"))] CorpNotSameSite } @@ -12417,152 +12136,152 @@ public enum CorsError /// /// DisallowedByMode /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DisallowedByMode"))] + [EnumMember(Value = ("DisallowedByMode"))] DisallowedByMode, /// /// InvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidResponse"))] + [EnumMember(Value = ("InvalidResponse"))] InvalidResponse, /// /// WildcardOriginNotAllowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WildcardOriginNotAllowed"))] + [EnumMember(Value = ("WildcardOriginNotAllowed"))] WildcardOriginNotAllowed, /// /// MissingAllowOriginHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MissingAllowOriginHeader"))] + [EnumMember(Value = ("MissingAllowOriginHeader"))] MissingAllowOriginHeader, /// /// MultipleAllowOriginValues /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MultipleAllowOriginValues"))] + [EnumMember(Value = ("MultipleAllowOriginValues"))] MultipleAllowOriginValues, /// /// InvalidAllowOriginValue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAllowOriginValue"))] + [EnumMember(Value = ("InvalidAllowOriginValue"))] InvalidAllowOriginValue, /// /// AllowOriginMismatch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AllowOriginMismatch"))] + [EnumMember(Value = ("AllowOriginMismatch"))] AllowOriginMismatch, /// /// InvalidAllowCredentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAllowCredentials"))] + [EnumMember(Value = ("InvalidAllowCredentials"))] InvalidAllowCredentials, /// /// CorsDisabledScheme /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorsDisabledScheme"))] + [EnumMember(Value = ("CorsDisabledScheme"))] CorsDisabledScheme, /// /// PreflightInvalidStatus /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightInvalidStatus"))] + [EnumMember(Value = ("PreflightInvalidStatus"))] PreflightInvalidStatus, /// /// PreflightDisallowedRedirect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightDisallowedRedirect"))] + [EnumMember(Value = ("PreflightDisallowedRedirect"))] PreflightDisallowedRedirect, /// /// PreflightWildcardOriginNotAllowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightWildcardOriginNotAllowed"))] + [EnumMember(Value = ("PreflightWildcardOriginNotAllowed"))] PreflightWildcardOriginNotAllowed, /// /// PreflightMissingAllowOriginHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightMissingAllowOriginHeader"))] + [EnumMember(Value = ("PreflightMissingAllowOriginHeader"))] PreflightMissingAllowOriginHeader, /// /// PreflightMultipleAllowOriginValues /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightMultipleAllowOriginValues"))] + [EnumMember(Value = ("PreflightMultipleAllowOriginValues"))] PreflightMultipleAllowOriginValues, /// /// PreflightInvalidAllowOriginValue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightInvalidAllowOriginValue"))] + [EnumMember(Value = ("PreflightInvalidAllowOriginValue"))] PreflightInvalidAllowOriginValue, /// /// PreflightAllowOriginMismatch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightAllowOriginMismatch"))] + [EnumMember(Value = ("PreflightAllowOriginMismatch"))] PreflightAllowOriginMismatch, /// /// PreflightInvalidAllowCredentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightInvalidAllowCredentials"))] + [EnumMember(Value = ("PreflightInvalidAllowCredentials"))] PreflightInvalidAllowCredentials, /// /// PreflightMissingAllowExternal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightMissingAllowExternal"))] + [EnumMember(Value = ("PreflightMissingAllowExternal"))] PreflightMissingAllowExternal, /// /// PreflightInvalidAllowExternal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightInvalidAllowExternal"))] + [EnumMember(Value = ("PreflightInvalidAllowExternal"))] PreflightInvalidAllowExternal, /// /// PreflightMissingAllowPrivateNetwork /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightMissingAllowPrivateNetwork"))] + [EnumMember(Value = ("PreflightMissingAllowPrivateNetwork"))] PreflightMissingAllowPrivateNetwork, /// /// PreflightInvalidAllowPrivateNetwork /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightInvalidAllowPrivateNetwork"))] + [EnumMember(Value = ("PreflightInvalidAllowPrivateNetwork"))] PreflightInvalidAllowPrivateNetwork, /// /// InvalidAllowMethodsPreflightResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAllowMethodsPreflightResponse"))] + [EnumMember(Value = ("InvalidAllowMethodsPreflightResponse"))] InvalidAllowMethodsPreflightResponse, /// /// InvalidAllowHeadersPreflightResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAllowHeadersPreflightResponse"))] + [EnumMember(Value = ("InvalidAllowHeadersPreflightResponse"))] InvalidAllowHeadersPreflightResponse, /// /// MethodDisallowedByPreflightResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MethodDisallowedByPreflightResponse"))] + [EnumMember(Value = ("MethodDisallowedByPreflightResponse"))] MethodDisallowedByPreflightResponse, /// /// HeaderDisallowedByPreflightResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HeaderDisallowedByPreflightResponse"))] + [EnumMember(Value = ("HeaderDisallowedByPreflightResponse"))] HeaderDisallowedByPreflightResponse, /// /// RedirectContainsCredentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RedirectContainsCredentials"))] + [EnumMember(Value = ("RedirectContainsCredentials"))] RedirectContainsCredentials, /// /// InsecurePrivateNetwork /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecurePrivateNetwork"))] + [EnumMember(Value = ("InsecurePrivateNetwork"))] InsecurePrivateNetwork, /// /// InvalidPrivateNetworkAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidPrivateNetworkAccess"))] + [EnumMember(Value = ("InvalidPrivateNetworkAccess"))] InvalidPrivateNetworkAccess, /// /// UnexpectedPrivateNetworkAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnexpectedPrivateNetworkAccess"))] + [EnumMember(Value = ("UnexpectedPrivateNetworkAccess"))] UnexpectedPrivateNetworkAccess, /// /// NoCorsRedirectModeNotFollow /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoCorsRedirectModeNotFollow"))] + [EnumMember(Value = ("NoCorsRedirectModeNotFollow"))] NoCorsRedirectModeNotFollow } @@ -12591,7 +12310,7 @@ public CefSharp.DevTools.Network.CorsError CorsError /// /// CorsError /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("corsError"), IsRequired = (true))] + [DataMember(Name = ("corsError"), IsRequired = (true))] internal string corsError { get; @@ -12601,7 +12320,7 @@ internal string corsError /// /// FailedParameter /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("failedParameter"), IsRequired = (true))] + [DataMember(Name = ("failedParameter"), IsRequired = (true))] public string FailedParameter { get; @@ -12617,22 +12336,22 @@ public enum ServiceWorkerResponseSource /// /// cache-storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cache-storage"))] + [EnumMember(Value = ("cache-storage"))] CacheStorage, /// /// http-cache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("http-cache"))] + [EnumMember(Value = ("http-cache"))] HttpCache, /// /// fallback-code /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("fallback-code"))] + [EnumMember(Value = ("fallback-code"))] FallbackCode, /// /// network /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("network"))] + [EnumMember(Value = ("network"))] Network } @@ -12645,12 +12364,12 @@ public enum TrustTokenParamsRefreshPolicy /// /// UseCached /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UseCached"))] + [EnumMember(Value = ("UseCached"))] UseCached, /// /// Refresh /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Refresh"))] + [EnumMember(Value = ("Refresh"))] Refresh } @@ -12681,7 +12400,7 @@ public CefSharp.DevTools.Network.TrustTokenOperationType Operation /// /// Operation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("operation"), IsRequired = (true))] + [DataMember(Name = ("operation"), IsRequired = (true))] internal string operation { get; @@ -12709,7 +12428,7 @@ public CefSharp.DevTools.Network.TrustTokenParamsRefreshPolicy RefreshPolicy /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("refreshPolicy"), IsRequired = (true))] + [DataMember(Name = ("refreshPolicy"), IsRequired = (true))] internal string refreshPolicy { get; @@ -12720,7 +12439,7 @@ internal string refreshPolicy /// Origins of issuers from whom to request tokens or redemption /// records. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuers"), IsRequired = (false))] + [DataMember(Name = ("issuers"), IsRequired = (false))] public string[] Issuers { get; @@ -12736,17 +12455,17 @@ public enum TrustTokenOperationType /// /// Issuance /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Issuance"))] + [EnumMember(Value = ("Issuance"))] Issuance, /// /// Redemption /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Redemption"))] + [EnumMember(Value = ("Redemption"))] Redemption, /// /// Signing /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Signing"))] + [EnumMember(Value = ("Signing"))] Signing } @@ -12758,42 +12477,42 @@ public enum AlternateProtocolUsage /// /// alternativeJobWonWithoutRace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("alternativeJobWonWithoutRace"))] + [EnumMember(Value = ("alternativeJobWonWithoutRace"))] AlternativeJobWonWithoutRace, /// /// alternativeJobWonRace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("alternativeJobWonRace"))] + [EnumMember(Value = ("alternativeJobWonRace"))] AlternativeJobWonRace, /// /// mainJobWonRace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mainJobWonRace"))] + [EnumMember(Value = ("mainJobWonRace"))] MainJobWonRace, /// /// mappingMissing /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mappingMissing"))] + [EnumMember(Value = ("mappingMissing"))] MappingMissing, /// /// broken /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("broken"))] + [EnumMember(Value = ("broken"))] Broken, /// /// dnsAlpnH3JobWonWithoutRace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dnsAlpnH3JobWonWithoutRace"))] + [EnumMember(Value = ("dnsAlpnH3JobWonWithoutRace"))] DnsAlpnH3JobWonWithoutRace, /// /// dnsAlpnH3JobWonRace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dnsAlpnH3JobWonRace"))] + [EnumMember(Value = ("dnsAlpnH3JobWonRace"))] DnsAlpnH3JobWonRace, /// /// unspecifiedReason /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unspecifiedReason"))] + [EnumMember(Value = ("unspecifiedReason"))] UnspecifiedReason } @@ -12806,7 +12525,7 @@ public partial class Response : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Response URL. This URL can be different from CachedResource.url in case of redirect. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -12816,7 +12535,7 @@ public string Url /// /// HTTP response status code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] public int Status { get; @@ -12826,7 +12545,7 @@ public int Status /// /// HTTP response status text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("statusText"), IsRequired = (true))] + [DataMember(Name = ("statusText"), IsRequired = (true))] public string StatusText { get; @@ -12836,7 +12555,7 @@ public string StatusText /// /// HTTP response headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -12846,7 +12565,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headersText"), IsRequired = (false))] + [DataMember(Name = ("headersText"), IsRequired = (false))] public string HeadersText { get; @@ -12856,7 +12575,7 @@ public string HeadersText /// /// Resource mimeType as determined by the browser. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mimeType"), IsRequired = (true))] + [DataMember(Name = ("mimeType"), IsRequired = (true))] public string MimeType { get; @@ -12866,7 +12585,7 @@ public string MimeType /// /// Refined HTTP request headers that were actually transmitted over the network. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestHeaders"), IsRequired = (false))] + [DataMember(Name = ("requestHeaders"), IsRequired = (false))] public CefSharp.DevTools.Network.Headers RequestHeaders { get; @@ -12876,7 +12595,7 @@ public CefSharp.DevTools.Network.Headers RequestHeaders /// /// HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestHeadersText"), IsRequired = (false))] + [DataMember(Name = ("requestHeadersText"), IsRequired = (false))] public string RequestHeadersText { get; @@ -12886,7 +12605,7 @@ public string RequestHeadersText /// /// Specifies whether physical connection was actually reused for this request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectionReused"), IsRequired = (true))] + [DataMember(Name = ("connectionReused"), IsRequired = (true))] public bool ConnectionReused { get; @@ -12896,7 +12615,7 @@ public bool ConnectionReused /// /// Physical connection id that was actually used for this request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectionId"), IsRequired = (true))] + [DataMember(Name = ("connectionId"), IsRequired = (true))] public double ConnectionId { get; @@ -12906,7 +12625,7 @@ public double ConnectionId /// /// Remote IP address. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("remoteIPAddress"), IsRequired = (false))] + [DataMember(Name = ("remoteIPAddress"), IsRequired = (false))] public string RemoteIPAddress { get; @@ -12916,7 +12635,7 @@ public string RemoteIPAddress /// /// Remote port. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("remotePort"), IsRequired = (false))] + [DataMember(Name = ("remotePort"), IsRequired = (false))] public int? RemotePort { get; @@ -12926,7 +12645,7 @@ public int? RemotePort /// /// Specifies that the request was served from the disk cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fromDiskCache"), IsRequired = (false))] + [DataMember(Name = ("fromDiskCache"), IsRequired = (false))] public bool? FromDiskCache { get; @@ -12936,7 +12655,7 @@ public bool? FromDiskCache /// /// Specifies that the request was served from the ServiceWorker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fromServiceWorker"), IsRequired = (false))] + [DataMember(Name = ("fromServiceWorker"), IsRequired = (false))] public bool? FromServiceWorker { get; @@ -12946,7 +12665,7 @@ public bool? FromServiceWorker /// /// Specifies that the request was served from the prefetch cache. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fromPrefetchCache"), IsRequired = (false))] + [DataMember(Name = ("fromPrefetchCache"), IsRequired = (false))] public bool? FromPrefetchCache { get; @@ -12956,7 +12675,7 @@ public bool? FromPrefetchCache /// /// Total number of bytes received for this request so far. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("encodedDataLength"), IsRequired = (true))] + [DataMember(Name = ("encodedDataLength"), IsRequired = (true))] public double EncodedDataLength { get; @@ -12966,7 +12685,7 @@ public double EncodedDataLength /// /// Timing information for the given request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timing"), IsRequired = (false))] + [DataMember(Name = ("timing"), IsRequired = (false))] public CefSharp.DevTools.Network.ResourceTiming Timing { get; @@ -12992,7 +12711,7 @@ public CefSharp.DevTools.Network.ServiceWorkerResponseSource? ServiceWorkerRespo /// /// Response source of response from ServiceWorker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("serviceWorkerResponseSource"), IsRequired = (false))] + [DataMember(Name = ("serviceWorkerResponseSource"), IsRequired = (false))] internal string serviceWorkerResponseSource { get; @@ -13002,7 +12721,7 @@ internal string serviceWorkerResponseSource /// /// The time at which the returned response was generated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseTime"), IsRequired = (false))] + [DataMember(Name = ("responseTime"), IsRequired = (false))] public double? ResponseTime { get; @@ -13012,7 +12731,7 @@ public double? ResponseTime /// /// Cache Storage Cache Name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cacheStorageCacheName"), IsRequired = (false))] + [DataMember(Name = ("cacheStorageCacheName"), IsRequired = (false))] public string CacheStorageCacheName { get; @@ -13022,7 +12741,7 @@ public string CacheStorageCacheName /// /// Protocol used to fetch this request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("protocol"), IsRequired = (false))] + [DataMember(Name = ("protocol"), IsRequired = (false))] public string Protocol { get; @@ -13048,7 +12767,7 @@ public CefSharp.DevTools.Network.AlternateProtocolUsage? AlternateProtocolUsage /// /// The reason why Chrome uses a specific transport protocol for HTTP semantics. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("alternateProtocolUsage"), IsRequired = (false))] + [DataMember(Name = ("alternateProtocolUsage"), IsRequired = (false))] internal string alternateProtocolUsage { get; @@ -13074,7 +12793,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Security state of the request resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityState"), IsRequired = (true))] + [DataMember(Name = ("securityState"), IsRequired = (true))] internal string securityState { get; @@ -13084,7 +12803,7 @@ internal string securityState /// /// Security details for the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityDetails"), IsRequired = (false))] + [DataMember(Name = ("securityDetails"), IsRequired = (false))] public CefSharp.DevTools.Network.SecurityDetails SecurityDetails { get; @@ -13101,7 +12820,7 @@ public partial class WebSocketRequest : CefSharp.DevTools.DevToolsDomainEntityBa /// /// HTTP request headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -13118,7 +12837,7 @@ public partial class WebSocketResponse : CefSharp.DevTools.DevToolsDomainEntityB /// /// HTTP response status code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] public int Status { get; @@ -13128,7 +12847,7 @@ public int Status /// /// HTTP response status text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("statusText"), IsRequired = (true))] + [DataMember(Name = ("statusText"), IsRequired = (true))] public string StatusText { get; @@ -13138,7 +12857,7 @@ public string StatusText /// /// HTTP response headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -13148,7 +12867,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP response headers text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headersText"), IsRequired = (false))] + [DataMember(Name = ("headersText"), IsRequired = (false))] public string HeadersText { get; @@ -13158,7 +12877,7 @@ public string HeadersText /// /// HTTP request headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestHeaders"), IsRequired = (false))] + [DataMember(Name = ("requestHeaders"), IsRequired = (false))] public CefSharp.DevTools.Network.Headers RequestHeaders { get; @@ -13168,7 +12887,7 @@ public CefSharp.DevTools.Network.Headers RequestHeaders /// /// HTTP request headers text. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestHeadersText"), IsRequired = (false))] + [DataMember(Name = ("requestHeadersText"), IsRequired = (false))] public string RequestHeadersText { get; @@ -13185,7 +12904,7 @@ public partial class WebSocketFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// WebSocket message opcode. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("opcode"), IsRequired = (true))] + [DataMember(Name = ("opcode"), IsRequired = (true))] public double Opcode { get; @@ -13195,7 +12914,7 @@ public double Opcode /// /// WebSocket message mask. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mask"), IsRequired = (true))] + [DataMember(Name = ("mask"), IsRequired = (true))] public bool Mask { get; @@ -13207,7 +12926,7 @@ public bool Mask /// If the opcode is 1, this is a text message and payloadData is a UTF-8 string. /// If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("payloadData"), IsRequired = (true))] + [DataMember(Name = ("payloadData"), IsRequired = (true))] public string PayloadData { get; @@ -13224,7 +12943,7 @@ public partial class CachedResource : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Resource URL. This is the url of the original network request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -13250,7 +12969,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Type of this resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -13260,7 +12979,7 @@ internal string type /// /// Cached response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (false))] + [DataMember(Name = ("response"), IsRequired = (false))] public CefSharp.DevTools.Network.Response Response { get; @@ -13270,7 +12989,7 @@ public CefSharp.DevTools.Network.Response Response /// /// Cached response body size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bodySize"), IsRequired = (true))] + [DataMember(Name = ("bodySize"), IsRequired = (true))] public double BodySize { get; @@ -13286,32 +13005,32 @@ public enum InitiatorType /// /// parser /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("parser"))] + [EnumMember(Value = ("parser"))] Parser, /// /// script /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("script"))] + [EnumMember(Value = ("script"))] Script, /// /// preload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("preload"))] + [EnumMember(Value = ("preload"))] Preload, /// /// SignedExchange /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SignedExchange"))] + [EnumMember(Value = ("SignedExchange"))] SignedExchange, /// /// preflight /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("preflight"))] + [EnumMember(Value = ("preflight"))] Preflight, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other } @@ -13340,7 +13059,7 @@ public CefSharp.DevTools.Network.InitiatorType Type /// /// Type of this initiator. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -13350,7 +13069,7 @@ internal string type /// /// Initiator JavaScript stack trace, set for Script only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stack"), IsRequired = (false))] + [DataMember(Name = ("stack"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace Stack { get; @@ -13360,7 +13079,7 @@ public CefSharp.DevTools.Runtime.StackTrace Stack /// /// Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -13371,7 +13090,7 @@ public string Url /// Initiator line number, set for Parser type or for Script type (when script is importing /// module) (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (false))] + [DataMember(Name = ("lineNumber"), IsRequired = (false))] public double? LineNumber { get; @@ -13382,7 +13101,7 @@ public double? LineNumber /// Initiator column number, set for Parser type or for Script type (when script is importing /// module) (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (false))] + [DataMember(Name = ("columnNumber"), IsRequired = (false))] public double? ColumnNumber { get; @@ -13392,7 +13111,7 @@ public double? ColumnNumber /// /// Set if another request triggered this request (e.g. preflight). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (false))] + [DataMember(Name = ("requestId"), IsRequired = (false))] public string RequestId { get; @@ -13409,7 +13128,7 @@ public partial class Cookie : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Cookie name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -13419,7 +13138,7 @@ public string Name /// /// Cookie value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -13429,7 +13148,7 @@ public string Value /// /// Cookie domain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domain"), IsRequired = (true))] + [DataMember(Name = ("domain"), IsRequired = (true))] public string Domain { get; @@ -13439,7 +13158,7 @@ public string Domain /// /// Cookie path. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("path"), IsRequired = (true))] + [DataMember(Name = ("path"), IsRequired = (true))] public string Path { get; @@ -13449,7 +13168,7 @@ public string Path /// /// Cookie expiration date as the number of seconds since the UNIX epoch. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expires"), IsRequired = (true))] + [DataMember(Name = ("expires"), IsRequired = (true))] public double Expires { get; @@ -13459,7 +13178,7 @@ public double Expires /// /// Cookie size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] + [DataMember(Name = ("size"), IsRequired = (true))] public int Size { get; @@ -13469,7 +13188,7 @@ public int Size /// /// True if cookie is http-only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("httpOnly"), IsRequired = (true))] + [DataMember(Name = ("httpOnly"), IsRequired = (true))] public bool HttpOnly { get; @@ -13479,7 +13198,7 @@ public bool HttpOnly /// /// True if cookie is secure. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("secure"), IsRequired = (true))] + [DataMember(Name = ("secure"), IsRequired = (true))] public bool Secure { get; @@ -13489,7 +13208,7 @@ public bool Secure /// /// True in case of session cookie. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("session"), IsRequired = (true))] + [DataMember(Name = ("session"), IsRequired = (true))] public bool Session { get; @@ -13515,7 +13234,7 @@ public CefSharp.DevTools.Network.CookieSameSite? SameSite /// /// Cookie SameSite type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sameSite"), IsRequired = (false))] + [DataMember(Name = ("sameSite"), IsRequired = (false))] internal string sameSite { get; @@ -13541,7 +13260,7 @@ public CefSharp.DevTools.Network.CookiePriority Priority /// /// Cookie Priority /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("priority"), IsRequired = (true))] + [DataMember(Name = ("priority"), IsRequired = (true))] internal string priority { get; @@ -13551,7 +13270,7 @@ internal string priority /// /// True if cookie is SameParty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sameParty"), IsRequired = (true))] + [DataMember(Name = ("sameParty"), IsRequired = (true))] public bool SameParty { get; @@ -13577,7 +13296,7 @@ public CefSharp.DevTools.Network.CookieSourceScheme SourceScheme /// /// Cookie source scheme type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceScheme"), IsRequired = (true))] + [DataMember(Name = ("sourceScheme"), IsRequired = (true))] internal string sourceScheme { get; @@ -13589,7 +13308,7 @@ internal string sourceScheme /// 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. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourcePort"), IsRequired = (true))] + [DataMember(Name = ("sourcePort"), IsRequired = (true))] public int SourcePort { get; @@ -13600,7 +13319,7 @@ public int SourcePort /// 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. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("partitionKey"), IsRequired = (false))] + [DataMember(Name = ("partitionKey"), IsRequired = (false))] public string PartitionKey { get; @@ -13610,7 +13329,7 @@ public string PartitionKey /// /// True if cookie partition key is opaque. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("partitionKeyOpaque"), IsRequired = (false))] + [DataMember(Name = ("partitionKeyOpaque"), IsRequired = (false))] public bool? PartitionKeyOpaque { get; @@ -13626,97 +13345,97 @@ public enum SetCookieBlockedReason /// /// SecureOnly /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SecureOnly"))] + [EnumMember(Value = ("SecureOnly"))] SecureOnly, /// /// SameSiteStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteStrict"))] + [EnumMember(Value = ("SameSiteStrict"))] SameSiteStrict, /// /// SameSiteLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteLax"))] + [EnumMember(Value = ("SameSiteLax"))] SameSiteLax, /// /// SameSiteUnspecifiedTreatedAsLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteUnspecifiedTreatedAsLax"))] + [EnumMember(Value = ("SameSiteUnspecifiedTreatedAsLax"))] SameSiteUnspecifiedTreatedAsLax, /// /// SameSiteNoneInsecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteNoneInsecure"))] + [EnumMember(Value = ("SameSiteNoneInsecure"))] SameSiteNoneInsecure, /// /// UserPreferences /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserPreferences"))] + [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// /// ThirdPartyBlockedInFirstPartySet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ThirdPartyBlockedInFirstPartySet"))] + [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] ThirdPartyBlockedInFirstPartySet, /// /// SyntaxError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SyntaxError"))] + [EnumMember(Value = ("SyntaxError"))] SyntaxError, /// /// SchemeNotSupported /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemeNotSupported"))] + [EnumMember(Value = ("SchemeNotSupported"))] SchemeNotSupported, /// /// OverwriteSecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OverwriteSecure"))] + [EnumMember(Value = ("OverwriteSecure"))] OverwriteSecure, /// /// InvalidDomain /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidDomain"))] + [EnumMember(Value = ("InvalidDomain"))] InvalidDomain, /// /// InvalidPrefix /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidPrefix"))] + [EnumMember(Value = ("InvalidPrefix"))] InvalidPrefix, /// /// UnknownError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownError"))] + [EnumMember(Value = ("UnknownError"))] UnknownError, /// /// SchemefulSameSiteStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteStrict"))] + [EnumMember(Value = ("SchemefulSameSiteStrict"))] SchemefulSameSiteStrict, /// /// SchemefulSameSiteLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteLax"))] + [EnumMember(Value = ("SchemefulSameSiteLax"))] SchemefulSameSiteLax, /// /// SchemefulSameSiteUnspecifiedTreatedAsLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteUnspecifiedTreatedAsLax"))] + [EnumMember(Value = ("SchemefulSameSiteUnspecifiedTreatedAsLax"))] SchemefulSameSiteUnspecifiedTreatedAsLax, /// /// SamePartyFromCrossPartyContext /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SamePartyFromCrossPartyContext"))] + [EnumMember(Value = ("SamePartyFromCrossPartyContext"))] SamePartyFromCrossPartyContext, /// /// SamePartyConflictsWithOtherAttributes /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SamePartyConflictsWithOtherAttributes"))] + [EnumMember(Value = ("SamePartyConflictsWithOtherAttributes"))] SamePartyConflictsWithOtherAttributes, /// /// NameValuePairExceedsMaxSize /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NameValuePairExceedsMaxSize"))] + [EnumMember(Value = ("NameValuePairExceedsMaxSize"))] NameValuePairExceedsMaxSize } @@ -13728,77 +13447,77 @@ public enum CookieBlockedReason /// /// SecureOnly /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SecureOnly"))] + [EnumMember(Value = ("SecureOnly"))] SecureOnly, /// /// NotOnPath /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotOnPath"))] + [EnumMember(Value = ("NotOnPath"))] NotOnPath, /// /// DomainMismatch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DomainMismatch"))] + [EnumMember(Value = ("DomainMismatch"))] DomainMismatch, /// /// SameSiteStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteStrict"))] + [EnumMember(Value = ("SameSiteStrict"))] SameSiteStrict, /// /// SameSiteLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteLax"))] + [EnumMember(Value = ("SameSiteLax"))] SameSiteLax, /// /// SameSiteUnspecifiedTreatedAsLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteUnspecifiedTreatedAsLax"))] + [EnumMember(Value = ("SameSiteUnspecifiedTreatedAsLax"))] SameSiteUnspecifiedTreatedAsLax, /// /// SameSiteNoneInsecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteNoneInsecure"))] + [EnumMember(Value = ("SameSiteNoneInsecure"))] SameSiteNoneInsecure, /// /// UserPreferences /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserPreferences"))] + [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// /// ThirdPartyBlockedInFirstPartySet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ThirdPartyBlockedInFirstPartySet"))] + [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] ThirdPartyBlockedInFirstPartySet, /// /// UnknownError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownError"))] + [EnumMember(Value = ("UnknownError"))] UnknownError, /// /// SchemefulSameSiteStrict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteStrict"))] + [EnumMember(Value = ("SchemefulSameSiteStrict"))] SchemefulSameSiteStrict, /// /// SchemefulSameSiteLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteLax"))] + [EnumMember(Value = ("SchemefulSameSiteLax"))] SchemefulSameSiteLax, /// /// SchemefulSameSiteUnspecifiedTreatedAsLax /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemefulSameSiteUnspecifiedTreatedAsLax"))] + [EnumMember(Value = ("SchemefulSameSiteUnspecifiedTreatedAsLax"))] SchemefulSameSiteUnspecifiedTreatedAsLax, /// /// SamePartyFromCrossPartyContext /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SamePartyFromCrossPartyContext"))] + [EnumMember(Value = ("SamePartyFromCrossPartyContext"))] SamePartyFromCrossPartyContext, /// /// NameValuePairExceedsMaxSize /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NameValuePairExceedsMaxSize"))] + [EnumMember(Value = ("NameValuePairExceedsMaxSize"))] NameValuePairExceedsMaxSize } @@ -13827,7 +13546,7 @@ public CefSharp.DevTools.Network.SetCookieBlockedReason[] BlockedReasons /// /// The reason(s) this cookie was blocked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedReasons"), IsRequired = (true))] + [DataMember(Name = ("blockedReasons"), IsRequired = (true))] internal string blockedReasons { get; @@ -13838,7 +13557,7 @@ internal string blockedReasons /// The string representing this individual cookie as it would appear in the header. /// This is not the entire "cookie" or "set-cookie" header which could have multiple cookies. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookieLine"), IsRequired = (true))] + [DataMember(Name = ("cookieLine"), IsRequired = (true))] public string CookieLine { get; @@ -13850,7 +13569,7 @@ public string CookieLine /// sometimes complete cookie information is not available, such as in the case of parsing /// errors. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookie"), IsRequired = (false))] + [DataMember(Name = ("cookie"), IsRequired = (false))] public CefSharp.DevTools.Network.Cookie Cookie { get; @@ -13883,7 +13602,7 @@ public CefSharp.DevTools.Network.CookieBlockedReason[] BlockedReasons /// /// The reason(s) the cookie was blocked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedReasons"), IsRequired = (true))] + [DataMember(Name = ("blockedReasons"), IsRequired = (true))] internal string blockedReasons { get; @@ -13893,7 +13612,7 @@ internal string blockedReasons /// /// The cookie object representing the cookie which was not sent. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookie"), IsRequired = (true))] + [DataMember(Name = ("cookie"), IsRequired = (true))] public CefSharp.DevTools.Network.Cookie Cookie { get; @@ -13910,7 +13629,7 @@ public partial class CookieParam : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Cookie name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -13920,7 +13639,7 @@ public string Name /// /// Cookie value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -13931,7 +13650,7 @@ public string Value /// The request-URI to associate with the setting of the cookie. This value can affect the /// default domain, path, source port, and source scheme values of the created cookie. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -13941,7 +13660,7 @@ public string Url /// /// Cookie domain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domain"), IsRequired = (false))] + [DataMember(Name = ("domain"), IsRequired = (false))] public string Domain { get; @@ -13951,7 +13670,7 @@ public string Domain /// /// Cookie path. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("path"), IsRequired = (false))] + [DataMember(Name = ("path"), IsRequired = (false))] public string Path { get; @@ -13961,7 +13680,7 @@ public string Path /// /// True if cookie is secure. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("secure"), IsRequired = (false))] + [DataMember(Name = ("secure"), IsRequired = (false))] public bool? Secure { get; @@ -13971,7 +13690,7 @@ public bool? Secure /// /// True if cookie is http-only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("httpOnly"), IsRequired = (false))] + [DataMember(Name = ("httpOnly"), IsRequired = (false))] public bool? HttpOnly { get; @@ -13997,7 +13716,7 @@ public CefSharp.DevTools.Network.CookieSameSite? SameSite /// /// Cookie SameSite type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sameSite"), IsRequired = (false))] + [DataMember(Name = ("sameSite"), IsRequired = (false))] internal string sameSite { get; @@ -14007,7 +13726,7 @@ internal string sameSite /// /// Cookie expiration date, session cookie if not set /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expires"), IsRequired = (false))] + [DataMember(Name = ("expires"), IsRequired = (false))] public double? Expires { get; @@ -14033,7 +13752,7 @@ public CefSharp.DevTools.Network.CookiePriority? Priority /// /// Cookie Priority. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("priority"), IsRequired = (false))] + [DataMember(Name = ("priority"), IsRequired = (false))] internal string priority { get; @@ -14043,7 +13762,7 @@ internal string priority /// /// True if cookie is SameParty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sameParty"), IsRequired = (false))] + [DataMember(Name = ("sameParty"), IsRequired = (false))] public bool? SameParty { get; @@ -14069,7 +13788,7 @@ public CefSharp.DevTools.Network.CookieSourceScheme? SourceScheme /// /// Cookie source scheme type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceScheme"), IsRequired = (false))] + [DataMember(Name = ("sourceScheme"), IsRequired = (false))] internal string sourceScheme { get; @@ -14081,7 +13800,7 @@ internal string sourceScheme /// 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. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourcePort"), IsRequired = (false))] + [DataMember(Name = ("sourcePort"), IsRequired = (false))] public int? SourcePort { get; @@ -14093,7 +13812,7 @@ public int? SourcePort /// of the request to the endpoint that set the cookie. /// If not set, the cookie will be set as not partitioned. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("partitionKey"), IsRequired = (false))] + [DataMember(Name = ("partitionKey"), IsRequired = (false))] public string PartitionKey { get; @@ -14109,12 +13828,12 @@ public enum AuthChallengeSource /// /// Server /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Server"))] + [EnumMember(Value = ("Server"))] Server, /// /// Proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Proxy"))] + [EnumMember(Value = ("Proxy"))] Proxy } @@ -14143,7 +13862,7 @@ public CefSharp.DevTools.Network.AuthChallengeSource? Source /// /// Source of the authentication challenge. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("source"), IsRequired = (false))] + [DataMember(Name = ("source"), IsRequired = (false))] internal string source { get; @@ -14153,7 +13872,7 @@ internal string source /// /// Origin of the challenger. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -14163,7 +13882,7 @@ public string Origin /// /// The authentication scheme used, such as basic or digest /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scheme"), IsRequired = (true))] + [DataMember(Name = ("scheme"), IsRequired = (true))] public string Scheme { get; @@ -14173,7 +13892,7 @@ public string Scheme /// /// The realm of the challenge. May be empty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("realm"), IsRequired = (true))] + [DataMember(Name = ("realm"), IsRequired = (true))] public string Realm { get; @@ -14191,17 +13910,17 @@ public enum AuthChallengeResponseResponse /// /// Default /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Default"))] + [EnumMember(Value = ("Default"))] Default, /// /// CancelAuth /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CancelAuth"))] + [EnumMember(Value = ("CancelAuth"))] CancelAuth, /// /// ProvideCredentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ProvideCredentials"))] + [EnumMember(Value = ("ProvideCredentials"))] ProvideCredentials } @@ -14234,7 +13953,7 @@ public CefSharp.DevTools.Network.AuthChallengeResponseResponse Response /// deferring to the default behavior of the net stack, which will likely either the Cancel /// authentication or display a popup dialog box. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] internal string response { get; @@ -14245,7 +13964,7 @@ internal string response /// The username to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("username"), IsRequired = (false))] + [DataMember(Name = ("username"), IsRequired = (false))] public string Username { get; @@ -14256,7 +13975,7 @@ public string Username /// The password to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("password"), IsRequired = (false))] + [DataMember(Name = ("password"), IsRequired = (false))] public string Password { get; @@ -14273,12 +13992,12 @@ public enum InterceptionStage /// /// Request /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Request"))] + [EnumMember(Value = ("Request"))] Request, /// /// HeadersReceived /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HeadersReceived"))] + [EnumMember(Value = ("HeadersReceived"))] HeadersReceived } @@ -14292,7 +14011,7 @@ public partial class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase /// Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is /// backslash. Omitting is equivalent to `"*"`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urlPattern"), IsRequired = (false))] + [DataMember(Name = ("urlPattern"), IsRequired = (false))] public string UrlPattern { get; @@ -14318,7 +14037,7 @@ public CefSharp.DevTools.Network.ResourceType? ResourceType /// /// If set, only requests for matching resource types will be intercepted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (false))] + [DataMember(Name = ("resourceType"), IsRequired = (false))] internal string resourceType { get; @@ -14344,7 +14063,7 @@ public CefSharp.DevTools.Network.InterceptionStage? InterceptionStage /// /// Stage at which to begin intercepting requests. Default is Request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("interceptionStage"), IsRequired = (false))] + [DataMember(Name = ("interceptionStage"), IsRequired = (false))] internal string interceptionStage { get; @@ -14362,7 +14081,7 @@ public partial class SignedExchangeSignature : CefSharp.DevTools.DevToolsDomainE /// /// Signed exchange signature label. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("label"), IsRequired = (true))] + [DataMember(Name = ("label"), IsRequired = (true))] public string Label { get; @@ -14372,7 +14091,7 @@ public string Label /// /// The hex string of signed exchange signature. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signature"), IsRequired = (true))] + [DataMember(Name = ("signature"), IsRequired = (true))] public string Signature { get; @@ -14382,7 +14101,7 @@ public string Signature /// /// Signed exchange signature integrity. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("integrity"), IsRequired = (true))] + [DataMember(Name = ("integrity"), IsRequired = (true))] public string Integrity { get; @@ -14392,7 +14111,7 @@ public string Integrity /// /// Signed exchange signature cert Url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certUrl"), IsRequired = (false))] + [DataMember(Name = ("certUrl"), IsRequired = (false))] public string CertUrl { get; @@ -14402,7 +14121,7 @@ public string CertUrl /// /// The hex string of signed exchange signature cert sha256. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certSha256"), IsRequired = (false))] + [DataMember(Name = ("certSha256"), IsRequired = (false))] public string CertSha256 { get; @@ -14412,7 +14131,7 @@ public string CertSha256 /// /// Signed exchange signature validity Url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("validityUrl"), IsRequired = (true))] + [DataMember(Name = ("validityUrl"), IsRequired = (true))] public string ValidityUrl { get; @@ -14422,7 +14141,7 @@ public string ValidityUrl /// /// Signed exchange signature date. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("date"), IsRequired = (true))] + [DataMember(Name = ("date"), IsRequired = (true))] public int Date { get; @@ -14432,7 +14151,7 @@ public int Date /// /// Signed exchange signature expires. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expires"), IsRequired = (true))] + [DataMember(Name = ("expires"), IsRequired = (true))] public int Expires { get; @@ -14442,7 +14161,7 @@ public int Expires /// /// The encoded certificates. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificates"), IsRequired = (false))] + [DataMember(Name = ("certificates"), IsRequired = (false))] public string[] Certificates { get; @@ -14460,7 +14179,7 @@ public partial class SignedExchangeHeader : CefSharp.DevTools.DevToolsDomainEnti /// /// Signed exchange request URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestUrl"), IsRequired = (true))] + [DataMember(Name = ("requestUrl"), IsRequired = (true))] public string RequestUrl { get; @@ -14470,7 +14189,7 @@ public string RequestUrl /// /// Signed exchange response code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseCode"), IsRequired = (true))] + [DataMember(Name = ("responseCode"), IsRequired = (true))] public int ResponseCode { get; @@ -14480,7 +14199,7 @@ public int ResponseCode /// /// Signed exchange response headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseHeaders"), IsRequired = (true))] + [DataMember(Name = ("responseHeaders"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers ResponseHeaders { get; @@ -14490,7 +14209,7 @@ public CefSharp.DevTools.Network.Headers ResponseHeaders /// /// Signed exchange response signature. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signatures"), IsRequired = (true))] + [DataMember(Name = ("signatures"), IsRequired = (true))] public System.Collections.Generic.IList Signatures { get; @@ -14500,7 +14219,7 @@ public System.Collections.Generic.IList /// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value> ". /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headerIntegrity"), IsRequired = (true))] + [DataMember(Name = ("headerIntegrity"), IsRequired = (true))] public string HeaderIntegrity { get; @@ -14516,32 +14235,32 @@ public enum SignedExchangeErrorField /// /// signatureSig /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureSig"))] + [EnumMember(Value = ("signatureSig"))] SignatureSig, /// /// signatureIntegrity /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureIntegrity"))] + [EnumMember(Value = ("signatureIntegrity"))] SignatureIntegrity, /// /// signatureCertUrl /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureCertUrl"))] + [EnumMember(Value = ("signatureCertUrl"))] SignatureCertUrl, /// /// signatureCertSha256 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureCertSha256"))] + [EnumMember(Value = ("signatureCertSha256"))] SignatureCertSha256, /// /// signatureValidityUrl /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureValidityUrl"))] + [EnumMember(Value = ("signatureValidityUrl"))] SignatureValidityUrl, /// /// signatureTimestamps /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("signatureTimestamps"))] + [EnumMember(Value = ("signatureTimestamps"))] SignatureTimestamps } @@ -14554,7 +14273,7 @@ public partial class SignedExchangeError : CefSharp.DevTools.DevToolsDomainEntit /// /// Error message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -14564,7 +14283,7 @@ public string Message /// /// The index of the signature which caused the error. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signatureIndex"), IsRequired = (false))] + [DataMember(Name = ("signatureIndex"), IsRequired = (false))] public int? SignatureIndex { get; @@ -14590,7 +14309,7 @@ public CefSharp.DevTools.Network.SignedExchangeErrorField? ErrorField /// /// The field which caused the error. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorField"), IsRequired = (false))] + [DataMember(Name = ("errorField"), IsRequired = (false))] internal string errorField { get; @@ -14607,7 +14326,7 @@ public partial class SignedExchangeInfo : CefSharp.DevTools.DevToolsDomainEntity /// /// The outer response of signed HTTP exchange which was received from network. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("outerResponse"), IsRequired = (true))] + [DataMember(Name = ("outerResponse"), IsRequired = (true))] public CefSharp.DevTools.Network.Response OuterResponse { get; @@ -14617,7 +14336,7 @@ public CefSharp.DevTools.Network.Response OuterResponse /// /// Information about the signed exchange header. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("header"), IsRequired = (false))] + [DataMember(Name = ("header"), IsRequired = (false))] public CefSharp.DevTools.Network.SignedExchangeHeader Header { get; @@ -14627,7 +14346,7 @@ public CefSharp.DevTools.Network.SignedExchangeHeader Header /// /// Security details for the signed exchange header. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityDetails"), IsRequired = (false))] + [DataMember(Name = ("securityDetails"), IsRequired = (false))] public CefSharp.DevTools.Network.SecurityDetails SecurityDetails { get; @@ -14637,7 +14356,7 @@ public CefSharp.DevTools.Network.SecurityDetails SecurityDetails /// /// Errors occurred while handling the signed exchagne. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errors"), IsRequired = (false))] + [DataMember(Name = ("errors"), IsRequired = (false))] public System.Collections.Generic.IList Errors { get; @@ -14653,17 +14372,17 @@ public enum ContentEncoding /// /// deflate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("deflate"))] + [EnumMember(Value = ("deflate"))] Deflate, /// /// gzip /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("gzip"))] + [EnumMember(Value = ("gzip"))] Gzip, /// /// br /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("br"))] + [EnumMember(Value = ("br"))] Br } @@ -14675,27 +14394,27 @@ public enum PrivateNetworkRequestPolicy /// /// Allow /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Allow"))] + [EnumMember(Value = ("Allow"))] Allow, /// /// BlockFromInsecureToMorePrivate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockFromInsecureToMorePrivate"))] + [EnumMember(Value = ("BlockFromInsecureToMorePrivate"))] BlockFromInsecureToMorePrivate, /// /// WarnFromInsecureToMorePrivate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnFromInsecureToMorePrivate"))] + [EnumMember(Value = ("WarnFromInsecureToMorePrivate"))] WarnFromInsecureToMorePrivate, /// /// PreflightBlock /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightBlock"))] + [EnumMember(Value = ("PreflightBlock"))] PreflightBlock, /// /// PreflightWarn /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightWarn"))] + [EnumMember(Value = ("PreflightWarn"))] PreflightWarn } @@ -14707,22 +14426,22 @@ public enum IPAddressSpace /// /// Local /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Local"))] + [EnumMember(Value = ("Local"))] Local, /// /// Private /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Private"))] + [EnumMember(Value = ("Private"))] Private, /// /// Public /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Public"))] + [EnumMember(Value = ("Public"))] Public, /// /// Unknown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unknown"))] + [EnumMember(Value = ("Unknown"))] Unknown } @@ -14737,7 +14456,7 @@ public partial class ConnectTiming : CefSharp.DevTools.DevToolsDomainEntityBase /// milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for /// the same request (but not for redirected requests). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestTime"), IsRequired = (true))] + [DataMember(Name = ("requestTime"), IsRequired = (true))] public double RequestTime { get; @@ -14754,7 +14473,7 @@ public partial class ClientSecurityState : CefSharp.DevTools.DevToolsDomainEntit /// /// InitiatorIsSecureContext /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiatorIsSecureContext"), IsRequired = (true))] + [DataMember(Name = ("initiatorIsSecureContext"), IsRequired = (true))] public bool InitiatorIsSecureContext { get; @@ -14780,7 +14499,7 @@ public CefSharp.DevTools.Network.IPAddressSpace InitiatorIPAddressSpace /// /// InitiatorIPAddressSpace /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiatorIPAddressSpace"), IsRequired = (true))] + [DataMember(Name = ("initiatorIPAddressSpace"), IsRequired = (true))] internal string initiatorIPAddressSpace { get; @@ -14806,7 +14525,7 @@ public CefSharp.DevTools.Network.PrivateNetworkRequestPolicy PrivateNetworkReque /// /// PrivateNetworkRequestPolicy /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("privateNetworkRequestPolicy"), IsRequired = (true))] + [DataMember(Name = ("privateNetworkRequestPolicy"), IsRequired = (true))] internal string privateNetworkRequestPolicy { get; @@ -14822,32 +14541,32 @@ public enum CrossOriginOpenerPolicyValue /// /// SameOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameOrigin"))] + [EnumMember(Value = ("SameOrigin"))] SameOrigin, /// /// SameOriginAllowPopups /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameOriginAllowPopups"))] + [EnumMember(Value = ("SameOriginAllowPopups"))] SameOriginAllowPopups, /// /// RestrictProperties /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RestrictProperties"))] + [EnumMember(Value = ("RestrictProperties"))] RestrictProperties, /// /// UnsafeNone /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnsafeNone"))] + [EnumMember(Value = ("UnsafeNone"))] UnsafeNone, /// /// SameOriginPlusCoep /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameOriginPlusCoep"))] + [EnumMember(Value = ("SameOriginPlusCoep"))] SameOriginPlusCoep, /// /// RestrictPropertiesPlusCoep /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RestrictPropertiesPlusCoep"))] + [EnumMember(Value = ("RestrictPropertiesPlusCoep"))] RestrictPropertiesPlusCoep } @@ -14876,7 +14595,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue Value /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] internal string value { get; @@ -14902,7 +14621,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue ReportOnlyValue /// /// ReportOnlyValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportOnlyValue"), IsRequired = (true))] + [DataMember(Name = ("reportOnlyValue"), IsRequired = (true))] internal string reportOnlyValue { get; @@ -14912,7 +14631,7 @@ internal string reportOnlyValue /// /// ReportingEndpoint /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportingEndpoint"), IsRequired = (false))] + [DataMember(Name = ("reportingEndpoint"), IsRequired = (false))] public string ReportingEndpoint { get; @@ -14922,7 +14641,7 @@ public string ReportingEndpoint /// /// ReportOnlyReportingEndpoint /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportOnlyReportingEndpoint"), IsRequired = (false))] + [DataMember(Name = ("reportOnlyReportingEndpoint"), IsRequired = (false))] public string ReportOnlyReportingEndpoint { get; @@ -14938,17 +14657,17 @@ public enum CrossOriginEmbedderPolicyValue /// /// None /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("None"))] + [EnumMember(Value = ("None"))] None, /// /// Credentialless /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Credentialless"))] + [EnumMember(Value = ("Credentialless"))] Credentialless, /// /// RequireCorp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequireCorp"))] + [EnumMember(Value = ("RequireCorp"))] RequireCorp } @@ -14977,7 +14696,7 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue Value /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] internal string value { get; @@ -15003,7 +14722,7 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue ReportOnlyValue /// /// ReportOnlyValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportOnlyValue"), IsRequired = (true))] + [DataMember(Name = ("reportOnlyValue"), IsRequired = (true))] internal string reportOnlyValue { get; @@ -15013,7 +14732,7 @@ internal string reportOnlyValue /// /// ReportingEndpoint /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportingEndpoint"), IsRequired = (false))] + [DataMember(Name = ("reportingEndpoint"), IsRequired = (false))] public string ReportingEndpoint { get; @@ -15023,7 +14742,7 @@ public string ReportingEndpoint /// /// ReportOnlyReportingEndpoint /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportOnlyReportingEndpoint"), IsRequired = (false))] + [DataMember(Name = ("reportOnlyReportingEndpoint"), IsRequired = (false))] public string ReportOnlyReportingEndpoint { get; @@ -15040,7 +14759,7 @@ public partial class SecurityIsolationStatus : CefSharp.DevTools.DevToolsDomainE /// /// Coop /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("coop"), IsRequired = (false))] + [DataMember(Name = ("coop"), IsRequired = (false))] public CefSharp.DevTools.Network.CrossOriginOpenerPolicyStatus Coop { get; @@ -15050,7 +14769,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyStatus Coop /// /// Coep /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("coep"), IsRequired = (false))] + [DataMember(Name = ("coep"), IsRequired = (false))] public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyStatus Coep { get; @@ -15066,22 +14785,22 @@ public enum ReportStatus /// /// Queued /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Queued"))] + [EnumMember(Value = ("Queued"))] Queued, /// /// Pending /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Pending"))] + [EnumMember(Value = ("Pending"))] Pending, /// /// MarkedForRemoval /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MarkedForRemoval"))] + [EnumMember(Value = ("MarkedForRemoval"))] MarkedForRemoval, /// /// Success /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Success"))] + [EnumMember(Value = ("Success"))] Success } @@ -15094,7 +14813,7 @@ public partial class ReportingApiReport : CefSharp.DevTools.DevToolsDomainEntity /// /// Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -15104,7 +14823,7 @@ public string Id /// /// The URL of the document that triggered the report. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiatorUrl"), IsRequired = (true))] + [DataMember(Name = ("initiatorUrl"), IsRequired = (true))] public string InitiatorUrl { get; @@ -15114,7 +14833,7 @@ public string InitiatorUrl /// /// The name of the endpoint group that should be used to deliver the report. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destination"), IsRequired = (true))] + [DataMember(Name = ("destination"), IsRequired = (true))] public string Destination { get; @@ -15124,7 +14843,7 @@ public string Destination /// /// The type of the report (specifies the set of data that is contained in the report body). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] public string Type { get; @@ -15134,7 +14853,7 @@ public string Type /// /// When the report was generated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15144,7 +14863,7 @@ public double Timestamp /// /// How many uploads deep the related request was. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("depth"), IsRequired = (true))] + [DataMember(Name = ("depth"), IsRequired = (true))] public int Depth { get; @@ -15154,7 +14873,7 @@ public int Depth /// /// The number of delivery attempts made so far, not including an active attempt. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("completedAttempts"), IsRequired = (true))] + [DataMember(Name = ("completedAttempts"), IsRequired = (true))] public int CompletedAttempts { get; @@ -15164,7 +14883,7 @@ public int CompletedAttempts /// /// Body /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("body"), IsRequired = (true))] + [DataMember(Name = ("body"), IsRequired = (true))] public object Body { get; @@ -15190,7 +14909,7 @@ public CefSharp.DevTools.Network.ReportStatus Status /// /// Status /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] internal string status { get; @@ -15207,7 +14926,7 @@ public partial class ReportingApiEndpoint : CefSharp.DevTools.DevToolsDomainEnti /// /// The URL of the endpoint to which reports may be delivered. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -15217,7 +14936,7 @@ public string Url /// /// Name of the endpoint group. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("groupName"), IsRequired = (true))] + [DataMember(Name = ("groupName"), IsRequired = (true))] public string GroupName { get; @@ -15234,7 +14953,7 @@ public partial class LoadNetworkResourcePageResult : CefSharp.DevTools.DevToolsD /// /// Success /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("success"), IsRequired = (true))] + [DataMember(Name = ("success"), IsRequired = (true))] public bool Success { get; @@ -15244,7 +14963,7 @@ public bool Success /// /// Optional values used for error reporting. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("netError"), IsRequired = (false))] + [DataMember(Name = ("netError"), IsRequired = (false))] public double? NetError { get; @@ -15254,7 +14973,7 @@ public double? NetError /// /// NetErrorName /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("netErrorName"), IsRequired = (false))] + [DataMember(Name = ("netErrorName"), IsRequired = (false))] public string NetErrorName { get; @@ -15264,7 +14983,7 @@ public string NetErrorName /// /// HttpStatusCode /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("httpStatusCode"), IsRequired = (false))] + [DataMember(Name = ("httpStatusCode"), IsRequired = (false))] public double? HttpStatusCode { get; @@ -15274,7 +14993,7 @@ public double? HttpStatusCode /// /// If successful, one of the following two fields holds the result. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stream"), IsRequired = (false))] + [DataMember(Name = ("stream"), IsRequired = (false))] public string Stream { get; @@ -15284,7 +15003,7 @@ public string Stream /// /// Response headers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (false))] + [DataMember(Name = ("headers"), IsRequired = (false))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -15302,7 +15021,7 @@ public partial class LoadNetworkResourceOptions : CefSharp.DevTools.DevToolsDoma /// /// DisableCache /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("disableCache"), IsRequired = (true))] + [DataMember(Name = ("disableCache"), IsRequired = (true))] public bool DisableCache { get; @@ -15312,7 +15031,7 @@ public bool DisableCache /// /// IncludeCredentials /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("includeCredentials"), IsRequired = (true))] + [DataMember(Name = ("includeCredentials"), IsRequired = (true))] public bool IncludeCredentials { get; @@ -15329,7 +15048,7 @@ public class DataReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15339,7 +15058,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15349,7 +15068,7 @@ public double Timestamp /// /// Data chunk length. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("dataLength"), IsRequired = (true))] + [DataMember(Name = ("dataLength"), IsRequired = (true))] public int DataLength { get; @@ -15359,7 +15078,7 @@ public int DataLength /// /// Actual bytes received (might be less than dataLength for compressed encodings). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("encodedDataLength"), IsRequired = (true))] + [DataMember(Name = ("encodedDataLength"), IsRequired = (true))] public int EncodedDataLength { get; @@ -15376,7 +15095,7 @@ public class EventSourceMessageReceivedEventArgs : CefSharp.DevTools.DevToolsDom /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15386,7 +15105,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15396,7 +15115,7 @@ public double Timestamp /// /// Message type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventName"), IsRequired = (true))] + [DataMember(Name = ("eventName"), IsRequired = (true))] public string EventName { get; @@ -15406,7 +15125,7 @@ public string EventName /// /// Message identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventId"), IsRequired = (true))] + [DataMember(Name = ("eventId"), IsRequired = (true))] public string EventId { get; @@ -15416,7 +15135,7 @@ public string EventId /// /// Message content. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public string Data { get; @@ -15433,7 +15152,7 @@ public class LoadingFailedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15443,7 +15162,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15469,7 +15188,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Resource type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -15479,7 +15198,7 @@ internal string type /// /// User friendly error message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorText"), IsRequired = (true))] + [DataMember(Name = ("errorText"), IsRequired = (true))] public string ErrorText { get; @@ -15489,7 +15208,7 @@ public string ErrorText /// /// True if loading was canceled. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("canceled"), IsRequired = (false))] + [DataMember(Name = ("canceled"), IsRequired = (false))] public bool? Canceled { get; @@ -15515,7 +15234,7 @@ public CefSharp.DevTools.Network.BlockedReason? BlockedReason /// /// The reason why loading was blocked, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedReason"), IsRequired = (false))] + [DataMember(Name = ("blockedReason"), IsRequired = (false))] internal string blockedReason { get; @@ -15525,7 +15244,7 @@ internal string blockedReason /// /// The reason why loading was blocked by CORS, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("corsErrorStatus"), IsRequired = (false))] + [DataMember(Name = ("corsErrorStatus"), IsRequired = (false))] public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus { get; @@ -15542,7 +15261,7 @@ public class LoadingFinishedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15552,7 +15271,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15562,7 +15281,7 @@ public double Timestamp /// /// Total number of bytes received for this request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("encodedDataLength"), IsRequired = (true))] + [DataMember(Name = ("encodedDataLength"), IsRequired = (true))] public double EncodedDataLength { get; @@ -15573,7 +15292,7 @@ public double EncodedDataLength /// Set when 1) response was blocked by Cross-Origin Read Blocking and also /// 2) this needs to be reported to the DevTools console. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shouldReportCorbBlocking"), IsRequired = (false))] + [DataMember(Name = ("shouldReportCorbBlocking"), IsRequired = (false))] public bool? ShouldReportCorbBlocking { get; @@ -15594,7 +15313,7 @@ public class RequestInterceptedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// while processing that fetch, they will be reported with the same id as the original fetch. /// Likewise if HTTP authentication is needed then the same fetch id will be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("interceptionId"), IsRequired = (true))] + [DataMember(Name = ("interceptionId"), IsRequired = (true))] public string InterceptionId { get; @@ -15604,7 +15323,7 @@ public string InterceptionId /// /// Request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Network.Request Request { get; @@ -15614,7 +15333,7 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -15640,7 +15359,7 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// /// How the requested resource will be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (true))] + [DataMember(Name = ("resourceType"), IsRequired = (true))] internal string resourceType { get; @@ -15650,7 +15369,7 @@ internal string resourceType /// /// Whether this is a navigation request, which can abort the navigation completely. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isNavigationRequest"), IsRequired = (true))] + [DataMember(Name = ("isNavigationRequest"), IsRequired = (true))] public bool IsNavigationRequest { get; @@ -15661,7 +15380,7 @@ public bool IsNavigationRequest /// Set if the request is a navigation that will result in a download. /// Only present after response is received from the server (i.e. HeadersReceived stage). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isDownload"), IsRequired = (false))] + [DataMember(Name = ("isDownload"), IsRequired = (false))] public bool? IsDownload { get; @@ -15671,7 +15390,7 @@ public bool? IsDownload /// /// Redirect location, only sent if a redirect was intercepted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectUrl"), IsRequired = (false))] + [DataMember(Name = ("redirectUrl"), IsRequired = (false))] public string RedirectUrl { get; @@ -15682,7 +15401,7 @@ public string RedirectUrl /// Details of the Authorization Challenge encountered. If this is set then /// continueInterceptedRequest must contain an authChallengeResponse. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("authChallenge"), IsRequired = (false))] + [DataMember(Name = ("authChallenge"), IsRequired = (false))] public CefSharp.DevTools.Network.AuthChallenge AuthChallenge { get; @@ -15710,7 +15429,7 @@ public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason /// Response error if intercepted at response stage or if redirect occurred while intercepting /// request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseErrorReason"), IsRequired = (false))] + [DataMember(Name = ("responseErrorReason"), IsRequired = (false))] internal string responseErrorReason { get; @@ -15721,7 +15440,7 @@ internal string responseErrorReason /// Response code if intercepted at response stage or if redirect occurred while intercepting /// request or auth retry occurred. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseStatusCode"), IsRequired = (false))] + [DataMember(Name = ("responseStatusCode"), IsRequired = (false))] public int? ResponseStatusCode { get; @@ -15732,7 +15451,7 @@ public int? ResponseStatusCode /// Response headers if intercepted at the response stage or if redirect occurred while /// intercepting request or auth retry occurred. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseHeaders"), IsRequired = (false))] + [DataMember(Name = ("responseHeaders"), IsRequired = (false))] public CefSharp.DevTools.Network.Headers ResponseHeaders { get; @@ -15743,7 +15462,7 @@ public CefSharp.DevTools.Network.Headers ResponseHeaders /// If the intercepted request had a corresponding requestWillBeSent event fired for it, then /// this requestId will be the same as the requestId present in the requestWillBeSent event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (false))] + [DataMember(Name = ("requestId"), IsRequired = (false))] public string RequestId { get; @@ -15760,7 +15479,7 @@ public class RequestServedFromCacheEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15777,7 +15496,7 @@ public class RequestWillBeSentEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15787,7 +15506,7 @@ public string RequestId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -15797,7 +15516,7 @@ public string LoaderId /// /// URL of the document this request is loaded for. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("documentURL"), IsRequired = (true))] + [DataMember(Name = ("documentURL"), IsRequired = (true))] public string DocumentURL { get; @@ -15807,7 +15526,7 @@ public string DocumentURL /// /// Request data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Network.Request Request { get; @@ -15817,7 +15536,7 @@ public CefSharp.DevTools.Network.Request Request /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15827,7 +15546,7 @@ public double Timestamp /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("wallTime"), IsRequired = (true))] + [DataMember(Name = ("wallTime"), IsRequired = (true))] public double WallTime { get; @@ -15837,7 +15556,7 @@ public double WallTime /// /// Request initiator. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiator"), IsRequired = (true))] + [DataMember(Name = ("initiator"), IsRequired = (true))] public CefSharp.DevTools.Network.Initiator Initiator { get; @@ -15849,7 +15568,7 @@ public CefSharp.DevTools.Network.Initiator Initiator /// requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted /// for the request which was just redirected. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectHasExtraInfo"), IsRequired = (true))] + [DataMember(Name = ("redirectHasExtraInfo"), IsRequired = (true))] public bool RedirectHasExtraInfo { get; @@ -15859,7 +15578,7 @@ public bool RedirectHasExtraInfo /// /// Redirect response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectResponse"), IsRequired = (false))] + [DataMember(Name = ("redirectResponse"), IsRequired = (false))] public CefSharp.DevTools.Network.Response RedirectResponse { get; @@ -15885,7 +15604,7 @@ public CefSharp.DevTools.Network.ResourceType? Type /// /// Type of this resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (false))] + [DataMember(Name = ("type"), IsRequired = (false))] internal string type { get; @@ -15895,7 +15614,7 @@ internal string type /// /// Frame identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -15905,7 +15624,7 @@ public string FrameId /// /// Whether the request is initiated by a user gesture. Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasUserGesture"), IsRequired = (false))] + [DataMember(Name = ("hasUserGesture"), IsRequired = (false))] public bool? HasUserGesture { get; @@ -15922,7 +15641,7 @@ public class ResourceChangedPriorityEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15948,7 +15667,7 @@ public CefSharp.DevTools.Network.ResourcePriority NewPriority /// /// New priority /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("newPriority"), IsRequired = (true))] + [DataMember(Name = ("newPriority"), IsRequired = (true))] internal string newPriority { get; @@ -15958,7 +15677,7 @@ internal string newPriority /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -15975,7 +15694,7 @@ public class SignedExchangeReceivedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -15985,7 +15704,7 @@ public string RequestId /// /// Information about the signed exchange response. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("info"), IsRequired = (true))] + [DataMember(Name = ("info"), IsRequired = (true))] public CefSharp.DevTools.Network.SignedExchangeInfo Info { get; @@ -16002,7 +15721,7 @@ public class ResponseReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16012,7 +15731,7 @@ public string RequestId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -16022,7 +15741,7 @@ public string LoaderId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16048,7 +15767,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Resource type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -16058,7 +15777,7 @@ internal string type /// /// Response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] public CefSharp.DevTools.Network.Response Response { get; @@ -16069,7 +15788,7 @@ public CefSharp.DevTools.Network.Response Response /// Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be /// or were emitted for this request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasExtraInfo"), IsRequired = (true))] + [DataMember(Name = ("hasExtraInfo"), IsRequired = (true))] public bool HasExtraInfo { get; @@ -16079,7 +15798,7 @@ public bool HasExtraInfo /// /// Frame identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + [DataMember(Name = ("frameId"), IsRequired = (false))] public string FrameId { get; @@ -16096,7 +15815,7 @@ public class WebSocketClosedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16106,7 +15825,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16123,7 +15842,7 @@ public class WebSocketCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16133,7 +15852,7 @@ public string RequestId /// /// WebSocket request URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -16143,7 +15862,7 @@ public string Url /// /// Request initiator. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiator"), IsRequired = (false))] + [DataMember(Name = ("initiator"), IsRequired = (false))] public CefSharp.DevTools.Network.Initiator Initiator { get; @@ -16160,7 +15879,7 @@ public class WebSocketFrameErrorEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16170,7 +15889,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16180,7 +15899,7 @@ public double Timestamp /// /// WebSocket error message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))] + [DataMember(Name = ("errorMessage"), IsRequired = (true))] public string ErrorMessage { get; @@ -16197,7 +15916,7 @@ public class WebSocketFrameReceivedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16207,7 +15926,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16217,7 +15936,7 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] public CefSharp.DevTools.Network.WebSocketFrame Response { get; @@ -16234,7 +15953,7 @@ public class WebSocketFrameSentEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16244,7 +15963,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16254,7 +15973,7 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] public CefSharp.DevTools.Network.WebSocketFrame Response { get; @@ -16271,7 +15990,7 @@ public class WebSocketHandshakeResponseReceivedEventArgs : CefSharp.DevTools.Dev /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16281,7 +16000,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16291,7 +16010,7 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] public CefSharp.DevTools.Network.WebSocketResponse Response { get; @@ -16308,7 +16027,7 @@ public class WebSocketWillSendHandshakeRequestEventArgs : CefSharp.DevTools.DevT /// /// Request identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16318,7 +16037,7 @@ public string RequestId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16328,7 +16047,7 @@ public double Timestamp /// /// UTC Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("wallTime"), IsRequired = (true))] + [DataMember(Name = ("wallTime"), IsRequired = (true))] public double WallTime { get; @@ -16338,7 +16057,7 @@ public double WallTime /// /// WebSocket request data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Network.WebSocketRequest Request { get; @@ -16355,7 +16074,7 @@ public class WebTransportCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// WebTransport identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transportId"), IsRequired = (true))] + [DataMember(Name = ("transportId"), IsRequired = (true))] public string TransportId { get; @@ -16365,7 +16084,7 @@ public string TransportId /// /// WebTransport request URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -16375,7 +16094,7 @@ public string Url /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16385,7 +16104,7 @@ public double Timestamp /// /// Request initiator. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiator"), IsRequired = (false))] + [DataMember(Name = ("initiator"), IsRequired = (false))] public CefSharp.DevTools.Network.Initiator Initiator { get; @@ -16402,7 +16121,7 @@ public class WebTransportConnectionEstablishedEventArgs : CefSharp.DevTools.DevT /// /// WebTransport identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transportId"), IsRequired = (true))] + [DataMember(Name = ("transportId"), IsRequired = (true))] public string TransportId { get; @@ -16412,7 +16131,7 @@ public string TransportId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16429,7 +16148,7 @@ public class WebTransportClosedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// WebTransport identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transportId"), IsRequired = (true))] + [DataMember(Name = ("transportId"), IsRequired = (true))] public string TransportId { get; @@ -16439,7 +16158,7 @@ public string TransportId /// /// Timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -16459,7 +16178,7 @@ public class RequestWillBeSentExtraInfoEventArgs : CefSharp.DevTools.DevToolsDom /// /// Request identifier. Used to match this information to an existing requestWillBeSent event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16470,7 +16189,7 @@ public string RequestId /// A list of cookies potentially associated to the requested URL. This includes both cookies sent with /// the request and the ones not sent; the latter are distinguished by having blockedReason field set. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("associatedCookies"), IsRequired = (true))] + [DataMember(Name = ("associatedCookies"), IsRequired = (true))] public System.Collections.Generic.IList AssociatedCookies { get; @@ -16480,7 +16199,7 @@ public System.Collections.Generic.IList /// Raw request headers as they will be sent over the wire. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -16490,7 +16209,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// Connection timing information for the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectTiming"), IsRequired = (true))] + [DataMember(Name = ("connectTiming"), IsRequired = (true))] public CefSharp.DevTools.Network.ConnectTiming ConnectTiming { get; @@ -16500,7 +16219,7 @@ public CefSharp.DevTools.Network.ConnectTiming ConnectTiming /// /// The client security state set for the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientSecurityState"), IsRequired = (false))] + [DataMember(Name = ("clientSecurityState"), IsRequired = (false))] public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState { get; @@ -16510,7 +16229,7 @@ public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState /// /// Whether the site has partitioned cookies stored in a partition different than the current one. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("siteHasCookieInOtherPartition"), IsRequired = (false))] + [DataMember(Name = ("siteHasCookieInOtherPartition"), IsRequired = (false))] public bool? SiteHasCookieInOtherPartition { get; @@ -16529,7 +16248,7 @@ public class ResponseReceivedExtraInfoEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Request identifier. Used to match this information to another responseReceived event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16541,7 +16260,7 @@ public string RequestId /// reasons for blocking. The cookies here may not be valid due to syntax errors, which /// are represented by the invalid cookie line string instead of a proper cookie. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockedCookies"), IsRequired = (true))] + [DataMember(Name = ("blockedCookies"), IsRequired = (true))] public System.Collections.Generic.IList BlockedCookies { get; @@ -16551,7 +16270,7 @@ public System.Collections.Generic.IList /// Raw response headers as they were received over the wire. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headers"), IsRequired = (true))] + [DataMember(Name = ("headers"), IsRequired = (true))] public CefSharp.DevTools.Network.Headers Headers { get; @@ -16579,7 +16298,7 @@ public CefSharp.DevTools.Network.IPAddressSpace ResourceIPAddressSpace /// The IP address space of the resource. The address space can only be determined once the transport /// established the connection, so we can't send it in `requestWillBeSentExtraInfo`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceIPAddressSpace"), IsRequired = (true))] + [DataMember(Name = ("resourceIPAddressSpace"), IsRequired = (true))] internal string resourceIPAddressSpace { get; @@ -16591,7 +16310,7 @@ internal string resourceIPAddressSpace /// event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code /// for cached requests, where the status in responseReceived is a 200 and this will be 304. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("statusCode"), IsRequired = (true))] + [DataMember(Name = ("statusCode"), IsRequired = (true))] public int StatusCode { get; @@ -16602,7 +16321,7 @@ public int StatusCode /// Raw response header text as it was received over the wire. The raw text may not always be /// available, such as in the case of HTTP/2 or QUIC. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("headersText"), IsRequired = (false))] + [DataMember(Name = ("headersText"), IsRequired = (false))] public string HeadersText { get; @@ -16613,7 +16332,7 @@ public string HeadersText /// The cookie partition key that will be used to store partitioned cookies set in this response. /// Only sent when partitioned cookies are enabled. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookiePartitionKey"), IsRequired = (false))] + [DataMember(Name = ("cookiePartitionKey"), IsRequired = (false))] public string CookiePartitionKey { get; @@ -16623,7 +16342,7 @@ public string CookiePartitionKey /// /// True if partitioned cookies are enabled, but the partition key is not serializeable to string. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookiePartitionKeyOpaque"), IsRequired = (false))] + [DataMember(Name = ("cookiePartitionKeyOpaque"), IsRequired = (false))] public bool? CookiePartitionKeyOpaque { get; @@ -16642,57 +16361,57 @@ public enum TrustTokenOperationDoneStatus /// /// Ok /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Ok"))] + [EnumMember(Value = ("Ok"))] Ok, /// /// InvalidArgument /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidArgument"))] + [EnumMember(Value = ("InvalidArgument"))] InvalidArgument, /// /// FailedPrecondition /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FailedPrecondition"))] + [EnumMember(Value = ("FailedPrecondition"))] FailedPrecondition, /// /// ResourceExhausted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ResourceExhausted"))] + [EnumMember(Value = ("ResourceExhausted"))] ResourceExhausted, /// /// AlreadyExists /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AlreadyExists"))] + [EnumMember(Value = ("AlreadyExists"))] AlreadyExists, /// /// Unavailable /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unavailable"))] + [EnumMember(Value = ("Unavailable"))] Unavailable, /// /// Unauthorized /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unauthorized"))] + [EnumMember(Value = ("Unauthorized"))] Unauthorized, /// /// BadResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BadResponse"))] + [EnumMember(Value = ("BadResponse"))] BadResponse, /// /// InternalError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InternalError"))] + [EnumMember(Value = ("InternalError"))] InternalError, /// /// UnknownError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownError"))] + [EnumMember(Value = ("UnknownError"))] UnknownError, /// /// FulfilledLocally /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FulfilledLocally"))] + [EnumMember(Value = ("FulfilledLocally"))] FulfilledLocally } @@ -16730,7 +16449,7 @@ public CefSharp.DevTools.Network.TrustTokenOperationDoneStatus Status /// of the operation already exists und thus, the operation was abort /// preemptively (e.g. a cache hit). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] internal string status { get; @@ -16756,7 +16475,7 @@ public CefSharp.DevTools.Network.TrustTokenOperationType Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -16766,7 +16485,7 @@ internal string type /// /// RequestId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16776,7 +16495,7 @@ public string RequestId /// /// Top level origin. The context in which the operation was attempted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("topLevelOrigin"), IsRequired = (false))] + [DataMember(Name = ("topLevelOrigin"), IsRequired = (false))] public string TopLevelOrigin { get; @@ -16786,7 +16505,7 @@ public string TopLevelOrigin /// /// Origin of the issuer in case of a "Issuance" or "Redemption" operation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuerOrigin"), IsRequired = (false))] + [DataMember(Name = ("issuerOrigin"), IsRequired = (false))] public string IssuerOrigin { get; @@ -16796,7 +16515,7 @@ public string IssuerOrigin /// /// The number of obtained Trust Tokens on a successful "Issuance" operation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuedTokenCount"), IsRequired = (false))] + [DataMember(Name = ("issuedTokenCount"), IsRequired = (false))] public int? IssuedTokenCount { get; @@ -16814,7 +16533,7 @@ public class SubresourceWebBundleMetadataReceivedEventArgs : CefSharp.DevTools.D /// /// Request identifier. Used to match this information to another event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16824,7 +16543,7 @@ public string RequestId /// /// A list of URLs of resources in the subresource Web Bundle. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urls"), IsRequired = (true))] + [DataMember(Name = ("urls"), IsRequired = (true))] public string[] Urls { get; @@ -16841,7 +16560,7 @@ public class SubresourceWebBundleMetadataErrorEventArgs : CefSharp.DevTools.DevT /// /// Request identifier. Used to match this information to another event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -16851,7 +16570,7 @@ public string RequestId /// /// Error message /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))] + [DataMember(Name = ("errorMessage"), IsRequired = (true))] public string ErrorMessage { get; @@ -16869,7 +16588,7 @@ public class SubresourceWebBundleInnerResponseParsedEventArgs : CefSharp.DevTool /// /// Request identifier of the subresource request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestId"), IsRequired = (true))] + [DataMember(Name = ("innerRequestId"), IsRequired = (true))] public string InnerRequestId { get; @@ -16879,7 +16598,7 @@ public string InnerRequestId /// /// URL of the subresource resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestURL"), IsRequired = (true))] + [DataMember(Name = ("innerRequestURL"), IsRequired = (true))] public string InnerRequestURL { get; @@ -16891,7 +16610,7 @@ public string InnerRequestURL /// This made be absent in case when the instrumentation was enabled only /// after webbundle was parsed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bundleRequestId"), IsRequired = (false))] + [DataMember(Name = ("bundleRequestId"), IsRequired = (false))] public string BundleRequestId { get; @@ -16908,7 +16627,7 @@ public class SubresourceWebBundleInnerResponseErrorEventArgs : CefSharp.DevTools /// /// Request identifier of the subresource request /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestId"), IsRequired = (true))] + [DataMember(Name = ("innerRequestId"), IsRequired = (true))] public string InnerRequestId { get; @@ -16918,7 +16637,7 @@ public string InnerRequestId /// /// URL of the subresource resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestURL"), IsRequired = (true))] + [DataMember(Name = ("innerRequestURL"), IsRequired = (true))] public string InnerRequestURL { get; @@ -16928,7 +16647,7 @@ public string InnerRequestURL /// /// Error message /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))] + [DataMember(Name = ("errorMessage"), IsRequired = (true))] public string ErrorMessage { get; @@ -16940,7 +16659,7 @@ public string ErrorMessage /// This made be absent in case when the instrumentation was enabled only /// after webbundle was parsed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bundleRequestId"), IsRequired = (false))] + [DataMember(Name = ("bundleRequestId"), IsRequired = (false))] public string BundleRequestId { get; @@ -16958,7 +16677,7 @@ public class ReportingApiReportAddedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Report /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("report"), IsRequired = (true))] + [DataMember(Name = ("report"), IsRequired = (true))] public CefSharp.DevTools.Network.ReportingApiReport Report { get; @@ -16975,7 +16694,7 @@ public class ReportingApiReportUpdatedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Report /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("report"), IsRequired = (true))] + [DataMember(Name = ("report"), IsRequired = (true))] public CefSharp.DevTools.Network.ReportingApiReport Report { get; @@ -16992,7 +16711,7 @@ public class ReportingApiEndpointsChangedForOriginEventArgs : CefSharp.DevTools. /// /// Origin of the document(s) which configured the endpoints. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -17002,7 +16721,7 @@ public string Origin /// /// Endpoints /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endpoints"), IsRequired = (true))] + [DataMember(Name = ("endpoints"), IsRequired = (true))] public System.Collections.Generic.IList Endpoints { get; @@ -17022,7 +16741,7 @@ public partial class SourceOrderConfig : CefSharp.DevTools.DevToolsDomainEntityB /// /// the color to outline the givent element in. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentOutlineColor"), IsRequired = (true))] + [DataMember(Name = ("parentOutlineColor"), IsRequired = (true))] public CefSharp.DevTools.DOM.RGBA ParentOutlineColor { get; @@ -17032,7 +16751,7 @@ public CefSharp.DevTools.DOM.RGBA ParentOutlineColor /// /// the color to outline the child elements in. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childOutlineColor"), IsRequired = (true))] + [DataMember(Name = ("childOutlineColor"), IsRequired = (true))] public CefSharp.DevTools.DOM.RGBA ChildOutlineColor { get; @@ -17049,7 +16768,7 @@ public partial class GridHighlightConfig : CefSharp.DevTools.DevToolsDomainEntit /// /// Whether the extension lines from grid cells to the rulers should be shown (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showGridExtensionLines"), IsRequired = (false))] + [DataMember(Name = ("showGridExtensionLines"), IsRequired = (false))] public bool? ShowGridExtensionLines { get; @@ -17059,7 +16778,7 @@ public bool? ShowGridExtensionLines /// /// Show Positive line number labels (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showPositiveLineNumbers"), IsRequired = (false))] + [DataMember(Name = ("showPositiveLineNumbers"), IsRequired = (false))] public bool? ShowPositiveLineNumbers { get; @@ -17069,7 +16788,7 @@ public bool? ShowPositiveLineNumbers /// /// Show Negative line number labels (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showNegativeLineNumbers"), IsRequired = (false))] + [DataMember(Name = ("showNegativeLineNumbers"), IsRequired = (false))] public bool? ShowNegativeLineNumbers { get; @@ -17079,7 +16798,7 @@ public bool? ShowNegativeLineNumbers /// /// Show area name labels (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showAreaNames"), IsRequired = (false))] + [DataMember(Name = ("showAreaNames"), IsRequired = (false))] public bool? ShowAreaNames { get; @@ -17089,7 +16808,7 @@ public bool? ShowAreaNames /// /// Show line name labels (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showLineNames"), IsRequired = (false))] + [DataMember(Name = ("showLineNames"), IsRequired = (false))] public bool? ShowLineNames { get; @@ -17099,7 +16818,7 @@ public bool? ShowLineNames /// /// Show track size labels (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showTrackSizes"), IsRequired = (false))] + [DataMember(Name = ("showTrackSizes"), IsRequired = (false))] public bool? ShowTrackSizes { get; @@ -17109,7 +16828,7 @@ public bool? ShowTrackSizes /// /// The grid container border highlight color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gridBorderColor"), IsRequired = (false))] + [DataMember(Name = ("gridBorderColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA GridBorderColor { get; @@ -17119,7 +16838,7 @@ public CefSharp.DevTools.DOM.RGBA GridBorderColor /// /// The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cellBorderColor"), IsRequired = (false))] + [DataMember(Name = ("cellBorderColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA CellBorderColor { get; @@ -17129,7 +16848,7 @@ public CefSharp.DevTools.DOM.RGBA CellBorderColor /// /// The row line color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rowLineColor"), IsRequired = (false))] + [DataMember(Name = ("rowLineColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA RowLineColor { get; @@ -17139,7 +16858,7 @@ public CefSharp.DevTools.DOM.RGBA RowLineColor /// /// The column line color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnLineColor"), IsRequired = (false))] + [DataMember(Name = ("columnLineColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ColumnLineColor { get; @@ -17149,7 +16868,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnLineColor /// /// Whether the grid border is dashed (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gridBorderDash"), IsRequired = (false))] + [DataMember(Name = ("gridBorderDash"), IsRequired = (false))] public bool? GridBorderDash { get; @@ -17159,7 +16878,7 @@ public bool? GridBorderDash /// /// Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cellBorderDash"), IsRequired = (false))] + [DataMember(Name = ("cellBorderDash"), IsRequired = (false))] public bool? CellBorderDash { get; @@ -17169,7 +16888,7 @@ public bool? CellBorderDash /// /// Whether row lines are dashed (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rowLineDash"), IsRequired = (false))] + [DataMember(Name = ("rowLineDash"), IsRequired = (false))] public bool? RowLineDash { get; @@ -17179,7 +16898,7 @@ public bool? RowLineDash /// /// Whether column lines are dashed (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnLineDash"), IsRequired = (false))] + [DataMember(Name = ("columnLineDash"), IsRequired = (false))] public bool? ColumnLineDash { get; @@ -17189,7 +16908,7 @@ public bool? ColumnLineDash /// /// The row gap highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rowGapColor"), IsRequired = (false))] + [DataMember(Name = ("rowGapColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA RowGapColor { get; @@ -17199,7 +16918,7 @@ public CefSharp.DevTools.DOM.RGBA RowGapColor /// /// The row gap hatching fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rowHatchColor"), IsRequired = (false))] + [DataMember(Name = ("rowHatchColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA RowHatchColor { get; @@ -17209,7 +16928,7 @@ public CefSharp.DevTools.DOM.RGBA RowHatchColor /// /// The column gap highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnGapColor"), IsRequired = (false))] + [DataMember(Name = ("columnGapColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ColumnGapColor { get; @@ -17219,7 +16938,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnGapColor /// /// The column gap hatching fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnHatchColor"), IsRequired = (false))] + [DataMember(Name = ("columnHatchColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ColumnHatchColor { get; @@ -17229,7 +16948,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnHatchColor /// /// The named grid areas border color (Default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("areaBorderColor"), IsRequired = (false))] + [DataMember(Name = ("areaBorderColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA AreaBorderColor { get; @@ -17239,7 +16958,7 @@ public CefSharp.DevTools.DOM.RGBA AreaBorderColor /// /// The grid container background color (Default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gridBackgroundColor"), IsRequired = (false))] + [DataMember(Name = ("gridBackgroundColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA GridBackgroundColor { get; @@ -17256,7 +16975,7 @@ public partial class FlexContainerHighlightConfig : CefSharp.DevTools.DevToolsDo /// /// The style of the container border /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerBorder"), IsRequired = (false))] + [DataMember(Name = ("containerBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle ContainerBorder { get; @@ -17266,7 +16985,7 @@ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder /// /// The style of the separator between lines /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineSeparator"), IsRequired = (false))] + [DataMember(Name = ("lineSeparator"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle LineSeparator { get; @@ -17276,7 +16995,7 @@ public CefSharp.DevTools.Overlay.LineStyle LineSeparator /// /// The style of the separator between items /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("itemSeparator"), IsRequired = (false))] + [DataMember(Name = ("itemSeparator"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle ItemSeparator { get; @@ -17286,7 +17005,7 @@ public CefSharp.DevTools.Overlay.LineStyle ItemSeparator /// /// Style of content-distribution space on the main axis (justify-content). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mainDistributedSpace"), IsRequired = (false))] + [DataMember(Name = ("mainDistributedSpace"), IsRequired = (false))] public CefSharp.DevTools.Overlay.BoxStyle MainDistributedSpace { get; @@ -17296,7 +17015,7 @@ public CefSharp.DevTools.Overlay.BoxStyle MainDistributedSpace /// /// Style of content-distribution space on the cross axis (align-content). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("crossDistributedSpace"), IsRequired = (false))] + [DataMember(Name = ("crossDistributedSpace"), IsRequired = (false))] public CefSharp.DevTools.Overlay.BoxStyle CrossDistributedSpace { get; @@ -17306,7 +17025,7 @@ public CefSharp.DevTools.Overlay.BoxStyle CrossDistributedSpace /// /// Style of empty space caused by row gaps (gap/row-gap). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rowGapSpace"), IsRequired = (false))] + [DataMember(Name = ("rowGapSpace"), IsRequired = (false))] public CefSharp.DevTools.Overlay.BoxStyle RowGapSpace { get; @@ -17316,7 +17035,7 @@ public CefSharp.DevTools.Overlay.BoxStyle RowGapSpace /// /// Style of empty space caused by columns gaps (gap/column-gap). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnGapSpace"), IsRequired = (false))] + [DataMember(Name = ("columnGapSpace"), IsRequired = (false))] public CefSharp.DevTools.Overlay.BoxStyle ColumnGapSpace { get; @@ -17326,7 +17045,7 @@ public CefSharp.DevTools.Overlay.BoxStyle ColumnGapSpace /// /// Style of the self-alignment line (align-items). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("crossAlignment"), IsRequired = (false))] + [DataMember(Name = ("crossAlignment"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle CrossAlignment { get; @@ -17343,7 +17062,7 @@ public partial class FlexItemHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// Style of the box representing the item's base size /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseSizeBox"), IsRequired = (false))] + [DataMember(Name = ("baseSizeBox"), IsRequired = (false))] public CefSharp.DevTools.Overlay.BoxStyle BaseSizeBox { get; @@ -17353,7 +17072,7 @@ public CefSharp.DevTools.Overlay.BoxStyle BaseSizeBox /// /// Style of the border around the box representing the item's base size /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("baseSizeBorder"), IsRequired = (false))] + [DataMember(Name = ("baseSizeBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle BaseSizeBorder { get; @@ -17363,7 +17082,7 @@ public CefSharp.DevTools.Overlay.LineStyle BaseSizeBorder /// /// Style of the arrow representing if the item grew or shrank /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("flexibilityArrow"), IsRequired = (false))] + [DataMember(Name = ("flexibilityArrow"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle FlexibilityArrow { get; @@ -17379,12 +17098,12 @@ public enum LineStylePattern /// /// dashed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dashed"))] + [EnumMember(Value = ("dashed"))] Dashed, /// /// dotted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dotted"))] + [EnumMember(Value = ("dotted"))] Dotted } @@ -17397,7 +17116,7 @@ public partial class LineStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The color of the line (default: transparent) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("color"), IsRequired = (false))] + [DataMember(Name = ("color"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA Color { get; @@ -17423,7 +17142,7 @@ public CefSharp.DevTools.Overlay.LineStylePattern? Pattern /// /// The line pattern (default: solid) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pattern"), IsRequired = (false))] + [DataMember(Name = ("pattern"), IsRequired = (false))] internal string pattern { get; @@ -17440,7 +17159,7 @@ public partial class BoxStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The background color for the box (default: transparent) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fillColor"), IsRequired = (false))] + [DataMember(Name = ("fillColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA FillColor { get; @@ -17450,7 +17169,7 @@ public CefSharp.DevTools.DOM.RGBA FillColor /// /// The hatching color for the box (default: transparent) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hatchColor"), IsRequired = (false))] + [DataMember(Name = ("hatchColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA HatchColor { get; @@ -17466,17 +17185,17 @@ public enum ContrastAlgorithm /// /// aa /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("aa"))] + [EnumMember(Value = ("aa"))] Aa, /// /// aaa /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("aaa"))] + [EnumMember(Value = ("aaa"))] Aaa, /// /// apca /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("apca"))] + [EnumMember(Value = ("apca"))] Apca } @@ -17489,7 +17208,7 @@ public partial class HighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Whether the node info tooltip should be shown (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showInfo"), IsRequired = (false))] + [DataMember(Name = ("showInfo"), IsRequired = (false))] public bool? ShowInfo { get; @@ -17499,7 +17218,7 @@ public bool? ShowInfo /// /// Whether the node styles in the tooltip (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showStyles"), IsRequired = (false))] + [DataMember(Name = ("showStyles"), IsRequired = (false))] public bool? ShowStyles { get; @@ -17509,7 +17228,7 @@ public bool? ShowStyles /// /// Whether the rulers should be shown (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showRulers"), IsRequired = (false))] + [DataMember(Name = ("showRulers"), IsRequired = (false))] public bool? ShowRulers { get; @@ -17519,7 +17238,7 @@ public bool? ShowRulers /// /// Whether the a11y info should be shown (default: true). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showAccessibilityInfo"), IsRequired = (false))] + [DataMember(Name = ("showAccessibilityInfo"), IsRequired = (false))] public bool? ShowAccessibilityInfo { get; @@ -17529,7 +17248,7 @@ public bool? ShowAccessibilityInfo /// /// Whether the extension lines from node to the rulers should be shown (default: false). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("showExtensionLines"), IsRequired = (false))] + [DataMember(Name = ("showExtensionLines"), IsRequired = (false))] public bool? ShowExtensionLines { get; @@ -17539,7 +17258,7 @@ public bool? ShowExtensionLines /// /// The content box highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentColor"), IsRequired = (false))] + [DataMember(Name = ("contentColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ContentColor { get; @@ -17549,7 +17268,7 @@ public CefSharp.DevTools.DOM.RGBA ContentColor /// /// The padding highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paddingColor"), IsRequired = (false))] + [DataMember(Name = ("paddingColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA PaddingColor { get; @@ -17559,7 +17278,7 @@ public CefSharp.DevTools.DOM.RGBA PaddingColor /// /// The border highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("borderColor"), IsRequired = (false))] + [DataMember(Name = ("borderColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA BorderColor { get; @@ -17569,7 +17288,7 @@ public CefSharp.DevTools.DOM.RGBA BorderColor /// /// The margin highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("marginColor"), IsRequired = (false))] + [DataMember(Name = ("marginColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA MarginColor { get; @@ -17579,7 +17298,7 @@ public CefSharp.DevTools.DOM.RGBA MarginColor /// /// The event target element highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventTargetColor"), IsRequired = (false))] + [DataMember(Name = ("eventTargetColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA EventTargetColor { get; @@ -17589,7 +17308,7 @@ public CefSharp.DevTools.DOM.RGBA EventTargetColor /// /// The shape outside fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shapeColor"), IsRequired = (false))] + [DataMember(Name = ("shapeColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ShapeColor { get; @@ -17599,7 +17318,7 @@ public CefSharp.DevTools.DOM.RGBA ShapeColor /// /// The shape margin fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("shapeMarginColor"), IsRequired = (false))] + [DataMember(Name = ("shapeMarginColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ShapeMarginColor { get; @@ -17609,7 +17328,7 @@ public CefSharp.DevTools.DOM.RGBA ShapeMarginColor /// /// The grid layout color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssGridColor"), IsRequired = (false))] + [DataMember(Name = ("cssGridColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA CssGridColor { get; @@ -17635,7 +17354,7 @@ public CefSharp.DevTools.Overlay.ColorFormat? ColorFormat /// /// The color format used to format color styles (default: hex). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("colorFormat"), IsRequired = (false))] + [DataMember(Name = ("colorFormat"), IsRequired = (false))] internal string colorFormat { get; @@ -17645,7 +17364,7 @@ internal string colorFormat /// /// The grid layout highlight configuration (default: all transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gridHighlightConfig"), IsRequired = (false))] + [DataMember(Name = ("gridHighlightConfig"), IsRequired = (false))] public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig { get; @@ -17655,7 +17374,7 @@ public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig /// /// The flex container highlight configuration (default: all transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("flexContainerHighlightConfig"), IsRequired = (false))] + [DataMember(Name = ("flexContainerHighlightConfig"), IsRequired = (false))] public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighlightConfig { get; @@ -17665,7 +17384,7 @@ public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighl /// /// The flex item highlight configuration (default: all transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("flexItemHighlightConfig"), IsRequired = (false))] + [DataMember(Name = ("flexItemHighlightConfig"), IsRequired = (false))] public CefSharp.DevTools.Overlay.FlexItemHighlightConfig FlexItemHighlightConfig { get; @@ -17691,7 +17410,7 @@ public CefSharp.DevTools.Overlay.ContrastAlgorithm? ContrastAlgorithm /// /// The contrast algorithm to use for the contrast ratio (default: aa). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contrastAlgorithm"), IsRequired = (false))] + [DataMember(Name = ("contrastAlgorithm"), IsRequired = (false))] internal string contrastAlgorithm { get; @@ -17701,7 +17420,7 @@ internal string contrastAlgorithm /// /// The container query container highlight configuration (default: all transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (false))] + [DataMember(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (false))] public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig { get; @@ -17717,22 +17436,22 @@ public enum ColorFormat /// /// rgb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("rgb"))] + [EnumMember(Value = ("rgb"))] Rgb, /// /// hsl /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("hsl"))] + [EnumMember(Value = ("hsl"))] Hsl, /// /// hwb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("hwb"))] + [EnumMember(Value = ("hwb"))] Hwb, /// /// hex /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("hex"))] + [EnumMember(Value = ("hex"))] Hex } @@ -17745,7 +17464,7 @@ public partial class GridNodeHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// A descriptor for the highlight appearance. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gridHighlightConfig"), IsRequired = (true))] + [DataMember(Name = ("gridHighlightConfig"), IsRequired = (true))] public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig { get; @@ -17755,7 +17474,7 @@ public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig /// /// Identifier of the node to highlight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -17772,7 +17491,7 @@ public partial class FlexNodeHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// A descriptor for the highlight appearance of flex containers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("flexContainerHighlightConfig"), IsRequired = (true))] + [DataMember(Name = ("flexContainerHighlightConfig"), IsRequired = (true))] public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighlightConfig { get; @@ -17782,7 +17501,7 @@ public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighl /// /// Identifier of the node to highlight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -17799,7 +17518,7 @@ public partial class ScrollSnapContainerHighlightConfig : CefSharp.DevTools.DevT /// /// The style of the snapport border (default: transparent) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("snapportBorder"), IsRequired = (false))] + [DataMember(Name = ("snapportBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle SnapportBorder { get; @@ -17809,7 +17528,7 @@ public CefSharp.DevTools.Overlay.LineStyle SnapportBorder /// /// The style of the snap area border (default: transparent) /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("snapAreaBorder"), IsRequired = (false))] + [DataMember(Name = ("snapAreaBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle SnapAreaBorder { get; @@ -17819,7 +17538,7 @@ public CefSharp.DevTools.Overlay.LineStyle SnapAreaBorder /// /// The margin highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollMarginColor"), IsRequired = (false))] + [DataMember(Name = ("scrollMarginColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ScrollMarginColor { get; @@ -17829,7 +17548,7 @@ public CefSharp.DevTools.DOM.RGBA ScrollMarginColor /// /// The padding highlight fill color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollPaddingColor"), IsRequired = (false))] + [DataMember(Name = ("scrollPaddingColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ScrollPaddingColor { get; @@ -17846,7 +17565,7 @@ public partial class ScrollSnapHighlightConfig : CefSharp.DevTools.DevToolsDomai /// /// A descriptor for the highlight appearance of scroll snap containers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollSnapContainerHighlightConfig"), IsRequired = (true))] + [DataMember(Name = ("scrollSnapContainerHighlightConfig"), IsRequired = (true))] public CefSharp.DevTools.Overlay.ScrollSnapContainerHighlightConfig ScrollSnapContainerHighlightConfig { get; @@ -17856,7 +17575,7 @@ public CefSharp.DevTools.Overlay.ScrollSnapContainerHighlightConfig ScrollSnapCo /// /// Identifier of the node to highlight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -17873,7 +17592,7 @@ public partial class HingeConfig : CefSharp.DevTools.DevToolsDomainEntityBase /// /// A rectangle represent hinge /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rect"), IsRequired = (true))] + [DataMember(Name = ("rect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect Rect { get; @@ -17883,7 +17602,7 @@ public CefSharp.DevTools.DOM.Rect Rect /// /// The content box highlight fill color (default: a dark color). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentColor"), IsRequired = (false))] + [DataMember(Name = ("contentColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ContentColor { get; @@ -17893,7 +17612,7 @@ public CefSharp.DevTools.DOM.RGBA ContentColor /// /// The content box highlight outline color (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("outlineColor"), IsRequired = (false))] + [DataMember(Name = ("outlineColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA OutlineColor { get; @@ -17910,7 +17629,7 @@ public partial class ContainerQueryHighlightConfig : CefSharp.DevTools.DevToolsD /// /// A descriptor for the highlight appearance of container query containers. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (true))] + [DataMember(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (true))] public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig { get; @@ -17920,7 +17639,7 @@ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig Containe /// /// Identifier of the container node to highlight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -17937,7 +17656,7 @@ public partial class ContainerQueryContainerHighlightConfig : CefSharp.DevTools. /// /// The style of the container border. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerBorder"), IsRequired = (false))] + [DataMember(Name = ("containerBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle ContainerBorder { get; @@ -17947,7 +17666,7 @@ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder /// /// The style of the descendants' borders. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("descendantBorder"), IsRequired = (false))] + [DataMember(Name = ("descendantBorder"), IsRequired = (false))] public CefSharp.DevTools.Overlay.LineStyle DescendantBorder { get; @@ -17964,7 +17683,7 @@ public partial class IsolatedElementHighlightConfig : CefSharp.DevTools.DevTools /// /// A descriptor for the highlight appearance of an element in isolation mode. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isolationModeHighlightConfig"), IsRequired = (true))] + [DataMember(Name = ("isolationModeHighlightConfig"), IsRequired = (true))] public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighlightConfig { get; @@ -17974,7 +17693,7 @@ public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighl /// /// Identifier of the isolated element to highlight. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -17991,7 +17710,7 @@ public partial class IsolationModeHighlightConfig : CefSharp.DevTools.DevToolsDo /// /// The fill color of the resizers (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resizerColor"), IsRequired = (false))] + [DataMember(Name = ("resizerColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ResizerColor { get; @@ -18001,7 +17720,7 @@ public CefSharp.DevTools.DOM.RGBA ResizerColor /// /// The fill color for resizer handles (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resizerHandleColor"), IsRequired = (false))] + [DataMember(Name = ("resizerHandleColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA ResizerHandleColor { get; @@ -18011,7 +17730,7 @@ public CefSharp.DevTools.DOM.RGBA ResizerHandleColor /// /// The fill color for the mask covering non-isolated elements (default: transparent). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maskColor"), IsRequired = (false))] + [DataMember(Name = ("maskColor"), IsRequired = (false))] public CefSharp.DevTools.DOM.RGBA MaskColor { get; @@ -18027,27 +17746,27 @@ public enum InspectMode /// /// searchForNode /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("searchForNode"))] + [EnumMember(Value = ("searchForNode"))] SearchForNode, /// /// searchForUAShadowDOM /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("searchForUAShadowDOM"))] + [EnumMember(Value = ("searchForUAShadowDOM"))] SearchForUAShadowDOM, /// /// captureAreaScreenshot /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("captureAreaScreenshot"))] + [EnumMember(Value = ("captureAreaScreenshot"))] CaptureAreaScreenshot, /// /// showDistances /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("showDistances"))] + [EnumMember(Value = ("showDistances"))] ShowDistances, /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None } @@ -18061,7 +17780,7 @@ public class InspectNodeRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Id of the node to inspect. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (true))] + [DataMember(Name = ("backendNodeId"), IsRequired = (true))] public int BackendNodeId { get; @@ -18078,7 +17797,7 @@ public class NodeHighlightRequestedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -18095,7 +17814,7 @@ public class ScreenshotRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Viewport to capture, in device independent pixels (dip). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("viewport"), IsRequired = (true))] + [DataMember(Name = ("viewport"), IsRequired = (true))] public CefSharp.DevTools.Page.Viewport Viewport { get; @@ -18114,17 +17833,17 @@ public enum AdFrameType /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// child /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("child"))] + [EnumMember(Value = ("child"))] Child, /// /// root /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("root"))] + [EnumMember(Value = ("root"))] Root } @@ -18136,17 +17855,17 @@ public enum AdFrameExplanation /// /// ParentIsAd /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ParentIsAd"))] + [EnumMember(Value = ("ParentIsAd"))] ParentIsAd, /// /// CreatedByAdScript /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CreatedByAdScript"))] + [EnumMember(Value = ("CreatedByAdScript"))] CreatedByAdScript, /// /// MatchedBlockingRule /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MatchedBlockingRule"))] + [EnumMember(Value = ("MatchedBlockingRule"))] MatchedBlockingRule } @@ -18175,7 +17894,7 @@ public CefSharp.DevTools.Page.AdFrameType AdFrameType /// /// AdFrameType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("adFrameType"), IsRequired = (true))] + [DataMember(Name = ("adFrameType"), IsRequired = (true))] internal string adFrameType { get; @@ -18201,7 +17920,7 @@ public CefSharp.DevTools.Page.AdFrameExplanation[] Explanations /// /// Explanations /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (false))] + [DataMember(Name = ("explanations"), IsRequired = (false))] internal string explanations { get; @@ -18220,7 +17939,7 @@ public partial class AdScriptId : CefSharp.DevTools.DevToolsDomainEntityBase /// Script Id of the bottom-most script which caused the frame to be labelled /// as an ad. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -18230,7 +17949,7 @@ public string ScriptId /// /// Id of adScriptId's debugger. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("debuggerId"), IsRequired = (true))] + [DataMember(Name = ("debuggerId"), IsRequired = (true))] public string DebuggerId { get; @@ -18246,22 +17965,22 @@ public enum SecureContextType /// /// Secure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Secure"))] + [EnumMember(Value = ("Secure"))] Secure, /// /// SecureLocalhost /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SecureLocalhost"))] + [EnumMember(Value = ("SecureLocalhost"))] SecureLocalhost, /// /// InsecureScheme /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecureScheme"))] + [EnumMember(Value = ("InsecureScheme"))] InsecureScheme, /// /// InsecureAncestor /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecureAncestor"))] + [EnumMember(Value = ("InsecureAncestor"))] InsecureAncestor } @@ -18273,17 +17992,17 @@ public enum CrossOriginIsolatedContextType /// /// Isolated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Isolated"))] + [EnumMember(Value = ("Isolated"))] Isolated, /// /// NotIsolated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotIsolated"))] + [EnumMember(Value = ("NotIsolated"))] NotIsolated, /// /// NotIsolatedFeatureDisabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotIsolatedFeatureDisabled"))] + [EnumMember(Value = ("NotIsolatedFeatureDisabled"))] NotIsolatedFeatureDisabled } @@ -18295,22 +18014,22 @@ public enum GatedAPIFeatures /// /// SharedArrayBuffers /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedArrayBuffers"))] + [EnumMember(Value = ("SharedArrayBuffers"))] SharedArrayBuffers, /// /// SharedArrayBuffersTransferAllowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedArrayBuffersTransferAllowed"))] + [EnumMember(Value = ("SharedArrayBuffersTransferAllowed"))] SharedArrayBuffersTransferAllowed, /// /// PerformanceMeasureMemory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PerformanceMeasureMemory"))] + [EnumMember(Value = ("PerformanceMeasureMemory"))] PerformanceMeasureMemory, /// /// PerformanceProfile /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PerformanceProfile"))] + [EnumMember(Value = ("PerformanceProfile"))] PerformanceProfile } @@ -18323,392 +18042,392 @@ public enum PermissionsPolicyFeature /// /// accelerometer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("accelerometer"))] + [EnumMember(Value = ("accelerometer"))] Accelerometer, /// /// ambient-light-sensor /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ambient-light-sensor"))] + [EnumMember(Value = ("ambient-light-sensor"))] AmbientLightSensor, /// /// attribution-reporting /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("attribution-reporting"))] + [EnumMember(Value = ("attribution-reporting"))] AttributionReporting, /// /// autoplay /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoplay"))] + [EnumMember(Value = ("autoplay"))] Autoplay, /// /// bluetooth /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bluetooth"))] + [EnumMember(Value = ("bluetooth"))] Bluetooth, /// /// browsing-topics /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("browsing-topics"))] + [EnumMember(Value = ("browsing-topics"))] BrowsingTopics, /// /// camera /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("camera"))] + [EnumMember(Value = ("camera"))] Camera, /// /// ch-dpr /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-dpr"))] + [EnumMember(Value = ("ch-dpr"))] ChDpr, /// /// ch-device-memory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-device-memory"))] + [EnumMember(Value = ("ch-device-memory"))] ChDeviceMemory, /// /// ch-downlink /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-downlink"))] + [EnumMember(Value = ("ch-downlink"))] ChDownlink, /// /// ch-ect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ect"))] + [EnumMember(Value = ("ch-ect"))] ChEct, /// /// ch-prefers-color-scheme /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-color-scheme"))] + [EnumMember(Value = ("ch-prefers-color-scheme"))] ChPrefersColorScheme, /// /// ch-prefers-reduced-motion /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-reduced-motion"))] + [EnumMember(Value = ("ch-prefers-reduced-motion"))] ChPrefersReducedMotion, /// /// ch-rtt /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-rtt"))] + [EnumMember(Value = ("ch-rtt"))] ChRtt, /// /// ch-save-data /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-save-data"))] + [EnumMember(Value = ("ch-save-data"))] ChSaveData, /// /// ch-ua /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua"))] + [EnumMember(Value = ("ch-ua"))] ChUa, /// /// ch-ua-arch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-arch"))] + [EnumMember(Value = ("ch-ua-arch"))] ChUaArch, /// /// ch-ua-bitness /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-bitness"))] + [EnumMember(Value = ("ch-ua-bitness"))] ChUaBitness, /// /// ch-ua-platform /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-platform"))] + [EnumMember(Value = ("ch-ua-platform"))] ChUaPlatform, /// /// ch-ua-model /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-model"))] + [EnumMember(Value = ("ch-ua-model"))] ChUaModel, /// /// ch-ua-mobile /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-mobile"))] + [EnumMember(Value = ("ch-ua-mobile"))] ChUaMobile, /// /// ch-ua-full /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-full"))] + [EnumMember(Value = ("ch-ua-full"))] ChUaFull, /// /// ch-ua-full-version /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-full-version"))] + [EnumMember(Value = ("ch-ua-full-version"))] ChUaFullVersion, /// /// ch-ua-full-version-list /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-full-version-list"))] + [EnumMember(Value = ("ch-ua-full-version-list"))] ChUaFullVersionList, /// /// ch-ua-platform-version /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-platform-version"))] + [EnumMember(Value = ("ch-ua-platform-version"))] ChUaPlatformVersion, /// /// ch-ua-reduced /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-reduced"))] + [EnumMember(Value = ("ch-ua-reduced"))] ChUaReduced, /// /// ch-ua-wow64 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-wow64"))] + [EnumMember(Value = ("ch-ua-wow64"))] ChUaWow64, /// /// ch-viewport-height /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-viewport-height"))] + [EnumMember(Value = ("ch-viewport-height"))] ChViewportHeight, /// /// ch-viewport-width /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-viewport-width"))] + [EnumMember(Value = ("ch-viewport-width"))] ChViewportWidth, /// /// ch-width /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-width"))] + [EnumMember(Value = ("ch-width"))] ChWidth, /// /// clipboard-read /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clipboard-read"))] + [EnumMember(Value = ("clipboard-read"))] ClipboardRead, /// /// clipboard-write /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clipboard-write"))] + [EnumMember(Value = ("clipboard-write"))] ClipboardWrite, /// /// compute-pressure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("compute-pressure"))] + [EnumMember(Value = ("compute-pressure"))] ComputePressure, /// /// cross-origin-isolated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cross-origin-isolated"))] + [EnumMember(Value = ("cross-origin-isolated"))] CrossOriginIsolated, /// /// direct-sockets /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("direct-sockets"))] + [EnumMember(Value = ("direct-sockets"))] DirectSockets, /// /// display-capture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("display-capture"))] + [EnumMember(Value = ("display-capture"))] DisplayCapture, /// /// document-domain /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("document-domain"))] + [EnumMember(Value = ("document-domain"))] DocumentDomain, /// /// encrypted-media /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("encrypted-media"))] + [EnumMember(Value = ("encrypted-media"))] EncryptedMedia, /// /// execution-while-out-of-viewport /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("execution-while-out-of-viewport"))] + [EnumMember(Value = ("execution-while-out-of-viewport"))] ExecutionWhileOutOfViewport, /// /// execution-while-not-rendered /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("execution-while-not-rendered"))] + [EnumMember(Value = ("execution-while-not-rendered"))] ExecutionWhileNotRendered, /// /// focus-without-user-activation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("focus-without-user-activation"))] + [EnumMember(Value = ("focus-without-user-activation"))] FocusWithoutUserActivation, /// /// fullscreen /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("fullscreen"))] + [EnumMember(Value = ("fullscreen"))] Fullscreen, /// /// frobulate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("frobulate"))] + [EnumMember(Value = ("frobulate"))] Frobulate, /// /// gamepad /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("gamepad"))] + [EnumMember(Value = ("gamepad"))] Gamepad, /// /// geolocation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("geolocation"))] + [EnumMember(Value = ("geolocation"))] Geolocation, /// /// gyroscope /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("gyroscope"))] + [EnumMember(Value = ("gyroscope"))] Gyroscope, /// /// hid /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("hid"))] + [EnumMember(Value = ("hid"))] Hid, /// /// identity-credentials-get /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("identity-credentials-get"))] + [EnumMember(Value = ("identity-credentials-get"))] IdentityCredentialsGet, /// /// idle-detection /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("idle-detection"))] + [EnumMember(Value = ("idle-detection"))] IdleDetection, /// /// interest-cohort /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("interest-cohort"))] + [EnumMember(Value = ("interest-cohort"))] InterestCohort, /// /// join-ad-interest-group /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("join-ad-interest-group"))] + [EnumMember(Value = ("join-ad-interest-group"))] JoinAdInterestGroup, /// /// keyboard-map /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyboard-map"))] + [EnumMember(Value = ("keyboard-map"))] KeyboardMap, /// /// local-fonts /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("local-fonts"))] + [EnumMember(Value = ("local-fonts"))] LocalFonts, /// /// magnetometer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("magnetometer"))] + [EnumMember(Value = ("magnetometer"))] Magnetometer, /// /// microphone /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("microphone"))] + [EnumMember(Value = ("microphone"))] Microphone, /// /// midi /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("midi"))] + [EnumMember(Value = ("midi"))] Midi, /// /// otp-credentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("otp-credentials"))] + [EnumMember(Value = ("otp-credentials"))] OtpCredentials, /// /// payment /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("payment"))] + [EnumMember(Value = ("payment"))] Payment, /// /// picture-in-picture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("picture-in-picture"))] + [EnumMember(Value = ("picture-in-picture"))] PictureInPicture, /// /// private-aggregation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("private-aggregation"))] + [EnumMember(Value = ("private-aggregation"))] PrivateAggregation, /// /// publickey-credentials-get /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("publickey-credentials-get"))] + [EnumMember(Value = ("publickey-credentials-get"))] PublickeyCredentialsGet, /// /// run-ad-auction /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("run-ad-auction"))] + [EnumMember(Value = ("run-ad-auction"))] RunAdAuction, /// /// screen-wake-lock /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("screen-wake-lock"))] + [EnumMember(Value = ("screen-wake-lock"))] ScreenWakeLock, /// /// serial /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("serial"))] + [EnumMember(Value = ("serial"))] Serial, /// /// shared-autofill /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-autofill"))] + [EnumMember(Value = ("shared-autofill"))] SharedAutofill, /// /// shared-storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage"))] + [EnumMember(Value = ("shared-storage"))] SharedStorage, /// /// shared-storage-select-url /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage-select-url"))] + [EnumMember(Value = ("shared-storage-select-url"))] SharedStorageSelectUrl, /// /// smart-card /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("smart-card"))] + [EnumMember(Value = ("smart-card"))] SmartCard, /// /// storage-access /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("storage-access"))] + [EnumMember(Value = ("storage-access"))] StorageAccess, /// /// sync-xhr /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("sync-xhr"))] + [EnumMember(Value = ("sync-xhr"))] SyncXhr, /// /// trust-token-redemption /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("trust-token-redemption"))] + [EnumMember(Value = ("trust-token-redemption"))] TrustTokenRedemption, /// /// unload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unload"))] + [EnumMember(Value = ("unload"))] Unload, /// /// usb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("usb"))] + [EnumMember(Value = ("usb"))] Usb, /// /// vertical-scroll /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("vertical-scroll"))] + [EnumMember(Value = ("vertical-scroll"))] VerticalScroll, /// /// web-share /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("web-share"))] + [EnumMember(Value = ("web-share"))] WebShare, /// /// window-management /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("window-management"))] + [EnumMember(Value = ("window-management"))] WindowManagement, /// /// window-placement /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("window-placement"))] + [EnumMember(Value = ("window-placement"))] WindowPlacement, /// /// xr-spatial-tracking /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("xr-spatial-tracking"))] + [EnumMember(Value = ("xr-spatial-tracking"))] XrSpatialTracking } @@ -18720,22 +18439,22 @@ public enum PermissionsPolicyBlockReason /// /// Header /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Header"))] + [EnumMember(Value = ("Header"))] Header, /// /// IframeAttribute /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IframeAttribute"))] + [EnumMember(Value = ("IframeAttribute"))] IframeAttribute, /// /// InFencedFrameTree /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InFencedFrameTree"))] + [EnumMember(Value = ("InFencedFrameTree"))] InFencedFrameTree, /// /// InIsolatedApp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InIsolatedApp"))] + [EnumMember(Value = ("InIsolatedApp"))] InIsolatedApp } @@ -18748,7 +18467,7 @@ public partial class PermissionsPolicyBlockLocator : CefSharp.DevTools.DevToolsD /// /// FrameId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -18774,7 +18493,7 @@ public CefSharp.DevTools.Page.PermissionsPolicyBlockReason BlockReason /// /// BlockReason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("blockReason"), IsRequired = (true))] + [DataMember(Name = ("blockReason"), IsRequired = (true))] internal string blockReason { get; @@ -18807,7 +18526,7 @@ public CefSharp.DevTools.Page.PermissionsPolicyFeature Feature /// /// Feature /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("feature"), IsRequired = (true))] + [DataMember(Name = ("feature"), IsRequired = (true))] internal string feature { get; @@ -18817,7 +18536,7 @@ internal string feature /// /// Allowed /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("allowed"), IsRequired = (true))] + [DataMember(Name = ("allowed"), IsRequired = (true))] public bool Allowed { get; @@ -18827,7 +18546,7 @@ public bool Allowed /// /// Locator /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("locator"), IsRequired = (false))] + [DataMember(Name = ("locator"), IsRequired = (false))] public CefSharp.DevTools.Page.PermissionsPolicyBlockLocator Locator { get; @@ -18844,62 +18563,62 @@ public enum OriginTrialTokenStatus /// /// Success /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Success"))] + [EnumMember(Value = ("Success"))] Success, /// /// NotSupported /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotSupported"))] + [EnumMember(Value = ("NotSupported"))] NotSupported, /// /// Insecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Insecure"))] + [EnumMember(Value = ("Insecure"))] Insecure, /// /// Expired /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Expired"))] + [EnumMember(Value = ("Expired"))] Expired, /// /// WrongOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WrongOrigin"))] + [EnumMember(Value = ("WrongOrigin"))] WrongOrigin, /// /// InvalidSignature /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSignature"))] + [EnumMember(Value = ("InvalidSignature"))] InvalidSignature, /// /// Malformed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Malformed"))] + [EnumMember(Value = ("Malformed"))] Malformed, /// /// WrongVersion /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WrongVersion"))] + [EnumMember(Value = ("WrongVersion"))] WrongVersion, /// /// FeatureDisabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FeatureDisabled"))] + [EnumMember(Value = ("FeatureDisabled"))] FeatureDisabled, /// /// TokenDisabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TokenDisabled"))] + [EnumMember(Value = ("TokenDisabled"))] TokenDisabled, /// /// FeatureDisabledForUser /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FeatureDisabledForUser"))] + [EnumMember(Value = ("FeatureDisabledForUser"))] FeatureDisabledForUser, /// /// UnknownTrial /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownTrial"))] + [EnumMember(Value = ("UnknownTrial"))] UnknownTrial } @@ -18911,22 +18630,22 @@ public enum OriginTrialStatus /// /// Enabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Enabled"))] + [EnumMember(Value = ("Enabled"))] Enabled, /// /// ValidTokenNotProvided /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ValidTokenNotProvided"))] + [EnumMember(Value = ("ValidTokenNotProvided"))] ValidTokenNotProvided, /// /// OSNotSupported /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OSNotSupported"))] + [EnumMember(Value = ("OSNotSupported"))] OSNotSupported, /// /// TrialNotAllowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TrialNotAllowed"))] + [EnumMember(Value = ("TrialNotAllowed"))] TrialNotAllowed } @@ -18938,12 +18657,12 @@ public enum OriginTrialUsageRestriction /// /// None /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("None"))] + [EnumMember(Value = ("None"))] None, /// /// Subset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Subset"))] + [EnumMember(Value = ("Subset"))] Subset } @@ -18956,7 +18675,7 @@ public partial class OriginTrialToken : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Origin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -18966,7 +18685,7 @@ public string Origin /// /// MatchSubDomains /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("matchSubDomains"), IsRequired = (true))] + [DataMember(Name = ("matchSubDomains"), IsRequired = (true))] public bool MatchSubDomains { get; @@ -18976,7 +18695,7 @@ public bool MatchSubDomains /// /// TrialName /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("trialName"), IsRequired = (true))] + [DataMember(Name = ("trialName"), IsRequired = (true))] public string TrialName { get; @@ -18986,7 +18705,7 @@ public string TrialName /// /// ExpiryTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expiryTime"), IsRequired = (true))] + [DataMember(Name = ("expiryTime"), IsRequired = (true))] public double ExpiryTime { get; @@ -18996,7 +18715,7 @@ public double ExpiryTime /// /// IsThirdParty /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isThirdParty"), IsRequired = (true))] + [DataMember(Name = ("isThirdParty"), IsRequired = (true))] public bool IsThirdParty { get; @@ -19022,7 +18741,7 @@ public CefSharp.DevTools.Page.OriginTrialUsageRestriction UsageRestriction /// /// UsageRestriction /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("usageRestriction"), IsRequired = (true))] + [DataMember(Name = ("usageRestriction"), IsRequired = (true))] internal string usageRestriction { get; @@ -19039,7 +18758,7 @@ public partial class OriginTrialTokenWithStatus : CefSharp.DevTools.DevToolsDoma /// /// RawTokenText /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rawTokenText"), IsRequired = (true))] + [DataMember(Name = ("rawTokenText"), IsRequired = (true))] public string RawTokenText { get; @@ -19050,7 +18769,7 @@ public string RawTokenText /// `parsedToken` is present only when the token is extractable and /// parsable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parsedToken"), IsRequired = (false))] + [DataMember(Name = ("parsedToken"), IsRequired = (false))] public CefSharp.DevTools.Page.OriginTrialToken ParsedToken { get; @@ -19076,7 +18795,7 @@ public CefSharp.DevTools.Page.OriginTrialTokenStatus Status /// /// Status /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] internal string status { get; @@ -19093,7 +18812,7 @@ public partial class OriginTrial : CefSharp.DevTools.DevToolsDomainEntityBase /// /// TrialName /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("trialName"), IsRequired = (true))] + [DataMember(Name = ("trialName"), IsRequired = (true))] public string TrialName { get; @@ -19119,7 +18838,7 @@ public CefSharp.DevTools.Page.OriginTrialStatus Status /// /// Status /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] internal string status { get; @@ -19129,7 +18848,7 @@ internal string status /// /// TokensWithStatus /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("tokensWithStatus"), IsRequired = (true))] + [DataMember(Name = ("tokensWithStatus"), IsRequired = (true))] public System.Collections.Generic.IList TokensWithStatus { get; @@ -19146,7 +18865,7 @@ public partial class Frame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Frame unique identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -19156,7 +18875,7 @@ public string Id /// /// Parent frame identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (false))] + [DataMember(Name = ("parentId"), IsRequired = (false))] public string ParentId { get; @@ -19166,7 +18885,7 @@ public string ParentId /// /// Identifier of the loader associated with this frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -19176,7 +18895,7 @@ public string LoaderId /// /// Frame's name as specified in the tag. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public string Name { get; @@ -19186,7 +18905,7 @@ public string Name /// /// Frame document's URL without fragment. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -19196,7 +18915,7 @@ public string Url /// /// Frame document's URL fragment including the '#'. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urlFragment"), IsRequired = (false))] + [DataMember(Name = ("urlFragment"), IsRequired = (false))] public string UrlFragment { get; @@ -19209,7 +18928,7 @@ public string UrlFragment /// Example URLs: http://www.google.com/file.html -> "google.com" /// http://a.b.co.uk/file.html -> "b.co.uk" /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("domainAndRegistry"), IsRequired = (true))] + [DataMember(Name = ("domainAndRegistry"), IsRequired = (true))] public string DomainAndRegistry { get; @@ -19219,7 +18938,7 @@ public string DomainAndRegistry /// /// Frame document's security origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityOrigin"), IsRequired = (true))] + [DataMember(Name = ("securityOrigin"), IsRequired = (true))] public string SecurityOrigin { get; @@ -19229,7 +18948,7 @@ public string SecurityOrigin /// /// Frame document's mimeType as determined by the browser. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mimeType"), IsRequired = (true))] + [DataMember(Name = ("mimeType"), IsRequired = (true))] public string MimeType { get; @@ -19239,7 +18958,7 @@ public string MimeType /// /// If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unreachableUrl"), IsRequired = (false))] + [DataMember(Name = ("unreachableUrl"), IsRequired = (false))] public string UnreachableUrl { get; @@ -19249,7 +18968,7 @@ public string UnreachableUrl /// /// Indicates whether this frame was tagged as an ad and why. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("adFrameStatus"), IsRequired = (false))] + [DataMember(Name = ("adFrameStatus"), IsRequired = (false))] public CefSharp.DevTools.Page.AdFrameStatus AdFrameStatus { get; @@ -19275,7 +18994,7 @@ public CefSharp.DevTools.Page.SecureContextType SecureContextType /// /// Indicates whether the main document is a secure context and explains why that is the case. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("secureContextType"), IsRequired = (true))] + [DataMember(Name = ("secureContextType"), IsRequired = (true))] internal string secureContextType { get; @@ -19301,7 +19020,7 @@ public CefSharp.DevTools.Page.CrossOriginIsolatedContextType CrossOriginIsolated /// /// Indicates whether this is a cross origin isolated context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("crossOriginIsolatedContextType"), IsRequired = (true))] + [DataMember(Name = ("crossOriginIsolatedContextType"), IsRequired = (true))] internal string crossOriginIsolatedContextType { get; @@ -19327,7 +19046,7 @@ public CefSharp.DevTools.Page.GatedAPIFeatures[] GatedAPIFeatures /// /// Indicated which gated APIs / features are available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("gatedAPIFeatures"), IsRequired = (true))] + [DataMember(Name = ("gatedAPIFeatures"), IsRequired = (true))] internal string gatedAPIFeatures { get; @@ -19344,7 +19063,7 @@ public partial class FrameResource : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Resource URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -19370,7 +19089,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Type of this resource. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -19380,7 +19099,7 @@ internal string type /// /// Resource mimeType as determined by the browser. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mimeType"), IsRequired = (true))] + [DataMember(Name = ("mimeType"), IsRequired = (true))] public string MimeType { get; @@ -19390,7 +19109,7 @@ public string MimeType /// /// last-modified timestamp as reported by server. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lastModified"), IsRequired = (false))] + [DataMember(Name = ("lastModified"), IsRequired = (false))] public double? LastModified { get; @@ -19400,7 +19119,7 @@ public double? LastModified /// /// Resource content size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contentSize"), IsRequired = (false))] + [DataMember(Name = ("contentSize"), IsRequired = (false))] public double? ContentSize { get; @@ -19410,7 +19129,7 @@ public double? ContentSize /// /// True if the resource failed to load. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("failed"), IsRequired = (false))] + [DataMember(Name = ("failed"), IsRequired = (false))] public bool? Failed { get; @@ -19420,7 +19139,7 @@ public bool? Failed /// /// True if the resource was canceled during loading. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("canceled"), IsRequired = (false))] + [DataMember(Name = ("canceled"), IsRequired = (false))] public bool? Canceled { get; @@ -19437,7 +19156,7 @@ public partial class FrameResourceTree : CefSharp.DevTools.DevToolsDomainEntityB /// /// Frame information for this tree item. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (true))] + [DataMember(Name = ("frame"), IsRequired = (true))] public CefSharp.DevTools.Page.Frame Frame { get; @@ -19447,7 +19166,7 @@ public CefSharp.DevTools.Page.Frame Frame /// /// Child frames. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childFrames"), IsRequired = (false))] + [DataMember(Name = ("childFrames"), IsRequired = (false))] public System.Collections.Generic.IList ChildFrames { get; @@ -19457,7 +19176,7 @@ public System.Collections.Generic.IList /// Information about frame resources. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resources"), IsRequired = (true))] + [DataMember(Name = ("resources"), IsRequired = (true))] public System.Collections.Generic.IList Resources { get; @@ -19474,7 +19193,7 @@ public partial class FrameTree : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Frame information for this tree item. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (true))] + [DataMember(Name = ("frame"), IsRequired = (true))] public CefSharp.DevTools.Page.Frame Frame { get; @@ -19484,7 +19203,7 @@ public CefSharp.DevTools.Page.Frame Frame /// /// Child frames. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("childFrames"), IsRequired = (false))] + [DataMember(Name = ("childFrames"), IsRequired = (false))] public System.Collections.Generic.IList ChildFrames { get; @@ -19500,67 +19219,67 @@ public enum TransitionType /// /// link /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("link"))] + [EnumMember(Value = ("link"))] Link, /// /// typed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("typed"))] + [EnumMember(Value = ("typed"))] Typed, /// /// address_bar /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("address_bar"))] + [EnumMember(Value = ("address_bar"))] AddressBar, /// /// auto_bookmark /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("auto_bookmark"))] + [EnumMember(Value = ("auto_bookmark"))] AutoBookmark, /// /// auto_subframe /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("auto_subframe"))] + [EnumMember(Value = ("auto_subframe"))] AutoSubframe, /// /// manual_subframe /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("manual_subframe"))] + [EnumMember(Value = ("manual_subframe"))] ManualSubframe, /// /// generated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("generated"))] + [EnumMember(Value = ("generated"))] Generated, /// /// auto_toplevel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("auto_toplevel"))] + [EnumMember(Value = ("auto_toplevel"))] AutoToplevel, /// /// form_submit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("form_submit"))] + [EnumMember(Value = ("form_submit"))] FormSubmit, /// /// reload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("reload"))] + [EnumMember(Value = ("reload"))] Reload, /// /// keyword /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyword"))] + [EnumMember(Value = ("keyword"))] Keyword, /// /// keyword_generated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyword_generated"))] + [EnumMember(Value = ("keyword_generated"))] KeywordGenerated, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other } @@ -19573,7 +19292,7 @@ public partial class NavigationEntry : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Unique id of the navigation history entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public int Id { get; @@ -19583,7 +19302,7 @@ public int Id /// /// URL of the navigation history entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -19593,7 +19312,7 @@ public string Url /// /// URL that the user typed in the url bar. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userTypedURL"), IsRequired = (true))] + [DataMember(Name = ("userTypedURL"), IsRequired = (true))] public string UserTypedURL { get; @@ -19603,7 +19322,7 @@ public string UserTypedURL /// /// Title of the navigation history entry. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public string Title { get; @@ -19629,7 +19348,7 @@ public CefSharp.DevTools.Page.TransitionType TransitionType /// /// Transition type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transitionType"), IsRequired = (true))] + [DataMember(Name = ("transitionType"), IsRequired = (true))] internal string transitionType { get; @@ -19646,7 +19365,7 @@ public partial class ScreencastFrameMetadata : CefSharp.DevTools.DevToolsDomainE /// /// Top offset in DIP. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetTop"), IsRequired = (true))] + [DataMember(Name = ("offsetTop"), IsRequired = (true))] public double OffsetTop { get; @@ -19656,7 +19375,7 @@ public double OffsetTop /// /// Page scale factor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pageScaleFactor"), IsRequired = (true))] + [DataMember(Name = ("pageScaleFactor"), IsRequired = (true))] public double PageScaleFactor { get; @@ -19666,7 +19385,7 @@ public double PageScaleFactor /// /// Device screen width in DIP. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceWidth"), IsRequired = (true))] + [DataMember(Name = ("deviceWidth"), IsRequired = (true))] public double DeviceWidth { get; @@ -19676,7 +19395,7 @@ public double DeviceWidth /// /// Device screen height in DIP. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceHeight"), IsRequired = (true))] + [DataMember(Name = ("deviceHeight"), IsRequired = (true))] public double DeviceHeight { get; @@ -19686,7 +19405,7 @@ public double DeviceHeight /// /// Position of horizontal scroll in CSS pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetX"), IsRequired = (true))] + [DataMember(Name = ("scrollOffsetX"), IsRequired = (true))] public double ScrollOffsetX { get; @@ -19696,7 +19415,7 @@ public double ScrollOffsetX /// /// Position of vertical scroll in CSS pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scrollOffsetY"), IsRequired = (true))] + [DataMember(Name = ("scrollOffsetY"), IsRequired = (true))] public double ScrollOffsetY { get; @@ -19706,7 +19425,7 @@ public double ScrollOffsetY /// /// Frame swap timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (false))] + [DataMember(Name = ("timestamp"), IsRequired = (false))] public double? Timestamp { get; @@ -19722,22 +19441,22 @@ public enum DialogType /// /// alert /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("alert"))] + [EnumMember(Value = ("alert"))] Alert, /// /// confirm /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("confirm"))] + [EnumMember(Value = ("confirm"))] Confirm, /// /// prompt /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("prompt"))] + [EnumMember(Value = ("prompt"))] Prompt, /// /// beforeunload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("beforeunload"))] + [EnumMember(Value = ("beforeunload"))] Beforeunload } @@ -19750,7 +19469,7 @@ public partial class AppManifestError : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Error message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -19760,7 +19479,7 @@ public string Message /// /// If criticial, this is a non-recoverable parse error. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("critical"), IsRequired = (true))] + [DataMember(Name = ("critical"), IsRequired = (true))] public int Critical { get; @@ -19770,7 +19489,7 @@ public int Critical /// /// Error line. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("line"), IsRequired = (true))] + [DataMember(Name = ("line"), IsRequired = (true))] public int Line { get; @@ -19780,7 +19499,7 @@ public int Line /// /// Error column. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("column"), IsRequired = (true))] + [DataMember(Name = ("column"), IsRequired = (true))] public int Column { get; @@ -19797,7 +19516,7 @@ public partial class AppManifestParsedProperties : CefSharp.DevTools.DevToolsDom /// /// Computed scope value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scope"), IsRequired = (true))] + [DataMember(Name = ("scope"), IsRequired = (true))] public string Scope { get; @@ -19814,7 +19533,7 @@ public partial class LayoutViewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Horizontal offset relative to the document (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pageX"), IsRequired = (true))] + [DataMember(Name = ("pageX"), IsRequired = (true))] public int PageX { get; @@ -19824,7 +19543,7 @@ public int PageX /// /// Vertical offset relative to the document (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pageY"), IsRequired = (true))] + [DataMember(Name = ("pageY"), IsRequired = (true))] public int PageY { get; @@ -19834,7 +19553,7 @@ public int PageY /// /// Width (CSS pixels), excludes scrollbar if present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientWidth"), IsRequired = (true))] + [DataMember(Name = ("clientWidth"), IsRequired = (true))] public int ClientWidth { get; @@ -19844,7 +19563,7 @@ public int ClientWidth /// /// Height (CSS pixels), excludes scrollbar if present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHeight"), IsRequired = (true))] + [DataMember(Name = ("clientHeight"), IsRequired = (true))] public int ClientHeight { get; @@ -19861,7 +19580,7 @@ public partial class VisualViewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Horizontal offset relative to the layout viewport (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetX"), IsRequired = (true))] + [DataMember(Name = ("offsetX"), IsRequired = (true))] public double OffsetX { get; @@ -19871,7 +19590,7 @@ public double OffsetX /// /// Vertical offset relative to the layout viewport (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offsetY"), IsRequired = (true))] + [DataMember(Name = ("offsetY"), IsRequired = (true))] public double OffsetY { get; @@ -19881,7 +19600,7 @@ public double OffsetY /// /// Horizontal offset relative to the document (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pageX"), IsRequired = (true))] + [DataMember(Name = ("pageX"), IsRequired = (true))] public double PageX { get; @@ -19891,7 +19610,7 @@ public double PageX /// /// Vertical offset relative to the document (CSS pixels). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("pageY"), IsRequired = (true))] + [DataMember(Name = ("pageY"), IsRequired = (true))] public double PageY { get; @@ -19901,7 +19620,7 @@ public double PageY /// /// Width (CSS pixels), excludes scrollbar if present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientWidth"), IsRequired = (true))] + [DataMember(Name = ("clientWidth"), IsRequired = (true))] public double ClientWidth { get; @@ -19911,7 +19630,7 @@ public double ClientWidth /// /// Height (CSS pixels), excludes scrollbar if present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHeight"), IsRequired = (true))] + [DataMember(Name = ("clientHeight"), IsRequired = (true))] public double ClientHeight { get; @@ -19921,7 +19640,7 @@ public double ClientHeight /// /// Scale relative to the ideal viewport (size at width=device-width). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scale"), IsRequired = (true))] + [DataMember(Name = ("scale"), IsRequired = (true))] public double Scale { get; @@ -19931,7 +19650,7 @@ public double Scale /// /// Page zoom factor (CSS to device independent pixels ratio). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("zoom"), IsRequired = (false))] + [DataMember(Name = ("zoom"), IsRequired = (false))] public double? Zoom { get; @@ -19948,7 +19667,7 @@ public partial class Viewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X offset in device independent pixels (dip). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("x"), IsRequired = (true))] + [DataMember(Name = ("x"), IsRequired = (true))] public double X { get; @@ -19958,7 +19677,7 @@ public double X /// /// Y offset in device independent pixels (dip). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("y"), IsRequired = (true))] + [DataMember(Name = ("y"), IsRequired = (true))] public double Y { get; @@ -19968,7 +19687,7 @@ public double Y /// /// Rectangle width in device independent pixels (dip). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))] + [DataMember(Name = ("width"), IsRequired = (true))] public double Width { get; @@ -19978,7 +19697,7 @@ public double Width /// /// Rectangle height in device independent pixels (dip). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))] + [DataMember(Name = ("height"), IsRequired = (true))] public double Height { get; @@ -19988,7 +19707,7 @@ public double Height /// /// Page scale factor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scale"), IsRequired = (true))] + [DataMember(Name = ("scale"), IsRequired = (true))] public double Scale { get; @@ -20005,7 +19724,7 @@ public partial class FontFamilies : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The standard font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("standard"), IsRequired = (false))] + [DataMember(Name = ("standard"), IsRequired = (false))] public string Standard { get; @@ -20015,7 +19734,7 @@ public string Standard /// /// The fixed font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fixed"), IsRequired = (false))] + [DataMember(Name = ("fixed"), IsRequired = (false))] public string Fixed { get; @@ -20025,7 +19744,7 @@ public string Fixed /// /// The serif font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("serif"), IsRequired = (false))] + [DataMember(Name = ("serif"), IsRequired = (false))] public string Serif { get; @@ -20035,7 +19754,7 @@ public string Serif /// /// The sansSerif font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sansSerif"), IsRequired = (false))] + [DataMember(Name = ("sansSerif"), IsRequired = (false))] public string SansSerif { get; @@ -20045,7 +19764,7 @@ public string SansSerif /// /// The cursive font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cursive"), IsRequired = (false))] + [DataMember(Name = ("cursive"), IsRequired = (false))] public string Cursive { get; @@ -20055,7 +19774,7 @@ public string Cursive /// /// The fantasy font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fantasy"), IsRequired = (false))] + [DataMember(Name = ("fantasy"), IsRequired = (false))] public string Fantasy { get; @@ -20065,7 +19784,7 @@ public string Fantasy /// /// The math font-family. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("math"), IsRequired = (false))] + [DataMember(Name = ("math"), IsRequired = (false))] public string Math { get; @@ -20082,7 +19801,7 @@ public partial class ScriptFontFamilies : CefSharp.DevTools.DevToolsDomainEntity /// /// Name of the script which these font families are defined for. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("script"), IsRequired = (true))] + [DataMember(Name = ("script"), IsRequired = (true))] public string Script { get; @@ -20092,7 +19811,7 @@ public string Script /// /// Generic font families collection for the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontFamilies"), IsRequired = (true))] + [DataMember(Name = ("fontFamilies"), IsRequired = (true))] public CefSharp.DevTools.Page.FontFamilies FontFamilies { get; @@ -20109,7 +19828,7 @@ public partial class FontSizes : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Default standard font size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("standard"), IsRequired = (false))] + [DataMember(Name = ("standard"), IsRequired = (false))] public int? Standard { get; @@ -20119,7 +19838,7 @@ public int? Standard /// /// Default fixed font size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("fixed"), IsRequired = (false))] + [DataMember(Name = ("fixed"), IsRequired = (false))] public int? Fixed { get; @@ -20135,42 +19854,42 @@ public enum ClientNavigationReason /// /// formSubmissionGet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("formSubmissionGet"))] + [EnumMember(Value = ("formSubmissionGet"))] FormSubmissionGet, /// /// formSubmissionPost /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("formSubmissionPost"))] + [EnumMember(Value = ("formSubmissionPost"))] FormSubmissionPost, /// /// httpHeaderRefresh /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("httpHeaderRefresh"))] + [EnumMember(Value = ("httpHeaderRefresh"))] HttpHeaderRefresh, /// /// scriptInitiated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("scriptInitiated"))] + [EnumMember(Value = ("scriptInitiated"))] ScriptInitiated, /// /// metaTagRefresh /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("metaTagRefresh"))] + [EnumMember(Value = ("metaTagRefresh"))] MetaTagRefresh, /// /// pageBlockInterstitial /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("pageBlockInterstitial"))] + [EnumMember(Value = ("pageBlockInterstitial"))] PageBlockInterstitial, /// /// reload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("reload"))] + [EnumMember(Value = ("reload"))] Reload, /// /// anchorClick /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("anchorClick"))] + [EnumMember(Value = ("anchorClick"))] AnchorClick } @@ -20182,22 +19901,22 @@ public enum ClientNavigationDisposition /// /// currentTab /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("currentTab"))] + [EnumMember(Value = ("currentTab"))] CurrentTab, /// /// newTab /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("newTab"))] + [EnumMember(Value = ("newTab"))] NewTab, /// /// newWindow /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("newWindow"))] + [EnumMember(Value = ("newWindow"))] NewWindow, /// /// download /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("download"))] + [EnumMember(Value = ("download"))] Download } @@ -20210,7 +19929,7 @@ public partial class InstallabilityErrorArgument : CefSharp.DevTools.DevToolsDom /// /// Argument name (e.g. name:'minimum-icon-size-in-pixels'). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -20220,7 +19939,7 @@ public string Name /// /// Argument value (e.g. value:'64'). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -20237,7 +19956,7 @@ public partial class InstallabilityError : CefSharp.DevTools.DevToolsDomainEntit /// /// The error id (e.g. 'manifest-missing-suitable-icon'). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorId"), IsRequired = (true))] + [DataMember(Name = ("errorId"), IsRequired = (true))] public string ErrorId { get; @@ -20247,7 +19966,7 @@ public string ErrorId /// /// The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorArguments"), IsRequired = (true))] + [DataMember(Name = ("errorArguments"), IsRequired = (true))] public System.Collections.Generic.IList ErrorArguments { get; @@ -20263,42 +19982,42 @@ public enum ReferrerPolicy /// /// noReferrer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("noReferrer"))] + [EnumMember(Value = ("noReferrer"))] NoReferrer, /// /// noReferrerWhenDowngrade /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("noReferrerWhenDowngrade"))] + [EnumMember(Value = ("noReferrerWhenDowngrade"))] NoReferrerWhenDowngrade, /// /// origin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("origin"))] + [EnumMember(Value = ("origin"))] Origin, /// /// originWhenCrossOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("originWhenCrossOrigin"))] + [EnumMember(Value = ("originWhenCrossOrigin"))] OriginWhenCrossOrigin, /// /// sameOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("sameOrigin"))] + [EnumMember(Value = ("sameOrigin"))] SameOrigin, /// /// strictOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("strictOrigin"))] + [EnumMember(Value = ("strictOrigin"))] StrictOrigin, /// /// strictOriginWhenCrossOrigin /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("strictOriginWhenCrossOrigin"))] + [EnumMember(Value = ("strictOriginWhenCrossOrigin"))] StrictOriginWhenCrossOrigin, /// /// unsafeUrl /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unsafeUrl"))] + [EnumMember(Value = ("unsafeUrl"))] UnsafeUrl } @@ -20311,7 +20030,7 @@ public partial class CompilationCacheParams : CefSharp.DevTools.DevToolsDomainEn /// /// The URL of the script to produce a compilation cache entry for. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -20322,7 +20041,7 @@ public string Url /// A hint to the backend whether eager compilation is recommended. /// (the actual compilation mode used is upon backend discretion). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eager"), IsRequired = (false))] + [DataMember(Name = ("eager"), IsRequired = (false))] public bool? Eager { get; @@ -20330,6 +20049,33 @@ public bool? Eager } } + /// + /// Enum of possible auto-reponse for permisison / prompt dialogs. + /// + public enum AutoResponseMode + { + /// + /// none + /// + [EnumMember(Value = ("none"))] + None, + /// + /// autoAccept + /// + [EnumMember(Value = ("autoAccept"))] + AutoAccept, + /// + /// autoReject + /// + [EnumMember(Value = ("autoReject"))] + AutoReject, + /// + /// autoOptOut + /// + [EnumMember(Value = ("autoOptOut"))] + AutoOptOut + } + /// /// The type of a frameNavigated event. /// @@ -20338,12 +20084,12 @@ public enum NavigationType /// /// Navigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Navigation"))] + [EnumMember(Value = ("Navigation"))] Navigation, /// /// BackForwardCacheRestore /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheRestore"))] + [EnumMember(Value = ("BackForwardCacheRestore"))] BackForwardCacheRestore } @@ -20355,622 +20101,622 @@ public enum BackForwardCacheNotRestoredReason /// /// NotPrimaryMainFrame /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotPrimaryMainFrame"))] + [EnumMember(Value = ("NotPrimaryMainFrame"))] NotPrimaryMainFrame, /// /// BackForwardCacheDisabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabled"))] + [EnumMember(Value = ("BackForwardCacheDisabled"))] BackForwardCacheDisabled, /// /// RelatedActiveContentsExist /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RelatedActiveContentsExist"))] + [EnumMember(Value = ("RelatedActiveContentsExist"))] RelatedActiveContentsExist, /// /// HTTPStatusNotOK /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HTTPStatusNotOK"))] + [EnumMember(Value = ("HTTPStatusNotOK"))] HTTPStatusNotOK, /// /// SchemeNotHTTPOrHTTPS /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemeNotHTTPOrHTTPS"))] + [EnumMember(Value = ("SchemeNotHTTPOrHTTPS"))] SchemeNotHTTPOrHTTPS, /// /// Loading /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Loading"))] + [EnumMember(Value = ("Loading"))] Loading, /// /// WasGrantedMediaAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WasGrantedMediaAccess"))] + [EnumMember(Value = ("WasGrantedMediaAccess"))] WasGrantedMediaAccess, /// /// DisableForRenderFrameHostCalled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DisableForRenderFrameHostCalled"))] + [EnumMember(Value = ("DisableForRenderFrameHostCalled"))] DisableForRenderFrameHostCalled, /// /// DomainNotAllowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DomainNotAllowed"))] + [EnumMember(Value = ("DomainNotAllowed"))] DomainNotAllowed, /// /// HTTPMethodNotGET /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HTTPMethodNotGET"))] + [EnumMember(Value = ("HTTPMethodNotGET"))] HTTPMethodNotGET, /// /// SubframeIsNavigating /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubframeIsNavigating"))] + [EnumMember(Value = ("SubframeIsNavigating"))] SubframeIsNavigating, /// /// Timeout /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Timeout"))] + [EnumMember(Value = ("Timeout"))] Timeout, /// /// CacheLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheLimit"))] + [EnumMember(Value = ("CacheLimit"))] CacheLimit, /// /// JavaScriptExecution /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("JavaScriptExecution"))] + [EnumMember(Value = ("JavaScriptExecution"))] JavaScriptExecution, /// /// RendererProcessKilled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessKilled"))] + [EnumMember(Value = ("RendererProcessKilled"))] RendererProcessKilled, /// /// RendererProcessCrashed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessCrashed"))] + [EnumMember(Value = ("RendererProcessCrashed"))] RendererProcessCrashed, /// /// SchedulerTrackedFeatureUsed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchedulerTrackedFeatureUsed"))] + [EnumMember(Value = ("SchedulerTrackedFeatureUsed"))] SchedulerTrackedFeatureUsed, /// /// ConflictingBrowsingInstance /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConflictingBrowsingInstance"))] + [EnumMember(Value = ("ConflictingBrowsingInstance"))] ConflictingBrowsingInstance, /// /// CacheFlushed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheFlushed"))] + [EnumMember(Value = ("CacheFlushed"))] CacheFlushed, /// /// ServiceWorkerVersionActivation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerVersionActivation"))] + [EnumMember(Value = ("ServiceWorkerVersionActivation"))] ServiceWorkerVersionActivation, /// /// SessionRestored /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SessionRestored"))] + [EnumMember(Value = ("SessionRestored"))] SessionRestored, /// /// ServiceWorkerPostMessage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerPostMessage"))] + [EnumMember(Value = ("ServiceWorkerPostMessage"))] ServiceWorkerPostMessage, /// /// EnteredBackForwardCacheBeforeServiceWorkerHostAdded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EnteredBackForwardCacheBeforeServiceWorkerHostAdded"))] + [EnumMember(Value = ("EnteredBackForwardCacheBeforeServiceWorkerHostAdded"))] EnteredBackForwardCacheBeforeServiceWorkerHostAdded, /// /// RenderFrameHostReused_SameSite /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RenderFrameHostReused_SameSite"))] + [EnumMember(Value = ("RenderFrameHostReused_SameSite"))] RenderFrameHostReusedSameSite, /// /// RenderFrameHostReused_CrossSite /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RenderFrameHostReused_CrossSite"))] + [EnumMember(Value = ("RenderFrameHostReused_CrossSite"))] RenderFrameHostReusedCrossSite, /// /// ServiceWorkerClaim /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerClaim"))] + [EnumMember(Value = ("ServiceWorkerClaim"))] ServiceWorkerClaim, /// /// IgnoreEventAndEvict /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IgnoreEventAndEvict"))] + [EnumMember(Value = ("IgnoreEventAndEvict"))] IgnoreEventAndEvict, /// /// HaveInnerContents /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HaveInnerContents"))] + [EnumMember(Value = ("HaveInnerContents"))] HaveInnerContents, /// /// TimeoutPuttingInCache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TimeoutPuttingInCache"))] + [EnumMember(Value = ("TimeoutPuttingInCache"))] TimeoutPuttingInCache, /// /// BackForwardCacheDisabledByLowMemory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledByLowMemory"))] + [EnumMember(Value = ("BackForwardCacheDisabledByLowMemory"))] BackForwardCacheDisabledByLowMemory, /// /// BackForwardCacheDisabledByCommandLine /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledByCommandLine"))] + [EnumMember(Value = ("BackForwardCacheDisabledByCommandLine"))] BackForwardCacheDisabledByCommandLine, /// /// NetworkRequestDatapipeDrainedAsBytesConsumer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestDatapipeDrainedAsBytesConsumer"))] + [EnumMember(Value = ("NetworkRequestDatapipeDrainedAsBytesConsumer"))] NetworkRequestDatapipeDrainedAsBytesConsumer, /// /// NetworkRequestRedirected /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestRedirected"))] + [EnumMember(Value = ("NetworkRequestRedirected"))] NetworkRequestRedirected, /// /// NetworkRequestTimeout /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestTimeout"))] + [EnumMember(Value = ("NetworkRequestTimeout"))] NetworkRequestTimeout, /// /// NetworkExceedsBufferLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkExceedsBufferLimit"))] + [EnumMember(Value = ("NetworkExceedsBufferLimit"))] NetworkExceedsBufferLimit, /// /// NavigationCancelledWhileRestoring /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationCancelledWhileRestoring"))] + [EnumMember(Value = ("NavigationCancelledWhileRestoring"))] NavigationCancelledWhileRestoring, /// /// NotMostRecentNavigationEntry /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotMostRecentNavigationEntry"))] + [EnumMember(Value = ("NotMostRecentNavigationEntry"))] NotMostRecentNavigationEntry, /// /// BackForwardCacheDisabledForPrerender /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledForPrerender"))] + [EnumMember(Value = ("BackForwardCacheDisabledForPrerender"))] BackForwardCacheDisabledForPrerender, /// /// UserAgentOverrideDiffers /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserAgentOverrideDiffers"))] + [EnumMember(Value = ("UserAgentOverrideDiffers"))] UserAgentOverrideDiffers, /// /// ForegroundCacheLimit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ForegroundCacheLimit"))] + [EnumMember(Value = ("ForegroundCacheLimit"))] ForegroundCacheLimit, /// /// BrowsingInstanceNotSwapped /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BrowsingInstanceNotSwapped"))] + [EnumMember(Value = ("BrowsingInstanceNotSwapped"))] BrowsingInstanceNotSwapped, /// /// BackForwardCacheDisabledForDelegate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledForDelegate"))] + [EnumMember(Value = ("BackForwardCacheDisabledForDelegate"))] BackForwardCacheDisabledForDelegate, /// /// UnloadHandlerExistsInMainFrame /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnloadHandlerExistsInMainFrame"))] + [EnumMember(Value = ("UnloadHandlerExistsInMainFrame"))] UnloadHandlerExistsInMainFrame, /// /// UnloadHandlerExistsInSubFrame /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnloadHandlerExistsInSubFrame"))] + [EnumMember(Value = ("UnloadHandlerExistsInSubFrame"))] UnloadHandlerExistsInSubFrame, /// /// ServiceWorkerUnregistration /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerUnregistration"))] + [EnumMember(Value = ("ServiceWorkerUnregistration"))] ServiceWorkerUnregistration, /// /// CacheControlNoStore /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStore"))] + [EnumMember(Value = ("CacheControlNoStore"))] CacheControlNoStore, /// /// CacheControlNoStoreCookieModified /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStoreCookieModified"))] + [EnumMember(Value = ("CacheControlNoStoreCookieModified"))] CacheControlNoStoreCookieModified, /// /// CacheControlNoStoreHTTPOnlyCookieModified /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStoreHTTPOnlyCookieModified"))] + [EnumMember(Value = ("CacheControlNoStoreHTTPOnlyCookieModified"))] CacheControlNoStoreHTTPOnlyCookieModified, /// /// NoResponseHead /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoResponseHead"))] + [EnumMember(Value = ("NoResponseHead"))] NoResponseHead, /// /// Unknown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unknown"))] + [EnumMember(Value = ("Unknown"))] Unknown, /// /// ActivationNavigationsDisallowedForBug1234857 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationNavigationsDisallowedForBug1234857"))] + [EnumMember(Value = ("ActivationNavigationsDisallowedForBug1234857"))] ActivationNavigationsDisallowedForBug1234857, /// /// ErrorDocument /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ErrorDocument"))] + [EnumMember(Value = ("ErrorDocument"))] ErrorDocument, /// /// FencedFramesEmbedder /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FencedFramesEmbedder"))] + [EnumMember(Value = ("FencedFramesEmbedder"))] FencedFramesEmbedder, /// /// WebSocket /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebSocket"))] + [EnumMember(Value = ("WebSocket"))] WebSocket, /// /// WebTransport /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebTransport"))] + [EnumMember(Value = ("WebTransport"))] WebTransport, /// /// WebRTC /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebRTC"))] + [EnumMember(Value = ("WebRTC"))] WebRTC, /// /// MainResourceHasCacheControlNoStore /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainResourceHasCacheControlNoStore"))] + [EnumMember(Value = ("MainResourceHasCacheControlNoStore"))] MainResourceHasCacheControlNoStore, /// /// MainResourceHasCacheControlNoCache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainResourceHasCacheControlNoCache"))] + [EnumMember(Value = ("MainResourceHasCacheControlNoCache"))] MainResourceHasCacheControlNoCache, /// /// SubresourceHasCacheControlNoStore /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubresourceHasCacheControlNoStore"))] + [EnumMember(Value = ("SubresourceHasCacheControlNoStore"))] SubresourceHasCacheControlNoStore, /// /// SubresourceHasCacheControlNoCache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubresourceHasCacheControlNoCache"))] + [EnumMember(Value = ("SubresourceHasCacheControlNoCache"))] SubresourceHasCacheControlNoCache, /// /// ContainsPlugins /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContainsPlugins"))] + [EnumMember(Value = ("ContainsPlugins"))] ContainsPlugins, /// /// DocumentLoaded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DocumentLoaded"))] + [EnumMember(Value = ("DocumentLoaded"))] DocumentLoaded, /// /// DedicatedWorkerOrWorklet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DedicatedWorkerOrWorklet"))] + [EnumMember(Value = ("DedicatedWorkerOrWorklet"))] DedicatedWorkerOrWorklet, /// /// OutstandingNetworkRequestOthers /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestOthers"))] + [EnumMember(Value = ("OutstandingNetworkRequestOthers"))] OutstandingNetworkRequestOthers, /// /// OutstandingIndexedDBTransaction /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingIndexedDBTransaction"))] + [EnumMember(Value = ("OutstandingIndexedDBTransaction"))] OutstandingIndexedDBTransaction, /// /// RequestedMIDIPermission /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedMIDIPermission"))] + [EnumMember(Value = ("RequestedMIDIPermission"))] RequestedMIDIPermission, /// /// RequestedAudioCapturePermission /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedAudioCapturePermission"))] + [EnumMember(Value = ("RequestedAudioCapturePermission"))] RequestedAudioCapturePermission, /// /// RequestedVideoCapturePermission /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedVideoCapturePermission"))] + [EnumMember(Value = ("RequestedVideoCapturePermission"))] RequestedVideoCapturePermission, /// /// RequestedBackForwardCacheBlockedSensors /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedBackForwardCacheBlockedSensors"))] + [EnumMember(Value = ("RequestedBackForwardCacheBlockedSensors"))] RequestedBackForwardCacheBlockedSensors, /// /// RequestedBackgroundWorkPermission /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedBackgroundWorkPermission"))] + [EnumMember(Value = ("RequestedBackgroundWorkPermission"))] RequestedBackgroundWorkPermission, /// /// BroadcastChannel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BroadcastChannel"))] + [EnumMember(Value = ("BroadcastChannel"))] BroadcastChannel, /// /// IndexedDBConnection /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IndexedDBConnection"))] + [EnumMember(Value = ("IndexedDBConnection"))] IndexedDBConnection, /// /// WebXR /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebXR"))] + [EnumMember(Value = ("WebXR"))] WebXR, /// /// SharedWorker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedWorker"))] + [EnumMember(Value = ("SharedWorker"))] SharedWorker, /// /// WebLocks /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebLocks"))] + [EnumMember(Value = ("WebLocks"))] WebLocks, /// /// WebHID /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebHID"))] + [EnumMember(Value = ("WebHID"))] WebHID, /// /// WebShare /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebShare"))] + [EnumMember(Value = ("WebShare"))] WebShare, /// /// RequestedStorageAccessGrant /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedStorageAccessGrant"))] + [EnumMember(Value = ("RequestedStorageAccessGrant"))] RequestedStorageAccessGrant, /// /// WebNfc /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebNfc"))] + [EnumMember(Value = ("WebNfc"))] WebNfc, /// /// OutstandingNetworkRequestFetch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestFetch"))] + [EnumMember(Value = ("OutstandingNetworkRequestFetch"))] OutstandingNetworkRequestFetch, /// /// OutstandingNetworkRequestXHR /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestXHR"))] + [EnumMember(Value = ("OutstandingNetworkRequestXHR"))] OutstandingNetworkRequestXHR, /// /// AppBanner /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AppBanner"))] + [EnumMember(Value = ("AppBanner"))] AppBanner, /// /// Printing /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Printing"))] + [EnumMember(Value = ("Printing"))] Printing, /// /// WebDatabase /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebDatabase"))] + [EnumMember(Value = ("WebDatabase"))] WebDatabase, /// /// PictureInPicture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PictureInPicture"))] + [EnumMember(Value = ("PictureInPicture"))] PictureInPicture, /// /// Portal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Portal"))] + [EnumMember(Value = ("Portal"))] Portal, /// /// SpeechRecognizer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SpeechRecognizer"))] + [EnumMember(Value = ("SpeechRecognizer"))] SpeechRecognizer, /// /// IdleManager /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdleManager"))] + [EnumMember(Value = ("IdleManager"))] IdleManager, /// /// PaymentManager /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentManager"))] + [EnumMember(Value = ("PaymentManager"))] PaymentManager, /// /// SpeechSynthesis /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SpeechSynthesis"))] + [EnumMember(Value = ("SpeechSynthesis"))] SpeechSynthesis, /// /// KeyboardLock /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("KeyboardLock"))] + [EnumMember(Value = ("KeyboardLock"))] KeyboardLock, /// /// WebOTPService /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebOTPService"))] + [EnumMember(Value = ("WebOTPService"))] WebOTPService, /// /// OutstandingNetworkRequestDirectSocket /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestDirectSocket"))] + [EnumMember(Value = ("OutstandingNetworkRequestDirectSocket"))] OutstandingNetworkRequestDirectSocket, /// /// InjectedJavascript /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InjectedJavascript"))] + [EnumMember(Value = ("InjectedJavascript"))] InjectedJavascript, /// /// InjectedStyleSheet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InjectedStyleSheet"))] + [EnumMember(Value = ("InjectedStyleSheet"))] InjectedStyleSheet, /// /// KeepaliveRequest /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("KeepaliveRequest"))] + [EnumMember(Value = ("KeepaliveRequest"))] KeepaliveRequest, /// /// IndexedDBEvent /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IndexedDBEvent"))] + [EnumMember(Value = ("IndexedDBEvent"))] IndexedDBEvent, /// /// Dummy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Dummy"))] + [EnumMember(Value = ("Dummy"))] Dummy, /// /// AuthorizationHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AuthorizationHeader"))] + [EnumMember(Value = ("AuthorizationHeader"))] AuthorizationHeader, /// /// ContentSecurityHandler /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentSecurityHandler"))] + [EnumMember(Value = ("ContentSecurityHandler"))] ContentSecurityHandler, /// /// ContentWebAuthenticationAPI /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentWebAuthenticationAPI"))] + [EnumMember(Value = ("ContentWebAuthenticationAPI"))] ContentWebAuthenticationAPI, /// /// ContentFileChooser /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentFileChooser"))] + [EnumMember(Value = ("ContentFileChooser"))] ContentFileChooser, /// /// ContentSerial /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentSerial"))] + [EnumMember(Value = ("ContentSerial"))] ContentSerial, /// /// ContentFileSystemAccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentFileSystemAccess"))] + [EnumMember(Value = ("ContentFileSystemAccess"))] ContentFileSystemAccess, /// /// ContentMediaDevicesDispatcherHost /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaDevicesDispatcherHost"))] + [EnumMember(Value = ("ContentMediaDevicesDispatcherHost"))] ContentMediaDevicesDispatcherHost, /// /// ContentWebBluetooth /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentWebBluetooth"))] + [EnumMember(Value = ("ContentWebBluetooth"))] ContentWebBluetooth, /// /// ContentWebUSB /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentWebUSB"))] + [EnumMember(Value = ("ContentWebUSB"))] ContentWebUSB, /// /// ContentMediaSessionService /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaSessionService"))] + [EnumMember(Value = ("ContentMediaSessionService"))] ContentMediaSessionService, /// /// ContentScreenReader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentScreenReader"))] + [EnumMember(Value = ("ContentScreenReader"))] ContentScreenReader, /// /// EmbedderPopupBlockerTabHelper /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderPopupBlockerTabHelper"))] + [EnumMember(Value = ("EmbedderPopupBlockerTabHelper"))] EmbedderPopupBlockerTabHelper, /// /// EmbedderSafeBrowsingTriggeredPopupBlocker /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderSafeBrowsingTriggeredPopupBlocker"))] + [EnumMember(Value = ("EmbedderSafeBrowsingTriggeredPopupBlocker"))] EmbedderSafeBrowsingTriggeredPopupBlocker, /// /// EmbedderSafeBrowsingThreatDetails /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderSafeBrowsingThreatDetails"))] + [EnumMember(Value = ("EmbedderSafeBrowsingThreatDetails"))] EmbedderSafeBrowsingThreatDetails, /// /// EmbedderAppBannerManager /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderAppBannerManager"))] + [EnumMember(Value = ("EmbedderAppBannerManager"))] EmbedderAppBannerManager, /// /// EmbedderDomDistillerViewerSource /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderDomDistillerViewerSource"))] + [EnumMember(Value = ("EmbedderDomDistillerViewerSource"))] EmbedderDomDistillerViewerSource, /// /// EmbedderDomDistillerSelfDeletingRequestDelegate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderDomDistillerSelfDeletingRequestDelegate"))] + [EnumMember(Value = ("EmbedderDomDistillerSelfDeletingRequestDelegate"))] EmbedderDomDistillerSelfDeletingRequestDelegate, /// /// EmbedderOomInterventionTabHelper /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderOomInterventionTabHelper"))] + [EnumMember(Value = ("EmbedderOomInterventionTabHelper"))] EmbedderOomInterventionTabHelper, /// /// EmbedderOfflinePage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderOfflinePage"))] + [EnumMember(Value = ("EmbedderOfflinePage"))] EmbedderOfflinePage, /// /// EmbedderChromePasswordManagerClientBindCredentialManager /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderChromePasswordManagerClientBindCredentialManager"))] + [EnumMember(Value = ("EmbedderChromePasswordManagerClientBindCredentialManager"))] EmbedderChromePasswordManagerClientBindCredentialManager, /// /// EmbedderPermissionRequestManager /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderPermissionRequestManager"))] + [EnumMember(Value = ("EmbedderPermissionRequestManager"))] EmbedderPermissionRequestManager, /// /// EmbedderModalDialog /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderModalDialog"))] + [EnumMember(Value = ("EmbedderModalDialog"))] EmbedderModalDialog, /// /// EmbedderExtensions /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderExtensions"))] + [EnumMember(Value = ("EmbedderExtensions"))] EmbedderExtensions, /// /// EmbedderExtensionMessaging /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderExtensionMessaging"))] + [EnumMember(Value = ("EmbedderExtensionMessaging"))] EmbedderExtensionMessaging, /// /// EmbedderExtensionMessagingForOpenPort /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderExtensionMessagingForOpenPort"))] + [EnumMember(Value = ("EmbedderExtensionMessagingForOpenPort"))] EmbedderExtensionMessagingForOpenPort, /// /// EmbedderExtensionSentMessageToCachedFrame /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderExtensionSentMessageToCachedFrame"))] + [EnumMember(Value = ("EmbedderExtensionSentMessageToCachedFrame"))] EmbedderExtensionSentMessageToCachedFrame } @@ -20982,17 +20728,17 @@ public enum BackForwardCacheNotRestoredReasonType /// /// SupportPending /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SupportPending"))] + [EnumMember(Value = ("SupportPending"))] SupportPending, /// /// PageSupportNeeded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PageSupportNeeded"))] + [EnumMember(Value = ("PageSupportNeeded"))] PageSupportNeeded, /// /// Circumstantial /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Circumstantial"))] + [EnumMember(Value = ("Circumstantial"))] Circumstantial } @@ -21021,7 +20767,7 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType Type /// /// Type of the reason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -21047,7 +20793,7 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason /// /// Not restored reason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -21059,7 +20805,7 @@ internal string reason /// dependent on the reason: /// - EmbedderExtensionSentMessageToCachedFrame: the extension ID. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("context"), IsRequired = (false))] + [DataMember(Name = ("context"), IsRequired = (false))] public string Context { get; @@ -21076,7 +20822,7 @@ public partial class BackForwardCacheNotRestoredExplanationTree : CefSharp.DevTo /// /// URL of each frame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -21086,7 +20832,7 @@ public string Url /// /// Not restored reasons of each frame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (true))] + [DataMember(Name = ("explanations"), IsRequired = (true))] public System.Collections.Generic.IList Explanations { get; @@ -21096,7 +20842,7 @@ public System.Collections.Generic.IList /// Array of children frame /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("children"), IsRequired = (true))] + [DataMember(Name = ("children"), IsRequired = (true))] public System.Collections.Generic.IList Children { get; @@ -21112,263 +20858,321 @@ public enum PrerenderFinalStatus /// /// Activated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Activated"))] + [EnumMember(Value = ("Activated"))] Activated, /// /// Destroyed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Destroyed"))] + [EnumMember(Value = ("Destroyed"))] Destroyed, /// /// LowEndDevice /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LowEndDevice"))] + [EnumMember(Value = ("LowEndDevice"))] LowEndDevice, /// /// InvalidSchemeRedirect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSchemeRedirect"))] + [EnumMember(Value = ("InvalidSchemeRedirect"))] InvalidSchemeRedirect, /// /// InvalidSchemeNavigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSchemeNavigation"))] + [EnumMember(Value = ("InvalidSchemeNavigation"))] InvalidSchemeNavigation, /// /// InProgressNavigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InProgressNavigation"))] + [EnumMember(Value = ("InProgressNavigation"))] InProgressNavigation, /// /// NavigationRequestBlockedByCsp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationRequestBlockedByCsp"))] + [EnumMember(Value = ("NavigationRequestBlockedByCsp"))] NavigationRequestBlockedByCsp, /// /// MainFrameNavigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainFrameNavigation"))] + [EnumMember(Value = ("MainFrameNavigation"))] MainFrameNavigation, /// /// MojoBinderPolicy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MojoBinderPolicy"))] + [EnumMember(Value = ("MojoBinderPolicy"))] MojoBinderPolicy, /// /// RendererProcessCrashed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessCrashed"))] + [EnumMember(Value = ("RendererProcessCrashed"))] RendererProcessCrashed, /// /// RendererProcessKilled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessKilled"))] + [EnumMember(Value = ("RendererProcessKilled"))] RendererProcessKilled, /// /// Download /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Download"))] + [EnumMember(Value = ("Download"))] Download, /// /// TriggerDestroyed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerDestroyed"))] + [EnumMember(Value = ("TriggerDestroyed"))] TriggerDestroyed, /// /// NavigationNotCommitted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationNotCommitted"))] + [EnumMember(Value = ("NavigationNotCommitted"))] NavigationNotCommitted, /// /// NavigationBadHttpStatus /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationBadHttpStatus"))] + [EnumMember(Value = ("NavigationBadHttpStatus"))] NavigationBadHttpStatus, /// /// ClientCertRequested /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientCertRequested"))] + [EnumMember(Value = ("ClientCertRequested"))] ClientCertRequested, /// /// NavigationRequestNetworkError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationRequestNetworkError"))] + [EnumMember(Value = ("NavigationRequestNetworkError"))] NavigationRequestNetworkError, /// /// MaxNumOfRunningPrerendersExceeded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MaxNumOfRunningPrerendersExceeded"))] + [EnumMember(Value = ("MaxNumOfRunningPrerendersExceeded"))] MaxNumOfRunningPrerendersExceeded, /// /// CancelAllHostsForTesting /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CancelAllHostsForTesting"))] + [EnumMember(Value = ("CancelAllHostsForTesting"))] CancelAllHostsForTesting, /// /// DidFailLoad /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DidFailLoad"))] + [EnumMember(Value = ("DidFailLoad"))] DidFailLoad, /// /// Stop /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Stop"))] + [EnumMember(Value = ("Stop"))] Stop, /// /// SslCertificateError /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SslCertificateError"))] + [EnumMember(Value = ("SslCertificateError"))] SslCertificateError, /// /// LoginAuthRequested /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LoginAuthRequested"))] + [EnumMember(Value = ("LoginAuthRequested"))] LoginAuthRequested, /// /// UaChangeRequiresReload /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UaChangeRequiresReload"))] + [EnumMember(Value = ("UaChangeRequiresReload"))] UaChangeRequiresReload, /// /// BlockedByClient /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockedByClient"))] + [EnumMember(Value = ("BlockedByClient"))] BlockedByClient, /// /// AudioOutputDeviceRequested /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AudioOutputDeviceRequested"))] + [EnumMember(Value = ("AudioOutputDeviceRequested"))] AudioOutputDeviceRequested, /// /// MixedContent /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContent"))] + [EnumMember(Value = ("MixedContent"))] MixedContent, /// /// TriggerBackgrounded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerBackgrounded"))] + [EnumMember(Value = ("TriggerBackgrounded"))] TriggerBackgrounded, /// /// EmbedderTriggeredAndCrossOriginRedirected /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] + [EnumMember(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] EmbedderTriggeredAndCrossOriginRedirected, /// /// MemoryLimitExceeded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MemoryLimitExceeded"))] + [EnumMember(Value = ("MemoryLimitExceeded"))] MemoryLimitExceeded, /// /// FailToGetMemoryUsage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FailToGetMemoryUsage"))] + [EnumMember(Value = ("FailToGetMemoryUsage"))] FailToGetMemoryUsage, /// /// DataSaverEnabled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DataSaverEnabled"))] + [EnumMember(Value = ("DataSaverEnabled"))] DataSaverEnabled, /// /// HasEffectiveUrl /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HasEffectiveUrl"))] + [EnumMember(Value = ("HasEffectiveUrl"))] HasEffectiveUrl, /// /// ActivatedBeforeStarted /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivatedBeforeStarted"))] + [EnumMember(Value = ("ActivatedBeforeStarted"))] ActivatedBeforeStarted, /// /// InactivePageRestriction /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InactivePageRestriction"))] + [EnumMember(Value = ("InactivePageRestriction"))] InactivePageRestriction, /// /// StartFailed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("StartFailed"))] + [EnumMember(Value = ("StartFailed"))] StartFailed, /// /// TimeoutBackgrounded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TimeoutBackgrounded"))] + [EnumMember(Value = ("TimeoutBackgrounded"))] TimeoutBackgrounded, /// /// CrossSiteRedirect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossSiteRedirect"))] + [EnumMember(Value = ("CrossSiteRedirect"))] CrossSiteRedirect, /// /// CrossSiteNavigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossSiteNavigation"))] + [EnumMember(Value = ("CrossSiteNavigation"))] CrossSiteNavigation, /// /// SameSiteCrossOriginRedirect /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteCrossOriginRedirect"))] + [EnumMember(Value = ("SameSiteCrossOriginRedirect"))] SameSiteCrossOriginRedirect, /// /// SameSiteCrossOriginNavigation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteCrossOriginNavigation"))] + [EnumMember(Value = ("SameSiteCrossOriginNavigation"))] SameSiteCrossOriginNavigation, /// /// SameSiteCrossOriginRedirectNotOptIn /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteCrossOriginRedirectNotOptIn"))] + [EnumMember(Value = ("SameSiteCrossOriginRedirectNotOptIn"))] SameSiteCrossOriginRedirectNotOptIn, /// /// SameSiteCrossOriginNavigationNotOptIn /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SameSiteCrossOriginNavigationNotOptIn"))] + [EnumMember(Value = ("SameSiteCrossOriginNavigationNotOptIn"))] SameSiteCrossOriginNavigationNotOptIn, /// /// ActivationNavigationParameterMismatch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationNavigationParameterMismatch"))] + [EnumMember(Value = ("ActivationNavigationParameterMismatch"))] ActivationNavigationParameterMismatch, /// /// ActivatedInBackground /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivatedInBackground"))] + [EnumMember(Value = ("ActivatedInBackground"))] ActivatedInBackground, /// /// EmbedderHostDisallowed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderHostDisallowed"))] + [EnumMember(Value = ("EmbedderHostDisallowed"))] EmbedderHostDisallowed, /// /// ActivationNavigationDestroyedBeforeSuccess /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationNavigationDestroyedBeforeSuccess"))] + [EnumMember(Value = ("ActivationNavigationDestroyedBeforeSuccess"))] ActivationNavigationDestroyedBeforeSuccess, /// /// TabClosedByUserGesture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TabClosedByUserGesture"))] + [EnumMember(Value = ("TabClosedByUserGesture"))] TabClosedByUserGesture, /// /// TabClosedWithoutUserGesture /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TabClosedWithoutUserGesture"))] + [EnumMember(Value = ("TabClosedWithoutUserGesture"))] TabClosedWithoutUserGesture, /// /// PrimaryMainFrameRendererProcessCrashed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrimaryMainFrameRendererProcessCrashed"))] + [EnumMember(Value = ("PrimaryMainFrameRendererProcessCrashed"))] PrimaryMainFrameRendererProcessCrashed, /// /// PrimaryMainFrameRendererProcessKilled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrimaryMainFrameRendererProcessKilled"))] + [EnumMember(Value = ("PrimaryMainFrameRendererProcessKilled"))] PrimaryMainFrameRendererProcessKilled, /// /// ActivationFramePolicyNotCompatible /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationFramePolicyNotCompatible"))] - ActivationFramePolicyNotCompatible + [EnumMember(Value = ("ActivationFramePolicyNotCompatible"))] + ActivationFramePolicyNotCompatible, + /// + /// PreloadingDisabled + /// + [EnumMember(Value = ("PreloadingDisabled"))] + PreloadingDisabled, + /// + /// BatterySaverEnabled + /// + [EnumMember(Value = ("BatterySaverEnabled"))] + BatterySaverEnabled, + /// + /// ActivatedDuringMainFrameNavigation + /// + [EnumMember(Value = ("ActivatedDuringMainFrameNavigation"))] + ActivatedDuringMainFrameNavigation, + /// + /// PreloadingUnsupportedByWebContents + /// + [EnumMember(Value = ("PreloadingUnsupportedByWebContents"))] + PreloadingUnsupportedByWebContents + } + + /// + /// Preloading status values, see also PreloadingTriggeringOutcome. This + /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. + /// + public enum PreloadingStatus + { + /// + /// Pending + /// + [EnumMember(Value = ("Pending"))] + Pending, + /// + /// Running + /// + [EnumMember(Value = ("Running"))] + Running, + /// + /// Ready + /// + [EnumMember(Value = ("Ready"))] + Ready, + /// + /// Success + /// + [EnumMember(Value = ("Success"))] + Success, + /// + /// Failure + /// + [EnumMember(Value = ("Failure"))] + Failure, + /// + /// NotSupported + /// + [EnumMember(Value = ("NotSupported"))] + NotSupported } /// @@ -21380,7 +21184,7 @@ public class DomContentEventFiredEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Timestamp /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -21396,12 +21200,12 @@ public enum FileChooserOpenedMode /// /// selectSingle /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("selectSingle"))] + [EnumMember(Value = ("selectSingle"))] SelectSingle, /// /// selectMultiple /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("selectMultiple"))] + [EnumMember(Value = ("selectMultiple"))] SelectMultiple } @@ -21414,7 +21218,7 @@ public class FileChooserOpenedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame containing input node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21440,7 +21244,7 @@ public CefSharp.DevTools.Page.FileChooserOpenedMode Mode /// /// Input mode. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mode"), IsRequired = (true))] + [DataMember(Name = ("mode"), IsRequired = (true))] internal string mode { get; @@ -21450,7 +21254,7 @@ internal string mode /// /// Input node id. Only present for file choosers opened via an <input type="file" > element. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))] + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int? BackendNodeId { get; @@ -21467,7 +21271,7 @@ public class FrameAttachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Id of the frame that has been attached. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21477,7 +21281,7 @@ public string FrameId /// /// Parent frame identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentFrameId"), IsRequired = (true))] + [DataMember(Name = ("parentFrameId"), IsRequired = (true))] public string ParentFrameId { get; @@ -21487,7 +21291,7 @@ public string ParentFrameId /// /// JavaScript stack trace of when frame was attached, only set if frame initiated from script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stack"), IsRequired = (false))] + [DataMember(Name = ("stack"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace Stack { get; @@ -21504,7 +21308,7 @@ public class FrameClearedScheduledNavigationEventArgs : CefSharp.DevTools.DevToo /// /// Id of the frame that has cleared its scheduled navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21520,12 +21324,12 @@ public enum FrameDetachedReason /// /// remove /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("remove"))] + [EnumMember(Value = ("remove"))] Remove, /// /// swap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("swap"))] + [EnumMember(Value = ("swap"))] Swap } @@ -21538,7 +21342,7 @@ public class FrameDetachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Id of the frame that has been detached. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21564,7 +21368,7 @@ public CefSharp.DevTools.Page.FrameDetachedReason Reason /// /// Reason /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -21581,7 +21385,7 @@ public class FrameNavigatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Frame object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (true))] + [DataMember(Name = ("frame"), IsRequired = (true))] public CefSharp.DevTools.Page.Frame Frame { get; @@ -21607,7 +21411,7 @@ public CefSharp.DevTools.Page.NavigationType Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -21624,7 +21428,7 @@ public class DocumentOpenedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Frame object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frame"), IsRequired = (true))] + [DataMember(Name = ("frame"), IsRequired = (true))] public CefSharp.DevTools.Page.Frame Frame { get; @@ -21642,7 +21446,7 @@ public class FrameRequestedNavigationEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Id of the frame that is being navigated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21668,7 +21472,7 @@ public CefSharp.DevTools.Page.ClientNavigationReason Reason /// /// The reason for the navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -21678,7 +21482,7 @@ internal string reason /// /// The destination URL for the requested navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -21704,7 +21508,7 @@ public CefSharp.DevTools.Page.ClientNavigationDisposition Disposition /// /// The disposition for the navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("disposition"), IsRequired = (true))] + [DataMember(Name = ("disposition"), IsRequired = (true))] internal string disposition { get; @@ -21721,7 +21525,7 @@ public class FrameScheduledNavigationEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Id of the frame that has scheduled a navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21732,7 +21536,7 @@ public string FrameId /// Delay (in seconds) until the navigation is scheduled to begin. The navigation is not /// guaranteed to start. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("delay"), IsRequired = (true))] + [DataMember(Name = ("delay"), IsRequired = (true))] public double Delay { get; @@ -21758,7 +21562,7 @@ public CefSharp.DevTools.Page.ClientNavigationReason Reason /// /// The reason for the navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -21768,7 +21572,7 @@ internal string reason /// /// The destination URL for the scheduled navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -21785,7 +21589,7 @@ public class FrameStartedLoadingEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Id of the frame that has started loading. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21802,7 +21606,7 @@ public class FrameStoppedLoadingEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Id of the frame that has stopped loading. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21820,7 +21624,7 @@ public class DownloadWillBeginEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame that caused download to begin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -21830,7 +21634,7 @@ public string FrameId /// /// Global unique identifier of the download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("guid"), IsRequired = (true))] + [DataMember(Name = ("guid"), IsRequired = (true))] public string Guid { get; @@ -21840,7 +21644,7 @@ public string Guid /// /// URL of the resource being downloaded. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -21850,7 +21654,7 @@ public string Url /// /// Suggested file name of the resource (the actual name of the file saved on disk may differ). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("suggestedFilename"), IsRequired = (true))] + [DataMember(Name = ("suggestedFilename"), IsRequired = (true))] public string SuggestedFilename { get; @@ -21866,17 +21670,17 @@ public enum DownloadProgressState /// /// inProgress /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("inProgress"))] + [EnumMember(Value = ("inProgress"))] InProgress, /// /// completed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("completed"))] + [EnumMember(Value = ("completed"))] Completed, /// /// canceled /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("canceled"))] + [EnumMember(Value = ("canceled"))] Canceled } @@ -21890,7 +21694,7 @@ public class DownloadProgressEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Global unique identifier of the download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("guid"), IsRequired = (true))] + [DataMember(Name = ("guid"), IsRequired = (true))] public string Guid { get; @@ -21900,7 +21704,7 @@ public string Guid /// /// Total expected bytes to download. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("totalBytes"), IsRequired = (true))] + [DataMember(Name = ("totalBytes"), IsRequired = (true))] public double TotalBytes { get; @@ -21910,7 +21714,7 @@ public double TotalBytes /// /// Total bytes received. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("receivedBytes"), IsRequired = (true))] + [DataMember(Name = ("receivedBytes"), IsRequired = (true))] public double ReceivedBytes { get; @@ -21936,7 +21740,7 @@ public CefSharp.DevTools.Page.DownloadProgressState State /// /// Download status. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("state"), IsRequired = (true))] + [DataMember(Name = ("state"), IsRequired = (true))] internal string state { get; @@ -21954,7 +21758,7 @@ public class JavascriptDialogClosedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Whether dialog was confirmed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("result"), IsRequired = (true))] + [DataMember(Name = ("result"), IsRequired = (true))] public bool Result { get; @@ -21964,7 +21768,7 @@ public bool Result /// /// User input in case of prompt. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userInput"), IsRequired = (true))] + [DataMember(Name = ("userInput"), IsRequired = (true))] public string UserInput { get; @@ -21982,7 +21786,7 @@ public class JavascriptDialogOpeningEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Frame url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -21992,7 +21796,7 @@ public string Url /// /// Message that will be displayed by the dialog. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -22018,7 +21822,7 @@ public CefSharp.DevTools.Page.DialogType Type /// /// Dialog type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -22030,7 +21834,7 @@ internal string type /// dialog handler for given target, calling alert while Page domain is engaged will stall /// the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasBrowserHandler"), IsRequired = (true))] + [DataMember(Name = ("hasBrowserHandler"), IsRequired = (true))] public bool HasBrowserHandler { get; @@ -22040,7 +21844,7 @@ public bool HasBrowserHandler /// /// Default dialog prompt. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("defaultPrompt"), IsRequired = (false))] + [DataMember(Name = ("defaultPrompt"), IsRequired = (false))] public string DefaultPrompt { get; @@ -22057,7 +21861,7 @@ public class LifecycleEventEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Id of the frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -22067,7 +21871,7 @@ public string FrameId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -22077,7 +21881,7 @@ public string LoaderId /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -22087,7 +21891,7 @@ public string Name /// /// Timestamp /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -22107,7 +21911,7 @@ public class BackForwardCacheNotUsedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// The loader id for the associated navgation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loaderId"), IsRequired = (true))] + [DataMember(Name = ("loaderId"), IsRequired = (true))] public string LoaderId { get; @@ -22117,7 +21921,7 @@ public string LoaderId /// /// The frame id of the associated frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -22127,7 +21931,7 @@ public string FrameId /// /// Array of reasons why the page could not be cached. This must not be empty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("notRestoredExplanations"), IsRequired = (true))] + [DataMember(Name = ("notRestoredExplanations"), IsRequired = (true))] public System.Collections.Generic.IList NotRestoredExplanations { get; @@ -22137,7 +21941,7 @@ public System.Collections.Generic.IList /// Tree structure of reasons why the page could not be cached for each frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("notRestoredExplanationsTree"), IsRequired = (false))] + [DataMember(Name = ("notRestoredExplanationsTree"), IsRequired = (false))] public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRestoredExplanationsTree { get; @@ -22154,7 +21958,7 @@ public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// The frame id of the frame initiating prerendering. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("initiatingFrameId"), IsRequired = (true))] + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] public string InitiatingFrameId { get; @@ -22164,7 +21968,7 @@ public string InitiatingFrameId /// /// PrerenderingUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("prerenderingUrl"), IsRequired = (true))] + [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] public string PrerenderingUrl { get; @@ -22190,7 +21994,7 @@ public CefSharp.DevTools.Page.PrerenderFinalStatus FinalStatus /// /// FinalStatus /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("finalStatus"), IsRequired = (true))] + [DataMember(Name = ("finalStatus"), IsRequired = (true))] internal string finalStatus { get; @@ -22201,7 +22005,7 @@ internal string finalStatus /// This is used to give users more information about the name of the API call /// that is incompatible with prerender and has caused the cancellation of the attempt /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("disallowedApiMethod"), IsRequired = (false))] + [DataMember(Name = ("disallowedApiMethod"), IsRequired = (false))] public string DisallowedApiMethod { get; @@ -22209,6 +22013,114 @@ public string DisallowedApiMethod } } + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prefetch attempt is updated. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// The frame id of the frame initiating prefetch. + /// + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrefetchUrl + /// + [DataMember(Name = ("prefetchUrl"), IsRequired = (true))] + public string PrefetchUrl + { + get; + private set; + } + + /// + /// Status + /// + public CefSharp.DevTools.Page.PreloadingStatus Status + { + get + { + return (CefSharp.DevTools.Page.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Page.PreloadingStatus), status)); + } + + set + { + this.status = (EnumToString(value)); + } + } + + /// + /// Status + /// + [DataMember(Name = ("status"), IsRequired = (true))] + internal string status + { + get; + private set; + } + } + + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prerender attempt is updated. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// The frame id of the frame initiating prerender. + /// + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrerenderingUrl + /// + [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] + public string PrerenderingUrl + { + get; + private set; + } + + /// + /// Status + /// + public CefSharp.DevTools.Page.PreloadingStatus Status + { + get + { + return (CefSharp.DevTools.Page.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Page.PreloadingStatus), status)); + } + + set + { + this.status = (EnumToString(value)); + } + } + + /// + /// Status + /// + [DataMember(Name = ("status"), IsRequired = (true))] + internal string status + { + get; + private set; + } + } + /// /// loadEventFired /// @@ -22218,7 +22130,7 @@ public class LoadEventFiredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Timestamp /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -22235,7 +22147,7 @@ public class NavigatedWithinDocumentEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Id of the frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -22245,7 +22157,7 @@ public string FrameId /// /// Frame's new url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -22262,7 +22174,7 @@ public class ScreencastFrameEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Base64-encoded compressed image. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public byte[] Data { get; @@ -22272,7 +22184,7 @@ public byte[] Data /// /// Screencast frame metadata. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("metadata"), IsRequired = (true))] + [DataMember(Name = ("metadata"), IsRequired = (true))] public CefSharp.DevTools.Page.ScreencastFrameMetadata Metadata { get; @@ -22282,7 +22194,7 @@ public CefSharp.DevTools.Page.ScreencastFrameMetadata Metadata /// /// Frame number. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sessionId"), IsRequired = (true))] + [DataMember(Name = ("sessionId"), IsRequired = (true))] public int SessionId { get; @@ -22299,7 +22211,7 @@ public class ScreencastVisibilityChangedEventArgs : CefSharp.DevTools.DevToolsDo /// /// True if the page is visible. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("visible"), IsRequired = (true))] + [DataMember(Name = ("visible"), IsRequired = (true))] public bool Visible { get; @@ -22317,7 +22229,7 @@ public class WindowOpenEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The URL for the new window. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -22327,7 +22239,7 @@ public string Url /// /// Window name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("windowName"), IsRequired = (true))] + [DataMember(Name = ("windowName"), IsRequired = (true))] public string WindowName { get; @@ -22337,7 +22249,7 @@ public string WindowName /// /// An array of enabled window features. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("windowFeatures"), IsRequired = (true))] + [DataMember(Name = ("windowFeatures"), IsRequired = (true))] public string[] WindowFeatures { get; @@ -22347,7 +22259,7 @@ public string[] WindowFeatures /// /// Whether or not it was triggered by user gesture. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userGesture"), IsRequired = (true))] + [DataMember(Name = ("userGesture"), IsRequired = (true))] public bool UserGesture { get; @@ -22365,7 +22277,7 @@ public class CompilationCacheProducedEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -22375,7 +22287,7 @@ public string Url /// /// Base64-encoded data /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public byte[] Data { get; @@ -22395,7 +22307,7 @@ public partial class Metric : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Metric name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -22405,7 +22317,7 @@ public string Name /// /// Metric value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public double Value { get; @@ -22422,7 +22334,7 @@ public class MetricsEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Current values of the metrics. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("metrics"), IsRequired = (true))] + [DataMember(Name = ("metrics"), IsRequired = (true))] public System.Collections.Generic.IList Metrics { get; @@ -22432,7 +22344,7 @@ public System.Collections.Generic.IList Me /// /// Timestamp title. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public string Title { get; @@ -22452,7 +22364,7 @@ public partial class LargestContentfulPaint : CefSharp.DevTools.DevToolsDomainEn /// /// RenderTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("renderTime"), IsRequired = (true))] + [DataMember(Name = ("renderTime"), IsRequired = (true))] public double RenderTime { get; @@ -22462,7 +22374,7 @@ public double RenderTime /// /// LoadTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("loadTime"), IsRequired = (true))] + [DataMember(Name = ("loadTime"), IsRequired = (true))] public double LoadTime { get; @@ -22472,7 +22384,7 @@ public double LoadTime /// /// The number of pixels being painted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] + [DataMember(Name = ("size"), IsRequired = (true))] public double Size { get; @@ -22482,7 +22394,7 @@ public double Size /// /// The id attribute of the element, if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("elementId"), IsRequired = (false))] + [DataMember(Name = ("elementId"), IsRequired = (false))] public string ElementId { get; @@ -22492,7 +22404,7 @@ public string ElementId /// /// The URL of the image (may be trimmed). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -22502,7 +22414,7 @@ public string Url /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (false))] + [DataMember(Name = ("nodeId"), IsRequired = (false))] public int? NodeId { get; @@ -22519,7 +22431,7 @@ public partial class LayoutShiftAttribution : CefSharp.DevTools.DevToolsDomainEn /// /// PreviousRect /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("previousRect"), IsRequired = (true))] + [DataMember(Name = ("previousRect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect PreviousRect { get; @@ -22529,7 +22441,7 @@ public CefSharp.DevTools.DOM.Rect PreviousRect /// /// CurrentRect /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("currentRect"), IsRequired = (true))] + [DataMember(Name = ("currentRect"), IsRequired = (true))] public CefSharp.DevTools.DOM.Rect CurrentRect { get; @@ -22539,7 +22451,7 @@ public CefSharp.DevTools.DOM.Rect CurrentRect /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (false))] + [DataMember(Name = ("nodeId"), IsRequired = (false))] public int? NodeId { get; @@ -22556,7 +22468,7 @@ public partial class LayoutShift : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Score increment produced by this event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public double Value { get; @@ -22566,7 +22478,7 @@ public double Value /// /// HadRecentInput /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hadRecentInput"), IsRequired = (true))] + [DataMember(Name = ("hadRecentInput"), IsRequired = (true))] public bool HadRecentInput { get; @@ -22576,7 +22488,7 @@ public bool HadRecentInput /// /// LastInputTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lastInputTime"), IsRequired = (true))] + [DataMember(Name = ("lastInputTime"), IsRequired = (true))] public double LastInputTime { get; @@ -22586,7 +22498,7 @@ public double LastInputTime /// /// Sources /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sources"), IsRequired = (true))] + [DataMember(Name = ("sources"), IsRequired = (true))] public System.Collections.Generic.IList Sources { get; @@ -22603,7 +22515,7 @@ public partial class TimelineEvent : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Identifies the frame that this event is related to. Empty for non-frame targets. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -22614,7 +22526,7 @@ public string FrameId /// The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype /// This determines which of the optional "details" fiedls is present. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] public string Type { get; @@ -22624,7 +22536,7 @@ public string Type /// /// Name may be empty depending on the type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -22634,7 +22546,7 @@ public string Name /// /// Time in seconds since Epoch, monotonically increasing within document lifetime. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("time"), IsRequired = (true))] + [DataMember(Name = ("time"), IsRequired = (true))] public double Time { get; @@ -22644,7 +22556,7 @@ public double Time /// /// Event duration, if applicable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("duration"), IsRequired = (false))] + [DataMember(Name = ("duration"), IsRequired = (false))] public double? Duration { get; @@ -22654,7 +22566,7 @@ public double? Duration /// /// LcpDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lcpDetails"), IsRequired = (false))] + [DataMember(Name = ("lcpDetails"), IsRequired = (false))] public CefSharp.DevTools.PerformanceTimeline.LargestContentfulPaint LcpDetails { get; @@ -22664,7 +22576,7 @@ public CefSharp.DevTools.PerformanceTimeline.LargestContentfulPaint LcpDetails /// /// LayoutShiftDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("layoutShiftDetails"), IsRequired = (false))] + [DataMember(Name = ("layoutShiftDetails"), IsRequired = (false))] public CefSharp.DevTools.PerformanceTimeline.LayoutShift LayoutShiftDetails { get; @@ -22681,7 +22593,7 @@ public class TimelineEventAddedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Event /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("event"), IsRequired = (true))] + [DataMember(Name = ("event"), IsRequired = (true))] public CefSharp.DevTools.PerformanceTimeline.TimelineEvent Event { get; @@ -22701,17 +22613,17 @@ public enum MixedContentType /// /// blockable /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("blockable"))] + [EnumMember(Value = ("blockable"))] Blockable, /// /// optionally-blockable /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("optionally-blockable"))] + [EnumMember(Value = ("optionally-blockable"))] OptionallyBlockable, /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None } @@ -22723,32 +22635,32 @@ public enum SecurityState /// /// unknown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unknown"))] + [EnumMember(Value = ("unknown"))] Unknown, /// /// neutral /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("neutral"))] + [EnumMember(Value = ("neutral"))] Neutral, /// /// insecure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("insecure"))] + [EnumMember(Value = ("insecure"))] Insecure, /// /// secure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("secure"))] + [EnumMember(Value = ("secure"))] Secure, /// /// info /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("info"))] + [EnumMember(Value = ("info"))] Info, /// /// insecure-broken /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("insecure-broken"))] + [EnumMember(Value = ("insecure-broken"))] InsecureBroken } @@ -22761,7 +22673,7 @@ public partial class CertificateSecurityState : CefSharp.DevTools.DevToolsDomain /// /// Protocol name (e.g. "TLS 1.2" or "QUIC"). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("protocol"), IsRequired = (true))] + [DataMember(Name = ("protocol"), IsRequired = (true))] public string Protocol { get; @@ -22771,7 +22683,7 @@ public string Protocol /// /// Key Exchange used by the connection, or the empty string if not applicable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyExchange"), IsRequired = (true))] + [DataMember(Name = ("keyExchange"), IsRequired = (true))] public string KeyExchange { get; @@ -22781,7 +22693,7 @@ public string KeyExchange /// /// (EC)DH group used by the connection, if applicable. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("keyExchangeGroup"), IsRequired = (false))] + [DataMember(Name = ("keyExchangeGroup"), IsRequired = (false))] public string KeyExchangeGroup { get; @@ -22791,7 +22703,7 @@ public string KeyExchangeGroup /// /// Cipher name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cipher"), IsRequired = (true))] + [DataMember(Name = ("cipher"), IsRequired = (true))] public string Cipher { get; @@ -22801,7 +22713,7 @@ public string Cipher /// /// TLS MAC. Note that AEAD ciphers do not have separate MACs. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mac"), IsRequired = (false))] + [DataMember(Name = ("mac"), IsRequired = (false))] public string Mac { get; @@ -22811,7 +22723,7 @@ public string Mac /// /// Page certificate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificate"), IsRequired = (true))] + [DataMember(Name = ("certificate"), IsRequired = (true))] public string[] Certificate { get; @@ -22821,7 +22733,7 @@ public string[] Certificate /// /// Certificate subject name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subjectName"), IsRequired = (true))] + [DataMember(Name = ("subjectName"), IsRequired = (true))] public string SubjectName { get; @@ -22831,7 +22743,7 @@ public string SubjectName /// /// Name of the issuing CA. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuer"), IsRequired = (true))] + [DataMember(Name = ("issuer"), IsRequired = (true))] public string Issuer { get; @@ -22841,7 +22753,7 @@ public string Issuer /// /// Certificate valid from date. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("validFrom"), IsRequired = (true))] + [DataMember(Name = ("validFrom"), IsRequired = (true))] public double ValidFrom { get; @@ -22851,7 +22763,7 @@ public double ValidFrom /// /// Certificate valid to (expiration) date /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("validTo"), IsRequired = (true))] + [DataMember(Name = ("validTo"), IsRequired = (true))] public double ValidTo { get; @@ -22861,7 +22773,7 @@ public double ValidTo /// /// The highest priority network error code, if the certificate has an error. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateNetworkError"), IsRequired = (false))] + [DataMember(Name = ("certificateNetworkError"), IsRequired = (false))] public string CertificateNetworkError { get; @@ -22871,7 +22783,7 @@ public string CertificateNetworkError /// /// True if the certificate uses a weak signature aglorithm. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateHasWeakSignature"), IsRequired = (true))] + [DataMember(Name = ("certificateHasWeakSignature"), IsRequired = (true))] public bool CertificateHasWeakSignature { get; @@ -22881,7 +22793,7 @@ public bool CertificateHasWeakSignature /// /// True if the certificate has a SHA1 signature in the chain. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateHasSha1Signature"), IsRequired = (true))] + [DataMember(Name = ("certificateHasSha1Signature"), IsRequired = (true))] public bool CertificateHasSha1Signature { get; @@ -22891,7 +22803,7 @@ public bool CertificateHasSha1Signature /// /// True if modern SSL /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("modernSSL"), IsRequired = (true))] + [DataMember(Name = ("modernSSL"), IsRequired = (true))] public bool ModernSSL { get; @@ -22901,7 +22813,7 @@ public bool ModernSSL /// /// True if the connection is using an obsolete SSL protocol. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("obsoleteSslProtocol"), IsRequired = (true))] + [DataMember(Name = ("obsoleteSslProtocol"), IsRequired = (true))] public bool ObsoleteSslProtocol { get; @@ -22911,7 +22823,7 @@ public bool ObsoleteSslProtocol /// /// True if the connection is using an obsolete SSL key exchange. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("obsoleteSslKeyExchange"), IsRequired = (true))] + [DataMember(Name = ("obsoleteSslKeyExchange"), IsRequired = (true))] public bool ObsoleteSslKeyExchange { get; @@ -22921,7 +22833,7 @@ public bool ObsoleteSslKeyExchange /// /// True if the connection is using an obsolete SSL cipher. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("obsoleteSslCipher"), IsRequired = (true))] + [DataMember(Name = ("obsoleteSslCipher"), IsRequired = (true))] public bool ObsoleteSslCipher { get; @@ -22931,7 +22843,7 @@ public bool ObsoleteSslCipher /// /// True if the connection is using an obsolete SSL signature. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("obsoleteSslSignature"), IsRequired = (true))] + [DataMember(Name = ("obsoleteSslSignature"), IsRequired = (true))] public bool ObsoleteSslSignature { get; @@ -22947,12 +22859,12 @@ public enum SafetyTipStatus /// /// badReputation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("badReputation"))] + [EnumMember(Value = ("badReputation"))] BadReputation, /// /// lookalike /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("lookalike"))] + [EnumMember(Value = ("lookalike"))] Lookalike } @@ -22981,7 +22893,7 @@ public CefSharp.DevTools.Security.SafetyTipStatus SafetyTipStatus /// /// Describes whether the page triggers any safety tips or reputation warnings. Default is unknown. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("safetyTipStatus"), IsRequired = (true))] + [DataMember(Name = ("safetyTipStatus"), IsRequired = (true))] internal string safetyTipStatus { get; @@ -22991,7 +22903,7 @@ internal string safetyTipStatus /// /// The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("safeUrl"), IsRequired = (false))] + [DataMember(Name = ("safeUrl"), IsRequired = (false))] public string SafeUrl { get; @@ -23024,7 +22936,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// The security level of the page. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityState"), IsRequired = (true))] + [DataMember(Name = ("securityState"), IsRequired = (true))] internal string securityState { get; @@ -23034,7 +22946,7 @@ internal string securityState /// /// Security state details about the page certificate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateSecurityState"), IsRequired = (false))] + [DataMember(Name = ("certificateSecurityState"), IsRequired = (false))] public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecurityState { get; @@ -23044,7 +22956,7 @@ public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecuritySt /// /// The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("safetyTipInfo"), IsRequired = (false))] + [DataMember(Name = ("safetyTipInfo"), IsRequired = (false))] public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo { get; @@ -23054,7 +22966,7 @@ public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo /// /// Array of security state issues ids. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityStateIssueIds"), IsRequired = (true))] + [DataMember(Name = ("securityStateIssueIds"), IsRequired = (true))] public string[] SecurityStateIssueIds { get; @@ -23087,7 +22999,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Security state representing the severity of the factor being explained. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityState"), IsRequired = (true))] + [DataMember(Name = ("securityState"), IsRequired = (true))] internal string securityState { get; @@ -23097,7 +23009,7 @@ internal string securityState /// /// Title describing the type of factor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public string Title { get; @@ -23107,7 +23019,7 @@ public string Title /// /// Short phrase describing the type of factor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("summary"), IsRequired = (true))] + [DataMember(Name = ("summary"), IsRequired = (true))] public string Summary { get; @@ -23117,7 +23029,7 @@ public string Summary /// /// Full text explanation of the factor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (true))] + [DataMember(Name = ("description"), IsRequired = (true))] public string Description { get; @@ -23143,7 +23055,7 @@ public CefSharp.DevTools.Security.MixedContentType MixedContentType /// /// The type of mixed content described by the explanation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mixedContentType"), IsRequired = (true))] + [DataMember(Name = ("mixedContentType"), IsRequired = (true))] internal string mixedContentType { get; @@ -23153,7 +23065,7 @@ internal string mixedContentType /// /// Page certificate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("certificate"), IsRequired = (true))] + [DataMember(Name = ("certificate"), IsRequired = (true))] public string[] Certificate { get; @@ -23163,7 +23075,7 @@ public string[] Certificate /// /// Recommendations to fix any issues. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("recommendations"), IsRequired = (false))] + [DataMember(Name = ("recommendations"), IsRequired = (false))] public string[] Recommendations { get; @@ -23180,7 +23092,7 @@ public partial class InsecureContentStatus : CefSharp.DevTools.DevToolsDomainEnt /// /// Always false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ranMixedContent"), IsRequired = (true))] + [DataMember(Name = ("ranMixedContent"), IsRequired = (true))] public bool RanMixedContent { get; @@ -23190,7 +23102,7 @@ public bool RanMixedContent /// /// Always false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedMixedContent"), IsRequired = (true))] + [DataMember(Name = ("displayedMixedContent"), IsRequired = (true))] public bool DisplayedMixedContent { get; @@ -23200,7 +23112,7 @@ public bool DisplayedMixedContent /// /// Always false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("containedMixedForm"), IsRequired = (true))] + [DataMember(Name = ("containedMixedForm"), IsRequired = (true))] public bool ContainedMixedForm { get; @@ -23210,7 +23122,7 @@ public bool ContainedMixedForm /// /// Always false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ranContentWithCertErrors"), IsRequired = (true))] + [DataMember(Name = ("ranContentWithCertErrors"), IsRequired = (true))] public bool RanContentWithCertErrors { get; @@ -23220,7 +23132,7 @@ public bool RanContentWithCertErrors /// /// Always false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedContentWithCertErrors"), IsRequired = (true))] + [DataMember(Name = ("displayedContentWithCertErrors"), IsRequired = (true))] public bool DisplayedContentWithCertErrors { get; @@ -23246,7 +23158,7 @@ public CefSharp.DevTools.Security.SecurityState RanInsecureContentStyle /// /// Always set to unknown. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ranInsecureContentStyle"), IsRequired = (true))] + [DataMember(Name = ("ranInsecureContentStyle"), IsRequired = (true))] internal string ranInsecureContentStyle { get; @@ -23272,7 +23184,7 @@ public CefSharp.DevTools.Security.SecurityState DisplayedInsecureContentStyle /// /// Always set to unknown. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedInsecureContentStyle"), IsRequired = (true))] + [DataMember(Name = ("displayedInsecureContentStyle"), IsRequired = (true))] internal string displayedInsecureContentStyle { get; @@ -23289,12 +23201,12 @@ public enum CertificateErrorAction /// /// continue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("continue"))] + [EnumMember(Value = ("continue"))] Continue, /// /// cancel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cancel"))] + [EnumMember(Value = ("cancel"))] Cancel } @@ -23310,7 +23222,7 @@ public class CertificateErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// The ID of the event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventId"), IsRequired = (true))] + [DataMember(Name = ("eventId"), IsRequired = (true))] public int EventId { get; @@ -23320,7 +23232,7 @@ public int EventId /// /// The type of the error. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorType"), IsRequired = (true))] + [DataMember(Name = ("errorType"), IsRequired = (true))] public string ErrorType { get; @@ -23330,7 +23242,7 @@ public string ErrorType /// /// The url that was requested. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestURL"), IsRequired = (true))] + [DataMember(Name = ("requestURL"), IsRequired = (true))] public string RequestURL { get; @@ -23347,7 +23259,7 @@ public class VisibleSecurityStateChangedEventArgs : CefSharp.DevTools.DevToolsDo /// /// Security state information about the page. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("visibleSecurityState"), IsRequired = (true))] + [DataMember(Name = ("visibleSecurityState"), IsRequired = (true))] public CefSharp.DevTools.Security.VisibleSecurityState VisibleSecurityState { get; @@ -23380,7 +23292,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Security state. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityState"), IsRequired = (true))] + [DataMember(Name = ("securityState"), IsRequired = (true))] internal string securityState { get; @@ -23390,7 +23302,7 @@ internal string securityState /// /// True if the page was loaded over cryptographic transport such as HTTPS. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("schemeIsCryptographic"), IsRequired = (true))] + [DataMember(Name = ("schemeIsCryptographic"), IsRequired = (true))] public bool SchemeIsCryptographic { get; @@ -23401,7 +23313,7 @@ public bool SchemeIsCryptographic /// Previously a list of explanations for the security state. Now always /// empty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (true))] + [DataMember(Name = ("explanations"), IsRequired = (true))] public System.Collections.Generic.IList Explanations { get; @@ -23411,7 +23323,7 @@ public System.Collections.Generic.IList /// Information about insecure content on the page. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("insecureContentStatus"), IsRequired = (true))] + [DataMember(Name = ("insecureContentStatus"), IsRequired = (true))] public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus { get; @@ -23421,7 +23333,7 @@ public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus /// /// Overrides user-visible description of the state. Always omitted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("summary"), IsRequired = (false))] + [DataMember(Name = ("summary"), IsRequired = (false))] public string Summary { get; @@ -23441,7 +23353,7 @@ public partial class ServiceWorkerRegistration : CefSharp.DevTools.DevToolsDomai /// /// RegistrationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("registrationId"), IsRequired = (true))] + [DataMember(Name = ("registrationId"), IsRequired = (true))] public string RegistrationId { get; @@ -23451,7 +23363,7 @@ public string RegistrationId /// /// ScopeURL /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scopeURL"), IsRequired = (true))] + [DataMember(Name = ("scopeURL"), IsRequired = (true))] public string ScopeURL { get; @@ -23461,7 +23373,7 @@ public string ScopeURL /// /// IsDeleted /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isDeleted"), IsRequired = (true))] + [DataMember(Name = ("isDeleted"), IsRequired = (true))] public bool IsDeleted { get; @@ -23477,22 +23389,22 @@ public enum ServiceWorkerVersionRunningStatus /// /// stopped /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("stopped"))] + [EnumMember(Value = ("stopped"))] Stopped, /// /// starting /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("starting"))] + [EnumMember(Value = ("starting"))] Starting, /// /// running /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("running"))] + [EnumMember(Value = ("running"))] Running, /// /// stopping /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("stopping"))] + [EnumMember(Value = ("stopping"))] Stopping } @@ -23504,32 +23416,32 @@ public enum ServiceWorkerVersionStatus /// /// new /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("new"))] + [EnumMember(Value = ("new"))] New, /// /// installing /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("installing"))] + [EnumMember(Value = ("installing"))] Installing, /// /// installed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("installed"))] + [EnumMember(Value = ("installed"))] Installed, /// /// activating /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("activating"))] + [EnumMember(Value = ("activating"))] Activating, /// /// activated /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("activated"))] + [EnumMember(Value = ("activated"))] Activated, /// /// redundant /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("redundant"))] + [EnumMember(Value = ("redundant"))] Redundant } @@ -23542,7 +23454,7 @@ public partial class ServiceWorkerVersion : CefSharp.DevTools.DevToolsDomainEnti /// /// VersionId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("versionId"), IsRequired = (true))] + [DataMember(Name = ("versionId"), IsRequired = (true))] public string VersionId { get; @@ -23552,7 +23464,7 @@ public string VersionId /// /// RegistrationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("registrationId"), IsRequired = (true))] + [DataMember(Name = ("registrationId"), IsRequired = (true))] public string RegistrationId { get; @@ -23562,7 +23474,7 @@ public string RegistrationId /// /// ScriptURL /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptURL"), IsRequired = (true))] + [DataMember(Name = ("scriptURL"), IsRequired = (true))] public string ScriptURL { get; @@ -23588,7 +23500,7 @@ public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionRunningStatus Running /// /// RunningStatus /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("runningStatus"), IsRequired = (true))] + [DataMember(Name = ("runningStatus"), IsRequired = (true))] internal string runningStatus { get; @@ -23614,7 +23526,7 @@ public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionStatus Status /// /// Status /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] internal string status { get; @@ -23624,7 +23536,7 @@ internal string status /// /// The Last-Modified header value of the main script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptLastModified"), IsRequired = (false))] + [DataMember(Name = ("scriptLastModified"), IsRequired = (false))] public double? ScriptLastModified { get; @@ -23635,7 +23547,7 @@ public double? ScriptLastModified /// The time at which the response headers of the main script were received from the server. /// For cached script it is the last time the cache entry was validated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptResponseTime"), IsRequired = (false))] + [DataMember(Name = ("scriptResponseTime"), IsRequired = (false))] public double? ScriptResponseTime { get; @@ -23645,7 +23557,7 @@ public double? ScriptResponseTime /// /// ControlledClients /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("controlledClients"), IsRequired = (false))] + [DataMember(Name = ("controlledClients"), IsRequired = (false))] public string[] ControlledClients { get; @@ -23655,7 +23567,7 @@ public string[] ControlledClients /// /// TargetId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (false))] + [DataMember(Name = ("targetId"), IsRequired = (false))] public string TargetId { get; @@ -23672,7 +23584,7 @@ public partial class ServiceWorkerErrorMessage : CefSharp.DevTools.DevToolsDomai /// /// ErrorMessage /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))] + [DataMember(Name = ("errorMessage"), IsRequired = (true))] public string ErrorMessage { get; @@ -23682,7 +23594,7 @@ public string ErrorMessage /// /// RegistrationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("registrationId"), IsRequired = (true))] + [DataMember(Name = ("registrationId"), IsRequired = (true))] public string RegistrationId { get; @@ -23692,7 +23604,7 @@ public string RegistrationId /// /// VersionId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("versionId"), IsRequired = (true))] + [DataMember(Name = ("versionId"), IsRequired = (true))] public string VersionId { get; @@ -23702,7 +23614,7 @@ public string VersionId /// /// SourceURL /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceURL"), IsRequired = (true))] + [DataMember(Name = ("sourceURL"), IsRequired = (true))] public string SourceURL { get; @@ -23712,7 +23624,7 @@ public string SourceURL /// /// LineNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -23722,7 +23634,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -23739,7 +23651,7 @@ public class WorkerErrorReportedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// ErrorMessage /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))] + [DataMember(Name = ("errorMessage"), IsRequired = (true))] public CefSharp.DevTools.ServiceWorker.ServiceWorkerErrorMessage ErrorMessage { get; @@ -23756,7 +23668,7 @@ public class WorkerRegistrationUpdatedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Registrations /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("registrations"), IsRequired = (true))] + [DataMember(Name = ("registrations"), IsRequired = (true))] public System.Collections.Generic.IList Registrations { get; @@ -23773,7 +23685,7 @@ public class WorkerVersionUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Versions /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("versions"), IsRequired = (true))] + [DataMember(Name = ("versions"), IsRequired = (true))] public System.Collections.Generic.IList Versions { get; @@ -23792,67 +23704,67 @@ public enum StorageType /// /// appcache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("appcache"))] + [EnumMember(Value = ("appcache"))] Appcache, /// /// cookies /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cookies"))] + [EnumMember(Value = ("cookies"))] Cookies, /// /// file_systems /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("file_systems"))] + [EnumMember(Value = ("file_systems"))] FileSystems, /// /// indexeddb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("indexeddb"))] + [EnumMember(Value = ("indexeddb"))] Indexeddb, /// /// local_storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("local_storage"))] + [EnumMember(Value = ("local_storage"))] LocalStorage, /// /// shader_cache /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shader_cache"))] + [EnumMember(Value = ("shader_cache"))] ShaderCache, /// /// websql /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("websql"))] + [EnumMember(Value = ("websql"))] Websql, /// /// service_workers /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("service_workers"))] + [EnumMember(Value = ("service_workers"))] ServiceWorkers, /// /// cache_storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cache_storage"))] + [EnumMember(Value = ("cache_storage"))] CacheStorage, /// /// interest_groups /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("interest_groups"))] + [EnumMember(Value = ("interest_groups"))] InterestGroups, /// /// shared_storage /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared_storage"))] + [EnumMember(Value = ("shared_storage"))] SharedStorage, /// /// all /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("all"))] + [EnumMember(Value = ("all"))] All, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other } @@ -23881,7 +23793,7 @@ public CefSharp.DevTools.Storage.StorageType StorageType /// /// Name of storage type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageType"), IsRequired = (true))] + [DataMember(Name = ("storageType"), IsRequired = (true))] internal string storageType { get; @@ -23891,7 +23803,7 @@ internal string storageType /// /// Storage usage (bytes). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("usage"), IsRequired = (true))] + [DataMember(Name = ("usage"), IsRequired = (true))] public double Usage { get; @@ -23909,7 +23821,7 @@ public partial class TrustTokens : CefSharp.DevTools.DevToolsDomainEntityBase /// /// IssuerOrigin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("issuerOrigin"), IsRequired = (true))] + [DataMember(Name = ("issuerOrigin"), IsRequired = (true))] public string IssuerOrigin { get; @@ -23919,7 +23831,7 @@ public string IssuerOrigin /// /// Count /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("count"), IsRequired = (true))] + [DataMember(Name = ("count"), IsRequired = (true))] public double Count { get; @@ -23935,32 +23847,32 @@ public enum InterestGroupAccessType /// /// join /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("join"))] + [EnumMember(Value = ("join"))] Join, /// /// leave /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("leave"))] + [EnumMember(Value = ("leave"))] Leave, /// /// update /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("update"))] + [EnumMember(Value = ("update"))] Update, /// /// loaded /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("loaded"))] + [EnumMember(Value = ("loaded"))] Loaded, /// /// bid /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bid"))] + [EnumMember(Value = ("bid"))] Bid, /// /// win /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("win"))] + [EnumMember(Value = ("win"))] Win } @@ -23973,7 +23885,7 @@ public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBas /// /// RenderUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("renderUrl"), IsRequired = (true))] + [DataMember(Name = ("renderUrl"), IsRequired = (true))] public string RenderUrl { get; @@ -23983,7 +23895,7 @@ public string RenderUrl /// /// Metadata /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("metadata"), IsRequired = (false))] + [DataMember(Name = ("metadata"), IsRequired = (false))] public string Metadata { get; @@ -24000,7 +23912,7 @@ public partial class InterestGroupDetails : CefSharp.DevTools.DevToolsDomainEnti /// /// OwnerOrigin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerOrigin"), IsRequired = (true))] + [DataMember(Name = ("ownerOrigin"), IsRequired = (true))] public string OwnerOrigin { get; @@ -24010,7 +23922,7 @@ public string OwnerOrigin /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -24020,7 +23932,7 @@ public string Name /// /// ExpirationTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("expirationTime"), IsRequired = (true))] + [DataMember(Name = ("expirationTime"), IsRequired = (true))] public double ExpirationTime { get; @@ -24030,7 +23942,7 @@ public double ExpirationTime /// /// JoiningOrigin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("joiningOrigin"), IsRequired = (true))] + [DataMember(Name = ("joiningOrigin"), IsRequired = (true))] public string JoiningOrigin { get; @@ -24040,7 +23952,7 @@ public string JoiningOrigin /// /// BiddingUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("biddingUrl"), IsRequired = (false))] + [DataMember(Name = ("biddingUrl"), IsRequired = (false))] public string BiddingUrl { get; @@ -24050,7 +23962,7 @@ public string BiddingUrl /// /// BiddingWasmHelperUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("biddingWasmHelperUrl"), IsRequired = (false))] + [DataMember(Name = ("biddingWasmHelperUrl"), IsRequired = (false))] public string BiddingWasmHelperUrl { get; @@ -24060,7 +23972,7 @@ public string BiddingWasmHelperUrl /// /// UpdateUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("updateUrl"), IsRequired = (false))] + [DataMember(Name = ("updateUrl"), IsRequired = (false))] public string UpdateUrl { get; @@ -24070,7 +23982,7 @@ public string UpdateUrl /// /// TrustedBiddingSignalsUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("trustedBiddingSignalsUrl"), IsRequired = (false))] + [DataMember(Name = ("trustedBiddingSignalsUrl"), IsRequired = (false))] public string TrustedBiddingSignalsUrl { get; @@ -24080,7 +23992,7 @@ public string TrustedBiddingSignalsUrl /// /// TrustedBiddingSignalsKeys /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("trustedBiddingSignalsKeys"), IsRequired = (true))] + [DataMember(Name = ("trustedBiddingSignalsKeys"), IsRequired = (true))] public string[] TrustedBiddingSignalsKeys { get; @@ -24090,7 +24002,7 @@ public string[] TrustedBiddingSignalsKeys /// /// UserBiddingSignals /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userBiddingSignals"), IsRequired = (false))] + [DataMember(Name = ("userBiddingSignals"), IsRequired = (false))] public string UserBiddingSignals { get; @@ -24100,7 +24012,7 @@ public string UserBiddingSignals /// /// Ads /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ads"), IsRequired = (true))] + [DataMember(Name = ("ads"), IsRequired = (true))] public System.Collections.Generic.IList Ads { get; @@ -24110,7 +24022,7 @@ public System.Collections.Generic.IList /// AdComponents /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("adComponents"), IsRequired = (true))] + [DataMember(Name = ("adComponents"), IsRequired = (true))] public System.Collections.Generic.IList AdComponents { get; @@ -24126,82 +24038,82 @@ public enum SharedStorageAccessType /// /// documentAddModule /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentAddModule"))] + [EnumMember(Value = ("documentAddModule"))] DocumentAddModule, /// /// documentSelectURL /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentSelectURL"))] + [EnumMember(Value = ("documentSelectURL"))] DocumentSelectURL, /// /// documentRun /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentRun"))] + [EnumMember(Value = ("documentRun"))] DocumentRun, /// /// documentSet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentSet"))] + [EnumMember(Value = ("documentSet"))] DocumentSet, /// /// documentAppend /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentAppend"))] + [EnumMember(Value = ("documentAppend"))] DocumentAppend, /// /// documentDelete /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentDelete"))] + [EnumMember(Value = ("documentDelete"))] DocumentDelete, /// /// documentClear /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("documentClear"))] + [EnumMember(Value = ("documentClear"))] DocumentClear, /// /// workletSet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletSet"))] + [EnumMember(Value = ("workletSet"))] WorkletSet, /// /// workletAppend /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletAppend"))] + [EnumMember(Value = ("workletAppend"))] WorkletAppend, /// /// workletDelete /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletDelete"))] + [EnumMember(Value = ("workletDelete"))] WorkletDelete, /// /// workletClear /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletClear"))] + [EnumMember(Value = ("workletClear"))] WorkletClear, /// /// workletGet /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletGet"))] + [EnumMember(Value = ("workletGet"))] WorkletGet, /// /// workletKeys /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletKeys"))] + [EnumMember(Value = ("workletKeys"))] WorkletKeys, /// /// workletEntries /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletEntries"))] + [EnumMember(Value = ("workletEntries"))] WorkletEntries, /// /// workletLength /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletLength"))] + [EnumMember(Value = ("workletLength"))] WorkletLength, /// /// workletRemainingBudget /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("workletRemainingBudget"))] + [EnumMember(Value = ("workletRemainingBudget"))] WorkletRemainingBudget } @@ -24214,7 +24126,7 @@ public partial class SharedStorageEntry : CefSharp.DevTools.DevToolsDomainEntity /// /// Key /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (true))] + [DataMember(Name = ("key"), IsRequired = (true))] public string Key { get; @@ -24224,7 +24136,7 @@ public string Key /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -24241,7 +24153,7 @@ public partial class SharedStorageMetadata : CefSharp.DevTools.DevToolsDomainEnt /// /// CreationTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("creationTime"), IsRequired = (true))] + [DataMember(Name = ("creationTime"), IsRequired = (true))] public double CreationTime { get; @@ -24251,7 +24163,7 @@ public double CreationTime /// /// Length /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("length"), IsRequired = (true))] + [DataMember(Name = ("length"), IsRequired = (true))] public int Length { get; @@ -24261,7 +24173,7 @@ public int Length /// /// RemainingBudget /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("remainingBudget"), IsRequired = (true))] + [DataMember(Name = ("remainingBudget"), IsRequired = (true))] public double RemainingBudget { get; @@ -24278,7 +24190,7 @@ public partial class SharedStorageReportingMetadata : CefSharp.DevTools.DevTools /// /// EventType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventType"), IsRequired = (true))] + [DataMember(Name = ("eventType"), IsRequired = (true))] public string EventType { get; @@ -24288,7 +24200,7 @@ public string EventType /// /// ReportingUrl /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportingUrl"), IsRequired = (true))] + [DataMember(Name = ("reportingUrl"), IsRequired = (true))] public string ReportingUrl { get; @@ -24305,7 +24217,7 @@ public partial class SharedStorageUrlWithMetadata : CefSharp.DevTools.DevToolsDo /// /// Spec of candidate URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -24315,7 +24227,7 @@ public string Url /// /// Any associated reporting metadata. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reportingMetadata"), IsRequired = (true))] + [DataMember(Name = ("reportingMetadata"), IsRequired = (true))] public System.Collections.Generic.IList ReportingMetadata { get; @@ -24334,7 +24246,7 @@ public partial class SharedStorageAccessParams : CefSharp.DevTools.DevToolsDomai /// Spec of the module script URL. /// Present only for SharedStorageAccessType.documentAddModule. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptSourceUrl"), IsRequired = (false))] + [DataMember(Name = ("scriptSourceUrl"), IsRequired = (false))] public string ScriptSourceUrl { get; @@ -24346,7 +24258,7 @@ public string ScriptSourceUrl /// Present only for SharedStorageAccessType.documentRun and /// SharedStorageAccessType.documentSelectURL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("operationName"), IsRequired = (false))] + [DataMember(Name = ("operationName"), IsRequired = (false))] public string OperationName { get; @@ -24358,7 +24270,7 @@ public string OperationName /// Present only for SharedStorageAccessType.documentRun and /// SharedStorageAccessType.documentSelectURL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("serializedData"), IsRequired = (false))] + [DataMember(Name = ("serializedData"), IsRequired = (false))] public string SerializedData { get; @@ -24369,7 +24281,7 @@ public string SerializedData /// Array of candidate URLs' specs, along with any associated metadata. /// Present only for SharedStorageAccessType.documentSelectURL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urlsWithMetadata"), IsRequired = (false))] + [DataMember(Name = ("urlsWithMetadata"), IsRequired = (false))] public System.Collections.Generic.IList UrlsWithMetadata { get; @@ -24386,7 +24298,7 @@ public System.Collections.Generic.IList - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (false))] + [DataMember(Name = ("key"), IsRequired = (false))] public string Key { get; @@ -24400,7 +24312,7 @@ public string Key /// SharedStorageAccessType.workletSet, and /// SharedStorageAccessType.workletAppend. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public string Value { get; @@ -24412,7 +24324,7 @@ public string Value /// Present only for SharedStorageAccessType.documentSet and /// SharedStorageAccessType.workletSet. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ignoreIfPresent"), IsRequired = (false))] + [DataMember(Name = ("ignoreIfPresent"), IsRequired = (false))] public bool? IgnoreIfPresent { get; @@ -24429,7 +24341,7 @@ public class CacheStorageContentUpdatedEventArgs : CefSharp.DevTools.DevToolsDom /// /// Origin to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -24439,7 +24351,7 @@ public string Origin /// /// Storage key to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -24449,7 +24361,7 @@ public string StorageKey /// /// Name of cache in origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cacheName"), IsRequired = (true))] + [DataMember(Name = ("cacheName"), IsRequired = (true))] public string CacheName { get; @@ -24466,7 +24378,7 @@ public class CacheStorageListUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Origin to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -24476,7 +24388,7 @@ public string Origin /// /// Storage key to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -24493,7 +24405,7 @@ public class IndexedDBContentUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Origin to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -24503,7 +24415,7 @@ public string Origin /// /// Storage key to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -24513,7 +24425,7 @@ public string StorageKey /// /// Database to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("databaseName"), IsRequired = (true))] + [DataMember(Name = ("databaseName"), IsRequired = (true))] public string DatabaseName { get; @@ -24523,7 +24435,7 @@ public string DatabaseName /// /// ObjectStore to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectStoreName"), IsRequired = (true))] + [DataMember(Name = ("objectStoreName"), IsRequired = (true))] public string ObjectStoreName { get; @@ -24540,7 +24452,7 @@ public class IndexedDBListUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Origin to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -24550,7 +24462,7 @@ public string Origin /// /// Storage key to update. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + [DataMember(Name = ("storageKey"), IsRequired = (true))] public string StorageKey { get; @@ -24567,7 +24479,7 @@ public class InterestGroupAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// AccessTime /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("accessTime"), IsRequired = (true))] + [DataMember(Name = ("accessTime"), IsRequired = (true))] public double AccessTime { get; @@ -24593,7 +24505,7 @@ public CefSharp.DevTools.Storage.InterestGroupAccessType Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -24603,7 +24515,7 @@ internal string type /// /// OwnerOrigin /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerOrigin"), IsRequired = (true))] + [DataMember(Name = ("ownerOrigin"), IsRequired = (true))] public string OwnerOrigin { get; @@ -24613,7 +24525,7 @@ public string OwnerOrigin /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -24631,7 +24543,7 @@ public class SharedStorageAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Time of the access. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("accessTime"), IsRequired = (true))] + [DataMember(Name = ("accessTime"), IsRequired = (true))] public double AccessTime { get; @@ -24657,7 +24569,7 @@ public CefSharp.DevTools.Storage.SharedStorageAccessType Type /// /// Enum value indicating the Shared Storage API method invoked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -24667,7 +24579,7 @@ internal string type /// /// DevTools Frame Token for the primary frame tree's root. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("mainFrameId"), IsRequired = (true))] + [DataMember(Name = ("mainFrameId"), IsRequired = (true))] public string MainFrameId { get; @@ -24677,7 +24589,7 @@ public string MainFrameId /// /// Serialized origin for the context that invoked the Shared Storage API. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerOrigin"), IsRequired = (true))] + [DataMember(Name = ("ownerOrigin"), IsRequired = (true))] public string OwnerOrigin { get; @@ -24688,7 +24600,7 @@ public string OwnerOrigin /// The sub-parameters warapped by `params` are all optional and their /// presence/absence depends on `type`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("params"), IsRequired = (true))] + [DataMember(Name = ("params"), IsRequired = (true))] public CefSharp.DevTools.Storage.SharedStorageAccessParams Params { get; @@ -24708,7 +24620,7 @@ public partial class GPUDevice : CefSharp.DevTools.DevToolsDomainEntityBase /// /// PCI ID of the GPU vendor, if available; 0 otherwise. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("vendorId"), IsRequired = (true))] + [DataMember(Name = ("vendorId"), IsRequired = (true))] public double VendorId { get; @@ -24718,7 +24630,7 @@ public double VendorId /// /// PCI ID of the GPU device, if available; 0 otherwise. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceId"), IsRequired = (true))] + [DataMember(Name = ("deviceId"), IsRequired = (true))] public double DeviceId { get; @@ -24728,7 +24640,7 @@ public double DeviceId /// /// Sub sys ID of the GPU, only available on Windows. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subSysId"), IsRequired = (false))] + [DataMember(Name = ("subSysId"), IsRequired = (false))] public double? SubSysId { get; @@ -24738,7 +24650,7 @@ public double? SubSysId /// /// Revision of the GPU, only available on Windows. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("revision"), IsRequired = (false))] + [DataMember(Name = ("revision"), IsRequired = (false))] public double? Revision { get; @@ -24748,7 +24660,7 @@ public double? Revision /// /// String description of the GPU vendor, if the PCI ID is not available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("vendorString"), IsRequired = (true))] + [DataMember(Name = ("vendorString"), IsRequired = (true))] public string VendorString { get; @@ -24758,7 +24670,7 @@ public string VendorString /// /// String description of the GPU device, if the PCI ID is not available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceString"), IsRequired = (true))] + [DataMember(Name = ("deviceString"), IsRequired = (true))] public string DeviceString { get; @@ -24768,7 +24680,7 @@ public string DeviceString /// /// String description of the GPU driver vendor. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("driverVendor"), IsRequired = (true))] + [DataMember(Name = ("driverVendor"), IsRequired = (true))] public string DriverVendor { get; @@ -24778,7 +24690,7 @@ public string DriverVendor /// /// String description of the GPU driver version. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("driverVersion"), IsRequired = (true))] + [DataMember(Name = ("driverVersion"), IsRequired = (true))] public string DriverVersion { get; @@ -24795,7 +24707,7 @@ public partial class Size : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Width in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))] + [DataMember(Name = ("width"), IsRequired = (true))] public int Width { get; @@ -24805,7 +24717,7 @@ public int Width /// /// Height in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))] + [DataMember(Name = ("height"), IsRequired = (true))] public int Height { get; @@ -24823,7 +24735,7 @@ public partial class VideoDecodeAcceleratorCapability : CefSharp.DevTools.DevToo /// /// Video codec profile that is supported, e.g. VP9 Profile 2. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("profile"), IsRequired = (true))] + [DataMember(Name = ("profile"), IsRequired = (true))] public string Profile { get; @@ -24833,7 +24745,7 @@ public string Profile /// /// Maximum video dimensions in pixels supported for this |profile|. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxResolution"), IsRequired = (true))] + [DataMember(Name = ("maxResolution"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MaxResolution { get; @@ -24843,7 +24755,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxResolution /// /// Minimum video dimensions in pixels supported for this |profile|. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("minResolution"), IsRequired = (true))] + [DataMember(Name = ("minResolution"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MinResolution { get; @@ -24861,7 +24773,7 @@ public partial class VideoEncodeAcceleratorCapability : CefSharp.DevTools.DevToo /// /// Video codec profile that is supported, e.g H264 Main. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("profile"), IsRequired = (true))] + [DataMember(Name = ("profile"), IsRequired = (true))] public string Profile { get; @@ -24871,7 +24783,7 @@ public string Profile /// /// Maximum video dimensions in pixels supported for this |profile|. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxResolution"), IsRequired = (true))] + [DataMember(Name = ("maxResolution"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MaxResolution { get; @@ -24883,7 +24795,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxResolution /// |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, /// 24000/1001 fps, etc. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxFramerateNumerator"), IsRequired = (true))] + [DataMember(Name = ("maxFramerateNumerator"), IsRequired = (true))] public int MaxFramerateNumerator { get; @@ -24893,7 +24805,7 @@ public int MaxFramerateNumerator /// /// MaxFramerateDenominator /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxFramerateDenominator"), IsRequired = (true))] + [DataMember(Name = ("maxFramerateDenominator"), IsRequired = (true))] public int MaxFramerateDenominator { get; @@ -24909,17 +24821,17 @@ public enum SubsamplingFormat /// /// yuv420 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("yuv420"))] + [EnumMember(Value = ("yuv420"))] Yuv420, /// /// yuv422 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("yuv422"))] + [EnumMember(Value = ("yuv422"))] Yuv422, /// /// yuv444 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("yuv444"))] + [EnumMember(Value = ("yuv444"))] Yuv444 } @@ -24931,17 +24843,17 @@ public enum ImageType /// /// jpeg /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jpeg"))] + [EnumMember(Value = ("jpeg"))] Jpeg, /// /// webp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] + [EnumMember(Value = ("webp"))] Webp, /// /// unknown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unknown"))] + [EnumMember(Value = ("unknown"))] Unknown } @@ -24971,7 +24883,7 @@ public CefSharp.DevTools.SystemInfo.ImageType ImageType /// /// Image coded, e.g. Jpeg. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("imageType"), IsRequired = (true))] + [DataMember(Name = ("imageType"), IsRequired = (true))] internal string imageType { get; @@ -24981,7 +24893,7 @@ internal string imageType /// /// Maximum supported dimensions of the image in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxDimensions"), IsRequired = (true))] + [DataMember(Name = ("maxDimensions"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MaxDimensions { get; @@ -24991,7 +24903,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxDimensions /// /// Minimum supported dimensions of the image in pixels. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("minDimensions"), IsRequired = (true))] + [DataMember(Name = ("minDimensions"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MinDimensions { get; @@ -25017,7 +24929,7 @@ public CefSharp.DevTools.SystemInfo.SubsamplingFormat[] Subsamplings /// /// Optional array of supported subsampling formats, e.g. 4:2:0, if known. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subsamplings"), IsRequired = (true))] + [DataMember(Name = ("subsamplings"), IsRequired = (true))] internal string subsamplings { get; @@ -25034,7 +24946,7 @@ public partial class GPUInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The graphics devices on the system. Element 0 is the primary GPU. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("devices"), IsRequired = (true))] + [DataMember(Name = ("devices"), IsRequired = (true))] public System.Collections.Generic.IList Devices { get; @@ -25044,7 +24956,7 @@ public System.Collections.Generic.IList /// /// An optional dictionary of additional GPU related attributes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("auxAttributes"), IsRequired = (false))] + [DataMember(Name = ("auxAttributes"), IsRequired = (false))] public object AuxAttributes { get; @@ -25054,7 +24966,7 @@ public object AuxAttributes /// /// An optional dictionary of graphics features and their status. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("featureStatus"), IsRequired = (false))] + [DataMember(Name = ("featureStatus"), IsRequired = (false))] public object FeatureStatus { get; @@ -25064,7 +24976,7 @@ public object FeatureStatus /// /// An optional array of GPU driver bug workarounds. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("driverBugWorkarounds"), IsRequired = (true))] + [DataMember(Name = ("driverBugWorkarounds"), IsRequired = (true))] public string[] DriverBugWorkarounds { get; @@ -25074,7 +24986,7 @@ public string[] DriverBugWorkarounds /// /// Supported accelerated video decoding capabilities. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("videoDecoding"), IsRequired = (true))] + [DataMember(Name = ("videoDecoding"), IsRequired = (true))] public System.Collections.Generic.IList VideoDecoding { get; @@ -25084,7 +24996,7 @@ public System.Collections.Generic.IList /// Supported accelerated video encoding capabilities. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("videoEncoding"), IsRequired = (true))] + [DataMember(Name = ("videoEncoding"), IsRequired = (true))] public System.Collections.Generic.IList VideoEncoding { get; @@ -25094,7 +25006,7 @@ public System.Collections.Generic.IList /// Supported accelerated image decoding capabilities. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("imageDecoding"), IsRequired = (true))] + [DataMember(Name = ("imageDecoding"), IsRequired = (true))] public System.Collections.Generic.IList ImageDecoding { get; @@ -25111,7 +25023,7 @@ public partial class ProcessInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Specifies process type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] public string Type { get; @@ -25121,7 +25033,7 @@ public string Type /// /// Specifies process id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public int Id { get; @@ -25132,7 +25044,7 @@ public int Id /// Specifies cumulative CPU usage in seconds across all threads of the /// process since the process start. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cpuTime"), IsRequired = (true))] + [DataMember(Name = ("cpuTime"), IsRequired = (true))] public double CpuTime { get; @@ -25152,7 +25064,7 @@ public partial class TargetInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// TargetId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (true))] + [DataMember(Name = ("targetId"), IsRequired = (true))] public string TargetId { get; @@ -25162,7 +25074,7 @@ public string TargetId /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] public string Type { get; @@ -25172,7 +25084,7 @@ public string Type /// /// Title /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (true))] + [DataMember(Name = ("title"), IsRequired = (true))] public string Title { get; @@ -25182,7 +25094,7 @@ public string Title /// /// Url /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -25192,7 +25104,7 @@ public string Url /// /// Whether the target has an attached client. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("attached"), IsRequired = (true))] + [DataMember(Name = ("attached"), IsRequired = (true))] public bool Attached { get; @@ -25202,7 +25114,7 @@ public bool Attached /// /// Opener target Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("openerId"), IsRequired = (false))] + [DataMember(Name = ("openerId"), IsRequired = (false))] public string OpenerId { get; @@ -25212,7 +25124,7 @@ public string OpenerId /// /// Whether the target has access to the originating window. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("canAccessOpener"), IsRequired = (true))] + [DataMember(Name = ("canAccessOpener"), IsRequired = (true))] public bool CanAccessOpener { get; @@ -25222,7 +25134,7 @@ public bool CanAccessOpener /// /// Frame id of originating window (is only set if target has an opener). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("openerFrameId"), IsRequired = (false))] + [DataMember(Name = ("openerFrameId"), IsRequired = (false))] public string OpenerFrameId { get; @@ -25232,7 +25144,7 @@ public string OpenerFrameId /// /// BrowserContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("browserContextId"), IsRequired = (false))] + [DataMember(Name = ("browserContextId"), IsRequired = (false))] public string BrowserContextId { get; @@ -25243,7 +25155,7 @@ public string BrowserContextId /// Provides additional details for specific target types. For example, for /// the type of "page", this may be set to "portal" or "prerender". /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] + [DataMember(Name = ("subtype"), IsRequired = (false))] public string Subtype { get; @@ -25260,7 +25172,7 @@ public partial class FilterEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// If set, causes exclusion of mathcing targets from the list. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exclude"), IsRequired = (false))] + [DataMember(Name = ("exclude"), IsRequired = (false))] public bool? Exclude { get; @@ -25270,7 +25182,7 @@ public bool? Exclude /// /// If not present, matches any type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (false))] + [DataMember(Name = ("type"), IsRequired = (false))] public string Type { get; @@ -25287,7 +25199,7 @@ public partial class RemoteLocation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Host /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("host"), IsRequired = (true))] + [DataMember(Name = ("host"), IsRequired = (true))] public string Host { get; @@ -25297,7 +25209,7 @@ public string Host /// /// Port /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("port"), IsRequired = (true))] + [DataMember(Name = ("port"), IsRequired = (true))] public int Port { get; @@ -25314,7 +25226,7 @@ public class AttachedToTargetEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Identifier assigned to the session used to send/receive messages. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sessionId"), IsRequired = (true))] + [DataMember(Name = ("sessionId"), IsRequired = (true))] public string SessionId { get; @@ -25324,7 +25236,7 @@ public string SessionId /// /// TargetInfo /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetInfo"), IsRequired = (true))] + [DataMember(Name = ("targetInfo"), IsRequired = (true))] public CefSharp.DevTools.Target.TargetInfo TargetInfo { get; @@ -25334,7 +25246,7 @@ public CefSharp.DevTools.Target.TargetInfo TargetInfo /// /// WaitingForDebugger /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("waitingForDebugger"), IsRequired = (true))] + [DataMember(Name = ("waitingForDebugger"), IsRequired = (true))] public bool WaitingForDebugger { get; @@ -25352,7 +25264,7 @@ public class DetachedFromTargetEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Detached session identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sessionId"), IsRequired = (true))] + [DataMember(Name = ("sessionId"), IsRequired = (true))] public string SessionId { get; @@ -25362,7 +25274,7 @@ public string SessionId /// /// Deprecated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (false))] + [DataMember(Name = ("targetId"), IsRequired = (false))] public string TargetId { get; @@ -25380,7 +25292,7 @@ public class ReceivedMessageFromTargetEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Identifier of a session which sends a message. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sessionId"), IsRequired = (true))] + [DataMember(Name = ("sessionId"), IsRequired = (true))] public string SessionId { get; @@ -25390,7 +25302,7 @@ public string SessionId /// /// Message /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -25400,7 +25312,7 @@ public string Message /// /// Deprecated. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (false))] + [DataMember(Name = ("targetId"), IsRequired = (false))] public string TargetId { get; @@ -25417,7 +25329,7 @@ public class TargetCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// TargetInfo /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetInfo"), IsRequired = (true))] + [DataMember(Name = ("targetInfo"), IsRequired = (true))] public CefSharp.DevTools.Target.TargetInfo TargetInfo { get; @@ -25434,7 +25346,7 @@ public class TargetDestroyedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// TargetId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (true))] + [DataMember(Name = ("targetId"), IsRequired = (true))] public string TargetId { get; @@ -25451,7 +25363,7 @@ public class TargetCrashedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// TargetId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetId"), IsRequired = (true))] + [DataMember(Name = ("targetId"), IsRequired = (true))] public string TargetId { get; @@ -25461,7 +25373,7 @@ public string TargetId /// /// Termination status type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] + [DataMember(Name = ("status"), IsRequired = (true))] public string Status { get; @@ -25471,7 +25383,7 @@ public string Status /// /// Termination error code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorCode"), IsRequired = (true))] + [DataMember(Name = ("errorCode"), IsRequired = (true))] public int ErrorCode { get; @@ -25489,7 +25401,7 @@ public class TargetInfoChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// TargetInfo /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetInfo"), IsRequired = (true))] + [DataMember(Name = ("targetInfo"), IsRequired = (true))] public CefSharp.DevTools.Target.TargetInfo TargetInfo { get; @@ -25509,7 +25421,7 @@ public class AcceptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Port number that was successfully bound. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("port"), IsRequired = (true))] + [DataMember(Name = ("port"), IsRequired = (true))] public int Port { get; @@ -25519,7 +25431,7 @@ public int Port /// /// Connection id to be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("connectionId"), IsRequired = (true))] + [DataMember(Name = ("connectionId"), IsRequired = (true))] public string ConnectionId { get; @@ -25538,22 +25450,22 @@ public enum TraceConfigRecordMode /// /// recordUntilFull /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("recordUntilFull"))] + [EnumMember(Value = ("recordUntilFull"))] RecordUntilFull, /// /// recordContinuously /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("recordContinuously"))] + [EnumMember(Value = ("recordContinuously"))] RecordContinuously, /// /// recordAsMuchAsPossible /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("recordAsMuchAsPossible"))] + [EnumMember(Value = ("recordAsMuchAsPossible"))] RecordAsMuchAsPossible, /// /// echoToConsole /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("echoToConsole"))] + [EnumMember(Value = ("echoToConsole"))] EchoToConsole } @@ -25582,7 +25494,7 @@ public CefSharp.DevTools.Tracing.TraceConfigRecordMode? RecordMode /// /// Controls how the trace buffer stores data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("recordMode"), IsRequired = (false))] + [DataMember(Name = ("recordMode"), IsRequired = (false))] internal string recordMode { get; @@ -25593,7 +25505,7 @@ internal string recordMode /// Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value /// of 200 MB would be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("traceBufferSizeInKb"), IsRequired = (false))] + [DataMember(Name = ("traceBufferSizeInKb"), IsRequired = (false))] public double? TraceBufferSizeInKb { get; @@ -25603,7 +25515,7 @@ public double? TraceBufferSizeInKb /// /// Turns on JavaScript stack sampling. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("enableSampling"), IsRequired = (false))] + [DataMember(Name = ("enableSampling"), IsRequired = (false))] public bool? EnableSampling { get; @@ -25613,7 +25525,7 @@ public bool? EnableSampling /// /// Turns on system tracing. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("enableSystrace"), IsRequired = (false))] + [DataMember(Name = ("enableSystrace"), IsRequired = (false))] public bool? EnableSystrace { get; @@ -25623,7 +25535,7 @@ public bool? EnableSystrace /// /// Turns on argument filter. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("enableArgumentFilter"), IsRequired = (false))] + [DataMember(Name = ("enableArgumentFilter"), IsRequired = (false))] public bool? EnableArgumentFilter { get; @@ -25633,7 +25545,7 @@ public bool? EnableArgumentFilter /// /// Included category filters. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("includedCategories"), IsRequired = (false))] + [DataMember(Name = ("includedCategories"), IsRequired = (false))] public string[] IncludedCategories { get; @@ -25643,7 +25555,7 @@ public string[] IncludedCategories /// /// Excluded category filters. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("excludedCategories"), IsRequired = (false))] + [DataMember(Name = ("excludedCategories"), IsRequired = (false))] public string[] ExcludedCategories { get; @@ -25653,7 +25565,7 @@ public string[] ExcludedCategories /// /// Configuration to synthesize the delays in tracing. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("syntheticDelays"), IsRequired = (false))] + [DataMember(Name = ("syntheticDelays"), IsRequired = (false))] public string[] SyntheticDelays { get; @@ -25663,7 +25575,7 @@ public string[] SyntheticDelays /// /// Configuration for memory dump triggers. Used only when "memory-infra" category is enabled. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("memoryDumpConfig"), IsRequired = (false))] + [DataMember(Name = ("memoryDumpConfig"), IsRequired = (false))] public CefSharp.DevTools.Tracing.MemoryDumpConfig MemoryDumpConfig { get; @@ -25680,12 +25592,12 @@ public enum StreamFormat /// /// json /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("json"))] + [EnumMember(Value = ("json"))] Json, /// /// proto /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("proto"))] + [EnumMember(Value = ("proto"))] Proto } @@ -25697,12 +25609,12 @@ public enum StreamCompression /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// gzip /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("gzip"))] + [EnumMember(Value = ("gzip"))] Gzip } @@ -25716,17 +25628,17 @@ public enum MemoryDumpLevelOfDetail /// /// background /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("background"))] + [EnumMember(Value = ("background"))] Background, /// /// light /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("light"))] + [EnumMember(Value = ("light"))] Light, /// /// detailed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("detailed"))] + [EnumMember(Value = ("detailed"))] Detailed } @@ -25742,17 +25654,17 @@ public enum TracingBackend /// /// auto /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("auto"))] + [EnumMember(Value = ("auto"))] Auto, /// /// chrome /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("chrome"))] + [EnumMember(Value = ("chrome"))] Chrome, /// /// system /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("system"))] + [EnumMember(Value = ("system"))] System } @@ -25766,7 +25678,7 @@ public class BufferUsageEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBas /// A number in range [0..1] that indicates the used size of event buffer as a fraction of its /// total size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("percentFull"), IsRequired = (false))] + [DataMember(Name = ("percentFull"), IsRequired = (false))] public double? PercentFull { get; @@ -25776,7 +25688,7 @@ public double? PercentFull /// /// An approximate number of events in the trace log. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("eventCount"), IsRequired = (false))] + [DataMember(Name = ("eventCount"), IsRequired = (false))] public double? EventCount { get; @@ -25787,7 +25699,7 @@ public double? EventCount /// A number in range [0..1] that indicates the used size of event buffer as a fraction of its /// total size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public double? Value { get; @@ -25805,7 +25717,7 @@ public class DataCollectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public System.Collections.Generic.IList Value { get; @@ -25824,7 +25736,7 @@ public class TracingCompleteEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// Indicates whether some trace data is known to have been lost, e.g. because the trace ring /// buffer wrapped around. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("dataLossOccurred"), IsRequired = (true))] + [DataMember(Name = ("dataLossOccurred"), IsRequired = (true))] public bool DataLossOccurred { get; @@ -25834,7 +25746,7 @@ public bool DataLossOccurred /// /// A handle of the stream that holds resulting trace data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stream"), IsRequired = (false))] + [DataMember(Name = ("stream"), IsRequired = (false))] public string Stream { get; @@ -25860,7 +25772,7 @@ public CefSharp.DevTools.Tracing.StreamFormat? TraceFormat /// /// Trace data format of returned stream. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("traceFormat"), IsRequired = (false))] + [DataMember(Name = ("traceFormat"), IsRequired = (false))] internal string traceFormat { get; @@ -25886,7 +25798,7 @@ public CefSharp.DevTools.Tracing.StreamCompression? StreamCompression /// /// Compression format of returned stream. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("streamCompression"), IsRequired = (false))] + [DataMember(Name = ("streamCompression"), IsRequired = (false))] internal string streamCompression { get; @@ -25907,12 +25819,12 @@ public enum RequestStage /// /// Request /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Request"))] + [EnumMember(Value = ("Request"))] Request, /// /// Response /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Response"))] + [EnumMember(Value = ("Response"))] Response } @@ -25926,7 +25838,7 @@ public partial class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase /// Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is /// backslash. Omitting is equivalent to `"*"`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("urlPattern"), IsRequired = (false))] + [DataMember(Name = ("urlPattern"), IsRequired = (false))] public string UrlPattern { get; @@ -25952,7 +25864,7 @@ public CefSharp.DevTools.Network.ResourceType? ResourceType /// /// If set, only requests for matching resource types will be intercepted. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (false))] + [DataMember(Name = ("resourceType"), IsRequired = (false))] internal string resourceType { get; @@ -25978,7 +25890,7 @@ public CefSharp.DevTools.Fetch.RequestStage? RequestStage /// /// Stage at which to begin intercepting requests. Default is Request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestStage"), IsRequired = (false))] + [DataMember(Name = ("requestStage"), IsRequired = (false))] internal string requestStage { get; @@ -25995,7 +25907,7 @@ public partial class HeaderEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -26005,7 +25917,7 @@ public string Name /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -26021,12 +25933,12 @@ public enum AuthChallengeSource /// /// Server /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Server"))] + [EnumMember(Value = ("Server"))] Server, /// /// Proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Proxy"))] + [EnumMember(Value = ("Proxy"))] Proxy } @@ -26055,7 +25967,7 @@ public CefSharp.DevTools.Fetch.AuthChallengeSource? Source /// /// Source of the authentication challenge. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("source"), IsRequired = (false))] + [DataMember(Name = ("source"), IsRequired = (false))] internal string source { get; @@ -26065,7 +25977,7 @@ internal string source /// /// Origin of the challenger. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -26075,7 +25987,7 @@ public string Origin /// /// The authentication scheme used, such as basic or digest /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scheme"), IsRequired = (true))] + [DataMember(Name = ("scheme"), IsRequired = (true))] public string Scheme { get; @@ -26085,7 +25997,7 @@ public string Scheme /// /// The realm of the challenge. May be empty. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("realm"), IsRequired = (true))] + [DataMember(Name = ("realm"), IsRequired = (true))] public string Realm { get; @@ -26103,17 +26015,17 @@ public enum AuthChallengeResponseResponse /// /// Default /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Default"))] + [EnumMember(Value = ("Default"))] Default, /// /// CancelAuth /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CancelAuth"))] + [EnumMember(Value = ("CancelAuth"))] CancelAuth, /// /// ProvideCredentials /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ProvideCredentials"))] + [EnumMember(Value = ("ProvideCredentials"))] ProvideCredentials } @@ -26146,7 +26058,7 @@ public CefSharp.DevTools.Fetch.AuthChallengeResponseResponse Response /// deferring to the default behavior of the net stack, which will likely either the Cancel /// authentication or display a popup dialog box. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("response"), IsRequired = (true))] + [DataMember(Name = ("response"), IsRequired = (true))] internal string response { get; @@ -26157,7 +26069,7 @@ internal string response /// The username to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("username"), IsRequired = (false))] + [DataMember(Name = ("username"), IsRequired = (false))] public string Username { get; @@ -26168,7 +26080,7 @@ public string Username /// The password to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("password"), IsRequired = (false))] + [DataMember(Name = ("password"), IsRequired = (false))] public string Password { get; @@ -26190,7 +26102,7 @@ public class RequestPausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Each request the page makes will have a unique id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -26200,7 +26112,7 @@ public string RequestId /// /// The details of the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Network.Request Request { get; @@ -26210,7 +26122,7 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -26236,7 +26148,7 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// /// How the requested resource will be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (true))] + [DataMember(Name = ("resourceType"), IsRequired = (true))] internal string resourceType { get; @@ -26262,7 +26174,7 @@ public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason /// /// Response error if intercepted at response stage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseErrorReason"), IsRequired = (false))] + [DataMember(Name = ("responseErrorReason"), IsRequired = (false))] internal string responseErrorReason { get; @@ -26272,7 +26184,7 @@ internal string responseErrorReason /// /// Response code if intercepted at response stage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseStatusCode"), IsRequired = (false))] + [DataMember(Name = ("responseStatusCode"), IsRequired = (false))] public int? ResponseStatusCode { get; @@ -26282,7 +26194,7 @@ public int? ResponseStatusCode /// /// Response status text if intercepted at response stage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseStatusText"), IsRequired = (false))] + [DataMember(Name = ("responseStatusText"), IsRequired = (false))] public string ResponseStatusText { get; @@ -26292,7 +26204,7 @@ public string ResponseStatusText /// /// Response headers if intercepted at the response stage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("responseHeaders"), IsRequired = (false))] + [DataMember(Name = ("responseHeaders"), IsRequired = (false))] public System.Collections.Generic.IList ResponseHeaders { get; @@ -26303,7 +26215,7 @@ public System.Collections.Generic.IList Res /// If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, /// then this networkId will be the same as the requestId present in the requestWillBeSent event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("networkId"), IsRequired = (false))] + [DataMember(Name = ("networkId"), IsRequired = (false))] public string NetworkId { get; @@ -26314,7 +26226,7 @@ public string NetworkId /// If the request is due to a redirect response from the server, the id of the request that /// has caused the redirect. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectedRequestId"), IsRequired = (false))] + [DataMember(Name = ("redirectedRequestId"), IsRequired = (false))] public string RedirectedRequestId { get; @@ -26332,7 +26244,7 @@ public class AuthRequiredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Each request the page makes will have a unique id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))] + [DataMember(Name = ("requestId"), IsRequired = (true))] public string RequestId { get; @@ -26342,7 +26254,7 @@ public string RequestId /// /// The details of the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("request"), IsRequired = (true))] + [DataMember(Name = ("request"), IsRequired = (true))] public CefSharp.DevTools.Network.Request Request { get; @@ -26352,7 +26264,7 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] + [DataMember(Name = ("frameId"), IsRequired = (true))] public string FrameId { get; @@ -26378,7 +26290,7 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// /// How the requested resource will be used. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resourceType"), IsRequired = (true))] + [DataMember(Name = ("resourceType"), IsRequired = (true))] internal string resourceType { get; @@ -26390,7 +26302,7 @@ internal string resourceType /// If this is set, client should respond with continueRequest that /// contains AuthChallengeResponse. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("authChallenge"), IsRequired = (true))] + [DataMember(Name = ("authChallenge"), IsRequired = (true))] public CefSharp.DevTools.Fetch.AuthChallenge AuthChallenge { get; @@ -26409,12 +26321,12 @@ public enum ContextType /// /// realtime /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("realtime"))] + [EnumMember(Value = ("realtime"))] Realtime, /// /// offline /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("offline"))] + [EnumMember(Value = ("offline"))] Offline } @@ -26426,17 +26338,17 @@ public enum ContextState /// /// suspended /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("suspended"))] + [EnumMember(Value = ("suspended"))] Suspended, /// /// running /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("running"))] + [EnumMember(Value = ("running"))] Running, /// /// closed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("closed"))] + [EnumMember(Value = ("closed"))] Closed } @@ -26448,17 +26360,17 @@ public enum ChannelCountMode /// /// clamped-max /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clamped-max"))] + [EnumMember(Value = ("clamped-max"))] ClampedMax, /// /// explicit /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("explicit"))] + [EnumMember(Value = ("explicit"))] Explicit, /// /// max /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("max"))] + [EnumMember(Value = ("max"))] Max } @@ -26470,12 +26382,12 @@ public enum ChannelInterpretation /// /// discrete /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("discrete"))] + [EnumMember(Value = ("discrete"))] Discrete, /// /// speakers /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("speakers"))] + [EnumMember(Value = ("speakers"))] Speakers } @@ -26487,12 +26399,12 @@ public enum AutomationRate /// /// a-rate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("a-rate"))] + [EnumMember(Value = ("a-rate"))] ARate, /// /// k-rate /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("k-rate"))] + [EnumMember(Value = ("k-rate"))] KRate } @@ -26505,7 +26417,7 @@ public partial class ContextRealtimeData : CefSharp.DevTools.DevToolsDomainEntit /// /// The current context time in second in BaseAudioContext. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("currentTime"), IsRequired = (true))] + [DataMember(Name = ("currentTime"), IsRequired = (true))] public double CurrentTime { get; @@ -26517,7 +26429,7 @@ public double CurrentTime /// and multiplied by 100. 100 means the audio renderer reached the full /// capacity and glitch may occur. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("renderCapacity"), IsRequired = (true))] + [DataMember(Name = ("renderCapacity"), IsRequired = (true))] public double RenderCapacity { get; @@ -26527,7 +26439,7 @@ public double RenderCapacity /// /// A running mean of callback interval. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callbackIntervalMean"), IsRequired = (true))] + [DataMember(Name = ("callbackIntervalMean"), IsRequired = (true))] public double CallbackIntervalMean { get; @@ -26537,7 +26449,7 @@ public double CallbackIntervalMean /// /// A running variance of callback interval. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callbackIntervalVariance"), IsRequired = (true))] + [DataMember(Name = ("callbackIntervalVariance"), IsRequired = (true))] public double CallbackIntervalVariance { get; @@ -26554,7 +26466,7 @@ public partial class BaseAudioContext : CefSharp.DevTools.DevToolsDomainEntityBa /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26580,7 +26492,7 @@ public CefSharp.DevTools.WebAudio.ContextType ContextType /// /// ContextType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextType"), IsRequired = (true))] + [DataMember(Name = ("contextType"), IsRequired = (true))] internal string contextType { get; @@ -26606,7 +26518,7 @@ public CefSharp.DevTools.WebAudio.ContextState ContextState /// /// ContextState /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextState"), IsRequired = (true))] + [DataMember(Name = ("contextState"), IsRequired = (true))] internal string contextState { get; @@ -26616,7 +26528,7 @@ internal string contextState /// /// RealtimeData /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("realtimeData"), IsRequired = (false))] + [DataMember(Name = ("realtimeData"), IsRequired = (false))] public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData { get; @@ -26626,7 +26538,7 @@ public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData /// /// Platform-dependent callback buffer size. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callbackBufferSize"), IsRequired = (true))] + [DataMember(Name = ("callbackBufferSize"), IsRequired = (true))] public double CallbackBufferSize { get; @@ -26636,7 +26548,7 @@ public double CallbackBufferSize /// /// Number of output channels supported by audio hardware in use. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxOutputChannelCount"), IsRequired = (true))] + [DataMember(Name = ("maxOutputChannelCount"), IsRequired = (true))] public double MaxOutputChannelCount { get; @@ -26646,7 +26558,7 @@ public double MaxOutputChannelCount /// /// Context sample rate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sampleRate"), IsRequired = (true))] + [DataMember(Name = ("sampleRate"), IsRequired = (true))] public double SampleRate { get; @@ -26663,7 +26575,7 @@ public partial class AudioListener : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ListenerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("listenerId"), IsRequired = (true))] + [DataMember(Name = ("listenerId"), IsRequired = (true))] public string ListenerId { get; @@ -26673,7 +26585,7 @@ public string ListenerId /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26690,7 +26602,7 @@ public partial class AudioNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public string NodeId { get; @@ -26700,7 +26612,7 @@ public string NodeId /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26710,7 +26622,7 @@ public string ContextId /// /// NodeType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeType"), IsRequired = (true))] + [DataMember(Name = ("nodeType"), IsRequired = (true))] public string NodeType { get; @@ -26720,7 +26632,7 @@ public string NodeType /// /// NumberOfInputs /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("numberOfInputs"), IsRequired = (true))] + [DataMember(Name = ("numberOfInputs"), IsRequired = (true))] public double NumberOfInputs { get; @@ -26730,7 +26642,7 @@ public double NumberOfInputs /// /// NumberOfOutputs /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("numberOfOutputs"), IsRequired = (true))] + [DataMember(Name = ("numberOfOutputs"), IsRequired = (true))] public double NumberOfOutputs { get; @@ -26740,7 +26652,7 @@ public double NumberOfOutputs /// /// ChannelCount /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("channelCount"), IsRequired = (true))] + [DataMember(Name = ("channelCount"), IsRequired = (true))] public double ChannelCount { get; @@ -26766,7 +26678,7 @@ public CefSharp.DevTools.WebAudio.ChannelCountMode ChannelCountMode /// /// ChannelCountMode /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("channelCountMode"), IsRequired = (true))] + [DataMember(Name = ("channelCountMode"), IsRequired = (true))] internal string channelCountMode { get; @@ -26792,7 +26704,7 @@ public CefSharp.DevTools.WebAudio.ChannelInterpretation ChannelInterpretation /// /// ChannelInterpretation /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("channelInterpretation"), IsRequired = (true))] + [DataMember(Name = ("channelInterpretation"), IsRequired = (true))] internal string channelInterpretation { get; @@ -26809,7 +26721,7 @@ public partial class AudioParam : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ParamId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paramId"), IsRequired = (true))] + [DataMember(Name = ("paramId"), IsRequired = (true))] public string ParamId { get; @@ -26819,7 +26731,7 @@ public string ParamId /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public string NodeId { get; @@ -26829,7 +26741,7 @@ public string NodeId /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26839,7 +26751,7 @@ public string ContextId /// /// ParamType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paramType"), IsRequired = (true))] + [DataMember(Name = ("paramType"), IsRequired = (true))] public string ParamType { get; @@ -26865,7 +26777,7 @@ public CefSharp.DevTools.WebAudio.AutomationRate Rate /// /// Rate /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rate"), IsRequired = (true))] + [DataMember(Name = ("rate"), IsRequired = (true))] internal string rate { get; @@ -26875,7 +26787,7 @@ internal string rate /// /// DefaultValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("defaultValue"), IsRequired = (true))] + [DataMember(Name = ("defaultValue"), IsRequired = (true))] public double DefaultValue { get; @@ -26885,7 +26797,7 @@ public double DefaultValue /// /// MinValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("minValue"), IsRequired = (true))] + [DataMember(Name = ("minValue"), IsRequired = (true))] public double MinValue { get; @@ -26895,7 +26807,7 @@ public double MinValue /// /// MaxValue /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxValue"), IsRequired = (true))] + [DataMember(Name = ("maxValue"), IsRequired = (true))] public double MaxValue { get; @@ -26912,7 +26824,7 @@ public class ContextCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Context /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("context"), IsRequired = (true))] + [DataMember(Name = ("context"), IsRequired = (true))] public CefSharp.DevTools.WebAudio.BaseAudioContext Context { get; @@ -26929,7 +26841,7 @@ public class ContextWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26946,7 +26858,7 @@ public class ContextChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Context /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("context"), IsRequired = (true))] + [DataMember(Name = ("context"), IsRequired = (true))] public CefSharp.DevTools.WebAudio.BaseAudioContext Context { get; @@ -26963,7 +26875,7 @@ public class AudioListenerCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Listener /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("listener"), IsRequired = (true))] + [DataMember(Name = ("listener"), IsRequired = (true))] public CefSharp.DevTools.WebAudio.AudioListener Listener { get; @@ -26980,7 +26892,7 @@ public class AudioListenerWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsD /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -26990,7 +26902,7 @@ public string ContextId /// /// ListenerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("listenerId"), IsRequired = (true))] + [DataMember(Name = ("listenerId"), IsRequired = (true))] public string ListenerId { get; @@ -27007,7 +26919,7 @@ public class AudioNodeCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Node /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("node"), IsRequired = (true))] + [DataMember(Name = ("node"), IsRequired = (true))] public CefSharp.DevTools.WebAudio.AudioNode Node { get; @@ -27024,7 +26936,7 @@ public class AudioNodeWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDomai /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27034,7 +26946,7 @@ public string ContextId /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public string NodeId { get; @@ -27051,7 +26963,7 @@ public class AudioParamCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Param /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("param"), IsRequired = (true))] + [DataMember(Name = ("param"), IsRequired = (true))] public CefSharp.DevTools.WebAudio.AudioParam Param { get; @@ -27068,7 +26980,7 @@ public class AudioParamWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27078,7 +26990,7 @@ public string ContextId /// /// NodeId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public string NodeId { get; @@ -27088,7 +27000,7 @@ public string NodeId /// /// ParamId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("paramId"), IsRequired = (true))] + [DataMember(Name = ("paramId"), IsRequired = (true))] public string ParamId { get; @@ -27105,7 +27017,7 @@ public class NodesConnectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27115,7 +27027,7 @@ public string ContextId /// /// SourceId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceId"), IsRequired = (true))] + [DataMember(Name = ("sourceId"), IsRequired = (true))] public string SourceId { get; @@ -27125,7 +27037,7 @@ public string SourceId /// /// DestinationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationId"), IsRequired = (true))] + [DataMember(Name = ("destinationId"), IsRequired = (true))] public string DestinationId { get; @@ -27135,7 +27047,7 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceOutputIndex"), IsRequired = (false))] + [DataMember(Name = ("sourceOutputIndex"), IsRequired = (false))] public double? SourceOutputIndex { get; @@ -27145,7 +27057,7 @@ public double? SourceOutputIndex /// /// DestinationInputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationInputIndex"), IsRequired = (false))] + [DataMember(Name = ("destinationInputIndex"), IsRequired = (false))] public double? DestinationInputIndex { get; @@ -27162,7 +27074,7 @@ public class NodesDisconnectedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27172,7 +27084,7 @@ public string ContextId /// /// SourceId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceId"), IsRequired = (true))] + [DataMember(Name = ("sourceId"), IsRequired = (true))] public string SourceId { get; @@ -27182,7 +27094,7 @@ public string SourceId /// /// DestinationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationId"), IsRequired = (true))] + [DataMember(Name = ("destinationId"), IsRequired = (true))] public string DestinationId { get; @@ -27192,7 +27104,7 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceOutputIndex"), IsRequired = (false))] + [DataMember(Name = ("sourceOutputIndex"), IsRequired = (false))] public double? SourceOutputIndex { get; @@ -27202,7 +27114,7 @@ public double? SourceOutputIndex /// /// DestinationInputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationInputIndex"), IsRequired = (false))] + [DataMember(Name = ("destinationInputIndex"), IsRequired = (false))] public double? DestinationInputIndex { get; @@ -27219,7 +27131,7 @@ public class NodeParamConnectedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27229,7 +27141,7 @@ public string ContextId /// /// SourceId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceId"), IsRequired = (true))] + [DataMember(Name = ("sourceId"), IsRequired = (true))] public string SourceId { get; @@ -27239,7 +27151,7 @@ public string SourceId /// /// DestinationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationId"), IsRequired = (true))] + [DataMember(Name = ("destinationId"), IsRequired = (true))] public string DestinationId { get; @@ -27249,7 +27161,7 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceOutputIndex"), IsRequired = (false))] + [DataMember(Name = ("sourceOutputIndex"), IsRequired = (false))] public double? SourceOutputIndex { get; @@ -27266,7 +27178,7 @@ public class NodeParamDisconnectedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// ContextId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("contextId"), IsRequired = (true))] + [DataMember(Name = ("contextId"), IsRequired = (true))] public string ContextId { get; @@ -27276,7 +27188,7 @@ public string ContextId /// /// SourceId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceId"), IsRequired = (true))] + [DataMember(Name = ("sourceId"), IsRequired = (true))] public string SourceId { get; @@ -27286,7 +27198,7 @@ public string SourceId /// /// DestinationId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("destinationId"), IsRequired = (true))] + [DataMember(Name = ("destinationId"), IsRequired = (true))] public string DestinationId { get; @@ -27296,7 +27208,7 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceOutputIndex"), IsRequired = (false))] + [DataMember(Name = ("sourceOutputIndex"), IsRequired = (false))] public double? SourceOutputIndex { get; @@ -27315,12 +27227,12 @@ public enum AuthenticatorProtocol /// /// u2f /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("u2f"))] + [EnumMember(Value = ("u2f"))] U2f, /// /// ctap2 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ctap2"))] + [EnumMember(Value = ("ctap2"))] Ctap2 } @@ -27332,12 +27244,12 @@ public enum Ctap2Version /// /// ctap2_0 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ctap2_0"))] + [EnumMember(Value = ("ctap2_0"))] Ctap20, /// /// ctap2_1 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ctap2_1"))] + [EnumMember(Value = ("ctap2_1"))] Ctap21 } @@ -27349,27 +27261,27 @@ public enum AuthenticatorTransport /// /// usb /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("usb"))] + [EnumMember(Value = ("usb"))] Usb, /// /// nfc /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("nfc"))] + [EnumMember(Value = ("nfc"))] Nfc, /// /// ble /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ble"))] + [EnumMember(Value = ("ble"))] Ble, /// /// cable /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cable"))] + [EnumMember(Value = ("cable"))] Cable, /// /// internal /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("internal"))] + [EnumMember(Value = ("internal"))] Internal } @@ -27398,7 +27310,7 @@ public CefSharp.DevTools.WebAuthn.AuthenticatorProtocol Protocol /// /// Protocol /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("protocol"), IsRequired = (true))] + [DataMember(Name = ("protocol"), IsRequired = (true))] internal string protocol { get; @@ -27424,7 +27336,7 @@ public CefSharp.DevTools.WebAuthn.Ctap2Version? Ctap2Version /// /// Defaults to ctap2_0. Ignored if |protocol| == u2f. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ctap2Version"), IsRequired = (false))] + [DataMember(Name = ("ctap2Version"), IsRequired = (false))] internal string ctap2Version { get; @@ -27450,7 +27362,7 @@ public CefSharp.DevTools.WebAuthn.AuthenticatorTransport Transport /// /// Transport /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("transport"), IsRequired = (true))] + [DataMember(Name = ("transport"), IsRequired = (true))] internal string transport { get; @@ -27460,7 +27372,7 @@ internal string transport /// /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasResidentKey"), IsRequired = (false))] + [DataMember(Name = ("hasResidentKey"), IsRequired = (false))] public bool? HasResidentKey { get; @@ -27470,7 +27382,7 @@ public bool? HasResidentKey /// /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasUserVerification"), IsRequired = (false))] + [DataMember(Name = ("hasUserVerification"), IsRequired = (false))] public bool? HasUserVerification { get; @@ -27482,7 +27394,7 @@ public bool? HasUserVerification /// https://w3c.github.io/webauthn#largeBlob /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasLargeBlob"), IsRequired = (false))] + [DataMember(Name = ("hasLargeBlob"), IsRequired = (false))] public bool? HasLargeBlob { get; @@ -27494,7 +27406,7 @@ public bool? HasLargeBlob /// https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasCredBlob"), IsRequired = (false))] + [DataMember(Name = ("hasCredBlob"), IsRequired = (false))] public bool? HasCredBlob { get; @@ -27506,7 +27418,7 @@ public bool? HasCredBlob /// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasMinPinLength"), IsRequired = (false))] + [DataMember(Name = ("hasMinPinLength"), IsRequired = (false))] public bool? HasMinPinLength { get; @@ -27518,7 +27430,7 @@ public bool? HasMinPinLength /// https://w3c.github.io/webauthn/#prf-extension /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasPrf"), IsRequired = (false))] + [DataMember(Name = ("hasPrf"), IsRequired = (false))] public bool? HasPrf { get; @@ -27529,7 +27441,7 @@ public bool? HasPrf /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("automaticPresenceSimulation"), IsRequired = (false))] + [DataMember(Name = ("automaticPresenceSimulation"), IsRequired = (false))] public bool? AutomaticPresenceSimulation { get; @@ -27540,7 +27452,7 @@ public bool? AutomaticPresenceSimulation /// Sets whether User Verification succeeds or fails for an authenticator. /// Defaults to false. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isUserVerified"), IsRequired = (false))] + [DataMember(Name = ("isUserVerified"), IsRequired = (false))] public bool? IsUserVerified { get; @@ -27557,7 +27469,7 @@ public partial class Credential : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CredentialId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("credentialId"), IsRequired = (true))] + [DataMember(Name = ("credentialId"), IsRequired = (true))] public byte[] CredentialId { get; @@ -27567,7 +27479,7 @@ public byte[] CredentialId /// /// IsResidentCredential /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isResidentCredential"), IsRequired = (true))] + [DataMember(Name = ("isResidentCredential"), IsRequired = (true))] public bool IsResidentCredential { get; @@ -27578,7 +27490,7 @@ public bool IsResidentCredential /// Relying Party ID the credential is scoped to. Must be set when adding a /// credential. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("rpId"), IsRequired = (false))] + [DataMember(Name = ("rpId"), IsRequired = (false))] public string RpId { get; @@ -27588,7 +27500,7 @@ public string RpId /// /// The ECDSA P-256 private key in PKCS#8 format. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("privateKey"), IsRequired = (true))] + [DataMember(Name = ("privateKey"), IsRequired = (true))] public byte[] PrivateKey { get; @@ -27599,7 +27511,7 @@ public byte[] PrivateKey /// An opaque byte sequence with a maximum size of 64 bytes mapping the /// credential to a specific user. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("userHandle"), IsRequired = (false))] + [DataMember(Name = ("userHandle"), IsRequired = (false))] public byte[] UserHandle { get; @@ -27611,7 +27523,7 @@ public byte[] UserHandle /// assertion. /// See https://w3c.github.io/webauthn/#signature-counter /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("signCount"), IsRequired = (true))] + [DataMember(Name = ("signCount"), IsRequired = (true))] public int SignCount { get; @@ -27622,7 +27534,7 @@ public int SignCount /// The large blob associated with the credential. /// See https://w3c.github.io/webauthn/#sctn-large-blob-extension /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("largeBlob"), IsRequired = (false))] + [DataMember(Name = ("largeBlob"), IsRequired = (false))] public byte[] LargeBlob { get; @@ -27639,7 +27551,7 @@ public class CredentialAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// AuthenticatorId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("authenticatorId"), IsRequired = (true))] + [DataMember(Name = ("authenticatorId"), IsRequired = (true))] public string AuthenticatorId { get; @@ -27649,7 +27561,7 @@ public string AuthenticatorId /// /// Credential /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("credential"), IsRequired = (true))] + [DataMember(Name = ("credential"), IsRequired = (true))] public CefSharp.DevTools.WebAuthn.Credential Credential { get; @@ -27666,7 +27578,7 @@ public class CredentialAssertedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// AuthenticatorId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("authenticatorId"), IsRequired = (true))] + [DataMember(Name = ("authenticatorId"), IsRequired = (true))] public string AuthenticatorId { get; @@ -27676,7 +27588,7 @@ public string AuthenticatorId /// /// Credential /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("credential"), IsRequired = (true))] + [DataMember(Name = ("credential"), IsRequired = (true))] public CefSharp.DevTools.WebAuthn.Credential Credential { get; @@ -27703,22 +27615,22 @@ public enum PlayerMessageLevel /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// warning /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("warning"))] + [EnumMember(Value = ("warning"))] Warning, /// /// info /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("info"))] + [EnumMember(Value = ("info"))] Info, /// /// debug /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("debug"))] + [EnumMember(Value = ("debug"))] Debug } @@ -27764,7 +27676,7 @@ public CefSharp.DevTools.Media.PlayerMessageLevel Level /// introducing a new error type which should hopefully let us integrate /// the error log level into the PlayerError type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("level"), IsRequired = (true))] + [DataMember(Name = ("level"), IsRequired = (true))] internal string level { get; @@ -27774,7 +27686,7 @@ internal string level /// /// Message /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (true))] + [DataMember(Name = ("message"), IsRequired = (true))] public string Message { get; @@ -27791,7 +27703,7 @@ public partial class PlayerProperty : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -27801,7 +27713,7 @@ public string Name /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -27818,7 +27730,7 @@ public partial class PlayerEvent : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Timestamp /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -27828,7 +27740,7 @@ public double Timestamp /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public string Value { get; @@ -27846,7 +27758,7 @@ public partial class PlayerErrorSourceLocation : CefSharp.DevTools.DevToolsDomai /// /// File /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("file"), IsRequired = (true))] + [DataMember(Name = ("file"), IsRequired = (true))] public string File { get; @@ -27856,7 +27768,7 @@ public string File /// /// Line /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("line"), IsRequired = (true))] + [DataMember(Name = ("line"), IsRequired = (true))] public int Line { get; @@ -27873,7 +27785,7 @@ public partial class PlayerError : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ErrorType /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorType"), IsRequired = (true))] + [DataMember(Name = ("errorType"), IsRequired = (true))] public string ErrorType { get; @@ -27884,7 +27796,7 @@ public string ErrorType /// Code is the numeric enum entry for a specific set of error codes, such /// as PipelineStatusCodes in media/base/pipeline_status.h /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("code"), IsRequired = (true))] + [DataMember(Name = ("code"), IsRequired = (true))] public int Code { get; @@ -27894,7 +27806,7 @@ public int Code /// /// A trace of where this error was caused / where it passed through. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stack"), IsRequired = (true))] + [DataMember(Name = ("stack"), IsRequired = (true))] public System.Collections.Generic.IList Stack { get; @@ -27905,7 +27817,7 @@ public System.Collections.Generic.IList - [System.Runtime.Serialization.DataMemberAttribute(Name = ("cause"), IsRequired = (true))] + [DataMember(Name = ("cause"), IsRequired = (true))] public System.Collections.Generic.IList Cause { get; @@ -27915,7 +27827,7 @@ public System.Collections.Generic.IList Cau /// /// Extra data attached to an error, such as an HRESULT, Video Codec, etc. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (true))] + [DataMember(Name = ("data"), IsRequired = (true))] public object Data { get; @@ -27933,7 +27845,7 @@ public class PlayerPropertiesChangedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// PlayerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playerId"), IsRequired = (true))] + [DataMember(Name = ("playerId"), IsRequired = (true))] public string PlayerId { get; @@ -27943,7 +27855,7 @@ public string PlayerId /// /// Properties /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("properties"), IsRequired = (true))] + [DataMember(Name = ("properties"), IsRequired = (true))] public System.Collections.Generic.IList Properties { get; @@ -27961,7 +27873,7 @@ public class PlayerEventsAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// PlayerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playerId"), IsRequired = (true))] + [DataMember(Name = ("playerId"), IsRequired = (true))] public string PlayerId { get; @@ -27971,7 +27883,7 @@ public string PlayerId /// /// Events /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("events"), IsRequired = (true))] + [DataMember(Name = ("events"), IsRequired = (true))] public System.Collections.Generic.IList Events { get; @@ -27988,7 +27900,7 @@ public class PlayerMessagesLoggedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// PlayerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playerId"), IsRequired = (true))] + [DataMember(Name = ("playerId"), IsRequired = (true))] public string PlayerId { get; @@ -27998,7 +27910,7 @@ public string PlayerId /// /// Messages /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("messages"), IsRequired = (true))] + [DataMember(Name = ("messages"), IsRequired = (true))] public System.Collections.Generic.IList Messages { get; @@ -28015,7 +27927,7 @@ public class PlayerErrorsRaisedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// PlayerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("playerId"), IsRequired = (true))] + [DataMember(Name = ("playerId"), IsRequired = (true))] public string PlayerId { get; @@ -28025,7 +27937,7 @@ public string PlayerId /// /// Errors /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("errors"), IsRequired = (true))] + [DataMember(Name = ("errors"), IsRequired = (true))] public System.Collections.Generic.IList Errors { get; @@ -28044,7 +27956,7 @@ public class PlayersCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Players /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("players"), IsRequired = (true))] + [DataMember(Name = ("players"), IsRequired = (true))] public string[] Players { get; @@ -28053,6 +27965,144 @@ public string[] Players } } +namespace CefSharp.DevTools.DeviceAccess +{ + /// + /// Device information displayed in a user prompt to select a device. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PromptDevice : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + set; + } + + /// + /// Display name as it appears in a device request user prompt. + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + } + + /// + /// A device request opened a user prompt to select a device. Respond with the + /// selectPrompt or cancelPrompt command. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class DeviceRequestPromptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + private set; + } + + /// + /// Devices + /// + [DataMember(Name = ("devices"), IsRequired = (true))] + public System.Collections.Generic.IList Devices + { + get; + private set; + } + } +} + +namespace CefSharp.DevTools.Preload +{ + /// + /// Corresponds to SpeculationRuleSet + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class RuleSet : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + set; + } + + /// + /// Identifies a document which the rule set is associated with. + /// + [DataMember(Name = ("loaderId"), IsRequired = (true))] + public string LoaderId + { + get; + set; + } + + /// + /// Source text of JSON representing the rule set. If it comes from + /// <script> tag, it is the textContent of the node. Note that it is + /// a JSON for valid case. + /// + /// See also: + /// - https://wicg.github.io/nav-speculation/speculation-rules.html + /// - https://github.com/WICG/nav-speculation/blob/main/triggers.md + /// + [DataMember(Name = ("sourceText"), IsRequired = (true))] + public string SourceText + { + get; + set; + } + } + + /// + /// Upsert. Currently, it is only emitted when a rule set added. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class RuleSetUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// RuleSet + /// + [DataMember(Name = ("ruleSet"), IsRequired = (true))] + public CefSharp.DevTools.Preload.RuleSet RuleSet + { + get; + private set; + } + } + + /// + /// ruleSetRemoved + /// + [System.Runtime.Serialization.DataContractAttribute] + public class RuleSetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Debugger { /// @@ -28064,7 +28114,7 @@ public partial class Location : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Script identifier as reported in the `Debugger.scriptParsed`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -28074,7 +28124,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -28084,7 +28134,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (false))] + [DataMember(Name = ("columnNumber"), IsRequired = (false))] public int? ColumnNumber { get; @@ -28101,7 +28151,7 @@ public partial class ScriptPosition : CefSharp.DevTools.DevToolsDomainEntityBase /// /// LineNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -28111,7 +28161,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -28128,7 +28178,7 @@ public partial class LocationRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ScriptId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -28138,7 +28188,7 @@ public string ScriptId /// /// Start /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("start"), IsRequired = (true))] + [DataMember(Name = ("start"), IsRequired = (true))] public CefSharp.DevTools.Debugger.ScriptPosition Start { get; @@ -28148,7 +28198,7 @@ public CefSharp.DevTools.Debugger.ScriptPosition Start /// /// End /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("end"), IsRequired = (true))] + [DataMember(Name = ("end"), IsRequired = (true))] public CefSharp.DevTools.Debugger.ScriptPosition End { get; @@ -28165,7 +28215,7 @@ public partial class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Call frame identifier. This identifier is only valid while the virtual machine is paused. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrameId"), IsRequired = (true))] + [DataMember(Name = ("callFrameId"), IsRequired = (true))] public string CallFrameId { get; @@ -28175,7 +28225,7 @@ public string CallFrameId /// /// Name of the JavaScript function called on this call frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("functionName"), IsRequired = (true))] + [DataMember(Name = ("functionName"), IsRequired = (true))] public string FunctionName { get; @@ -28185,7 +28235,7 @@ public string FunctionName /// /// Location in the source code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("functionLocation"), IsRequired = (false))] + [DataMember(Name = ("functionLocation"), IsRequired = (false))] public CefSharp.DevTools.Debugger.Location FunctionLocation { get; @@ -28195,7 +28245,7 @@ public CefSharp.DevTools.Debugger.Location FunctionLocation /// /// Location in the source code. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (true))] + [DataMember(Name = ("location"), IsRequired = (true))] public CefSharp.DevTools.Debugger.Location Location { get; @@ -28207,7 +28257,7 @@ public CefSharp.DevTools.Debugger.Location Location /// Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously /// sent `Debugger.scriptParsed` event. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -28217,7 +28267,7 @@ public string Url /// /// Scope chain for this call frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scopeChain"), IsRequired = (true))] + [DataMember(Name = ("scopeChain"), IsRequired = (true))] public System.Collections.Generic.IList ScopeChain { get; @@ -28227,7 +28277,7 @@ public System.Collections.Generic.IList ScopeC /// /// `this` object for this call frame. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("this"), IsRequired = (true))] + [DataMember(Name = ("this"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject This { get; @@ -28237,7 +28287,7 @@ public CefSharp.DevTools.Runtime.RemoteObject This /// /// The value being returned, if the function is at return point. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("returnValue"), IsRequired = (false))] + [DataMember(Name = ("returnValue"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject ReturnValue { get; @@ -28250,7 +28300,7 @@ public CefSharp.DevTools.Runtime.RemoteObject ReturnValue /// guarantee that Debugger#restartFrame with this CallFrameId will be /// successful, but it is very likely. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("canBeRestarted"), IsRequired = (false))] + [DataMember(Name = ("canBeRestarted"), IsRequired = (false))] public bool? CanBeRestarted { get; @@ -28266,52 +28316,52 @@ public enum ScopeType /// /// global /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("global"))] + [EnumMember(Value = ("global"))] Global, /// /// local /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("local"))] + [EnumMember(Value = ("local"))] Local, /// /// with /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("with"))] + [EnumMember(Value = ("with"))] With, /// /// closure /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("closure"))] + [EnumMember(Value = ("closure"))] Closure, /// /// catch /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("catch"))] + [EnumMember(Value = ("catch"))] Catch, /// /// block /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("block"))] + [EnumMember(Value = ("block"))] Block, /// /// script /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("script"))] + [EnumMember(Value = ("script"))] Script, /// /// eval /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("eval"))] + [EnumMember(Value = ("eval"))] Eval, /// /// module /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("module"))] + [EnumMember(Value = ("module"))] Module, /// /// wasm-expression-stack /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wasm-expression-stack"))] + [EnumMember(Value = ("wasm-expression-stack"))] WasmExpressionStack } @@ -28340,7 +28390,7 @@ public CefSharp.DevTools.Debugger.ScopeType Type /// /// Scope type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -28352,7 +28402,7 @@ internal string type /// object; for the rest of the scopes, it is artificial transient object enumerating scope /// variables as its properties. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("object"), IsRequired = (true))] + [DataMember(Name = ("object"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject Object { get; @@ -28362,7 +28412,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Object /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] + [DataMember(Name = ("name"), IsRequired = (false))] public string Name { get; @@ -28372,7 +28422,7 @@ public string Name /// /// Location in the source code where scope starts /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startLocation"), IsRequired = (false))] + [DataMember(Name = ("startLocation"), IsRequired = (false))] public CefSharp.DevTools.Debugger.Location StartLocation { get; @@ -28382,7 +28432,7 @@ public CefSharp.DevTools.Debugger.Location StartLocation /// /// Location in the source code where scope ends /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endLocation"), IsRequired = (false))] + [DataMember(Name = ("endLocation"), IsRequired = (false))] public CefSharp.DevTools.Debugger.Location EndLocation { get; @@ -28399,7 +28449,7 @@ public partial class SearchMatch : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Line number in resource content. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public double LineNumber { get; @@ -28409,7 +28459,7 @@ public double LineNumber /// /// Line with match content. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineContent"), IsRequired = (true))] + [DataMember(Name = ("lineContent"), IsRequired = (true))] public string LineContent { get; @@ -28425,17 +28475,17 @@ public enum BreakLocationType /// /// debuggerStatement /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("debuggerStatement"))] + [EnumMember(Value = ("debuggerStatement"))] DebuggerStatement, /// /// call /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("call"))] + [EnumMember(Value = ("call"))] Call, /// /// return /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("return"))] + [EnumMember(Value = ("return"))] Return } @@ -28448,7 +28498,7 @@ public partial class BreakLocation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Script identifier as reported in the `Debugger.scriptParsed`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -28458,7 +28508,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -28468,7 +28518,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (false))] + [DataMember(Name = ("columnNumber"), IsRequired = (false))] public int? ColumnNumber { get; @@ -28494,7 +28544,7 @@ public CefSharp.DevTools.Debugger.BreakLocationType? Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (false))] + [DataMember(Name = ("type"), IsRequired = (false))] internal string type { get; @@ -28511,7 +28561,7 @@ public partial class WasmDisassemblyChunk : CefSharp.DevTools.DevToolsDomainEnti /// /// The next chunk of disassembled lines. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lines"), IsRequired = (true))] + [DataMember(Name = ("lines"), IsRequired = (true))] public string[] Lines { get; @@ -28521,7 +28571,7 @@ public string[] Lines /// /// The bytecode offsets describing the start of each line. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bytecodeOffsets"), IsRequired = (true))] + [DataMember(Name = ("bytecodeOffsets"), IsRequired = (true))] public int[] BytecodeOffsets { get; @@ -28537,12 +28587,12 @@ public enum ScriptLanguage /// /// JavaScript /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("JavaScript"))] + [EnumMember(Value = ("JavaScript"))] JavaScript, /// /// WebAssembly /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebAssembly"))] + [EnumMember(Value = ("WebAssembly"))] WebAssembly } @@ -28554,22 +28604,22 @@ public enum DebugSymbolsType /// /// None /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("None"))] + [EnumMember(Value = ("None"))] None, /// /// SourceMap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SourceMap"))] + [EnumMember(Value = ("SourceMap"))] SourceMap, /// /// EmbeddedDWARF /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbeddedDWARF"))] + [EnumMember(Value = ("EmbeddedDWARF"))] EmbeddedDWARF, /// /// ExternalDWARF /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExternalDWARF"))] + [EnumMember(Value = ("ExternalDWARF"))] ExternalDWARF } @@ -28598,7 +28648,7 @@ public CefSharp.DevTools.Debugger.DebugSymbolsType Type /// /// Type of the debug symbols. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -28608,7 +28658,7 @@ internal string type /// /// URL of the external symbol source. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("externalURL"), IsRequired = (false))] + [DataMember(Name = ("externalURL"), IsRequired = (false))] public string ExternalURL { get; @@ -28625,7 +28675,7 @@ public class BreakpointResolvedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Breakpoint unique identifier. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("breakpointId"), IsRequired = (true))] + [DataMember(Name = ("breakpointId"), IsRequired = (true))] public string BreakpointId { get; @@ -28635,7 +28685,7 @@ public string BreakpointId /// /// Actual breakpoint location. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (true))] + [DataMember(Name = ("location"), IsRequired = (true))] public CefSharp.DevTools.Debugger.Location Location { get; @@ -28651,62 +28701,62 @@ public enum PausedReason /// /// ambiguous /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ambiguous"))] + [EnumMember(Value = ("ambiguous"))] Ambiguous, /// /// assert /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("assert"))] + [EnumMember(Value = ("assert"))] Assert, /// /// CSPViolation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSPViolation"))] + [EnumMember(Value = ("CSPViolation"))] CSPViolation, /// /// debugCommand /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("debugCommand"))] + [EnumMember(Value = ("debugCommand"))] DebugCommand, /// /// DOM /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DOM"))] + [EnumMember(Value = ("DOM"))] DOM, /// /// EventListener /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventListener"))] + [EnumMember(Value = ("EventListener"))] EventListener, /// /// exception /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("exception"))] + [EnumMember(Value = ("exception"))] Exception, /// /// instrumentation /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("instrumentation"))] + [EnumMember(Value = ("instrumentation"))] Instrumentation, /// /// OOM /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OOM"))] + [EnumMember(Value = ("OOM"))] OOM, /// /// other /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("other"))] + [EnumMember(Value = ("other"))] Other, /// /// promiseRejection /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("promiseRejection"))] + [EnumMember(Value = ("promiseRejection"))] PromiseRejection, /// /// XHR /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XHR"))] + [EnumMember(Value = ("XHR"))] XHR } @@ -28719,7 +28769,7 @@ public class PausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Call stack the virtual machine stopped on. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrames"), IsRequired = (true))] + [DataMember(Name = ("callFrames"), IsRequired = (true))] public System.Collections.Generic.IList CallFrames { get; @@ -28745,7 +28795,7 @@ public CefSharp.DevTools.Debugger.PausedReason Reason /// /// Pause reason. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] internal string reason { get; @@ -28755,7 +28805,7 @@ internal string reason /// /// Object containing break-specific auxiliary properties. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("data"), IsRequired = (false))] + [DataMember(Name = ("data"), IsRequired = (false))] public object Data { get; @@ -28765,7 +28815,7 @@ public object Data /// /// Hit breakpoints IDs /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hitBreakpoints"), IsRequired = (false))] + [DataMember(Name = ("hitBreakpoints"), IsRequired = (false))] public string[] HitBreakpoints { get; @@ -28775,7 +28825,7 @@ public string[] HitBreakpoints /// /// Async stack trace, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("asyncStackTrace"), IsRequired = (false))] + [DataMember(Name = ("asyncStackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace { get; @@ -28785,7 +28835,7 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace /// /// Async stack trace, if any. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("asyncStackTraceId"), IsRequired = (false))] + [DataMember(Name = ("asyncStackTraceId"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId { get; @@ -28795,7 +28845,7 @@ public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId /// /// Never present, will be removed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("asyncCallStackTraceId"), IsRequired = (false))] + [DataMember(Name = ("asyncCallStackTraceId"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTraceId AsyncCallStackTraceId { get; @@ -28812,7 +28862,7 @@ public class ScriptFailedToParseEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Identifier of the script parsed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -28822,7 +28872,7 @@ public string ScriptId /// /// URL or name of the script parsed (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -28832,7 +28882,7 @@ public string Url /// /// Line offset of the script within the resource with given URL (for script tags). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startLine"), IsRequired = (true))] + [DataMember(Name = ("startLine"), IsRequired = (true))] public int StartLine { get; @@ -28842,7 +28892,7 @@ public int StartLine /// /// Column offset of the script within the resource with given URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startColumn"), IsRequired = (true))] + [DataMember(Name = ("startColumn"), IsRequired = (true))] public int StartColumn { get; @@ -28852,7 +28902,7 @@ public int StartColumn /// /// Last line of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endLine"), IsRequired = (true))] + [DataMember(Name = ("endLine"), IsRequired = (true))] public int EndLine { get; @@ -28862,7 +28912,7 @@ public int EndLine /// /// Length of the last line of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endColumn"), IsRequired = (true))] + [DataMember(Name = ("endColumn"), IsRequired = (true))] public int EndColumn { get; @@ -28872,7 +28922,7 @@ public int EndColumn /// /// Specifies script creation context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (true))] + [DataMember(Name = ("executionContextId"), IsRequired = (true))] public int ExecutionContextId { get; @@ -28882,7 +28932,7 @@ public int ExecutionContextId /// /// Content hash of the script, SHA-256. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hash"), IsRequired = (true))] + [DataMember(Name = ("hash"), IsRequired = (true))] public string Hash { get; @@ -28892,7 +28942,7 @@ public string Hash /// /// Embedder-specific auxiliary data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextAuxData"), IsRequired = (false))] + [DataMember(Name = ("executionContextAuxData"), IsRequired = (false))] public object ExecutionContextAuxData { get; @@ -28902,7 +28952,7 @@ public object ExecutionContextAuxData /// /// URL of source map associated with script (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceMapURL"), IsRequired = (false))] + [DataMember(Name = ("sourceMapURL"), IsRequired = (false))] public string SourceMapURL { get; @@ -28912,7 +28962,7 @@ public string SourceMapURL /// /// True, if this script has sourceURL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasSourceURL"), IsRequired = (false))] + [DataMember(Name = ("hasSourceURL"), IsRequired = (false))] public bool? HasSourceURL { get; @@ -28922,7 +28972,7 @@ public bool? HasSourceURL /// /// True, if this script is ES6 module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isModule"), IsRequired = (false))] + [DataMember(Name = ("isModule"), IsRequired = (false))] public bool? IsModule { get; @@ -28932,7 +28982,7 @@ public bool? IsModule /// /// This script length. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("length"), IsRequired = (false))] + [DataMember(Name = ("length"), IsRequired = (false))] public int? Length { get; @@ -28942,7 +28992,7 @@ public int? Length /// /// JavaScript top stack frame of where the script parsed event was triggered if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackTrace"), IsRequired = (false))] + [DataMember(Name = ("stackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -28952,7 +29002,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// If the scriptLanguage is WebAssembly, the code section offset in the module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("codeOffset"), IsRequired = (false))] + [DataMember(Name = ("codeOffset"), IsRequired = (false))] public int? CodeOffset { get; @@ -28978,7 +29028,7 @@ public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage /// /// The language of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptLanguage"), IsRequired = (false))] + [DataMember(Name = ("scriptLanguage"), IsRequired = (false))] internal string scriptLanguage { get; @@ -28988,7 +29038,7 @@ internal string scriptLanguage /// /// The name the embedder supplied for this script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("embedderName"), IsRequired = (false))] + [DataMember(Name = ("embedderName"), IsRequired = (false))] public string EmbedderName { get; @@ -29006,7 +29056,7 @@ public class ScriptParsedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Identifier of the script parsed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -29016,7 +29066,7 @@ public string ScriptId /// /// URL or name of the script parsed (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -29026,7 +29076,7 @@ public string Url /// /// Line offset of the script within the resource with given URL (for script tags). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startLine"), IsRequired = (true))] + [DataMember(Name = ("startLine"), IsRequired = (true))] public int StartLine { get; @@ -29036,7 +29086,7 @@ public int StartLine /// /// Column offset of the script within the resource with given URL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startColumn"), IsRequired = (true))] + [DataMember(Name = ("startColumn"), IsRequired = (true))] public int StartColumn { get; @@ -29046,7 +29096,7 @@ public int StartColumn /// /// Last line of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endLine"), IsRequired = (true))] + [DataMember(Name = ("endLine"), IsRequired = (true))] public int EndLine { get; @@ -29056,7 +29106,7 @@ public int EndLine /// /// Length of the last line of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endColumn"), IsRequired = (true))] + [DataMember(Name = ("endColumn"), IsRequired = (true))] public int EndColumn { get; @@ -29066,7 +29116,7 @@ public int EndColumn /// /// Specifies script creation context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (true))] + [DataMember(Name = ("executionContextId"), IsRequired = (true))] public int ExecutionContextId { get; @@ -29076,7 +29126,7 @@ public int ExecutionContextId /// /// Content hash of the script, SHA-256. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hash"), IsRequired = (true))] + [DataMember(Name = ("hash"), IsRequired = (true))] public string Hash { get; @@ -29086,7 +29136,7 @@ public string Hash /// /// Embedder-specific auxiliary data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextAuxData"), IsRequired = (false))] + [DataMember(Name = ("executionContextAuxData"), IsRequired = (false))] public object ExecutionContextAuxData { get; @@ -29096,7 +29146,7 @@ public object ExecutionContextAuxData /// /// True, if this script is generated as a result of the live edit operation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isLiveEdit"), IsRequired = (false))] + [DataMember(Name = ("isLiveEdit"), IsRequired = (false))] public bool? IsLiveEdit { get; @@ -29106,7 +29156,7 @@ public bool? IsLiveEdit /// /// URL of source map associated with script (if any). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceMapURL"), IsRequired = (false))] + [DataMember(Name = ("sourceMapURL"), IsRequired = (false))] public string SourceMapURL { get; @@ -29116,7 +29166,7 @@ public string SourceMapURL /// /// True, if this script has sourceURL. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasSourceURL"), IsRequired = (false))] + [DataMember(Name = ("hasSourceURL"), IsRequired = (false))] public bool? HasSourceURL { get; @@ -29126,7 +29176,7 @@ public bool? HasSourceURL /// /// True, if this script is ES6 module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isModule"), IsRequired = (false))] + [DataMember(Name = ("isModule"), IsRequired = (false))] public bool? IsModule { get; @@ -29136,7 +29186,7 @@ public bool? IsModule /// /// This script length. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("length"), IsRequired = (false))] + [DataMember(Name = ("length"), IsRequired = (false))] public int? Length { get; @@ -29146,7 +29196,7 @@ public int? Length /// /// JavaScript top stack frame of where the script parsed event was triggered if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackTrace"), IsRequired = (false))] + [DataMember(Name = ("stackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -29156,7 +29206,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// If the scriptLanguage is WebAssembly, the code section offset in the module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("codeOffset"), IsRequired = (false))] + [DataMember(Name = ("codeOffset"), IsRequired = (false))] public int? CodeOffset { get; @@ -29182,7 +29232,7 @@ public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage /// /// The language of the script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptLanguage"), IsRequired = (false))] + [DataMember(Name = ("scriptLanguage"), IsRequired = (false))] internal string scriptLanguage { get; @@ -29192,7 +29242,7 @@ internal string scriptLanguage /// /// If the scriptLanguage is WebASsembly, the source of debug symbols for the module. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("debugSymbols"), IsRequired = (false))] + [DataMember(Name = ("debugSymbols"), IsRequired = (false))] public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols { get; @@ -29202,7 +29252,7 @@ public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols /// /// The name the embedder supplied for this script. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("embedderName"), IsRequired = (false))] + [DataMember(Name = ("embedderName"), IsRequired = (false))] public string EmbedderName { get; @@ -29222,7 +29272,7 @@ public partial class SamplingHeapProfileNode : CefSharp.DevTools.DevToolsDomainE /// /// Function location. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrame"), IsRequired = (true))] + [DataMember(Name = ("callFrame"), IsRequired = (true))] public CefSharp.DevTools.Runtime.CallFrame CallFrame { get; @@ -29232,7 +29282,7 @@ public CefSharp.DevTools.Runtime.CallFrame CallFrame /// /// Allocations size in bytes for the node excluding children. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("selfSize"), IsRequired = (true))] + [DataMember(Name = ("selfSize"), IsRequired = (true))] public double SelfSize { get; @@ -29242,7 +29292,7 @@ public double SelfSize /// /// Node id. Ids are unique across all profiles collected between startSampling and stopSampling. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public int Id { get; @@ -29252,7 +29302,7 @@ public int Id /// /// Child nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("children"), IsRequired = (true))] + [DataMember(Name = ("children"), IsRequired = (true))] public System.Collections.Generic.IList Children { get; @@ -29269,7 +29319,7 @@ public partial class SamplingHeapProfileSample : CefSharp.DevTools.DevToolsDomai /// /// Allocation size in bytes attributed to the sample. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] + [DataMember(Name = ("size"), IsRequired = (true))] public double Size { get; @@ -29279,7 +29329,7 @@ public double Size /// /// Id of the corresponding profile tree node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + [DataMember(Name = ("nodeId"), IsRequired = (true))] public int NodeId { get; @@ -29290,7 +29340,7 @@ public int NodeId /// Time-ordered sample ordinal number. It is unique across all profiles retrieved /// between startSampling and stopSampling. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ordinal"), IsRequired = (true))] + [DataMember(Name = ("ordinal"), IsRequired = (true))] public double Ordinal { get; @@ -29307,7 +29357,7 @@ public partial class SamplingHeapProfile : CefSharp.DevTools.DevToolsDomainEntit /// /// Head /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("head"), IsRequired = (true))] + [DataMember(Name = ("head"), IsRequired = (true))] public CefSharp.DevTools.HeapProfiler.SamplingHeapProfileNode Head { get; @@ -29317,7 +29367,7 @@ public CefSharp.DevTools.HeapProfiler.SamplingHeapProfileNode Head /// /// Samples /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("samples"), IsRequired = (true))] + [DataMember(Name = ("samples"), IsRequired = (true))] public System.Collections.Generic.IList Samples { get; @@ -29334,7 +29384,7 @@ public class AddHeapSnapshotChunkEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Chunk /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("chunk"), IsRequired = (true))] + [DataMember(Name = ("chunk"), IsRequired = (true))] public string Chunk { get; @@ -29353,7 +29403,7 @@ public class HeapStatsUpdateEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// index, the second integer is a total count of objects for the fragment, the third integer is /// a total size of the objects for the fragment. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("statsUpdate"), IsRequired = (true))] + [DataMember(Name = ("statsUpdate"), IsRequired = (true))] public int[] StatsUpdate { get; @@ -29372,7 +29422,7 @@ public class LastSeenObjectIdEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// LastSeenObjectId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lastSeenObjectId"), IsRequired = (true))] + [DataMember(Name = ("lastSeenObjectId"), IsRequired = (true))] public int LastSeenObjectId { get; @@ -29382,7 +29432,7 @@ public int LastSeenObjectId /// /// Timestamp /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -29399,7 +29449,7 @@ public class ReportHeapSnapshotProgressEventArgs : CefSharp.DevTools.DevToolsDom /// /// Done /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("done"), IsRequired = (true))] + [DataMember(Name = ("done"), IsRequired = (true))] public int Done { get; @@ -29409,7 +29459,7 @@ public int Done /// /// Total /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("total"), IsRequired = (true))] + [DataMember(Name = ("total"), IsRequired = (true))] public int Total { get; @@ -29419,7 +29469,7 @@ public int Total /// /// Finished /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("finished"), IsRequired = (false))] + [DataMember(Name = ("finished"), IsRequired = (false))] public bool? Finished { get; @@ -29439,7 +29489,7 @@ public partial class ProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Unique id of the node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public int Id { get; @@ -29449,7 +29499,7 @@ public int Id /// /// Function location. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrame"), IsRequired = (true))] + [DataMember(Name = ("callFrame"), IsRequired = (true))] public CefSharp.DevTools.Runtime.CallFrame CallFrame { get; @@ -29459,7 +29509,7 @@ public CefSharp.DevTools.Runtime.CallFrame CallFrame /// /// Number of samples where this node was on top of the call stack. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hitCount"), IsRequired = (false))] + [DataMember(Name = ("hitCount"), IsRequired = (false))] public int? HitCount { get; @@ -29469,7 +29519,7 @@ public int? HitCount /// /// Child node ids. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("children"), IsRequired = (false))] + [DataMember(Name = ("children"), IsRequired = (false))] public int[] Children { get; @@ -29480,7 +29530,7 @@ public int[] Children /// The reason of being not optimized. The function may be deoptimized or marked as don't /// optimize. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deoptReason"), IsRequired = (false))] + [DataMember(Name = ("deoptReason"), IsRequired = (false))] public string DeoptReason { get; @@ -29490,7 +29540,7 @@ public string DeoptReason /// /// An array of source position ticks. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("positionTicks"), IsRequired = (false))] + [DataMember(Name = ("positionTicks"), IsRequired = (false))] public System.Collections.Generic.IList PositionTicks { get; @@ -29507,7 +29557,7 @@ public partial class Profile : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The list of profile nodes. First item is the root node. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodes"), IsRequired = (true))] + [DataMember(Name = ("nodes"), IsRequired = (true))] public System.Collections.Generic.IList Nodes { get; @@ -29517,7 +29567,7 @@ public System.Collections.Generic.IList /// /// Profiling start timestamp in microseconds. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startTime"), IsRequired = (true))] + [DataMember(Name = ("startTime"), IsRequired = (true))] public double StartTime { get; @@ -29527,7 +29577,7 @@ public double StartTime /// /// Profiling end timestamp in microseconds. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endTime"), IsRequired = (true))] + [DataMember(Name = ("endTime"), IsRequired = (true))] public double EndTime { get; @@ -29537,7 +29587,7 @@ public double EndTime /// /// Ids of samples top nodes. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("samples"), IsRequired = (false))] + [DataMember(Name = ("samples"), IsRequired = (false))] public int[] Samples { get; @@ -29548,7 +29598,7 @@ public int[] Samples /// Time intervals between adjacent samples in microseconds. The first delta is relative to the /// profile startTime. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timeDeltas"), IsRequired = (false))] + [DataMember(Name = ("timeDeltas"), IsRequired = (false))] public int[] TimeDeltas { get; @@ -29565,7 +29615,7 @@ public partial class PositionTickInfo : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Source line number (1-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("line"), IsRequired = (true))] + [DataMember(Name = ("line"), IsRequired = (true))] public int Line { get; @@ -29575,7 +29625,7 @@ public int Line /// /// Number of samples attributed to the source line. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ticks"), IsRequired = (true))] + [DataMember(Name = ("ticks"), IsRequired = (true))] public int Ticks { get; @@ -29592,7 +29642,7 @@ public partial class CoverageRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript script source offset for the range start. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("startOffset"), IsRequired = (true))] + [DataMember(Name = ("startOffset"), IsRequired = (true))] public int StartOffset { get; @@ -29602,7 +29652,7 @@ public int StartOffset /// /// JavaScript script source offset for the range end. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("endOffset"), IsRequired = (true))] + [DataMember(Name = ("endOffset"), IsRequired = (true))] public int EndOffset { get; @@ -29612,7 +29662,7 @@ public int EndOffset /// /// Collected execution count of the source range. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("count"), IsRequired = (true))] + [DataMember(Name = ("count"), IsRequired = (true))] public int Count { get; @@ -29629,7 +29679,7 @@ public partial class FunctionCoverage : CefSharp.DevTools.DevToolsDomainEntityBa /// /// JavaScript function name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("functionName"), IsRequired = (true))] + [DataMember(Name = ("functionName"), IsRequired = (true))] public string FunctionName { get; @@ -29639,7 +29689,7 @@ public string FunctionName /// /// Source ranges inside the function with coverage data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("ranges"), IsRequired = (true))] + [DataMember(Name = ("ranges"), IsRequired = (true))] public System.Collections.Generic.IList Ranges { get; @@ -29649,7 +29699,7 @@ public System.Collections.Generic.IList /// Whether coverage data for this function has block granularity. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isBlockCoverage"), IsRequired = (true))] + [DataMember(Name = ("isBlockCoverage"), IsRequired = (true))] public bool IsBlockCoverage { get; @@ -29666,7 +29716,7 @@ public partial class ScriptCoverage : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript script id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -29676,7 +29726,7 @@ public string ScriptId /// /// JavaScript script name or url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -29686,7 +29736,7 @@ public string Url /// /// Functions contained in the script that has coverage data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("functions"), IsRequired = (true))] + [DataMember(Name = ("functions"), IsRequired = (true))] public System.Collections.Generic.IList Functions { get; @@ -29703,7 +29753,7 @@ public class ConsoleProfileFinishedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -29713,7 +29763,7 @@ public string Id /// /// Location of console.profileEnd(). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (true))] + [DataMember(Name = ("location"), IsRequired = (true))] public CefSharp.DevTools.Debugger.Location Location { get; @@ -29723,7 +29773,7 @@ public CefSharp.DevTools.Debugger.Location Location /// /// Profile /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("profile"), IsRequired = (true))] + [DataMember(Name = ("profile"), IsRequired = (true))] public CefSharp.DevTools.Profiler.Profile Profile { get; @@ -29733,7 +29783,7 @@ public CefSharp.DevTools.Profiler.Profile Profile /// /// Profile title passed as an argument to console.profile(). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (false))] + [DataMember(Name = ("title"), IsRequired = (false))] public string Title { get; @@ -29750,7 +29800,7 @@ public class ConsoleProfileStartedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -29760,7 +29810,7 @@ public string Id /// /// Location of console.profile(). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("location"), IsRequired = (true))] + [DataMember(Name = ("location"), IsRequired = (true))] public CefSharp.DevTools.Debugger.Location Location { get; @@ -29770,7 +29820,7 @@ public CefSharp.DevTools.Debugger.Location Location /// /// Profile title passed as an argument to console.profile(). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("title"), IsRequired = (false))] + [DataMember(Name = ("title"), IsRequired = (false))] public string Title { get; @@ -29790,7 +29840,7 @@ public class PreciseCoverageDeltaUpdateEventArgs : CefSharp.DevTools.DevToolsDom /// /// Monotonically increasing time (in seconds) when the coverage update was taken in the backend. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -29800,7 +29850,7 @@ public double Timestamp /// /// Identifier for distinguishing coverage events. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("occasion"), IsRequired = (true))] + [DataMember(Name = ("occasion"), IsRequired = (true))] public string Occasion { get; @@ -29810,7 +29860,7 @@ public string Occasion /// /// Coverage data for the current isolate. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("result"), IsRequired = (true))] + [DataMember(Name = ("result"), IsRequired = (true))] public System.Collections.Generic.IList Result { get; @@ -29829,117 +29879,117 @@ public enum WebDriverValueType /// /// undefined /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("undefined"))] + [EnumMember(Value = ("undefined"))] Undefined, /// /// null /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("null"))] + [EnumMember(Value = ("null"))] Null, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// number /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("number"))] + [EnumMember(Value = ("number"))] Number, /// /// boolean /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("boolean"))] + [EnumMember(Value = ("boolean"))] Boolean, /// /// bigint /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bigint"))] + [EnumMember(Value = ("bigint"))] Bigint, /// /// regexp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("regexp"))] + [EnumMember(Value = ("regexp"))] Regexp, /// /// date /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("date"))] + [EnumMember(Value = ("date"))] Date, /// /// symbol /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("symbol"))] + [EnumMember(Value = ("symbol"))] Symbol, /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array, /// /// object /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("object"))] + [EnumMember(Value = ("object"))] Object, /// /// function /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("function"))] + [EnumMember(Value = ("function"))] Function, /// /// map /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("map"))] + [EnumMember(Value = ("map"))] Map, /// /// set /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("set"))] + [EnumMember(Value = ("set"))] Set, /// /// weakmap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakmap"))] + [EnumMember(Value = ("weakmap"))] Weakmap, /// /// weakset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakset"))] + [EnumMember(Value = ("weakset"))] Weakset, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("proxy"))] + [EnumMember(Value = ("proxy"))] Proxy, /// /// promise /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("promise"))] + [EnumMember(Value = ("promise"))] Promise, /// /// typedarray /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("typedarray"))] + [EnumMember(Value = ("typedarray"))] Typedarray, /// /// arraybuffer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("arraybuffer"))] + [EnumMember(Value = ("arraybuffer"))] Arraybuffer, /// /// node /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("node"))] + [EnumMember(Value = ("node"))] Node, /// /// window /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("window"))] + [EnumMember(Value = ("window"))] Window } @@ -29969,7 +30019,7 @@ public CefSharp.DevTools.Runtime.WebDriverValueType Type /// /// Type /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -29979,7 +30029,7 @@ internal string type /// /// Value /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public object Value { get; @@ -29989,7 +30039,7 @@ public object Value /// /// ObjectId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectId"), IsRequired = (false))] + [DataMember(Name = ("objectId"), IsRequired = (false))] public string ObjectId { get; @@ -30005,42 +30055,42 @@ public enum RemoteObjectType /// /// object /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("object"))] + [EnumMember(Value = ("object"))] Object, /// /// function /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("function"))] + [EnumMember(Value = ("function"))] Function, /// /// undefined /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("undefined"))] + [EnumMember(Value = ("undefined"))] Undefined, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// number /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("number"))] + [EnumMember(Value = ("number"))] Number, /// /// boolean /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("boolean"))] + [EnumMember(Value = ("boolean"))] Boolean, /// /// symbol /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("symbol"))] + [EnumMember(Value = ("symbol"))] Symbol, /// /// bigint /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bigint"))] + [EnumMember(Value = ("bigint"))] Bigint } @@ -30054,97 +30104,97 @@ public enum RemoteObjectSubtype /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array, /// /// null /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("null"))] + [EnumMember(Value = ("null"))] Null, /// /// node /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("node"))] + [EnumMember(Value = ("node"))] Node, /// /// regexp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("regexp"))] + [EnumMember(Value = ("regexp"))] Regexp, /// /// date /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("date"))] + [EnumMember(Value = ("date"))] Date, /// /// map /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("map"))] + [EnumMember(Value = ("map"))] Map, /// /// set /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("set"))] + [EnumMember(Value = ("set"))] Set, /// /// weakmap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakmap"))] + [EnumMember(Value = ("weakmap"))] Weakmap, /// /// weakset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakset"))] + [EnumMember(Value = ("weakset"))] Weakset, /// /// iterator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("iterator"))] + [EnumMember(Value = ("iterator"))] Iterator, /// /// generator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("generator"))] + [EnumMember(Value = ("generator"))] Generator, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("proxy"))] + [EnumMember(Value = ("proxy"))] Proxy, /// /// promise /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("promise"))] + [EnumMember(Value = ("promise"))] Promise, /// /// typedarray /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("typedarray"))] + [EnumMember(Value = ("typedarray"))] Typedarray, /// /// arraybuffer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("arraybuffer"))] + [EnumMember(Value = ("arraybuffer"))] Arraybuffer, /// /// dataview /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dataview"))] + [EnumMember(Value = ("dataview"))] Dataview, /// /// webassemblymemory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webassemblymemory"))] + [EnumMember(Value = ("webassemblymemory"))] Webassemblymemory, /// /// wasmvalue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wasmvalue"))] + [EnumMember(Value = ("wasmvalue"))] Wasmvalue } @@ -30173,7 +30223,7 @@ public CefSharp.DevTools.Runtime.RemoteObjectType Type /// /// Object type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -30203,7 +30253,7 @@ public CefSharp.DevTools.Runtime.RemoteObjectSubtype? Subtype /// NOTE: If you change anything here, make sure to also update /// `subtype` in `ObjectPreview` and `PropertyPreview` below. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] + [DataMember(Name = ("subtype"), IsRequired = (false))] internal string subtype { get; @@ -30213,7 +30263,7 @@ internal string subtype /// /// Object class (constructor) name. Specified for `object` type values only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("className"), IsRequired = (false))] + [DataMember(Name = ("className"), IsRequired = (false))] public string ClassName { get; @@ -30223,7 +30273,7 @@ public string ClassName /// /// Remote object value in case of primitive values or JSON values (if it was requested). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public object Value { get; @@ -30234,7 +30284,7 @@ public object Value /// Primitive value which can not be JSON-stringified does not have `value`, but gets this /// property. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unserializableValue"), IsRequired = (false))] + [DataMember(Name = ("unserializableValue"), IsRequired = (false))] public string UnserializableValue { get; @@ -30244,7 +30294,7 @@ public string UnserializableValue /// /// String representation of the object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] + [DataMember(Name = ("description"), IsRequired = (false))] public string Description { get; @@ -30254,7 +30304,7 @@ public string Description /// /// WebDriver BiDi representation of the value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("webDriverValue"), IsRequired = (false))] + [DataMember(Name = ("webDriverValue"), IsRequired = (false))] public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue { get; @@ -30264,7 +30314,7 @@ public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue /// /// Unique object identifier (for non-primitive values). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectId"), IsRequired = (false))] + [DataMember(Name = ("objectId"), IsRequired = (false))] public string ObjectId { get; @@ -30274,7 +30324,7 @@ public string ObjectId /// /// Preview containing abbreviated property values. Specified for `object` type values only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("preview"), IsRequired = (false))] + [DataMember(Name = ("preview"), IsRequired = (false))] public CefSharp.DevTools.Runtime.ObjectPreview Preview { get; @@ -30284,7 +30334,7 @@ public CefSharp.DevTools.Runtime.ObjectPreview Preview /// /// CustomPreview /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("customPreview"), IsRequired = (false))] + [DataMember(Name = ("customPreview"), IsRequired = (false))] public CefSharp.DevTools.Runtime.CustomPreview CustomPreview { get; @@ -30302,7 +30352,7 @@ public partial class CustomPreview : CefSharp.DevTools.DevToolsDomainEntityBase /// The JSON-stringified result of formatter.header(object, config) call. /// It contains json ML array that represents RemoteObject. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("header"), IsRequired = (true))] + [DataMember(Name = ("header"), IsRequired = (true))] public string Header { get; @@ -30314,7 +30364,7 @@ public string Header /// contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. /// The result value is json ML array. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("bodyGetterId"), IsRequired = (false))] + [DataMember(Name = ("bodyGetterId"), IsRequired = (false))] public string BodyGetterId { get; @@ -30330,42 +30380,42 @@ public enum ObjectPreviewType /// /// object /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("object"))] + [EnumMember(Value = ("object"))] Object, /// /// function /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("function"))] + [EnumMember(Value = ("function"))] Function, /// /// undefined /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("undefined"))] + [EnumMember(Value = ("undefined"))] Undefined, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// number /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("number"))] + [EnumMember(Value = ("number"))] Number, /// /// boolean /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("boolean"))] + [EnumMember(Value = ("boolean"))] Boolean, /// /// symbol /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("symbol"))] + [EnumMember(Value = ("symbol"))] Symbol, /// /// bigint /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bigint"))] + [EnumMember(Value = ("bigint"))] Bigint } @@ -30377,97 +30427,97 @@ public enum ObjectPreviewSubtype /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array, /// /// null /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("null"))] + [EnumMember(Value = ("null"))] Null, /// /// node /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("node"))] + [EnumMember(Value = ("node"))] Node, /// /// regexp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("regexp"))] + [EnumMember(Value = ("regexp"))] Regexp, /// /// date /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("date"))] + [EnumMember(Value = ("date"))] Date, /// /// map /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("map"))] + [EnumMember(Value = ("map"))] Map, /// /// set /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("set"))] + [EnumMember(Value = ("set"))] Set, /// /// weakmap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakmap"))] + [EnumMember(Value = ("weakmap"))] Weakmap, /// /// weakset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakset"))] + [EnumMember(Value = ("weakset"))] Weakset, /// /// iterator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("iterator"))] + [EnumMember(Value = ("iterator"))] Iterator, /// /// generator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("generator"))] + [EnumMember(Value = ("generator"))] Generator, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("proxy"))] + [EnumMember(Value = ("proxy"))] Proxy, /// /// promise /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("promise"))] + [EnumMember(Value = ("promise"))] Promise, /// /// typedarray /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("typedarray"))] + [EnumMember(Value = ("typedarray"))] Typedarray, /// /// arraybuffer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("arraybuffer"))] + [EnumMember(Value = ("arraybuffer"))] Arraybuffer, /// /// dataview /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dataview"))] + [EnumMember(Value = ("dataview"))] Dataview, /// /// webassemblymemory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webassemblymemory"))] + [EnumMember(Value = ("webassemblymemory"))] Webassemblymemory, /// /// wasmvalue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wasmvalue"))] + [EnumMember(Value = ("wasmvalue"))] Wasmvalue } @@ -30496,7 +30546,7 @@ public CefSharp.DevTools.Runtime.ObjectPreviewType Type /// /// Object type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -30522,7 +30572,7 @@ public CefSharp.DevTools.Runtime.ObjectPreviewSubtype? Subtype /// /// Object subtype hint. Specified for `object` type values only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] + [DataMember(Name = ("subtype"), IsRequired = (false))] internal string subtype { get; @@ -30532,7 +30582,7 @@ internal string subtype /// /// String representation of the object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] + [DataMember(Name = ("description"), IsRequired = (false))] public string Description { get; @@ -30542,7 +30592,7 @@ public string Description /// /// True iff some of the properties or entries of the original object did not fit. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("overflow"), IsRequired = (true))] + [DataMember(Name = ("overflow"), IsRequired = (true))] public bool Overflow { get; @@ -30552,7 +30602,7 @@ public bool Overflow /// /// List of the properties. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("properties"), IsRequired = (true))] + [DataMember(Name = ("properties"), IsRequired = (true))] public System.Collections.Generic.IList Properties { get; @@ -30562,7 +30612,7 @@ public System.Collections.Generic.IList /// List of the entries. Specified for `map` and `set` subtype values only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("entries"), IsRequired = (false))] + [DataMember(Name = ("entries"), IsRequired = (false))] public System.Collections.Generic.IList Entries { get; @@ -30578,47 +30628,47 @@ public enum PropertyPreviewType /// /// object /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("object"))] + [EnumMember(Value = ("object"))] Object, /// /// function /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("function"))] + [EnumMember(Value = ("function"))] Function, /// /// undefined /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("undefined"))] + [EnumMember(Value = ("undefined"))] Undefined, /// /// string /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("string"))] + [EnumMember(Value = ("string"))] String, /// /// number /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("number"))] + [EnumMember(Value = ("number"))] Number, /// /// boolean /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("boolean"))] + [EnumMember(Value = ("boolean"))] Boolean, /// /// symbol /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("symbol"))] + [EnumMember(Value = ("symbol"))] Symbol, /// /// accessor /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("accessor"))] + [EnumMember(Value = ("accessor"))] Accessor, /// /// bigint /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bigint"))] + [EnumMember(Value = ("bigint"))] Bigint } @@ -30630,97 +30680,97 @@ public enum PropertyPreviewSubtype /// /// array /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("array"))] + [EnumMember(Value = ("array"))] Array, /// /// null /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("null"))] + [EnumMember(Value = ("null"))] Null, /// /// node /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("node"))] + [EnumMember(Value = ("node"))] Node, /// /// regexp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("regexp"))] + [EnumMember(Value = ("regexp"))] Regexp, /// /// date /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("date"))] + [EnumMember(Value = ("date"))] Date, /// /// map /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("map"))] + [EnumMember(Value = ("map"))] Map, /// /// set /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("set"))] + [EnumMember(Value = ("set"))] Set, /// /// weakmap /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakmap"))] + [EnumMember(Value = ("weakmap"))] Weakmap, /// /// weakset /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("weakset"))] + [EnumMember(Value = ("weakset"))] Weakset, /// /// iterator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("iterator"))] + [EnumMember(Value = ("iterator"))] Iterator, /// /// generator /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("generator"))] + [EnumMember(Value = ("generator"))] Generator, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// proxy /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("proxy"))] + [EnumMember(Value = ("proxy"))] Proxy, /// /// promise /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("promise"))] + [EnumMember(Value = ("promise"))] Promise, /// /// typedarray /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("typedarray"))] + [EnumMember(Value = ("typedarray"))] Typedarray, /// /// arraybuffer /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("arraybuffer"))] + [EnumMember(Value = ("arraybuffer"))] Arraybuffer, /// /// dataview /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dataview"))] + [EnumMember(Value = ("dataview"))] Dataview, /// /// webassemblymemory /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webassemblymemory"))] + [EnumMember(Value = ("webassemblymemory"))] Webassemblymemory, /// /// wasmvalue /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("wasmvalue"))] + [EnumMember(Value = ("wasmvalue"))] Wasmvalue } @@ -30733,7 +30783,7 @@ public partial class PropertyPreview : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -30759,7 +30809,7 @@ public CefSharp.DevTools.Runtime.PropertyPreviewType Type /// /// Object type. Accessor means that the property itself is an accessor property. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -30769,7 +30819,7 @@ internal string type /// /// User-friendly property value string. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public string Value { get; @@ -30779,7 +30829,7 @@ public string Value /// /// Nested value preview. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("valuePreview"), IsRequired = (false))] + [DataMember(Name = ("valuePreview"), IsRequired = (false))] public CefSharp.DevTools.Runtime.ObjectPreview ValuePreview { get; @@ -30805,7 +30855,7 @@ public CefSharp.DevTools.Runtime.PropertyPreviewSubtype? Subtype /// /// Object subtype hint. Specified for `object` type values only. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] + [DataMember(Name = ("subtype"), IsRequired = (false))] internal string subtype { get; @@ -30822,7 +30872,7 @@ public partial class EntryPreview : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Preview of the key. Specified for map-like collection entries. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("key"), IsRequired = (false))] + [DataMember(Name = ("key"), IsRequired = (false))] public CefSharp.DevTools.Runtime.ObjectPreview Key { get; @@ -30832,7 +30882,7 @@ public CefSharp.DevTools.Runtime.ObjectPreview Key /// /// Preview of the value. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (true))] + [DataMember(Name = ("value"), IsRequired = (true))] public CefSharp.DevTools.Runtime.ObjectPreview Value { get; @@ -30849,7 +30899,7 @@ public partial class PropertyDescriptor : CefSharp.DevTools.DevToolsDomainEntity /// /// Property name or symbol description. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -30859,7 +30909,7 @@ public string Name /// /// The value associated with the property. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -30869,7 +30919,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Value /// /// True if the value associated with the property may be changed (data descriptors only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("writable"), IsRequired = (false))] + [DataMember(Name = ("writable"), IsRequired = (false))] public bool? Writable { get; @@ -30880,7 +30930,7 @@ public bool? Writable /// A function which serves as a getter for the property, or `undefined` if there is no getter /// (accessor descriptors only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("get"), IsRequired = (false))] + [DataMember(Name = ("get"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Get { get; @@ -30891,7 +30941,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Get /// A function which serves as a setter for the property, or `undefined` if there is no setter /// (accessor descriptors only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("set"), IsRequired = (false))] + [DataMember(Name = ("set"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Set { get; @@ -30902,7 +30952,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Set /// True if the type of this property descriptor may be changed and if the property may be /// deleted from the corresponding object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("configurable"), IsRequired = (true))] + [DataMember(Name = ("configurable"), IsRequired = (true))] public bool Configurable { get; @@ -30913,7 +30963,7 @@ public bool Configurable /// True if this property shows up during enumeration of the properties on the corresponding /// object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("enumerable"), IsRequired = (true))] + [DataMember(Name = ("enumerable"), IsRequired = (true))] public bool Enumerable { get; @@ -30923,7 +30973,7 @@ public bool Enumerable /// /// True if the result was thrown during the evaluation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("wasThrown"), IsRequired = (false))] + [DataMember(Name = ("wasThrown"), IsRequired = (false))] public bool? WasThrown { get; @@ -30933,7 +30983,7 @@ public bool? WasThrown /// /// True if the property is owned for the object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isOwn"), IsRequired = (false))] + [DataMember(Name = ("isOwn"), IsRequired = (false))] public bool? IsOwn { get; @@ -30943,7 +30993,7 @@ public bool? IsOwn /// /// Property symbol object, if the property is of the `symbol` type. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("symbol"), IsRequired = (false))] + [DataMember(Name = ("symbol"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Symbol { get; @@ -30960,7 +31010,7 @@ public partial class InternalPropertyDescriptor : CefSharp.DevTools.DevToolsDoma /// /// Conventional property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -30970,7 +31020,7 @@ public string Name /// /// The value associated with the property. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -30987,7 +31037,7 @@ public partial class PrivatePropertyDescriptor : CefSharp.DevTools.DevToolsDomai /// /// Private property name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -30997,7 +31047,7 @@ public string Name /// /// The value associated with the private property. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -31008,7 +31058,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Value /// A function which serves as a getter for the private property, /// or `undefined` if there is no getter (accessor descriptors only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("get"), IsRequired = (false))] + [DataMember(Name = ("get"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Get { get; @@ -31019,7 +31069,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Get /// A function which serves as a setter for the private property, /// or `undefined` if there is no setter (accessor descriptors only). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("set"), IsRequired = (false))] + [DataMember(Name = ("set"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Set { get; @@ -31037,7 +31087,7 @@ public partial class CallArgument : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Primitive value or serializable javascript object. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] + [DataMember(Name = ("value"), IsRequired = (false))] public object Value { get; @@ -31047,7 +31097,7 @@ public object Value /// /// Primitive value which can not be JSON-stringified. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("unserializableValue"), IsRequired = (false))] + [DataMember(Name = ("unserializableValue"), IsRequired = (false))] public string UnserializableValue { get; @@ -31057,7 +31107,7 @@ public string UnserializableValue /// /// Remote object handle. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectId"), IsRequired = (false))] + [DataMember(Name = ("objectId"), IsRequired = (false))] public string ObjectId { get; @@ -31075,7 +31125,7 @@ public partial class ExecutionContextDescription : CefSharp.DevTools.DevToolsDom /// Unique id of the execution context. It can be used to specify in which execution context /// script evaluation should be performed. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public int Id { get; @@ -31085,7 +31135,7 @@ public int Id /// /// Execution context origin. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("origin"), IsRequired = (true))] + [DataMember(Name = ("origin"), IsRequired = (true))] public string Origin { get; @@ -31095,7 +31145,7 @@ public string Origin /// /// Human readable name describing given context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -31107,7 +31157,7 @@ public string Name /// multiple processes, so can be reliably used to identify specific context while backend /// performs a cross-process navigation. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("uniqueId"), IsRequired = (true))] + [DataMember(Name = ("uniqueId"), IsRequired = (true))] public string UniqueId { get; @@ -31117,7 +31167,7 @@ public string UniqueId /// /// Embedder-specific auxiliary data. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("auxData"), IsRequired = (false))] + [DataMember(Name = ("auxData"), IsRequired = (false))] public object AuxData { get; @@ -31135,7 +31185,7 @@ public partial class ExceptionDetails : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Exception id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exceptionId"), IsRequired = (true))] + [DataMember(Name = ("exceptionId"), IsRequired = (true))] public int ExceptionId { get; @@ -31145,7 +31195,7 @@ public int ExceptionId /// /// Exception text, which should be used together with exception object when available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))] + [DataMember(Name = ("text"), IsRequired = (true))] public string Text { get; @@ -31155,7 +31205,7 @@ public string Text /// /// Line number of the exception location (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -31165,7 +31215,7 @@ public int LineNumber /// /// Column number of the exception location (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -31175,7 +31225,7 @@ public int ColumnNumber /// /// Script ID of the exception location. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (false))] + [DataMember(Name = ("scriptId"), IsRequired = (false))] public string ScriptId { get; @@ -31185,7 +31235,7 @@ public string ScriptId /// /// URL of the exception location, to be used when the script was not reported. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (false))] + [DataMember(Name = ("url"), IsRequired = (false))] public string Url { get; @@ -31195,7 +31245,7 @@ public string Url /// /// JavaScript stack trace if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackTrace"), IsRequired = (false))] + [DataMember(Name = ("stackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -31205,7 +31255,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// Exception object if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exception"), IsRequired = (false))] + [DataMember(Name = ("exception"), IsRequired = (false))] public CefSharp.DevTools.Runtime.RemoteObject Exception { get; @@ -31215,7 +31265,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Exception /// /// Identifier of the context where exception happened. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (false))] + [DataMember(Name = ("executionContextId"), IsRequired = (false))] public int? ExecutionContextId { get; @@ -31227,7 +31277,7 @@ public int? ExecutionContextId /// with this exception, such as information about associated network /// requests, etc. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exceptionMetaData"), IsRequired = (false))] + [DataMember(Name = ("exceptionMetaData"), IsRequired = (false))] public object ExceptionMetaData { get; @@ -31244,7 +31294,7 @@ public partial class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript function name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("functionName"), IsRequired = (true))] + [DataMember(Name = ("functionName"), IsRequired = (true))] public string FunctionName { get; @@ -31254,7 +31304,7 @@ public string FunctionName /// /// JavaScript script id. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] + [DataMember(Name = ("scriptId"), IsRequired = (true))] public string ScriptId { get; @@ -31264,7 +31314,7 @@ public string ScriptId /// /// JavaScript script name or url. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + [DataMember(Name = ("url"), IsRequired = (true))] public string Url { get; @@ -31274,7 +31324,7 @@ public string Url /// /// JavaScript script line number (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("lineNumber"), IsRequired = (true))] + [DataMember(Name = ("lineNumber"), IsRequired = (true))] public int LineNumber { get; @@ -31284,7 +31334,7 @@ public int LineNumber /// /// JavaScript script column number (0-based). /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("columnNumber"), IsRequired = (true))] + [DataMember(Name = ("columnNumber"), IsRequired = (true))] public int ColumnNumber { get; @@ -31302,7 +31352,7 @@ public partial class StackTrace : CefSharp.DevTools.DevToolsDomainEntityBase /// String label of this stack trace. For async traces this may be a name of the function that /// initiated the async call. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] + [DataMember(Name = ("description"), IsRequired = (false))] public string Description { get; @@ -31312,7 +31362,7 @@ public string Description /// /// JavaScript function name. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("callFrames"), IsRequired = (true))] + [DataMember(Name = ("callFrames"), IsRequired = (true))] public System.Collections.Generic.IList CallFrames { get; @@ -31322,7 +31372,7 @@ public System.Collections.Generic.IList Cal /// /// Asynchronous JavaScript stack trace that preceded this stack, if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parent"), IsRequired = (false))] + [DataMember(Name = ("parent"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace Parent { get; @@ -31332,7 +31382,7 @@ public CefSharp.DevTools.Runtime.StackTrace Parent /// /// Asynchronous JavaScript stack trace that preceded this stack, if available. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("parentId"), IsRequired = (false))] + [DataMember(Name = ("parentId"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTraceId ParentId { get; @@ -31350,7 +31400,7 @@ public partial class StackTraceId : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Id /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("id"), IsRequired = (true))] + [DataMember(Name = ("id"), IsRequired = (true))] public string Id { get; @@ -31360,7 +31410,7 @@ public string Id /// /// DebuggerId /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("debuggerId"), IsRequired = (false))] + [DataMember(Name = ("debuggerId"), IsRequired = (false))] public string DebuggerId { get; @@ -31377,7 +31427,7 @@ public class BindingCalledEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Name /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + [DataMember(Name = ("name"), IsRequired = (true))] public string Name { get; @@ -31387,7 +31437,7 @@ public string Name /// /// Payload /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("payload"), IsRequired = (true))] + [DataMember(Name = ("payload"), IsRequired = (true))] public string Payload { get; @@ -31397,7 +31447,7 @@ public string Payload /// /// Identifier of the context where the call was made. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (true))] + [DataMember(Name = ("executionContextId"), IsRequired = (true))] public int ExecutionContextId { get; @@ -31413,92 +31463,92 @@ public enum ConsoleAPICalledType /// /// log /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("log"))] + [EnumMember(Value = ("log"))] Log, /// /// debug /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("debug"))] + [EnumMember(Value = ("debug"))] Debug, /// /// info /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("info"))] + [EnumMember(Value = ("info"))] Info, /// /// error /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("error"))] + [EnumMember(Value = ("error"))] Error, /// /// warning /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("warning"))] + [EnumMember(Value = ("warning"))] Warning, /// /// dir /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dir"))] + [EnumMember(Value = ("dir"))] Dir, /// /// dirxml /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dirxml"))] + [EnumMember(Value = ("dirxml"))] Dirxml, /// /// table /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("table"))] + [EnumMember(Value = ("table"))] Table, /// /// trace /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("trace"))] + [EnumMember(Value = ("trace"))] Trace, /// /// clear /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("clear"))] + [EnumMember(Value = ("clear"))] Clear, /// /// startGroup /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("startGroup"))] + [EnumMember(Value = ("startGroup"))] StartGroup, /// /// startGroupCollapsed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("startGroupCollapsed"))] + [EnumMember(Value = ("startGroupCollapsed"))] StartGroupCollapsed, /// /// endGroup /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("endGroup"))] + [EnumMember(Value = ("endGroup"))] EndGroup, /// /// assert /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("assert"))] + [EnumMember(Value = ("assert"))] Assert, /// /// profile /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("profile"))] + [EnumMember(Value = ("profile"))] Profile, /// /// profileEnd /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("profileEnd"))] + [EnumMember(Value = ("profileEnd"))] ProfileEnd, /// /// count /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("count"))] + [EnumMember(Value = ("count"))] Count, /// /// timeEnd /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("timeEnd"))] + [EnumMember(Value = ("timeEnd"))] TimeEnd } @@ -31527,7 +31577,7 @@ public CefSharp.DevTools.Runtime.ConsoleAPICalledType Type /// /// Type of the call. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + [DataMember(Name = ("type"), IsRequired = (true))] internal string type { get; @@ -31537,7 +31587,7 @@ internal string type /// /// Call arguments. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("args"), IsRequired = (true))] + [DataMember(Name = ("args"), IsRequired = (true))] public System.Collections.Generic.IList Args { get; @@ -31547,7 +31597,7 @@ public System.Collections.Generic.IList /// /// Identifier of the context where the call was made. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (true))] + [DataMember(Name = ("executionContextId"), IsRequired = (true))] public int ExecutionContextId { get; @@ -31557,7 +31607,7 @@ public int ExecutionContextId /// /// Call timestamp. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -31569,7 +31619,7 @@ public double Timestamp /// the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call /// chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("stackTrace"), IsRequired = (false))] + [DataMember(Name = ("stackTrace"), IsRequired = (false))] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -31581,7 +31631,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call /// on named context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("context"), IsRequired = (false))] + [DataMember(Name = ("context"), IsRequired = (false))] public string Context { get; @@ -31598,7 +31648,7 @@ public class ExceptionRevokedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Reason describing why exception was revoked. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))] + [DataMember(Name = ("reason"), IsRequired = (true))] public string Reason { get; @@ -31608,7 +31658,7 @@ public string Reason /// /// The id of revoked exception, as reported in `exceptionThrown`. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exceptionId"), IsRequired = (true))] + [DataMember(Name = ("exceptionId"), IsRequired = (true))] public int ExceptionId { get; @@ -31625,7 +31675,7 @@ public class ExceptionThrownEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Timestamp of the exception. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("timestamp"), IsRequired = (true))] + [DataMember(Name = ("timestamp"), IsRequired = (true))] public double Timestamp { get; @@ -31635,7 +31685,7 @@ public double Timestamp /// /// ExceptionDetails /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("exceptionDetails"), IsRequired = (true))] + [DataMember(Name = ("exceptionDetails"), IsRequired = (true))] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -31652,7 +31702,7 @@ public class ExecutionContextCreatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// A newly created execution context. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("context"), IsRequired = (true))] + [DataMember(Name = ("context"), IsRequired = (true))] public CefSharp.DevTools.Runtime.ExecutionContextDescription Context { get; @@ -31669,7 +31719,7 @@ public class ExecutionContextDestroyedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Id of the destroyed context /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (true))] + [DataMember(Name = ("executionContextId"), IsRequired = (true))] public int ExecutionContextId { get; @@ -31679,7 +31729,7 @@ public int ExecutionContextId /// /// Unique Id of the destroyed context /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextUniqueId"), IsRequired = (true))] + [DataMember(Name = ("executionContextUniqueId"), IsRequired = (true))] public string ExecutionContextUniqueId { get; @@ -31697,7 +31747,7 @@ public class InspectRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Object /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("object"), IsRequired = (true))] + [DataMember(Name = ("object"), IsRequired = (true))] public CefSharp.DevTools.Runtime.RemoteObject Object { get; @@ -31707,7 +31757,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Object /// /// Hints /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("hints"), IsRequired = (true))] + [DataMember(Name = ("hints"), IsRequired = (true))] public object Hints { get; @@ -31717,7 +31767,7 @@ public object Hints /// /// Identifier of the context where the call was made. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("executionContextId"), IsRequired = (false))] + [DataMember(Name = ("executionContextId"), IsRequired = (false))] public int? ExecutionContextId { get; @@ -31731,10 +31781,10 @@ namespace CefSharp.DevTools.Accessibility /// /// GetPartialAXTreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPartialAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPartialAXTreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList nodes { get; @@ -31759,10 +31809,10 @@ namespace CefSharp.DevTools.Accessibility /// /// GetFullAXTreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFullAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetFullAXTreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList nodes { get; @@ -31787,10 +31837,10 @@ namespace CefSharp.DevTools.Accessibility /// /// GetRootAXNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetRootAXNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetRootAXNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Accessibility.AXNode node { get; @@ -31815,10 +31865,10 @@ namespace CefSharp.DevTools.Accessibility /// /// GetAXNodeAndAncestorsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAXNodeAndAncestorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAXNodeAndAncestorsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList nodes { get; @@ -31843,10 +31893,10 @@ namespace CefSharp.DevTools.Accessibility /// /// GetChildAXNodesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetChildAXNodesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetChildAXNodesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList nodes { get; @@ -31871,10 +31921,10 @@ namespace CefSharp.DevTools.Accessibility /// /// QueryAXTreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class QueryAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class QueryAXTreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList nodes { get; @@ -31974,7 +32024,7 @@ public System.Threading.Tasks.Task EnableAsync() /// Identifier of the node to get the partial accessibility tree for. /// Identifier of the backend node to get the partial accessibility tree for. /// JavaScript object id of the node wrapper to get the partial accessibility tree for. - /// Whether to fetch this nodes ancestors, siblings and children. Defaults to true. + /// Whether to fetch this node's ancestors, siblings and children. Defaults to true. /// returns System.Threading.Tasks.Task<GetPartialAXTreeResponse> public System.Threading.Tasks.Task GetPartialAXTreeAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? fetchRelatives = null) { @@ -32151,10 +32201,10 @@ namespace CefSharp.DevTools.Animation /// /// GetCurrentTimeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCurrentTimeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCurrentTimeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double currentTime { get; @@ -32179,10 +32229,10 @@ namespace CefSharp.DevTools.Animation /// /// GetPlaybackRateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPlaybackRateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPlaybackRateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double playbackRate { get; @@ -32207,10 +32257,10 @@ namespace CefSharp.DevTools.Animation /// /// ResolveAnimationResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ResolveAnimationResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ResolveAnimationResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject remoteObject { get; @@ -32440,10 +32490,10 @@ namespace CefSharp.DevTools.Audits /// /// GetEncodedResponseResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetEncodedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetEncodedResponseResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string body { get; @@ -32461,7 +32511,7 @@ public byte[] Body } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int originalSize { get; @@ -32479,7 +32529,7 @@ public int OriginalSize } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int encodedSize { get; @@ -32511,17 +32561,17 @@ public enum GetEncodedResponseEncoding /// /// webp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] + [EnumMember(Value = ("webp"))] Webp, /// /// jpeg /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jpeg"))] + [EnumMember(Value = ("jpeg"))] Jpeg, /// /// png /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("png"))] + [EnumMember(Value = ("png"))] Png } @@ -32744,10 +32794,10 @@ namespace CefSharp.DevTools.Browser /// /// GetVersionResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetVersionResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetVersionResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string protocolVersion { get; @@ -32765,7 +32815,7 @@ public string ProtocolVersion } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string product { get; @@ -32783,7 +32833,7 @@ public string Product } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string revision { get; @@ -32801,7 +32851,7 @@ public string Revision } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string userAgent { get; @@ -32819,7 +32869,7 @@ public string UserAgent } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string jsVersion { get; @@ -32844,10 +32894,10 @@ namespace CefSharp.DevTools.Browser /// /// GetBrowserCommandLineResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBrowserCommandLineResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBrowserCommandLineResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] arguments { get; @@ -32872,10 +32922,10 @@ namespace CefSharp.DevTools.Browser /// /// GetHistogramsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetHistogramsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetHistogramsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList histograms { get; @@ -32900,10 +32950,10 @@ namespace CefSharp.DevTools.Browser /// /// GetHistogramResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetHistogramResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetHistogramResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Browser.Histogram histogram { get; @@ -32928,10 +32978,10 @@ namespace CefSharp.DevTools.Browser /// /// GetWindowBoundsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetWindowBoundsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetWindowBoundsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Browser.Bounds bounds { get; @@ -32956,10 +33006,10 @@ namespace CefSharp.DevTools.Browser /// /// GetWindowForTargetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetWindowForTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetWindowForTargetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int windowId { get; @@ -32977,7 +33027,7 @@ public int WindowId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Browser.Bounds bounds { get; @@ -33011,22 +33061,22 @@ public enum SetDownloadBehaviorBehavior /// /// deny /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("deny"))] + [EnumMember(Value = ("deny"))] Deny, /// /// allow /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("allow"))] + [EnumMember(Value = ("allow"))] Allow, /// /// allowAndName /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("allowAndName"))] + [EnumMember(Value = ("allowAndName"))] AllowAndName, /// /// default /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("default"))] + [EnumMember(Value = ("default"))] Default } @@ -33389,10 +33439,10 @@ namespace CefSharp.DevTools.CSS /// /// AddRuleResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AddRuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AddRuleResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSRule rule { get; @@ -33417,10 +33467,10 @@ namespace CefSharp.DevTools.CSS /// /// CollectClassNamesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CollectClassNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CollectClassNamesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] classNames { get; @@ -33445,10 +33495,10 @@ namespace CefSharp.DevTools.CSS /// /// CreateStyleSheetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CreateStyleSheetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CreateStyleSheetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string styleSheetId { get; @@ -33473,10 +33523,10 @@ namespace CefSharp.DevTools.CSS /// /// GetBackgroundColorsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBackgroundColorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBackgroundColorsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] backgroundColors { get; @@ -33494,7 +33544,7 @@ public string[] BackgroundColors } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string computedFontSize { get; @@ -33512,7 +33562,7 @@ public string ComputedFontSize } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string computedFontWeight { get; @@ -33537,10 +33587,10 @@ namespace CefSharp.DevTools.CSS /// /// GetComputedStyleForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetComputedStyleForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetComputedStyleForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList computedStyle { get; @@ -33565,10 +33615,10 @@ namespace CefSharp.DevTools.CSS /// /// GetInlineStylesForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetInlineStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetInlineStylesForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSStyle inlineStyle { get; @@ -33586,7 +33636,7 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSStyle attributesStyle { get; @@ -33611,10 +33661,10 @@ namespace CefSharp.DevTools.CSS /// /// GetMatchedStylesForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetMatchedStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetMatchedStylesForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSStyle inlineStyle { get; @@ -33632,7 +33682,7 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSStyle attributesStyle { get; @@ -33650,7 +33700,7 @@ public CefSharp.DevTools.CSS.CSSStyle AttributesStyle } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList matchedCSSRules { get; @@ -33668,7 +33718,7 @@ public System.Collections.Generic.IList Matched } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList pseudoElements { get; @@ -33686,7 +33736,7 @@ public System.Collections.Generic.IList inherited { get; @@ -33704,7 +33754,7 @@ public System.Collections.Generic.IList inheritedPseudoElements { get; @@ -33722,7 +33772,7 @@ public System.Collections.Generic.IList cssKeyframesRules { get; @@ -33740,7 +33790,7 @@ public System.Collections.Generic.IList } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int? parentLayoutNodeId { get; @@ -33765,10 +33815,10 @@ namespace CefSharp.DevTools.CSS /// /// GetMediaQueriesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetMediaQueriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetMediaQueriesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList medias { get; @@ -33793,10 +33843,10 @@ namespace CefSharp.DevTools.CSS /// /// GetPlatformFontsForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPlatformFontsForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPlatformFontsForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList fonts { get; @@ -33821,10 +33871,10 @@ namespace CefSharp.DevTools.CSS /// /// GetStyleSheetTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetStyleSheetTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string text { get; @@ -33849,10 +33899,10 @@ namespace CefSharp.DevTools.CSS /// /// GetLayersForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetLayersForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetLayersForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSLayerData rootLayer { get; @@ -33877,10 +33927,10 @@ namespace CefSharp.DevTools.CSS /// /// TakeComputedStyleUpdatesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakeComputedStyleUpdatesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class TakeComputedStyleUpdatesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -33905,10 +33955,10 @@ namespace CefSharp.DevTools.CSS /// /// SetKeyframeKeyResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetKeyframeKeyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetKeyframeKeyResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.Value keyText { get; @@ -33933,10 +33983,10 @@ namespace CefSharp.DevTools.CSS /// /// SetMediaTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetMediaTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetMediaTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSMedia media { get; @@ -33961,10 +34011,10 @@ namespace CefSharp.DevTools.CSS /// /// SetContainerQueryTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetContainerQueryTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetContainerQueryTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSContainerQuery containerQuery { get; @@ -33989,10 +34039,10 @@ namespace CefSharp.DevTools.CSS /// /// SetSupportsTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetSupportsTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetSupportsTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSSupports supports { get; @@ -34017,10 +34067,10 @@ namespace CefSharp.DevTools.CSS /// /// SetScopeTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetScopeTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetScopeTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.CSSScope scope { get; @@ -34045,10 +34095,10 @@ namespace CefSharp.DevTools.CSS /// /// SetRuleSelectorResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetRuleSelectorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetRuleSelectorResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CSS.SelectorList selectorList { get; @@ -34073,10 +34123,10 @@ namespace CefSharp.DevTools.CSS /// /// SetStyleSheetTextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetStyleSheetTextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string sourceMapURL { get; @@ -34101,10 +34151,10 @@ namespace CefSharp.DevTools.CSS /// /// SetStyleTextsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetStyleTextsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetStyleTextsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList styles { get; @@ -34129,10 +34179,10 @@ namespace CefSharp.DevTools.CSS /// /// StopRuleUsageTrackingResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class StopRuleUsageTrackingResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class StopRuleUsageTrackingResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList ruleUsage { get; @@ -34157,10 +34207,10 @@ namespace CefSharp.DevTools.CSS /// /// TakeCoverageDeltaResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakeCoverageDeltaResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class TakeCoverageDeltaResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList coverage { get; @@ -34178,7 +34228,7 @@ public System.Collections.Generic.IList Coverag } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double timestamp { get; @@ -34224,7 +34274,7 @@ public CSSClient(CefSharp.DevTools.IDevToolsClient client) /// /// Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded - /// web font + /// web font. /// public event System.EventHandler FontsUpdated { @@ -34700,7 +34750,7 @@ public System.Threading.Tasks.Task StartRuleUsageTrackin /// /// Stop tracking rule usage and return the list of rules that were used since last call to - /// `takeCoverageDelta` (or since start of coverage instrumentation) + /// `takeCoverageDelta` (or since start of coverage instrumentation). /// /// returns System.Threading.Tasks.Task<StopRuleUsageTrackingResponse> public System.Threading.Tasks.Task StopRuleUsageTrackingAsync() @@ -34711,7 +34761,7 @@ public System.Threading.Tasks.Task StopRuleUsageT /// /// Obtain list of rules that became used since last call to this method (or since start of coverage - /// instrumentation) + /// instrumentation). /// /// returns System.Threading.Tasks.Task<TakeCoverageDeltaResponse> public System.Threading.Tasks.Task TakeCoverageDeltaAsync() @@ -34741,10 +34791,10 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestCacheNamesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestCacheNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestCacheNamesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList caches { get; @@ -34769,10 +34819,10 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestCachedResponseResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestCachedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestCachedResponseResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.CacheStorage.CachedResponse response { get; @@ -34797,10 +34847,10 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestEntriesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestEntriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestEntriesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList cacheDataEntries { get; @@ -34818,7 +34868,7 @@ public System.Collections.Generic.IList /// CollectClassNamesFromSubtreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CollectClassNamesFromSubtreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CollectClassNamesFromSubtreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] classNames { get; @@ -35141,10 +35191,10 @@ namespace CefSharp.DevTools.DOM /// /// CopyToResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CopyToResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CopyToResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35169,10 +35219,10 @@ namespace CefSharp.DevTools.DOM /// /// DescribeNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class DescribeNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class DescribeNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.DOM.Node node { get; @@ -35197,10 +35247,10 @@ namespace CefSharp.DevTools.DOM /// /// GetAttributesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAttributesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAttributesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] attributes { get; @@ -35225,10 +35275,10 @@ namespace CefSharp.DevTools.DOM /// /// GetBoxModelResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBoxModelResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBoxModelResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.DOM.BoxModel model { get; @@ -35253,10 +35303,10 @@ namespace CefSharp.DevTools.DOM /// /// GetContentQuadsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetContentQuadsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetContentQuadsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double[] quads { get; @@ -35281,10 +35331,10 @@ namespace CefSharp.DevTools.DOM /// /// GetDocumentResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetDocumentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetDocumentResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.DOM.Node root { get; @@ -35309,10 +35359,10 @@ namespace CefSharp.DevTools.DOM /// /// GetNodesForSubtreeByStyleResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetNodesForSubtreeByStyleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetNodesForSubtreeByStyleResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35337,10 +35387,10 @@ namespace CefSharp.DevTools.DOM /// /// GetNodeForLocationResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetNodeForLocationResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetNodeForLocationResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int backendNodeId { get; @@ -35358,7 +35408,7 @@ public int BackendNodeId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string frameId { get; @@ -35376,7 +35426,7 @@ public string FrameId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int? nodeId { get; @@ -35401,10 +35451,10 @@ namespace CefSharp.DevTools.DOM /// /// GetOuterHTMLResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetOuterHTMLResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetOuterHTMLResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string outerHTML { get; @@ -35429,10 +35479,10 @@ namespace CefSharp.DevTools.DOM /// /// GetRelayoutBoundaryResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetRelayoutBoundaryResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetRelayoutBoundaryResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35457,10 +35507,10 @@ namespace CefSharp.DevTools.DOM /// /// GetSearchResultsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSearchResultsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSearchResultsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35485,10 +35535,10 @@ namespace CefSharp.DevTools.DOM /// /// MoveToResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class MoveToResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class MoveToResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35513,10 +35563,10 @@ namespace CefSharp.DevTools.DOM /// /// PerformSearchResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class PerformSearchResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class PerformSearchResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string searchId { get; @@ -35534,7 +35584,7 @@ public string SearchId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int resultCount { get; @@ -35559,10 +35609,10 @@ namespace CefSharp.DevTools.DOM /// /// PushNodeByPathToFrontendResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class PushNodeByPathToFrontendResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class PushNodeByPathToFrontendResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35587,10 +35637,10 @@ namespace CefSharp.DevTools.DOM /// /// PushNodesByBackendIdsToFrontendResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class PushNodesByBackendIdsToFrontendResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class PushNodesByBackendIdsToFrontendResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35615,10 +35665,10 @@ namespace CefSharp.DevTools.DOM /// /// QuerySelectorResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class QuerySelectorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class QuerySelectorResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35643,10 +35693,10 @@ namespace CefSharp.DevTools.DOM /// /// QuerySelectorAllResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class QuerySelectorAllResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class QuerySelectorAllResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35671,10 +35721,10 @@ namespace CefSharp.DevTools.DOM /// /// GetTopLayerElementsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetTopLayerElementsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetTopLayerElementsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35699,10 +35749,10 @@ namespace CefSharp.DevTools.DOM /// /// RequestNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35727,10 +35777,10 @@ namespace CefSharp.DevTools.DOM /// /// ResolveNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ResolveNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ResolveNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject @object { get; @@ -35755,10 +35805,10 @@ namespace CefSharp.DevTools.DOM /// /// GetNodeStackTracesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetNodeStackTracesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetNodeStackTracesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTrace creation { get; @@ -35783,10 +35833,10 @@ namespace CefSharp.DevTools.DOM /// /// GetFileInfoResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFileInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetFileInfoResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string path { get; @@ -35811,10 +35861,10 @@ namespace CefSharp.DevTools.DOM /// /// SetNodeNameResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetNodeNameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetNodeNameResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodeId { get; @@ -35839,10 +35889,10 @@ namespace CefSharp.DevTools.DOM /// /// GetFrameOwnerResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFrameOwnerResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetFrameOwnerResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int backendNodeId { get; @@ -35860,7 +35910,7 @@ public int BackendNodeId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int? nodeId { get; @@ -35885,10 +35935,10 @@ namespace CefSharp.DevTools.DOM /// /// GetContainerForNodeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetContainerForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetContainerForNodeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int? nodeId { get; @@ -35913,10 +35963,10 @@ namespace CefSharp.DevTools.DOM /// /// GetQueryingDescendantsForContainerResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetQueryingDescendantsForContainerResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetQueryingDescendantsForContainerResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] nodeIds { get; @@ -35948,12 +35998,12 @@ public enum EnableIncludeWhitespace /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// all /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("all"))] + [EnumMember(Value = ("all"))] All } @@ -36488,6 +36538,7 @@ public System.Threading.Tasks.Task GetContentQuadsAsync partial void ValidateGetDocument(int? depth = null, bool? pierce = null); /// /// Returns the root DOM node (and optionally the subtree) to the caller. + /// Implicitly enables the DOM domain events for the current target. /// /// The maximum depth at which children should be retrieved, defaults to 1. Use -1 for theentire subtree or provide an integer larger than 0. /// Whether or not iframes and shadow roots should be traversed when returning the subtree(default is false). @@ -37158,10 +37209,10 @@ namespace CefSharp.DevTools.DOMDebugger /// /// GetEventListenersResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetEventListenersResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetEventListenersResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList listeners { get; @@ -37428,10 +37479,10 @@ namespace CefSharp.DevTools.DOMSnapshot /// /// CaptureSnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CaptureSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CaptureSnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList documents { get; @@ -37449,7 +37500,7 @@ public System.Collections.Generic.IList /// GetDOMStorageItemsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetDOMStorageItemsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetDOMStorageItemsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] entries { get; @@ -37751,10 +37802,10 @@ namespace CefSharp.DevTools.Database /// /// ExecuteSQLResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ExecuteSQLResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ExecuteSQLResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] columnNames { get; @@ -37772,7 +37823,7 @@ public string[] ColumnNames } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal object[] values { get; @@ -37790,7 +37841,7 @@ public object[] Values } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Database.Error sqlError { get; @@ -37815,10 +37866,10 @@ namespace CefSharp.DevTools.Database /// /// GetDatabaseTableNamesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetDatabaseTableNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetDatabaseTableNamesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] tableNames { get; @@ -37979,10 +38030,10 @@ namespace CefSharp.DevTools.Emulation /// /// CanEmulateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CanEmulateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CanEmulateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool result { get; @@ -38007,10 +38058,10 @@ namespace CefSharp.DevTools.Emulation /// /// SetVirtualTimePolicyResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetVirtualTimePolicyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetVirtualTimePolicyResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double virtualTimeTicksBase { get; @@ -38042,49 +38093,55 @@ public enum SetEmitTouchEventsForMouseConfiguration /// /// mobile /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mobile"))] + [EnumMember(Value = ("mobile"))] Mobile, /// /// desktop /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("desktop"))] + [EnumMember(Value = ("desktop"))] Desktop } /// - /// Vision deficiency to emulate. + /// Vision deficiency to emulate. Order: best-effort emulations come first, followed by any + /// physiologically accurate emulations for medically recognized color vision deficiencies. /// public enum SetEmulatedVisionDeficiencyType { /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// - /// achromatopsia - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("achromatopsia"))] - Achromatopsia, - /// /// blurredVision /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("blurredVision"))] + [EnumMember(Value = ("blurredVision"))] BlurredVision, /// + /// reducedContrast + /// + [EnumMember(Value = ("reducedContrast"))] + ReducedContrast, + /// + /// achromatopsia + /// + [EnumMember(Value = ("achromatopsia"))] + Achromatopsia, + /// /// deuteranopia /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("deuteranopia"))] + [EnumMember(Value = ("deuteranopia"))] Deuteranopia, /// /// protanopia /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("protanopia"))] + [EnumMember(Value = ("protanopia"))] Protanopia, /// /// tritanopia /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("tritanopia"))] + [EnumMember(Value = ("tritanopia"))] Tritanopia } @@ -38376,7 +38433,7 @@ public System.Threading.Tasks.Task SetEmulatedMediaAsync /// /// Emulates the given vision deficiency. /// - /// Vision deficiency to emulate. + /// Vision deficiency to emulate. Order: best-effort emulations come first, followed by anyphysiologically accurate emulations for medically recognized color vision deficiencies. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> public System.Threading.Tasks.Task SetEmulatedVisionDeficiencyAsync(CefSharp.DevTools.Emulation.SetEmulatedVisionDeficiencyType type) { @@ -38637,10 +38694,10 @@ namespace CefSharp.DevTools.HeadlessExperimental /// /// BeginFrameResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class BeginFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class BeginFrameResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool hasDamage { get; @@ -38658,7 +38715,7 @@ public bool HasDamage } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string screenshotData { get; @@ -38743,10 +38800,10 @@ namespace CefSharp.DevTools.IO /// /// ReadResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ReadResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ReadResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool? base64Encoded { get; @@ -38764,7 +38821,7 @@ public bool? Base64Encoded } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string data { get; @@ -38782,7 +38839,7 @@ public string Data } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool eof { get; @@ -38807,10 +38864,10 @@ namespace CefSharp.DevTools.IO /// /// ResolveBlobResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ResolveBlobResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ResolveBlobResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string uuid { get; @@ -38910,10 +38967,10 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDataResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestDataResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList objectStoreDataEntries { get; @@ -38931,7 +38988,7 @@ public System.Collections.Generic.IList O } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool hasMore { get; @@ -38956,10 +39013,10 @@ namespace CefSharp.DevTools.IndexedDB /// /// GetMetadataResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetMetadataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetMetadataResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double entriesCount { get; @@ -38977,7 +39034,7 @@ public double EntriesCount } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double keyGeneratorValue { get; @@ -39002,10 +39059,10 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDatabaseResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestDatabaseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestDatabaseResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.IndexedDB.DatabaseWithObjectStores databaseWithObjectStores { get; @@ -39030,10 +39087,10 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDatabaseNamesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestDatabaseNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestDatabaseNamesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] databaseNames { get; @@ -39218,7 +39275,7 @@ public System.Threading.Tasks.Task RequestDataAsync(string partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); /// - /// Gets metadata of an object store + /// Gets metadata of an object store. /// /// Database name. /// Object store name. @@ -39308,22 +39365,22 @@ public enum DispatchDragEventType /// /// dragEnter /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dragEnter"))] + [EnumMember(Value = ("dragEnter"))] DragEnter, /// /// dragOver /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dragOver"))] + [EnumMember(Value = ("dragOver"))] DragOver, /// /// drop /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("drop"))] + [EnumMember(Value = ("drop"))] Drop, /// /// dragCancel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dragCancel"))] + [EnumMember(Value = ("dragCancel"))] DragCancel } @@ -39335,22 +39392,22 @@ public enum DispatchKeyEventType /// /// keyDown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyDown"))] + [EnumMember(Value = ("keyDown"))] KeyDown, /// /// keyUp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyUp"))] + [EnumMember(Value = ("keyUp"))] KeyUp, /// /// rawKeyDown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("rawKeyDown"))] + [EnumMember(Value = ("rawKeyDown"))] RawKeyDown, /// /// char /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("char"))] + [EnumMember(Value = ("char"))] Char } @@ -39362,22 +39419,22 @@ public enum DispatchMouseEventType /// /// mousePressed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mousePressed"))] + [EnumMember(Value = ("mousePressed"))] MousePressed, /// /// mouseReleased /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseReleased"))] + [EnumMember(Value = ("mouseReleased"))] MouseReleased, /// /// mouseMoved /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseMoved"))] + [EnumMember(Value = ("mouseMoved"))] MouseMoved, /// /// mouseWheel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseWheel"))] + [EnumMember(Value = ("mouseWheel"))] MouseWheel } @@ -39389,12 +39446,12 @@ public enum DispatchMouseEventPointerType /// /// mouse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouse"))] + [EnumMember(Value = ("mouse"))] Mouse, /// /// pen /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("pen"))] + [EnumMember(Value = ("pen"))] Pen } @@ -39407,22 +39464,22 @@ public enum DispatchTouchEventType /// /// touchStart /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("touchStart"))] + [EnumMember(Value = ("touchStart"))] TouchStart, /// /// touchEnd /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("touchEnd"))] + [EnumMember(Value = ("touchEnd"))] TouchEnd, /// /// touchMove /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("touchMove"))] + [EnumMember(Value = ("touchMove"))] TouchMove, /// /// touchCancel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("touchCancel"))] + [EnumMember(Value = ("touchCancel"))] TouchCancel } @@ -39434,22 +39491,22 @@ public enum EmulateTouchFromMouseEventType /// /// mousePressed /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mousePressed"))] + [EnumMember(Value = ("mousePressed"))] MousePressed, /// /// mouseReleased /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseReleased"))] + [EnumMember(Value = ("mouseReleased"))] MouseReleased, /// /// mouseMoved /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseMoved"))] + [EnumMember(Value = ("mouseMoved"))] MouseMoved, /// /// mouseWheel /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mouseWheel"))] + [EnumMember(Value = ("mouseWheel"))] MouseWheel } @@ -40095,10 +40152,10 @@ namespace CefSharp.DevTools.LayerTree /// /// CompositingReasonsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CompositingReasonsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CompositingReasonsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] compositingReasons { get; @@ -40116,7 +40173,7 @@ public string[] CompositingReasons } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] compositingReasonIds { get; @@ -40141,10 +40198,10 @@ namespace CefSharp.DevTools.LayerTree /// /// LoadSnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class LoadSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class LoadSnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string snapshotId { get; @@ -40169,10 +40226,10 @@ namespace CefSharp.DevTools.LayerTree /// /// MakeSnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class MakeSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class MakeSnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string snapshotId { get; @@ -40197,10 +40254,10 @@ namespace CefSharp.DevTools.LayerTree /// /// ProfileSnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ProfileSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ProfileSnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double[] timings { get; @@ -40225,10 +40282,10 @@ namespace CefSharp.DevTools.LayerTree /// /// ReplaySnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ReplaySnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ReplaySnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string dataURL { get; @@ -40253,10 +40310,10 @@ namespace CefSharp.DevTools.LayerTree /// /// SnapshotCommandLogResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SnapshotCommandLogResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SnapshotCommandLogResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList commandLog { get; @@ -40580,10 +40637,10 @@ namespace CefSharp.DevTools.Memory /// /// GetDOMCountersResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetDOMCountersResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetDOMCountersResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int documents { get; @@ -40601,7 +40658,7 @@ public int Documents } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int nodes { get; @@ -40619,7 +40676,7 @@ public int Nodes } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int jsEventListeners { get; @@ -40644,10 +40701,10 @@ namespace CefSharp.DevTools.Memory /// /// GetAllTimeSamplingProfileResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAllTimeSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAllTimeSamplingProfileResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Memory.SamplingProfile profile { get; @@ -40672,10 +40729,10 @@ namespace CefSharp.DevTools.Memory /// /// GetBrowserSamplingProfileResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBrowserSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBrowserSamplingProfileResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Memory.SamplingProfile profile { get; @@ -40700,10 +40757,10 @@ namespace CefSharp.DevTools.Memory /// /// GetSamplingProfileResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSamplingProfileResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Memory.SamplingProfile profile { get; @@ -40874,10 +40931,10 @@ namespace CefSharp.DevTools.Network /// /// GetCertificateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCertificateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCertificateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] tableNames { get; @@ -40902,10 +40959,10 @@ namespace CefSharp.DevTools.Network /// /// GetCookiesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCookiesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList cookies { get; @@ -40930,10 +40987,10 @@ namespace CefSharp.DevTools.Network /// /// GetResponseBodyResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetResponseBodyResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string body { get; @@ -40951,7 +41008,7 @@ public string Body } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool base64Encoded { get; @@ -40976,10 +41033,10 @@ namespace CefSharp.DevTools.Network /// /// GetRequestPostDataResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetRequestPostDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetRequestPostDataResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string postData { get; @@ -41004,10 +41061,10 @@ namespace CefSharp.DevTools.Network /// /// GetResponseBodyForInterceptionResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetResponseBodyForInterceptionResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetResponseBodyForInterceptionResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string body { get; @@ -41025,7 +41082,7 @@ public string Body } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool base64Encoded { get; @@ -41050,10 +41107,10 @@ namespace CefSharp.DevTools.Network /// /// TakeResponseBodyForInterceptionAsStreamResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakeResponseBodyForInterceptionAsStreamResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class TakeResponseBodyForInterceptionAsStreamResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string stream { get; @@ -41078,10 +41135,10 @@ namespace CefSharp.DevTools.Network /// /// SearchInResponseBodyResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SearchInResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SearchInResponseBodyResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -41106,10 +41163,10 @@ namespace CefSharp.DevTools.Network /// /// SetCookieResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetCookieResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetCookieResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool success { get; @@ -41134,10 +41191,10 @@ namespace CefSharp.DevTools.Network /// /// GetSecurityIsolationStatusResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSecurityIsolationStatusResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSecurityIsolationStatusResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Network.SecurityIsolationStatus status { get; @@ -41162,10 +41219,10 @@ namespace CefSharp.DevTools.Network /// /// LoadNetworkResourceResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class LoadNetworkResourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class LoadNetworkResourceResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Network.LoadNetworkResourcePageResult resource { get; @@ -42224,10 +42281,10 @@ namespace CefSharp.DevTools.Overlay /// /// GetHighlightObjectForTestResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetHighlightObjectForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetHighlightObjectForTestResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal object highlight { get; @@ -42252,10 +42309,10 @@ namespace CefSharp.DevTools.Overlay /// /// GetGridHighlightObjectsForTestResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetGridHighlightObjectsForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetGridHighlightObjectsForTestResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal object highlights { get; @@ -42280,10 +42337,10 @@ namespace CefSharp.DevTools.Overlay /// /// GetSourceOrderHighlightObjectForTestResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSourceOrderHighlightObjectForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSourceOrderHighlightObjectForTestResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal object highlight { get; @@ -42859,10 +42916,10 @@ namespace CefSharp.DevTools.Page /// /// AddScriptToEvaluateOnNewDocumentResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AddScriptToEvaluateOnNewDocumentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AddScriptToEvaluateOnNewDocumentResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string identifier { get; @@ -42887,10 +42944,10 @@ namespace CefSharp.DevTools.Page /// /// CaptureScreenshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CaptureScreenshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CaptureScreenshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string data { get; @@ -42915,10 +42972,10 @@ namespace CefSharp.DevTools.Page /// /// CaptureSnapshotResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CaptureSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CaptureSnapshotResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string data { get; @@ -42943,10 +43000,10 @@ namespace CefSharp.DevTools.Page /// /// CreateIsolatedWorldResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CreateIsolatedWorldResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CreateIsolatedWorldResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int executionContextId { get; @@ -42971,10 +43028,10 @@ namespace CefSharp.DevTools.Page /// /// GetAppManifestResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAppManifestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAppManifestResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string url { get; @@ -42992,7 +43049,7 @@ public string Url } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList errors { get; @@ -43010,7 +43067,7 @@ public System.Collections.Generic.IList } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string data { get; @@ -43028,7 +43085,7 @@ public string Data } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.AppManifestParsedProperties parsed { get; @@ -43053,10 +43110,10 @@ namespace CefSharp.DevTools.Page /// /// GetInstallabilityErrorsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetInstallabilityErrorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetInstallabilityErrorsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList installabilityErrors { get; @@ -43076,43 +43133,15 @@ public System.Collections.Generic.IList - /// GetManifestIconsResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetManifestIconsResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal string primaryIcon - { - get; - set; - } - - /// - /// primaryIcon - /// - public byte[] PrimaryIcon - { - get - { - return Convert(primaryIcon); - } - } - } -} - namespace CefSharp.DevTools.Page { /// /// GetAppIdResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAppIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAppIdResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string appId { get; @@ -43130,7 +43159,7 @@ public string AppId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string recommendedId { get; @@ -43155,10 +43184,10 @@ namespace CefSharp.DevTools.Page /// /// GetAdScriptIdResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetAdScriptIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetAdScriptIdResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.AdScriptId adScriptId { get; @@ -43183,10 +43212,10 @@ namespace CefSharp.DevTools.Page /// /// GetFrameTreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFrameTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetFrameTreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.FrameTree frameTree { get; @@ -43211,10 +43240,10 @@ namespace CefSharp.DevTools.Page /// /// GetLayoutMetricsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetLayoutMetricsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetLayoutMetricsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.LayoutViewport layoutViewport { get; @@ -43232,7 +43261,7 @@ public CefSharp.DevTools.Page.LayoutViewport LayoutViewport } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.VisualViewport visualViewport { get; @@ -43250,7 +43279,7 @@ public CefSharp.DevTools.Page.VisualViewport VisualViewport } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.DOM.Rect contentSize { get; @@ -43268,7 +43297,7 @@ public CefSharp.DevTools.DOM.Rect ContentSize } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.LayoutViewport cssLayoutViewport { get; @@ -43286,7 +43315,7 @@ public CefSharp.DevTools.Page.LayoutViewport CssLayoutViewport } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.VisualViewport cssVisualViewport { get; @@ -43304,7 +43333,7 @@ public CefSharp.DevTools.Page.VisualViewport CssVisualViewport } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.DOM.Rect cssContentSize { get; @@ -43329,10 +43358,10 @@ namespace CefSharp.DevTools.Page /// /// GetNavigationHistoryResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetNavigationHistoryResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetNavigationHistoryResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int currentIndex { get; @@ -43350,7 +43379,7 @@ public int CurrentIndex } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList entries { get; @@ -43375,10 +43404,10 @@ namespace CefSharp.DevTools.Page /// /// GetResourceContentResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetResourceContentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetResourceContentResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string content { get; @@ -43396,7 +43425,7 @@ public string Content } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool base64Encoded { get; @@ -43421,10 +43450,10 @@ namespace CefSharp.DevTools.Page /// /// GetResourceTreeResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetResourceTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetResourceTreeResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Page.FrameResourceTree frameTree { get; @@ -43449,10 +43478,10 @@ namespace CefSharp.DevTools.Page /// /// NavigateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class NavigateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class NavigateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string frameId { get; @@ -43470,7 +43499,7 @@ public string FrameId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string loaderId { get; @@ -43488,7 +43517,7 @@ public string LoaderId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string errorText { get; @@ -43513,10 +43542,10 @@ namespace CefSharp.DevTools.Page /// /// PrintToPDFResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrintToPDFResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class PrintToPDFResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string data { get; @@ -43534,7 +43563,7 @@ public byte[] Data } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string stream { get; @@ -43559,10 +43588,10 @@ namespace CefSharp.DevTools.Page /// /// SearchInResourceResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SearchInResourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SearchInResourceResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -43587,10 +43616,10 @@ namespace CefSharp.DevTools.Page /// /// GetPermissionsPolicyStateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPermissionsPolicyStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPermissionsPolicyStateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList states { get; @@ -43615,10 +43644,10 @@ namespace CefSharp.DevTools.Page /// /// GetOriginTrialsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetOriginTrialsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetOriginTrialsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList originTrials { get; @@ -43650,17 +43679,17 @@ public enum CaptureScreenshotFormat /// /// jpeg /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jpeg"))] + [EnumMember(Value = ("jpeg"))] Jpeg, /// /// png /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("png"))] + [EnumMember(Value = ("png"))] Png, /// /// webp /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] + [EnumMember(Value = ("webp"))] Webp } @@ -43672,7 +43701,7 @@ public enum CaptureSnapshotFormat /// /// mhtml /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mhtml"))] + [EnumMember(Value = ("mhtml"))] Mhtml } @@ -43684,12 +43713,12 @@ public enum PrintToPDFTransferMode /// /// ReturnAsBase64 /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ReturnAsBase64"))] + [EnumMember(Value = ("ReturnAsBase64"))] ReturnAsBase64, /// /// ReturnAsStream /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ReturnAsStream"))] + [EnumMember(Value = ("ReturnAsStream"))] ReturnAsStream } @@ -43701,12 +43730,12 @@ public enum StartScreencastFormat /// /// jpeg /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jpeg"))] + [EnumMember(Value = ("jpeg"))] Jpeg, /// /// png /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("png"))] + [EnumMember(Value = ("png"))] Png } @@ -43718,42 +43747,15 @@ public enum SetWebLifecycleStateState /// /// frozen /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("frozen"))] + [EnumMember(Value = ("frozen"))] Frozen, /// /// active /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("active"))] + [EnumMember(Value = ("active"))] Active } - /// - /// SetSPCTransactionModeMode - /// - public enum SetSPCTransactionModeMode - { - /// - /// none - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] - None, - /// - /// autoAccept - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoAccept"))] - AutoAccept, - /// - /// autoReject - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoReject"))] - AutoReject, - /// - /// autoOptOut - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoOptOut"))] - AutoOptOut - } - /// /// Actions and events related to the inspected page belong to the page domain. /// @@ -44047,6 +44049,40 @@ public event System.EventHandler PrerenderAt } } + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prefetch attempt is updated. + /// + public event System.EventHandler PrefetchStatusUpdated + { + add + { + _client.AddEventHandler("Page.prefetchStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Page.prefetchStatusUpdated", value); + } + } + + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prerender attempt is updated. + /// + public event System.EventHandler PrerenderStatusUpdated + { + add + { + _client.AddEventHandler("Page.prerenderStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Page.prerenderStatusUpdated", value); + } + } + /// /// LoadEventFired /// @@ -44314,16 +44350,6 @@ public System.Threading.Tasks.Task GetInstallab return _client.ExecuteDevToolsMethodAsync("Page.getInstallabilityErrors", dict); } - /// - /// GetManifestIcons - /// - /// returns System.Threading.Tasks.Task<GetManifestIconsResponse> - public System.Threading.Tasks.Task GetManifestIconsAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Page.getManifestIcons", dict); - } - /// /// Returns the unique (PWA) app id. /// Only returns values if the feature flag 'WebAppEnableManifestId' is enabled @@ -44935,14 +44961,14 @@ public System.Threading.Tasks.Task ClearCompilationCache return _client.ExecuteDevToolsMethodAsync("Page.clearCompilationCache", dict); } - partial void ValidateSetSPCTransactionMode(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode); + partial void ValidateSetSPCTransactionMode(CefSharp.DevTools.Page.AutoResponseMode mode); /// /// Sets the Secure Payment Confirmation transaction mode. /// https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode /// /// mode /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetSPCTransactionModeAsync(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode) + public System.Threading.Tasks.Task SetSPCTransactionModeAsync(CefSharp.DevTools.Page.AutoResponseMode mode) { ValidateSetSPCTransactionMode(mode); var dict = new System.Collections.Generic.Dictionary(); @@ -44950,6 +44976,21 @@ public System.Threading.Tasks.Task SetSPCTransactionMode return _client.ExecuteDevToolsMethodAsync("Page.setSPCTransactionMode", dict); } + partial void ValidateSetRPHRegistrationMode(CefSharp.DevTools.Page.AutoResponseMode mode); + /// + /// Extensions for Custom Handlers API: + /// https://html.spec.whatwg.org/multipage/system-state.html#rph-automation + /// + /// mode + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetRPHRegistrationModeAsync(CefSharp.DevTools.Page.AutoResponseMode mode) + { + ValidateSetRPHRegistrationMode(mode); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("mode", EnumToString(mode)); + return _client.ExecuteDevToolsMethodAsync("Page.setRPHRegistrationMode", dict); + } + partial void ValidateGenerateTestReport(string message, string group = null); /// /// Generates a report for testing. @@ -45003,10 +45044,10 @@ namespace CefSharp.DevTools.Performance /// /// GetMetricsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetMetricsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetMetricsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList metrics { get; @@ -45038,12 +45079,12 @@ public enum EnableTimeDomain /// /// timeTicks /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("timeTicks"))] + [EnumMember(Value = ("timeTicks"))] TimeTicks, /// /// threadTicks /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("threadTicks"))] + [EnumMember(Value = ("threadTicks"))] ThreadTicks } @@ -45500,10 +45541,10 @@ namespace CefSharp.DevTools.Storage /// /// GetStorageKeyForFrameResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetStorageKeyForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetStorageKeyForFrameResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string storageKey { get; @@ -45528,10 +45569,10 @@ namespace CefSharp.DevTools.Storage /// /// GetCookiesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCookiesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList cookies { get; @@ -45556,10 +45597,10 @@ namespace CefSharp.DevTools.Storage /// /// GetUsageAndQuotaResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetUsageAndQuotaResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetUsageAndQuotaResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double usage { get; @@ -45577,7 +45618,7 @@ public double Usage } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double quota { get; @@ -45595,7 +45636,7 @@ public double Quota } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool overrideActive { get; @@ -45613,7 +45654,7 @@ public bool OverrideActive } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList usageBreakdown { get; @@ -45638,10 +45679,10 @@ namespace CefSharp.DevTools.Storage /// /// GetTrustTokensResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetTrustTokensResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetTrustTokensResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList tokens { get; @@ -45666,10 +45707,10 @@ namespace CefSharp.DevTools.Storage /// /// ClearTrustTokensResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class ClearTrustTokensResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class ClearTrustTokensResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool didDeleteTokens { get; @@ -45694,10 +45735,10 @@ namespace CefSharp.DevTools.Storage /// /// GetInterestGroupDetailsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetInterestGroupDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetInterestGroupDetailsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Storage.InterestGroupDetails details { get; @@ -45722,10 +45763,10 @@ namespace CefSharp.DevTools.Storage /// /// GetSharedStorageMetadataResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSharedStorageMetadataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSharedStorageMetadataResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Storage.SharedStorageMetadata metadata { get; @@ -45750,10 +45791,10 @@ namespace CefSharp.DevTools.Storage /// /// GetSharedStorageEntriesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSharedStorageEntriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSharedStorageEntriesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList entries { get; @@ -46310,10 +46351,10 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetInfoResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetInfoResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.SystemInfo.GPUInfo gpu { get; @@ -46331,7 +46372,7 @@ public CefSharp.DevTools.SystemInfo.GPUInfo Gpu } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string modelName { get; @@ -46349,7 +46390,7 @@ public string ModelName } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string modelVersion { get; @@ -46367,7 +46408,7 @@ public string ModelVersion } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string commandLine { get; @@ -46392,10 +46433,10 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetFeatureStateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFeatureStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetFeatureStateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool featureEnabled { get; @@ -46420,10 +46461,10 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetProcessInfoResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetProcessInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetProcessInfoResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList processInfo { get; @@ -46503,10 +46544,10 @@ namespace CefSharp.DevTools.Target /// /// AttachToTargetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AttachToTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AttachToTargetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string sessionId { get; @@ -46531,10 +46572,10 @@ namespace CefSharp.DevTools.Target /// /// AttachToBrowserTargetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AttachToBrowserTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AttachToBrowserTargetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string sessionId { get; @@ -46559,10 +46600,10 @@ namespace CefSharp.DevTools.Target /// /// CloseTargetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CloseTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CloseTargetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool success { get; @@ -46587,10 +46628,10 @@ namespace CefSharp.DevTools.Target /// /// CreateBrowserContextResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CreateBrowserContextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CreateBrowserContextResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string browserContextId { get; @@ -46615,10 +46656,10 @@ namespace CefSharp.DevTools.Target /// /// GetBrowserContextsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBrowserContextsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBrowserContextsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] browserContextIds { get; @@ -46643,10 +46684,10 @@ namespace CefSharp.DevTools.Target /// /// CreateTargetResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CreateTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CreateTargetResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string targetId { get; @@ -46671,10 +46712,10 @@ namespace CefSharp.DevTools.Target /// /// GetTargetInfoResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetTargetInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetTargetInfoResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Target.TargetInfo targetInfo { get; @@ -46699,10 +46740,10 @@ namespace CefSharp.DevTools.Target /// /// GetTargetsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetTargetsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetTargetsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList targetInfos { get; @@ -47285,10 +47326,10 @@ namespace CefSharp.DevTools.Tracing /// /// GetCategoriesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCategoriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCategoriesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] categories { get; @@ -47313,10 +47354,10 @@ namespace CefSharp.DevTools.Tracing /// /// RequestMemoryDumpResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RequestMemoryDumpResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RequestMemoryDumpResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string dumpGuid { get; @@ -47334,7 +47375,7 @@ public string DumpGuid } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool success { get; @@ -47367,12 +47408,12 @@ public enum StartTransferMode /// /// ReportEvents /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ReportEvents"))] + [EnumMember(Value = ("ReportEvents"))] ReportEvents, /// /// ReturnAsStream /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ReturnAsStream"))] + [EnumMember(Value = ("ReturnAsStream"))] ReturnAsStream } @@ -47572,10 +47613,10 @@ namespace CefSharp.DevTools.Fetch /// /// GetResponseBodyResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetResponseBodyResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string body { get; @@ -47593,7 +47634,7 @@ public string Body } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool base64Encoded { get; @@ -47618,10 +47659,10 @@ namespace CefSharp.DevTools.Fetch /// /// TakeResponseBodyAsStreamResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakeResponseBodyAsStreamResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class TakeResponseBodyAsStreamResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string stream { get; @@ -47938,10 +47979,10 @@ namespace CefSharp.DevTools.WebAudio /// /// GetRealtimeDataResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetRealtimeDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetRealtimeDataResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.WebAudio.ContextRealtimeData realtimeData { get; @@ -48230,10 +48271,10 @@ namespace CefSharp.DevTools.WebAuthn /// /// AddVirtualAuthenticatorResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AddVirtualAuthenticatorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AddVirtualAuthenticatorResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string authenticatorId { get; @@ -48258,10 +48299,10 @@ namespace CefSharp.DevTools.WebAuthn /// /// GetCredentialResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCredentialResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCredentialResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.WebAuthn.Credential credential { get; @@ -48286,10 +48327,10 @@ namespace CefSharp.DevTools.WebAuthn /// /// GetCredentialsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetCredentialsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetCredentialsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList credentials { get; @@ -48688,15 +48729,176 @@ public System.Threading.Tasks.Task DisableAsync() } } +namespace CefSharp.DevTools.DeviceAccess +{ + using System.Linq; + + /// + /// DeviceAccess + /// + public partial class DeviceAccessClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// DeviceAccess + /// + /// DevToolsClient + public DeviceAccessClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// A device request opened a user prompt to select a device. Respond with the + /// selectPrompt or cancelPrompt command. + /// + public event System.EventHandler DeviceRequestPrompted + { + add + { + _client.AddEventHandler("DeviceAccess.deviceRequestPrompted", value); + } + + remove + { + _client.RemoveEventHandler("DeviceAccess.deviceRequestPrompted", value); + } + } + + /// + /// Enable events in this domain. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.enable", dict); + } + + /// + /// Disable events in this domain. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.disable", dict); + } + + partial void ValidateSelectPrompt(string id, string deviceId); + /// + /// Select a device in response to a DeviceAccess.deviceRequestPrompted event. + /// + /// id + /// deviceId + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SelectPromptAsync(string id, string deviceId) + { + ValidateSelectPrompt(id, deviceId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("id", id); + dict.Add("deviceId", deviceId); + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.selectPrompt", dict); + } + + partial void ValidateCancelPrompt(string id); + /// + /// Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event. + /// + /// id + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task CancelPromptAsync(string id) + { + ValidateCancelPrompt(id); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("id", id); + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.cancelPrompt", dict); + } + } +} + +namespace CefSharp.DevTools.Preload +{ + using System.Linq; + + /// + /// Preload + /// + public partial class PreloadClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// Preload + /// + /// DevToolsClient + public PreloadClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// Upsert. Currently, it is only emitted when a rule set added. + /// + public event System.EventHandler RuleSetUpdated + { + add + { + _client.AddEventHandler("Preload.ruleSetUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.ruleSetUpdated", value); + } + } + + /// + /// RuleSetRemoved + /// + public event System.EventHandler RuleSetRemoved + { + add + { + _client.AddEventHandler("Preload.ruleSetRemoved", value); + } + + remove + { + _client.RemoveEventHandler("Preload.ruleSetRemoved", value); + } + } + + /// + /// Enable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Preload.enable", dict); + } + + /// + /// Disable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Preload.disable", dict); + } + } +} + namespace CefSharp.DevTools.Debugger { /// /// EnableResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class EnableResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class EnableResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string debuggerId { get; @@ -48721,10 +48923,10 @@ namespace CefSharp.DevTools.Debugger /// /// EvaluateOnCallFrameResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class EvaluateOnCallFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class EvaluateOnCallFrameResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -48742,7 +48944,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Result } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -48767,10 +48969,10 @@ namespace CefSharp.DevTools.Debugger /// /// GetPossibleBreakpointsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPossibleBreakpointsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPossibleBreakpointsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList locations { get; @@ -48795,10 +48997,10 @@ namespace CefSharp.DevTools.Debugger /// /// GetScriptSourceResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetScriptSourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetScriptSourceResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string scriptSource { get; @@ -48816,7 +49018,7 @@ public string ScriptSource } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string bytecode { get; @@ -48841,10 +49043,10 @@ namespace CefSharp.DevTools.Debugger /// /// DisassembleWasmModuleResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class DisassembleWasmModuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class DisassembleWasmModuleResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string streamId { get; @@ -48862,7 +49064,7 @@ public string StreamId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int totalNumberOfLines { get; @@ -48880,7 +49082,7 @@ public int TotalNumberOfLines } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal int[] functionBodyOffsets { get; @@ -48898,7 +49100,7 @@ public int[] FunctionBodyOffsets } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Debugger.WasmDisassemblyChunk chunk { get; @@ -48923,10 +49125,10 @@ namespace CefSharp.DevTools.Debugger /// /// NextWasmDisassemblyChunkResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class NextWasmDisassemblyChunkResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class NextWasmDisassemblyChunkResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Debugger.WasmDisassemblyChunk chunk { get; @@ -48951,10 +49153,10 @@ namespace CefSharp.DevTools.Debugger /// /// GetStackTraceResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetStackTraceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetStackTraceResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTrace stackTrace { get; @@ -48979,10 +49181,10 @@ namespace CefSharp.DevTools.Debugger /// /// RestartFrameResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RestartFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RestartFrameResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList callFrames { get; @@ -49000,7 +49202,7 @@ public System.Collections.Generic.IList Ca } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTrace asyncStackTrace { get; @@ -49018,7 +49220,7 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTraceId asyncStackTraceId { get; @@ -49043,10 +49245,10 @@ namespace CefSharp.DevTools.Debugger /// /// SearchInContentResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SearchInContentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SearchInContentResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -49071,10 +49273,10 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetBreakpointResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetBreakpointResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string breakpointId { get; @@ -49092,7 +49294,7 @@ public string BreakpointId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Debugger.Location actualLocation { get; @@ -49117,10 +49319,10 @@ namespace CefSharp.DevTools.Debugger /// /// SetInstrumentationBreakpointResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetInstrumentationBreakpointResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetInstrumentationBreakpointResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string breakpointId { get; @@ -49145,10 +49347,10 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointByUrlResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetBreakpointByUrlResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetBreakpointByUrlResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string breakpointId { get; @@ -49166,7 +49368,7 @@ public string BreakpointId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList locations { get; @@ -49191,10 +49393,10 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointOnFunctionCallResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetBreakpointOnFunctionCallResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetBreakpointOnFunctionCallResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string breakpointId { get; @@ -49219,10 +49421,10 @@ namespace CefSharp.DevTools.Debugger /// /// SetScriptSourceResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class SetScriptSourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class SetScriptSourceResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList callFrames { get; @@ -49240,7 +49442,7 @@ public System.Collections.Generic.IList Ca } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal bool? stackChanged { get; @@ -49258,7 +49460,7 @@ public bool? StackChanged } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTrace asyncStackTrace { get; @@ -49276,7 +49478,7 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.StackTraceId asyncStackTraceId { get; @@ -49294,7 +49496,7 @@ public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string status { get; @@ -49312,7 +49514,7 @@ public string Status } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -49344,12 +49546,12 @@ public enum ContinueToLocationTargetCallFrames /// /// any /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("any"))] + [EnumMember(Value = ("any"))] Any, /// /// current /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("current"))] + [EnumMember(Value = ("current"))] Current } @@ -49362,7 +49564,7 @@ public enum RestartFrameMode /// /// StepInto /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("StepInto"))] + [EnumMember(Value = ("StepInto"))] StepInto } @@ -49374,12 +49576,12 @@ public enum SetInstrumentationBreakpointInstrumentation /// /// beforeScriptExecution /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("beforeScriptExecution"))] + [EnumMember(Value = ("beforeScriptExecution"))] BeforeScriptExecution, /// /// beforeScriptWithSourceMapExecution /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("beforeScriptWithSourceMapExecution"))] + [EnumMember(Value = ("beforeScriptWithSourceMapExecution"))] BeforeScriptWithSourceMapExecution } @@ -49391,22 +49593,22 @@ public enum SetPauseOnExceptionsState /// /// none /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] + [EnumMember(Value = ("none"))] None, /// /// caught /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("caught"))] + [EnumMember(Value = ("caught"))] Caught, /// /// uncaught /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("uncaught"))] + [EnumMember(Value = ("uncaught"))] Uncaught, /// /// all /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("all"))] + [EnumMember(Value = ("all"))] All } @@ -50125,10 +50327,10 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetHeapObjectIdResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetHeapObjectIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetHeapObjectIdResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string heapSnapshotObjectId { get; @@ -50153,10 +50355,10 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetObjectByHeapObjectIdResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetObjectByHeapObjectIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetObjectByHeapObjectIdResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -50181,10 +50383,10 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetSamplingProfileResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetSamplingProfileResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.HeapProfiler.SamplingHeapProfile profile { get; @@ -50209,10 +50411,10 @@ namespace CefSharp.DevTools.HeapProfiler /// /// StopSamplingResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class StopSamplingResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class StopSamplingResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.HeapProfiler.SamplingHeapProfile profile { get; @@ -50559,10 +50761,10 @@ namespace CefSharp.DevTools.Profiler /// /// GetBestEffortCoverageResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetBestEffortCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetBestEffortCoverageResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -50587,10 +50789,10 @@ namespace CefSharp.DevTools.Profiler /// /// StartPreciseCoverageResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class StartPreciseCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class StartPreciseCoverageResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double timestamp { get; @@ -50615,10 +50817,10 @@ namespace CefSharp.DevTools.Profiler /// /// StopResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class StopResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class StopResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Profiler.Profile profile { get; @@ -50643,10 +50845,10 @@ namespace CefSharp.DevTools.Profiler /// /// TakePreciseCoverageResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakePreciseCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class TakePreciseCoverageResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -50664,7 +50866,7 @@ public System.Collections.Generic.IList /// AwaitPromiseResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class AwaitPromiseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class AwaitPromiseResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -50901,7 +51103,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Result } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -50926,10 +51128,10 @@ namespace CefSharp.DevTools.Runtime /// /// CallFunctionOnResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CallFunctionOnResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CallFunctionOnResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -50947,7 +51149,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Result } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -50972,10 +51174,10 @@ namespace CefSharp.DevTools.Runtime /// /// CompileScriptResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class CompileScriptResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class CompileScriptResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string scriptId { get; @@ -50993,7 +51195,7 @@ public string ScriptId } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -51018,10 +51220,10 @@ namespace CefSharp.DevTools.Runtime /// /// EvaluateResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class EvaluateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class EvaluateResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -51039,7 +51241,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Result } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -51064,10 +51266,10 @@ namespace CefSharp.DevTools.Runtime /// /// GetIsolateIdResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetIsolateIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetIsolateIdResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string id { get; @@ -51092,10 +51294,10 @@ namespace CefSharp.DevTools.Runtime /// /// GetHeapUsageResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetHeapUsageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetHeapUsageResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double usedSize { get; @@ -51113,7 +51315,7 @@ public double UsedSize } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal double totalSize { get; @@ -51138,10 +51340,10 @@ namespace CefSharp.DevTools.Runtime /// /// GetPropertiesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetPropertiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetPropertiesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal System.Collections.Generic.IList result { get; @@ -51159,7 +51361,7 @@ public System.Collections.Generic.IList internalProperties { get; @@ -51177,7 +51379,7 @@ public System.Collections.Generic.IList privateProperties { get; @@ -51195,7 +51397,7 @@ public System.Collections.Generic.IList /// GlobalLexicalScopeNamesResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GlobalLexicalScopeNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GlobalLexicalScopeNamesResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal string[] names { get; @@ -51248,10 +51450,10 @@ namespace CefSharp.DevTools.Runtime /// /// QueryObjectsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class QueryObjectsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class QueryObjectsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject objects { get; @@ -51276,10 +51478,10 @@ namespace CefSharp.DevTools.Runtime /// /// RunScriptResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class RunScriptResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class RunScriptResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.RemoteObject result { get; @@ -51297,7 +51499,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Result } } - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -51322,10 +51524,10 @@ namespace CefSharp.DevTools.Runtime /// /// GetExceptionDetailsResponse /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetExceptionDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + [DataContract] + public class GetExceptionDetailsResponse : DevToolsDomainResponseBase { - [System.Runtime.Serialization.DataMemberAttribute] + [DataMember] internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails { get; @@ -52788,6 +52990,40 @@ public CefSharp.DevTools.Media.MediaClient Media } } + private CefSharp.DevTools.DeviceAccess.DeviceAccessClient _DeviceAccess; + /// + /// DeviceAccess + /// + public CefSharp.DevTools.DeviceAccess.DeviceAccessClient DeviceAccess + { + get + { + if ((_DeviceAccess) == (null)) + { + _DeviceAccess = (new CefSharp.DevTools.DeviceAccess.DeviceAccessClient(this)); + } + + return _DeviceAccess; + } + } + + private CefSharp.DevTools.Preload.PreloadClient _Preload; + /// + /// Preload + /// + public CefSharp.DevTools.Preload.PreloadClient Preload + { + get + { + if ((_Preload) == (null)) + { + _Preload = (new CefSharp.DevTools.Preload.PreloadClient(this)); + } + + return _Preload; + } + } + private CefSharp.DevTools.Debugger.DebuggerClient _Debugger; /// /// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index ab84242223..8729e921aa 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -3,7 +3,9 @@ // 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 111.0.5563.65 +// CHROMIUM VERSION 112.0.5615.49 +using System.Text.Json.Serialization; + namespace CefSharp.DevTools.Accessibility { /// @@ -14,87 +16,87 @@ public enum AXValueType /// /// boolean /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")] + [JsonPropertyName("boolean")] Boolean, /// /// tristate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tristate")] + [JsonPropertyName("tristate")] Tristate, /// /// booleanOrUndefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("booleanOrUndefined")] + [JsonPropertyName("booleanOrUndefined")] BooleanOrUndefined, /// /// idref /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("idref")] + [JsonPropertyName("idref")] Idref, /// /// idrefList /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("idrefList")] + [JsonPropertyName("idrefList")] IdrefList, /// /// integer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("integer")] + [JsonPropertyName("integer")] Integer, /// /// node /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonPropertyName("node")] Node, /// /// nodeList /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeList")] + [JsonPropertyName("nodeList")] NodeList, /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// computedString /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("computedString")] + [JsonPropertyName("computedString")] ComputedString, /// /// token /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("token")] + [JsonPropertyName("token")] Token, /// /// tokenList /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tokenList")] + [JsonPropertyName("tokenList")] TokenList, /// /// domRelation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domRelation")] + [JsonPropertyName("domRelation")] DomRelation, /// /// role /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("role")] + [JsonPropertyName("role")] Role, /// /// internalRole /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("internalRole")] + [JsonPropertyName("internalRole")] InternalRole, /// /// valueUndefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valueUndefined")] + [JsonPropertyName("valueUndefined")] ValueUndefined } @@ -106,32 +108,32 @@ public enum AXValueSourceType /// /// attribute /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute")] + [JsonPropertyName("attribute")] Attribute, /// /// implicit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("implicit")] + [JsonPropertyName("implicit")] Implicit, /// /// style /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("style")] + [JsonPropertyName("style")] Style, /// /// contents /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contents")] + [JsonPropertyName("contents")] Contents, /// /// placeholder /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("placeholder")] + [JsonPropertyName("placeholder")] Placeholder, /// /// relatedElement /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("relatedElement")] + [JsonPropertyName("relatedElement")] RelatedElement } @@ -143,52 +145,52 @@ public enum AXValueNativeSourceType /// /// description /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] Description, /// /// figcaption /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("figcaption")] + [JsonPropertyName("figcaption")] Figcaption, /// /// label /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("label")] + [JsonPropertyName("label")] Label, /// /// labelfor /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("labelfor")] + [JsonPropertyName("labelfor")] Labelfor, /// /// labelwrapped /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("labelwrapped")] + [JsonPropertyName("labelwrapped")] Labelwrapped, /// /// legend /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("legend")] + [JsonPropertyName("legend")] Legend, /// /// rubyannotation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rubyannotation")] + [JsonPropertyName("rubyannotation")] Rubyannotation, /// /// tablecaption /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tablecaption")] + [JsonPropertyName("tablecaption")] Tablecaption, /// /// title /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] Title, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -200,7 +202,7 @@ public partial class AXValueSource : CefSharp.DevTools.DevToolsDomainEntityBase /// /// What type of source this is. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Accessibility.AXValueSourceType Type { get; @@ -210,7 +212,7 @@ public CefSharp.DevTools.Accessibility.AXValueSourceType Type /// /// The value of this property source. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Accessibility.AXValue Value { get; @@ -220,7 +222,7 @@ public CefSharp.DevTools.Accessibility.AXValue Value /// /// The name of the relevant attribute, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute")] + [JsonPropertyName("attribute")] public string Attribute { get; @@ -230,7 +232,7 @@ public string Attribute /// /// The value of the relevant attribute, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributeValue")] + [JsonPropertyName("attributeValue")] public CefSharp.DevTools.Accessibility.AXValue AttributeValue { get; @@ -240,7 +242,7 @@ public CefSharp.DevTools.Accessibility.AXValue AttributeValue /// /// Whether this source is superseded by a higher priority source. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("superseded")] + [JsonPropertyName("superseded")] public bool? Superseded { get; @@ -250,7 +252,7 @@ public bool? Superseded /// /// The native markup source for this value, e.g. a <label> element. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nativeSource")] + [JsonPropertyName("nativeSource")] public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource { get; @@ -260,7 +262,7 @@ public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource /// /// The value, such as a node or node list, of the native source. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nativeSourceValue")] + [JsonPropertyName("nativeSourceValue")] public CefSharp.DevTools.Accessibility.AXValue NativeSourceValue { get; @@ -270,7 +272,7 @@ public CefSharp.DevTools.Accessibility.AXValue NativeSourceValue /// /// Whether the value for this property is invalid. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("invalid")] + [JsonPropertyName("invalid")] public bool? Invalid { get; @@ -280,7 +282,7 @@ public bool? Invalid /// /// Reason for the value being invalid, if it is. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("invalidReason")] + [JsonPropertyName("invalidReason")] public string InvalidReason { get; @@ -296,7 +298,7 @@ public partial class AXRelatedNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The BackendNodeId of the related DOM node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendDOMNodeId")] + [JsonPropertyName("backendDOMNodeId")] public int BackendDOMNodeId { get; @@ -306,7 +308,7 @@ public int BackendDOMNodeId /// /// The IDRef value provided, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("idref")] + [JsonPropertyName("idref")] public string Idref { get; @@ -316,7 +318,7 @@ public string Idref /// /// The text alternative of this node in the current context. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] public string Text { get; @@ -332,7 +334,7 @@ public partial class AXProperty : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The name of this property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public CefSharp.DevTools.Accessibility.AXPropertyName Name { get; @@ -342,7 +344,7 @@ public CefSharp.DevTools.Accessibility.AXPropertyName Name /// /// The value of this property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Accessibility.AXValue Value { @@ -359,7 +361,7 @@ public partial class AXValue : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The type of this value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Accessibility.AXValueType Type { get; @@ -369,7 +371,7 @@ public CefSharp.DevTools.Accessibility.AXValueType Type /// /// The computed value of this property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public object Value { get; @@ -379,7 +381,7 @@ public object Value /// /// One or more related nodes, if applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("relatedNodes")] + [JsonPropertyName("relatedNodes")] public System.Collections.Generic.IList RelatedNodes { get; @@ -389,7 +391,7 @@ public System.Collections.Generic.IList /// The sources which contributed to the computation of this property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sources")] + [JsonPropertyName("sources")] public System.Collections.Generic.IList Sources { get; @@ -410,197 +412,197 @@ public enum AXPropertyName /// /// busy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("busy")] + [JsonPropertyName("busy")] Busy, /// /// disabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")] + [JsonPropertyName("disabled")] Disabled, /// /// editable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("editable")] + [JsonPropertyName("editable")] Editable, /// /// focusable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("focusable")] + [JsonPropertyName("focusable")] Focusable, /// /// focused /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("focused")] + [JsonPropertyName("focused")] Focused, /// /// hidden /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hidden")] + [JsonPropertyName("hidden")] Hidden, /// /// hiddenRoot /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hiddenRoot")] + [JsonPropertyName("hiddenRoot")] HiddenRoot, /// /// invalid /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("invalid")] + [JsonPropertyName("invalid")] Invalid, /// /// keyshortcuts /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyshortcuts")] + [JsonPropertyName("keyshortcuts")] Keyshortcuts, /// /// settable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("settable")] + [JsonPropertyName("settable")] Settable, /// /// roledescription /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("roledescription")] + [JsonPropertyName("roledescription")] Roledescription, /// /// live /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("live")] + [JsonPropertyName("live")] Live, /// /// atomic /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("atomic")] + [JsonPropertyName("atomic")] Atomic, /// /// relevant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("relevant")] + [JsonPropertyName("relevant")] Relevant, /// /// root /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("root")] + [JsonPropertyName("root")] Root, /// /// autocomplete /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autocomplete")] + [JsonPropertyName("autocomplete")] Autocomplete, /// /// hasPopup /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPopup")] + [JsonPropertyName("hasPopup")] HasPopup, /// /// level /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("level")] + [JsonPropertyName("level")] Level, /// /// multiselectable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("multiselectable")] + [JsonPropertyName("multiselectable")] Multiselectable, /// /// orientation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("orientation")] + [JsonPropertyName("orientation")] Orientation, /// /// multiline /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("multiline")] + [JsonPropertyName("multiline")] Multiline, /// /// readonly /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("readonly")] + [JsonPropertyName("readonly")] Readonly, /// /// required /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("required")] + [JsonPropertyName("required")] Required, /// /// valuemin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valuemin")] + [JsonPropertyName("valuemin")] Valuemin, /// /// valuemax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valuemax")] + [JsonPropertyName("valuemax")] Valuemax, /// /// valuetext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valuetext")] + [JsonPropertyName("valuetext")] Valuetext, /// /// checked /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("checked")] + [JsonPropertyName("checked")] Checked, /// /// expanded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expanded")] + [JsonPropertyName("expanded")] Expanded, /// /// modal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("modal")] + [JsonPropertyName("modal")] Modal, /// /// pressed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pressed")] + [JsonPropertyName("pressed")] Pressed, /// /// selected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selected")] + [JsonPropertyName("selected")] Selected, /// /// activedescendant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("activedescendant")] + [JsonPropertyName("activedescendant")] Activedescendant, /// /// controls /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("controls")] + [JsonPropertyName("controls")] Controls, /// /// describedby /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("describedby")] + [JsonPropertyName("describedby")] Describedby, /// /// details /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("details")] + [JsonPropertyName("details")] Details, /// /// errormessage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errormessage")] + [JsonPropertyName("errormessage")] Errormessage, /// /// flowto /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flowto")] + [JsonPropertyName("flowto")] Flowto, /// /// labelledby /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("labelledby")] + [JsonPropertyName("labelledby")] Labelledby, /// /// owns /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("owns")] + [JsonPropertyName("owns")] Owns } @@ -612,7 +614,7 @@ public partial class AXNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Unique identifier for this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeId { @@ -623,7 +625,7 @@ public string NodeId /// /// Whether this node is ignored for accessibility /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ignored")] + [JsonPropertyName("ignored")] public bool Ignored { get; @@ -633,7 +635,7 @@ public bool Ignored /// /// Collection of reasons why this node is hidden. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ignoredReasons")] + [JsonPropertyName("ignoredReasons")] public System.Collections.Generic.IList IgnoredReasons { get; @@ -643,7 +645,7 @@ public System.Collections.Generic.IList /// This `Node`'s role, whether explicit or implicit. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("role")] + [JsonPropertyName("role")] public CefSharp.DevTools.Accessibility.AXValue Role { get; @@ -653,7 +655,7 @@ public CefSharp.DevTools.Accessibility.AXValue Role /// /// This `Node`'s Chrome raw role. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("chromeRole")] + [JsonPropertyName("chromeRole")] public CefSharp.DevTools.Accessibility.AXValue ChromeRole { get; @@ -663,7 +665,7 @@ public CefSharp.DevTools.Accessibility.AXValue ChromeRole /// /// The accessible name for this `Node`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public CefSharp.DevTools.Accessibility.AXValue Name { get; @@ -673,7 +675,7 @@ public CefSharp.DevTools.Accessibility.AXValue Name /// /// The accessible description for this `Node`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] public CefSharp.DevTools.Accessibility.AXValue Description { get; @@ -683,7 +685,7 @@ public CefSharp.DevTools.Accessibility.AXValue Description /// /// The value for this `Node`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Accessibility.AXValue Value { get; @@ -693,7 +695,7 @@ public CefSharp.DevTools.Accessibility.AXValue Value /// /// All other properties /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")] + [JsonPropertyName("properties")] public System.Collections.Generic.IList Properties { get; @@ -703,7 +705,7 @@ public System.Collections.Generic.IList /// ID for this node's parent. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonPropertyName("parentId")] public string ParentId { get; @@ -713,7 +715,7 @@ public string ParentId /// /// IDs for each of this node's child nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childIds")] + [JsonPropertyName("childIds")] public string[] ChildIds { get; @@ -723,7 +725,7 @@ public string[] ChildIds /// /// The backend ID for the associated DOM node, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendDOMNodeId")] + [JsonPropertyName("backendDOMNodeId")] public int? BackendDOMNodeId { get; @@ -733,7 +735,7 @@ public int? BackendDOMNodeId /// /// The frame ID for the frame associated with this nodes document. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -750,8 +752,8 @@ public class LoadCompleteEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// New document root node. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("root")] + [JsonInclude] + [JsonPropertyName("root")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Accessibility.AXNode Root { @@ -768,8 +770,8 @@ public class NodesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Updated node data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Nodes { @@ -789,17 +791,17 @@ public enum AnimationType /// /// CSSTransition /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSSTransition")] + [JsonPropertyName("CSSTransition")] CSSTransition, /// /// CSSAnimation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSSAnimation")] + [JsonPropertyName("CSSAnimation")] CSSAnimation, /// /// WebAnimation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebAnimation")] + [JsonPropertyName("WebAnimation")] WebAnimation } @@ -811,7 +813,7 @@ public partial class Animation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Animation`'s id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -822,7 +824,7 @@ public string Id /// /// `Animation`'s name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -833,7 +835,7 @@ public string Name /// /// `Animation`'s internal paused state. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pausedState")] + [JsonPropertyName("pausedState")] public bool PausedState { get; @@ -843,7 +845,7 @@ public bool PausedState /// /// `Animation`'s play state. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playState")] + [JsonPropertyName("playState")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlayState { @@ -854,7 +856,7 @@ public string PlayState /// /// `Animation`'s playback rate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playbackRate")] + [JsonPropertyName("playbackRate")] public double PlaybackRate { get; @@ -864,7 +866,7 @@ public double PlaybackRate /// /// `Animation`'s start time. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startTime")] + [JsonPropertyName("startTime")] public double StartTime { get; @@ -874,7 +876,7 @@ public double StartTime /// /// `Animation`'s current time. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")] + [JsonPropertyName("currentTime")] public double CurrentTime { get; @@ -884,7 +886,7 @@ public double CurrentTime /// /// Animation type of `Animation`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Animation.AnimationType Type { get; @@ -894,7 +896,7 @@ public CefSharp.DevTools.Animation.AnimationType Type /// /// `Animation`'s source animation node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("source")] + [JsonPropertyName("source")] public CefSharp.DevTools.Animation.AnimationEffect Source { get; @@ -905,7 +907,7 @@ public CefSharp.DevTools.Animation.AnimationEffect Source /// A unique ID for `Animation` representing the sources that triggered this CSS /// animation/transition. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssId")] + [JsonPropertyName("cssId")] public string CssId { get; @@ -921,7 +923,7 @@ public partial class AnimationEffect : CefSharp.DevTools.DevToolsDomainEntityBas /// /// `AnimationEffect`'s delay. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("delay")] + [JsonPropertyName("delay")] public double Delay { get; @@ -931,7 +933,7 @@ public double Delay /// /// `AnimationEffect`'s end delay. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endDelay")] + [JsonPropertyName("endDelay")] public double EndDelay { get; @@ -941,7 +943,7 @@ public double EndDelay /// /// `AnimationEffect`'s iteration start. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("iterationStart")] + [JsonPropertyName("iterationStart")] public double IterationStart { get; @@ -951,7 +953,7 @@ public double IterationStart /// /// `AnimationEffect`'s iterations. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("iterations")] + [JsonPropertyName("iterations")] public double Iterations { get; @@ -961,7 +963,7 @@ public double Iterations /// /// `AnimationEffect`'s iteration duration. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("duration")] + [JsonPropertyName("duration")] public double Duration { get; @@ -971,7 +973,7 @@ public double Duration /// /// `AnimationEffect`'s playback direction. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("direction")] + [JsonPropertyName("direction")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Direction { @@ -982,7 +984,7 @@ public string Direction /// /// `AnimationEffect`'s fill mode. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fill")] + [JsonPropertyName("fill")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Fill { @@ -993,7 +995,7 @@ public string Fill /// /// `AnimationEffect`'s target node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int? BackendNodeId { get; @@ -1003,7 +1005,7 @@ public int? BackendNodeId /// /// `AnimationEffect`'s keyframes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframesRule")] + [JsonPropertyName("keyframesRule")] public CefSharp.DevTools.Animation.KeyframesRule KeyframesRule { get; @@ -1013,7 +1015,7 @@ public CefSharp.DevTools.Animation.KeyframesRule KeyframesRule /// /// `AnimationEffect`'s timing function. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("easing")] + [JsonPropertyName("easing")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Easing { @@ -1030,7 +1032,7 @@ public partial class KeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CSS keyframed animation's name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public string Name { get; @@ -1040,7 +1042,7 @@ public string Name /// /// List of animation keyframes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframes")] + [JsonPropertyName("keyframes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Keyframes { @@ -1057,7 +1059,7 @@ public partial class KeyframeStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Keyframe's time offset. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")] + [JsonPropertyName("offset")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Offset { @@ -1068,7 +1070,7 @@ public string Offset /// /// `AnimationEffect`'s timing function. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("easing")] + [JsonPropertyName("easing")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Easing { @@ -1085,8 +1087,8 @@ public class AnimationCanceledEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the animation that was cancelled. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonInclude] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -1103,8 +1105,8 @@ public class AnimationCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Id of the animation that was created. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonInclude] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -1121,8 +1123,8 @@ public class AnimationStartedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Animation that was started. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("animation")] + [JsonInclude] + [JsonPropertyName("animation")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Animation.Animation Animation { @@ -1142,7 +1144,7 @@ public partial class AffectedCookie : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The following three properties uniquely identify a cookie /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -1153,7 +1155,7 @@ public string Name /// /// Path /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("path")] + [JsonPropertyName("path")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Path { @@ -1164,7 +1166,7 @@ public string Path /// /// Domain /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")] + [JsonPropertyName("domain")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Domain { @@ -1181,7 +1183,7 @@ public partial class AffectedRequest : CefSharp.DevTools.DevToolsDomainEntityBas /// /// The unique request id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -1192,7 +1194,7 @@ public string RequestId /// /// Url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -1208,7 +1210,7 @@ public partial class AffectedFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// FrameId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -1225,42 +1227,42 @@ public enum CookieExclusionReason /// /// ExcludeSameSiteUnspecifiedTreatedAsLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteUnspecifiedTreatedAsLax")] + [JsonPropertyName("ExcludeSameSiteUnspecifiedTreatedAsLax")] ExcludeSameSiteUnspecifiedTreatedAsLax, /// /// ExcludeSameSiteNoneInsecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteNoneInsecure")] + [JsonPropertyName("ExcludeSameSiteNoneInsecure")] ExcludeSameSiteNoneInsecure, /// /// ExcludeSameSiteLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteLax")] + [JsonPropertyName("ExcludeSameSiteLax")] ExcludeSameSiteLax, /// /// ExcludeSameSiteStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteStrict")] + [JsonPropertyName("ExcludeSameSiteStrict")] ExcludeSameSiteStrict, /// /// ExcludeInvalidSameParty /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeInvalidSameParty")] + [JsonPropertyName("ExcludeInvalidSameParty")] ExcludeInvalidSameParty, /// /// ExcludeSamePartyCrossPartyContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSamePartyCrossPartyContext")] + [JsonPropertyName("ExcludeSamePartyCrossPartyContext")] ExcludeSamePartyCrossPartyContext, /// /// ExcludeDomainNonASCII /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeDomainNonASCII")] + [JsonPropertyName("ExcludeDomainNonASCII")] ExcludeDomainNonASCII, /// /// ExcludeThirdPartyCookieBlockedInFirstPartySet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeThirdPartyCookieBlockedInFirstPartySet")] + [JsonPropertyName("ExcludeThirdPartyCookieBlockedInFirstPartySet")] ExcludeThirdPartyCookieBlockedInFirstPartySet } @@ -1272,52 +1274,52 @@ public enum CookieWarningReason /// /// WarnSameSiteUnspecifiedCrossSiteContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteUnspecifiedCrossSiteContext")] + [JsonPropertyName("WarnSameSiteUnspecifiedCrossSiteContext")] WarnSameSiteUnspecifiedCrossSiteContext, /// /// WarnSameSiteNoneInsecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteNoneInsecure")] + [JsonPropertyName("WarnSameSiteNoneInsecure")] WarnSameSiteNoneInsecure, /// /// WarnSameSiteUnspecifiedLaxAllowUnsafe /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteUnspecifiedLaxAllowUnsafe")] + [JsonPropertyName("WarnSameSiteUnspecifiedLaxAllowUnsafe")] WarnSameSiteUnspecifiedLaxAllowUnsafe, /// /// WarnSameSiteStrictLaxDowngradeStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictLaxDowngradeStrict")] + [JsonPropertyName("WarnSameSiteStrictLaxDowngradeStrict")] WarnSameSiteStrictLaxDowngradeStrict, /// /// WarnSameSiteStrictCrossDowngradeStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictCrossDowngradeStrict")] + [JsonPropertyName("WarnSameSiteStrictCrossDowngradeStrict")] WarnSameSiteStrictCrossDowngradeStrict, /// /// WarnSameSiteStrictCrossDowngradeLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictCrossDowngradeLax")] + [JsonPropertyName("WarnSameSiteStrictCrossDowngradeLax")] WarnSameSiteStrictCrossDowngradeLax, /// /// WarnSameSiteLaxCrossDowngradeStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteLaxCrossDowngradeStrict")] + [JsonPropertyName("WarnSameSiteLaxCrossDowngradeStrict")] WarnSameSiteLaxCrossDowngradeStrict, /// /// WarnSameSiteLaxCrossDowngradeLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteLaxCrossDowngradeLax")] + [JsonPropertyName("WarnSameSiteLaxCrossDowngradeLax")] WarnSameSiteLaxCrossDowngradeLax, /// /// WarnAttributeValueExceedsMaxSize /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnAttributeValueExceedsMaxSize")] + [JsonPropertyName("WarnAttributeValueExceedsMaxSize")] WarnAttributeValueExceedsMaxSize, /// /// WarnDomainNonASCII /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnDomainNonASCII")] + [JsonPropertyName("WarnDomainNonASCII")] WarnDomainNonASCII } @@ -1329,12 +1331,12 @@ public enum CookieOperation /// /// SetCookie /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SetCookie")] + [JsonPropertyName("SetCookie")] SetCookie, /// /// ReadCookie /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ReadCookie")] + [JsonPropertyName("ReadCookie")] ReadCookie } @@ -1351,7 +1353,7 @@ public partial class CookieIssueDetails : CefSharp.DevTools.DevToolsDomainEntity /// cookie line is syntactically or semantically malformed in a way /// that no valid cookie could be created. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")] + [JsonPropertyName("cookie")] public CefSharp.DevTools.Audits.AffectedCookie Cookie { get; @@ -1361,7 +1363,7 @@ public CefSharp.DevTools.Audits.AffectedCookie Cookie /// /// RawCookieLine /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rawCookieLine")] + [JsonPropertyName("rawCookieLine")] public string RawCookieLine { get; @@ -1371,7 +1373,7 @@ public string RawCookieLine /// /// CookieWarningReasons /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieWarningReasons")] + [JsonPropertyName("cookieWarningReasons")] public CefSharp.DevTools.Audits.CookieWarningReason[] CookieWarningReasons { get; @@ -1381,7 +1383,7 @@ public CefSharp.DevTools.Audits.CookieWarningReason[] CookieWarningReasons /// /// CookieExclusionReasons /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieExclusionReasons")] + [JsonPropertyName("cookieExclusionReasons")] public CefSharp.DevTools.Audits.CookieExclusionReason[] CookieExclusionReasons { get; @@ -1392,7 +1394,7 @@ public CefSharp.DevTools.Audits.CookieExclusionReason[] CookieExclusionReasons /// Optionally identifies the site-for-cookies and the cookie url, which /// may be used by the front-end as additional context. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("operation")] + [JsonPropertyName("operation")] public CefSharp.DevTools.Audits.CookieOperation Operation { get; @@ -1402,7 +1404,7 @@ public CefSharp.DevTools.Audits.CookieOperation Operation /// /// SiteForCookies /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("siteForCookies")] + [JsonPropertyName("siteForCookies")] public string SiteForCookies { get; @@ -1412,7 +1414,7 @@ public string SiteForCookies /// /// CookieUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieUrl")] + [JsonPropertyName("cookieUrl")] public string CookieUrl { get; @@ -1422,7 +1424,7 @@ public string CookieUrl /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonPropertyName("request")] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -1438,17 +1440,17 @@ public enum MixedContentResolutionStatus /// /// MixedContentBlocked /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentBlocked")] + [JsonPropertyName("MixedContentBlocked")] MixedContentBlocked, /// /// MixedContentAutomaticallyUpgraded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentAutomaticallyUpgraded")] + [JsonPropertyName("MixedContentAutomaticallyUpgraded")] MixedContentAutomaticallyUpgraded, /// /// MixedContentWarning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentWarning")] + [JsonPropertyName("MixedContentWarning")] MixedContentWarning } @@ -1460,137 +1462,137 @@ public enum MixedContentResourceType /// /// AttributionSrc /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AttributionSrc")] + [JsonPropertyName("AttributionSrc")] AttributionSrc, /// /// Audio /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Audio")] + [JsonPropertyName("Audio")] Audio, /// /// Beacon /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Beacon")] + [JsonPropertyName("Beacon")] Beacon, /// /// CSPReport /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSPReport")] + [JsonPropertyName("CSPReport")] CSPReport, /// /// Download /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Download")] + [JsonPropertyName("Download")] Download, /// /// EventSource /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EventSource")] + [JsonPropertyName("EventSource")] EventSource, /// /// Favicon /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Favicon")] + [JsonPropertyName("Favicon")] Favicon, /// /// Font /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Font")] + [JsonPropertyName("Font")] Font, /// /// Form /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Form")] + [JsonPropertyName("Form")] Form, /// /// Frame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Frame")] + [JsonPropertyName("Frame")] Frame, /// /// Image /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Image")] + [JsonPropertyName("Image")] Image, /// /// Import /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Import")] + [JsonPropertyName("Import")] Import, /// /// Manifest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Manifest")] + [JsonPropertyName("Manifest")] Manifest, /// /// Ping /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Ping")] + [JsonPropertyName("Ping")] Ping, /// /// PluginData /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PluginData")] + [JsonPropertyName("PluginData")] PluginData, /// /// PluginResource /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PluginResource")] + [JsonPropertyName("PluginResource")] PluginResource, /// /// Prefetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Prefetch")] + [JsonPropertyName("Prefetch")] Prefetch, /// /// Resource /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Resource")] + [JsonPropertyName("Resource")] Resource, /// /// Script /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Script")] + [JsonPropertyName("Script")] Script, /// /// ServiceWorker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorker")] + [JsonPropertyName("ServiceWorker")] ServiceWorker, /// /// SharedWorker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedWorker")] + [JsonPropertyName("SharedWorker")] SharedWorker, /// /// Stylesheet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Stylesheet")] + [JsonPropertyName("Stylesheet")] Stylesheet, /// /// Track /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Track")] + [JsonPropertyName("Track")] Track, /// /// Video /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Video")] + [JsonPropertyName("Video")] Video, /// /// Worker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Worker")] + [JsonPropertyName("Worker")] Worker, /// /// XMLHttpRequest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XMLHttpRequest")] + [JsonPropertyName("XMLHttpRequest")] XMLHttpRequest, /// /// XSLT /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XSLT")] + [JsonPropertyName("XSLT")] XSLT } @@ -1605,7 +1607,7 @@ public partial class MixedContentIssueDetails : CefSharp.DevTools.DevToolsDomain /// blink::mojom::RequestContextType, which will be replaced /// by network::mojom::RequestDestination /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Audits.MixedContentResourceType? ResourceType { get; @@ -1615,7 +1617,7 @@ public CefSharp.DevTools.Audits.MixedContentResourceType? ResourceType /// /// The way the mixed content issue is being resolved. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resolutionStatus")] + [JsonPropertyName("resolutionStatus")] public CefSharp.DevTools.Audits.MixedContentResolutionStatus ResolutionStatus { get; @@ -1625,7 +1627,7 @@ public CefSharp.DevTools.Audits.MixedContentResolutionStatus ResolutionStatus /// /// The unsafe http url causing the mixed content issue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("insecureURL")] + [JsonPropertyName("insecureURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InsecureURL { @@ -1636,7 +1638,7 @@ public string InsecureURL /// /// The url responsible for the call to an unsafe url. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mainResourceURL")] + [JsonPropertyName("mainResourceURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MainResourceURL { @@ -1648,7 +1650,7 @@ public string MainResourceURL /// The mixed content request. /// Does not always exist (e.g. for unsafe form submission urls). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonPropertyName("request")] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -1658,7 +1660,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// Optional because not every mixed content issue is necessarily linked to a frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonPropertyName("frame")] public CefSharp.DevTools.Audits.AffectedFrame Frame { get; @@ -1675,27 +1677,27 @@ public enum BlockedByResponseReason /// /// CoepFrameResourceNeedsCoepHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CoepFrameResourceNeedsCoepHeader")] + [JsonPropertyName("CoepFrameResourceNeedsCoepHeader")] CoepFrameResourceNeedsCoepHeader, /// /// CoopSandboxedIFrameCannotNavigateToCoopPage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CoopSandboxedIFrameCannotNavigateToCoopPage")] + [JsonPropertyName("CoopSandboxedIFrameCannotNavigateToCoopPage")] CoopSandboxedIFrameCannotNavigateToCoopPage, /// /// CorpNotSameOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameOrigin")] + [JsonPropertyName("CorpNotSameOrigin")] CorpNotSameOrigin, /// /// CorpNotSameOriginAfterDefaultedToSameOriginByCoep /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameOriginAfterDefaultedToSameOriginByCoep")] + [JsonPropertyName("CorpNotSameOriginAfterDefaultedToSameOriginByCoep")] CorpNotSameOriginAfterDefaultedToSameOriginByCoep, /// /// CorpNotSameSite /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameSite")] + [JsonPropertyName("CorpNotSameSite")] CorpNotSameSite } @@ -1709,7 +1711,7 @@ public partial class BlockedByResponseIssueDetails : CefSharp.DevTools.DevToolsD /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.AffectedRequest Request { @@ -1720,7 +1722,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// ParentFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentFrame")] + [JsonPropertyName("parentFrame")] public CefSharp.DevTools.Audits.AffectedFrame ParentFrame { get; @@ -1730,7 +1732,7 @@ public CefSharp.DevTools.Audits.AffectedFrame ParentFrame /// /// BlockedFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedFrame")] + [JsonPropertyName("blockedFrame")] public CefSharp.DevTools.Audits.AffectedFrame BlockedFrame { get; @@ -1740,7 +1742,7 @@ public CefSharp.DevTools.Audits.AffectedFrame BlockedFrame /// /// Reason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonPropertyName("reason")] public CefSharp.DevTools.Audits.BlockedByResponseReason Reason { get; @@ -1756,12 +1758,12 @@ public enum HeavyAdResolutionStatus /// /// HeavyAdBlocked /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdBlocked")] + [JsonPropertyName("HeavyAdBlocked")] HeavyAdBlocked, /// /// HeavyAdWarning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdWarning")] + [JsonPropertyName("HeavyAdWarning")] HeavyAdWarning } @@ -1773,17 +1775,17 @@ public enum HeavyAdReason /// /// NetworkTotalLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkTotalLimit")] + [JsonPropertyName("NetworkTotalLimit")] NetworkTotalLimit, /// /// CpuTotalLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CpuTotalLimit")] + [JsonPropertyName("CpuTotalLimit")] CpuTotalLimit, /// /// CpuPeakLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CpuPeakLimit")] + [JsonPropertyName("CpuPeakLimit")] CpuPeakLimit } @@ -1795,7 +1797,7 @@ public partial class HeavyAdIssueDetails : CefSharp.DevTools.DevToolsDomainEntit /// /// The resolution status, either blocking the content or warning. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resolution")] + [JsonPropertyName("resolution")] public CefSharp.DevTools.Audits.HeavyAdResolutionStatus Resolution { get; @@ -1805,7 +1807,7 @@ public CefSharp.DevTools.Audits.HeavyAdResolutionStatus Resolution /// /// The reason the ad was blocked, total network or cpu or peak cpu. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonPropertyName("reason")] public CefSharp.DevTools.Audits.HeavyAdReason Reason { get; @@ -1815,7 +1817,7 @@ public CefSharp.DevTools.Audits.HeavyAdReason Reason /// /// The frame that was blocked. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonPropertyName("frame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.AffectedFrame Frame { @@ -1832,32 +1834,32 @@ public enum ContentSecurityPolicyViolationType /// /// kInlineViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kInlineViolation")] + [JsonPropertyName("kInlineViolation")] KInlineViolation, /// /// kEvalViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kEvalViolation")] + [JsonPropertyName("kEvalViolation")] KEvalViolation, /// /// kURLViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kURLViolation")] + [JsonPropertyName("kURLViolation")] KURLViolation, /// /// kTrustedTypesSinkViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kTrustedTypesSinkViolation")] + [JsonPropertyName("kTrustedTypesSinkViolation")] KTrustedTypesSinkViolation, /// /// kTrustedTypesPolicyViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kTrustedTypesPolicyViolation")] + [JsonPropertyName("kTrustedTypesPolicyViolation")] KTrustedTypesPolicyViolation, /// /// kWasmEvalViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kWasmEvalViolation")] + [JsonPropertyName("kWasmEvalViolation")] KWasmEvalViolation } @@ -1869,7 +1871,7 @@ public partial class SourceCodeLocation : CefSharp.DevTools.DevToolsDomainEntity /// /// ScriptId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] public string ScriptId { get; @@ -1879,7 +1881,7 @@ public string ScriptId /// /// Url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -1890,7 +1892,7 @@ public string Url /// /// LineNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -1900,7 +1902,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -1916,7 +1918,7 @@ public partial class ContentSecurityPolicyIssueDetails : CefSharp.DevTools.DevTo /// /// The url not included in allowed sources. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedURL")] + [JsonPropertyName("blockedURL")] public string BlockedURL { get; @@ -1926,7 +1928,7 @@ public string BlockedURL /// /// Specific directive that is violated, causing the CSP issue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatedDirective")] + [JsonPropertyName("violatedDirective")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ViolatedDirective { @@ -1937,7 +1939,7 @@ public string ViolatedDirective /// /// IsReportOnly /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isReportOnly")] + [JsonPropertyName("isReportOnly")] public bool IsReportOnly { get; @@ -1947,7 +1949,7 @@ public bool IsReportOnly /// /// ContentSecurityPolicyViolationType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSecurityPolicyViolationType")] + [JsonPropertyName("contentSecurityPolicyViolationType")] public CefSharp.DevTools.Audits.ContentSecurityPolicyViolationType ContentSecurityPolicyViolationType { get; @@ -1957,7 +1959,7 @@ public CefSharp.DevTools.Audits.ContentSecurityPolicyViolationType ContentSecuri /// /// FrameAncestor /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameAncestor")] + [JsonPropertyName("frameAncestor")] public CefSharp.DevTools.Audits.AffectedFrame FrameAncestor { get; @@ -1967,7 +1969,7 @@ public CefSharp.DevTools.Audits.AffectedFrame FrameAncestor /// /// SourceCodeLocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")] + [JsonPropertyName("sourceCodeLocation")] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { get; @@ -1977,7 +1979,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation /// /// ViolatingNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")] + [JsonPropertyName("violatingNodeId")] public int? ViolatingNodeId { get; @@ -1993,12 +1995,12 @@ public enum SharedArrayBufferIssueType /// /// TransferIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TransferIssue")] + [JsonPropertyName("TransferIssue")] TransferIssue, /// /// CreationIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CreationIssue")] + [JsonPropertyName("CreationIssue")] CreationIssue } @@ -2011,7 +2013,7 @@ public partial class SharedArrayBufferIssueDetails : CefSharp.DevTools.DevToolsD /// /// SourceCodeLocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")] + [JsonPropertyName("sourceCodeLocation")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { @@ -2022,7 +2024,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation /// /// IsWarning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isWarning")] + [JsonPropertyName("isWarning")] public bool IsWarning { get; @@ -2032,7 +2034,7 @@ public bool IsWarning /// /// Type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Audits.SharedArrayBufferIssueType Type { get; @@ -2048,17 +2050,17 @@ public enum TwaQualityEnforcementViolationType /// /// kHttpError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kHttpError")] + [JsonPropertyName("kHttpError")] KHttpError, /// /// kUnavailableOffline /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kUnavailableOffline")] + [JsonPropertyName("kUnavailableOffline")] KUnavailableOffline, /// /// kDigitalAssetLinks /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("kDigitalAssetLinks")] + [JsonPropertyName("kDigitalAssetLinks")] KDigitalAssetLinks } @@ -2070,7 +2072,7 @@ public partial class TrustedWebActivityIssueDetails : CefSharp.DevTools.DevTools /// /// The url that triggers the violation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -2081,7 +2083,7 @@ public string Url /// /// ViolationType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violationType")] + [JsonPropertyName("violationType")] public CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType ViolationType { get; @@ -2091,7 +2093,7 @@ public CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType ViolationType /// /// HttpStatusCode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("httpStatusCode")] + [JsonPropertyName("httpStatusCode")] public int? HttpStatusCode { get; @@ -2102,7 +2104,7 @@ public int? HttpStatusCode /// The package name of the Trusted Web Activity client app. This field is /// only used when violation type is kDigitalAssetLinks. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("packageName")] + [JsonPropertyName("packageName")] public string PackageName { get; @@ -2113,7 +2115,7 @@ public string PackageName /// The signature of the Trusted Web Activity client app. This field is only /// used when violation type is kDigitalAssetLinks. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signature")] + [JsonPropertyName("signature")] public string Signature { get; @@ -2129,7 +2131,7 @@ public partial class LowTextContrastIssueDetails : CefSharp.DevTools.DevToolsDom /// /// ViolatingNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")] + [JsonPropertyName("violatingNodeId")] public int ViolatingNodeId { get; @@ -2139,7 +2141,7 @@ public int ViolatingNodeId /// /// ViolatingNodeSelector /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeSelector")] + [JsonPropertyName("violatingNodeSelector")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ViolatingNodeSelector { @@ -2150,7 +2152,7 @@ public string ViolatingNodeSelector /// /// ContrastRatio /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contrastRatio")] + [JsonPropertyName("contrastRatio")] public double ContrastRatio { get; @@ -2160,7 +2162,7 @@ public double ContrastRatio /// /// ThresholdAA /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("thresholdAA")] + [JsonPropertyName("thresholdAA")] public double ThresholdAA { get; @@ -2170,7 +2172,7 @@ public double ThresholdAA /// /// ThresholdAAA /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("thresholdAAA")] + [JsonPropertyName("thresholdAAA")] public double ThresholdAAA { get; @@ -2180,7 +2182,7 @@ public double ThresholdAAA /// /// FontSize /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontSize")] + [JsonPropertyName("fontSize")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontSize { @@ -2191,7 +2193,7 @@ public string FontSize /// /// FontWeight /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontWeight")] + [JsonPropertyName("fontWeight")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontWeight { @@ -2209,7 +2211,7 @@ public partial class CorsIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBa /// /// CorsErrorStatus /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corsErrorStatus")] + [JsonPropertyName("corsErrorStatus")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus { @@ -2220,7 +2222,7 @@ public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus /// /// IsWarning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isWarning")] + [JsonPropertyName("isWarning")] public bool IsWarning { get; @@ -2230,7 +2232,7 @@ public bool IsWarning /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.AffectedRequest Request { @@ -2241,7 +2243,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// Location /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonPropertyName("location")] public CefSharp.DevTools.Audits.SourceCodeLocation Location { get; @@ -2251,7 +2253,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation Location /// /// InitiatorOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiatorOrigin")] + [JsonPropertyName("initiatorOrigin")] public string InitiatorOrigin { get; @@ -2261,7 +2263,7 @@ public string InitiatorOrigin /// /// ResourceIPAddressSpace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceIPAddressSpace")] + [JsonPropertyName("resourceIPAddressSpace")] public CefSharp.DevTools.Network.IPAddressSpace? ResourceIPAddressSpace { get; @@ -2271,7 +2273,7 @@ public CefSharp.DevTools.Network.IPAddressSpace? ResourceIPAddressSpace /// /// ClientSecurityState /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientSecurityState")] + [JsonPropertyName("clientSecurityState")] public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState { get; @@ -2287,57 +2289,57 @@ public enum AttributionReportingIssueType /// /// PermissionPolicyDisabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PermissionPolicyDisabled")] + [JsonPropertyName("PermissionPolicyDisabled")] PermissionPolicyDisabled, /// /// PermissionPolicyNotDelegated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PermissionPolicyNotDelegated")] + [JsonPropertyName("PermissionPolicyNotDelegated")] PermissionPolicyNotDelegated, /// /// UntrustworthyReportingOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UntrustworthyReportingOrigin")] + [JsonPropertyName("UntrustworthyReportingOrigin")] UntrustworthyReportingOrigin, /// /// InsecureContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecureContext")] + [JsonPropertyName("InsecureContext")] InsecureContext, /// /// InvalidHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidHeader")] + [JsonPropertyName("InvalidHeader")] InvalidHeader, /// /// InvalidRegisterTriggerHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidRegisterTriggerHeader")] + [JsonPropertyName("InvalidRegisterTriggerHeader")] InvalidRegisterTriggerHeader, /// /// InvalidEligibleHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidEligibleHeader")] + [JsonPropertyName("InvalidEligibleHeader")] InvalidEligibleHeader, /// /// TooManyConcurrentRequests /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TooManyConcurrentRequests")] + [JsonPropertyName("TooManyConcurrentRequests")] TooManyConcurrentRequests, /// /// SourceAndTriggerHeaders /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SourceAndTriggerHeaders")] + [JsonPropertyName("SourceAndTriggerHeaders")] SourceAndTriggerHeaders, /// /// SourceIgnored /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SourceIgnored")] + [JsonPropertyName("SourceIgnored")] SourceIgnored, /// /// TriggerIgnored /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerIgnored")] + [JsonPropertyName("TriggerIgnored")] TriggerIgnored } @@ -2350,7 +2352,7 @@ public partial class AttributionReportingIssueDetails : CefSharp.DevTools.DevToo /// /// ViolationType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violationType")] + [JsonPropertyName("violationType")] public CefSharp.DevTools.Audits.AttributionReportingIssueType ViolationType { get; @@ -2360,7 +2362,7 @@ public CefSharp.DevTools.Audits.AttributionReportingIssueType ViolationType /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonPropertyName("request")] public CefSharp.DevTools.Audits.AffectedRequest Request { get; @@ -2370,7 +2372,7 @@ public CefSharp.DevTools.Audits.AffectedRequest Request /// /// ViolatingNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")] + [JsonPropertyName("violatingNodeId")] public int? ViolatingNodeId { get; @@ -2380,7 +2382,7 @@ public int? ViolatingNodeId /// /// InvalidParameter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("invalidParameter")] + [JsonPropertyName("invalidParameter")] public string InvalidParameter { get; @@ -2398,7 +2400,7 @@ public partial class QuirksModeIssueDetails : CefSharp.DevTools.DevToolsDomainEn /// If false, it means the document's mode is "quirks" /// instead of "limited-quirks". /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isLimitedQuirksMode")] + [JsonPropertyName("isLimitedQuirksMode")] public bool IsLimitedQuirksMode { get; @@ -2408,7 +2410,7 @@ public bool IsLimitedQuirksMode /// /// DocumentNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentNodeId")] + [JsonPropertyName("documentNodeId")] public int DocumentNodeId { get; @@ -2418,7 +2420,7 @@ public int DocumentNodeId /// /// Url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -2429,7 +2431,7 @@ public string Url /// /// FrameId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -2440,7 +2442,7 @@ public string FrameId /// /// LoaderId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -2457,7 +2459,7 @@ public partial class NavigatorUserAgentIssueDetails : CefSharp.DevTools.DevTools /// /// Url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -2468,7 +2470,7 @@ public string Url /// /// Location /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonPropertyName("location")] public CefSharp.DevTools.Audits.SourceCodeLocation Location { get; @@ -2484,33 +2486,58 @@ public enum GenericIssueErrorType /// /// CrossOriginPortalPostMessageError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginPortalPostMessageError")] + [JsonPropertyName("CrossOriginPortalPostMessageError")] CrossOriginPortalPostMessageError, /// /// FormLabelForNameError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormLabelForNameError")] + [JsonPropertyName("FormLabelForNameError")] FormLabelForNameError, /// /// FormDuplicateIdForInputError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormDuplicateIdForInputError")] + [JsonPropertyName("FormDuplicateIdForInputError")] FormDuplicateIdForInputError, /// /// FormInputWithNoLabelError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormInputWithNoLabelError")] + [JsonPropertyName("FormInputWithNoLabelError")] FormInputWithNoLabelError, /// /// FormAutocompleteAttributeEmptyError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormAutocompleteAttributeEmptyError")] + [JsonPropertyName("FormAutocompleteAttributeEmptyError")] FormAutocompleteAttributeEmptyError, /// /// FormEmptyIdAndNameAttributesForInputError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormEmptyIdAndNameAttributesForInputError")] - FormEmptyIdAndNameAttributesForInputError + [JsonPropertyName("FormEmptyIdAndNameAttributesForInputError")] + FormEmptyIdAndNameAttributesForInputError, + /// + /// FormAriaLabelledByToNonExistingId + /// + [JsonPropertyName("FormAriaLabelledByToNonExistingId")] + FormAriaLabelledByToNonExistingId, + /// + /// FormInputAssignedAutocompleteValueToIdOrNameAttributeError + /// + [JsonPropertyName("FormInputAssignedAutocompleteValueToIdOrNameAttributeError")] + FormInputAssignedAutocompleteValueToIdOrNameAttributeError, + /// + /// FormLabelHasNeitherForNorNestedInput + /// + [JsonPropertyName("FormLabelHasNeitherForNorNestedInput")] + FormLabelHasNeitherForNorNestedInput, + /// + /// FormLabelForMatchesNonExistingIdError + /// + [JsonPropertyName("FormLabelForMatchesNonExistingIdError")] + FormLabelForMatchesNonExistingIdError, + /// + /// FormHasPasswordFieldWithoutUsernameFieldError + /// + [JsonPropertyName("FormHasPasswordFieldWithoutUsernameFieldError")] + FormHasPasswordFieldWithoutUsernameFieldError } /// @@ -2521,7 +2548,7 @@ public partial class GenericIssueDetails : CefSharp.DevTools.DevToolsDomainEntit /// /// Issues with the same errorType are aggregated in the frontend. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorType")] + [JsonPropertyName("errorType")] public CefSharp.DevTools.Audits.GenericIssueErrorType ErrorType { get; @@ -2531,7 +2558,7 @@ public CefSharp.DevTools.Audits.GenericIssueErrorType ErrorType /// /// FrameId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -2541,7 +2568,7 @@ public string FrameId /// /// ViolatingNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")] + [JsonPropertyName("violatingNodeId")] public int? ViolatingNodeId { get; @@ -2549,298 +2576,6 @@ public int? ViolatingNodeId } } - /// - /// DeprecationIssueType - /// - public enum DeprecationIssueType - { - /// - /// AuthorizationCoveredByWildcard - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AuthorizationCoveredByWildcard")] - AuthorizationCoveredByWildcard, - /// - /// CanRequestURLHTTPContainingNewline - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CanRequestURLHTTPContainingNewline")] - CanRequestURLHTTPContainingNewline, - /// - /// ChromeLoadTimesConnectionInfo - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesConnectionInfo")] - ChromeLoadTimesConnectionInfo, - /// - /// ChromeLoadTimesFirstPaintAfterLoadTime - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesFirstPaintAfterLoadTime")] - ChromeLoadTimesFirstPaintAfterLoadTime, - /// - /// ChromeLoadTimesWasAlternateProtocolAvailable - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesWasAlternateProtocolAvailable")] - ChromeLoadTimesWasAlternateProtocolAvailable, - /// - /// CookieWithTruncatingChar - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CookieWithTruncatingChar")] - CookieWithTruncatingChar, - /// - /// CrossOriginAccessBasedOnDocumentDomain - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginAccessBasedOnDocumentDomain")] - CrossOriginAccessBasedOnDocumentDomain, - /// - /// CrossOriginWindowAlert - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginWindowAlert")] - CrossOriginWindowAlert, - /// - /// CrossOriginWindowConfirm - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginWindowConfirm")] - CrossOriginWindowConfirm, - /// - /// CSSSelectorInternalMediaControlsOverlayCastButton - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSSSelectorInternalMediaControlsOverlayCastButton")] - CSSSelectorInternalMediaControlsOverlayCastButton, - /// - /// DeprecationExample - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DeprecationExample")] - DeprecationExample, - /// - /// DocumentDomainSettingWithoutOriginAgentClusterHeader - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DocumentDomainSettingWithoutOriginAgentClusterHeader")] - DocumentDomainSettingWithoutOriginAgentClusterHeader, - /// - /// EventPath - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EventPath")] - EventPath, - /// - /// ExpectCTHeader - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExpectCTHeader")] - ExpectCTHeader, - /// - /// GeolocationInsecureOrigin - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("GeolocationInsecureOrigin")] - GeolocationInsecureOrigin, - /// - /// GeolocationInsecureOriginDeprecatedNotRemoved - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("GeolocationInsecureOriginDeprecatedNotRemoved")] - GeolocationInsecureOriginDeprecatedNotRemoved, - /// - /// GetUserMediaInsecureOrigin - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("GetUserMediaInsecureOrigin")] - GetUserMediaInsecureOrigin, - /// - /// HostCandidateAttributeGetter - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HostCandidateAttributeGetter")] - HostCandidateAttributeGetter, - /// - /// IdentityInCanMakePaymentEvent - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdentityInCanMakePaymentEvent")] - IdentityInCanMakePaymentEvent, - /// - /// InsecurePrivateNetworkSubresourceRequest - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecurePrivateNetworkSubresourceRequest")] - InsecurePrivateNetworkSubresourceRequest, - /// - /// LocalCSSFileExtensionRejected - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LocalCSSFileExtensionRejected")] - LocalCSSFileExtensionRejected, - /// - /// MediaSourceAbortRemove - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceAbortRemove")] - MediaSourceAbortRemove, - /// - /// MediaSourceDurationTruncatingBuffered - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceDurationTruncatingBuffered")] - MediaSourceDurationTruncatingBuffered, - /// - /// NoSysexWebMIDIWithoutPermission - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoSysexWebMIDIWithoutPermission")] - NoSysexWebMIDIWithoutPermission, - /// - /// NotificationInsecureOrigin - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotificationInsecureOrigin")] - NotificationInsecureOrigin, - /// - /// NotificationPermissionRequestedIframe - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotificationPermissionRequestedIframe")] - NotificationPermissionRequestedIframe, - /// - /// ObsoleteCreateImageBitmapImageOrientationNone - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ObsoleteCreateImageBitmapImageOrientationNone")] - ObsoleteCreateImageBitmapImageOrientationNone, - /// - /// ObsoleteWebRtcCipherSuite - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ObsoleteWebRtcCipherSuite")] - ObsoleteWebRtcCipherSuite, - /// - /// OpenWebDatabaseInsecureContext - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OpenWebDatabaseInsecureContext")] - OpenWebDatabaseInsecureContext, - /// - /// OverflowVisibleOnReplacedElement - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OverflowVisibleOnReplacedElement")] - OverflowVisibleOnReplacedElement, - /// - /// PaymentInstruments - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentInstruments")] - PaymentInstruments, - /// - /// PaymentRequestCSPViolation - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentRequestCSPViolation")] - PaymentRequestCSPViolation, - /// - /// PersistentQuotaType - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PersistentQuotaType")] - PersistentQuotaType, - /// - /// PictureSourceSrc - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PictureSourceSrc")] - PictureSourceSrc, - /// - /// PrefixedCancelAnimationFrame - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedCancelAnimationFrame")] - PrefixedCancelAnimationFrame, - /// - /// PrefixedRequestAnimationFrame - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedRequestAnimationFrame")] - PrefixedRequestAnimationFrame, - /// - /// PrefixedStorageInfo - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedStorageInfo")] - PrefixedStorageInfo, - /// - /// PrefixedVideoDisplayingFullscreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoDisplayingFullscreen")] - PrefixedVideoDisplayingFullscreen, - /// - /// PrefixedVideoEnterFullscreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoEnterFullscreen")] - PrefixedVideoEnterFullscreen, - /// - /// PrefixedVideoEnterFullScreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoEnterFullScreen")] - PrefixedVideoEnterFullScreen, - /// - /// PrefixedVideoExitFullscreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoExitFullscreen")] - PrefixedVideoExitFullscreen, - /// - /// PrefixedVideoExitFullScreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoExitFullScreen")] - PrefixedVideoExitFullScreen, - /// - /// PrefixedVideoSupportsFullscreen - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoSupportsFullscreen")] - PrefixedVideoSupportsFullscreen, - /// - /// PrivacySandboxExtensionsAPI - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrivacySandboxExtensionsAPI")] - PrivacySandboxExtensionsAPI, - /// - /// RangeExpand - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RangeExpand")] - RangeExpand, - /// - /// RequestedSubresourceWithEmbeddedCredentials - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedSubresourceWithEmbeddedCredentials")] - RequestedSubresourceWithEmbeddedCredentials, - /// - /// RTCConstraintEnableDtlsSrtpFalse - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCConstraintEnableDtlsSrtpFalse")] - RTCConstraintEnableDtlsSrtpFalse, - /// - /// RTCConstraintEnableDtlsSrtpTrue - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCConstraintEnableDtlsSrtpTrue")] - RTCConstraintEnableDtlsSrtpTrue, - /// - /// RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics")] - RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics, - /// - /// RTCPeerConnectionSdpSemanticsPlanB - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCPeerConnectionSdpSemanticsPlanB")] - RTCPeerConnectionSdpSemanticsPlanB, - /// - /// RtcpMuxPolicyNegotiate - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RtcpMuxPolicyNegotiate")] - RtcpMuxPolicyNegotiate, - /// - /// SharedArrayBufferConstructedWithoutIsolation - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedArrayBufferConstructedWithoutIsolation")] - SharedArrayBufferConstructedWithoutIsolation, - /// - /// TextToSpeech_DisallowedByAutoplay - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TextToSpeech_DisallowedByAutoplay")] - TextToSpeechDisallowedByAutoplay, - /// - /// V8SharedArrayBufferConstructedInExtensionWithoutIsolation - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("V8SharedArrayBufferConstructedInExtensionWithoutIsolation")] - V8SharedArrayBufferConstructedInExtensionWithoutIsolation, - /// - /// XHRJSONEncodingDetection - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XHRJSONEncodingDetection")] - XHRJSONEncodingDetection, - /// - /// XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload")] - XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload, - /// - /// XRSupportsSession - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XRSupportsSession")] - XRSupportsSession - } - /// /// This issue tracks information needed to print a deprecation message. /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md @@ -2850,7 +2585,7 @@ public partial class DeprecationIssueDetails : CefSharp.DevTools.DevToolsDomainE /// /// AffectedFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("affectedFrame")] + [JsonPropertyName("affectedFrame")] public CefSharp.DevTools.Audits.AffectedFrame AffectedFrame { get; @@ -2860,7 +2595,7 @@ public CefSharp.DevTools.Audits.AffectedFrame AffectedFrame /// /// SourceCodeLocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")] + [JsonPropertyName("sourceCodeLocation")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { @@ -2869,10 +2604,11 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation } /// - /// Type + /// One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] - public CefSharp.DevTools.Audits.DeprecationIssueType Type + [JsonPropertyName("type")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Type { get; set; @@ -2887,12 +2623,12 @@ public enum ClientHintIssueReason /// /// MetaTagAllowListInvalidOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MetaTagAllowListInvalidOrigin")] + [JsonPropertyName("MetaTagAllowListInvalidOrigin")] MetaTagAllowListInvalidOrigin, /// /// MetaTagModifiedHTML /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MetaTagModifiedHTML")] + [JsonPropertyName("MetaTagModifiedHTML")] MetaTagModifiedHTML } @@ -2904,7 +2640,7 @@ public partial class FederatedAuthRequestIssueDetails : CefSharp.DevTools.DevToo /// /// FederatedAuthRequestIssueReason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("federatedAuthRequestIssueReason")] + [JsonPropertyName("federatedAuthRequestIssueReason")] public CefSharp.DevTools.Audits.FederatedAuthRequestIssueReason FederatedAuthRequestIssueReason { get; @@ -2923,142 +2659,142 @@ public enum FederatedAuthRequestIssueReason /// /// ShouldEmbargo /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ShouldEmbargo")] + [JsonPropertyName("ShouldEmbargo")] ShouldEmbargo, /// /// TooManyRequests /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TooManyRequests")] + [JsonPropertyName("TooManyRequests")] TooManyRequests, /// /// WellKnownHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownHttpNotFound")] + [JsonPropertyName("WellKnownHttpNotFound")] WellKnownHttpNotFound, /// /// WellKnownNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownNoResponse")] + [JsonPropertyName("WellKnownNoResponse")] WellKnownNoResponse, /// /// WellKnownInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownInvalidResponse")] + [JsonPropertyName("WellKnownInvalidResponse")] WellKnownInvalidResponse, /// /// WellKnownListEmpty /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownListEmpty")] + [JsonPropertyName("WellKnownListEmpty")] WellKnownListEmpty, /// /// ConfigNotInWellKnown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigNotInWellKnown")] + [JsonPropertyName("ConfigNotInWellKnown")] ConfigNotInWellKnown, /// /// WellKnownTooBig /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownTooBig")] + [JsonPropertyName("WellKnownTooBig")] WellKnownTooBig, /// /// ConfigHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigHttpNotFound")] + [JsonPropertyName("ConfigHttpNotFound")] ConfigHttpNotFound, /// /// ConfigNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigNoResponse")] + [JsonPropertyName("ConfigNoResponse")] ConfigNoResponse, /// /// ConfigInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigInvalidResponse")] + [JsonPropertyName("ConfigInvalidResponse")] ConfigInvalidResponse, /// /// ClientMetadataHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientMetadataHttpNotFound")] + [JsonPropertyName("ClientMetadataHttpNotFound")] ClientMetadataHttpNotFound, /// /// ClientMetadataNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientMetadataNoResponse")] + [JsonPropertyName("ClientMetadataNoResponse")] ClientMetadataNoResponse, /// /// ClientMetadataInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientMetadataInvalidResponse")] + [JsonPropertyName("ClientMetadataInvalidResponse")] ClientMetadataInvalidResponse, /// /// DisabledInSettings /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DisabledInSettings")] + [JsonPropertyName("DisabledInSettings")] DisabledInSettings, /// /// ErrorFetchingSignin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ErrorFetchingSignin")] + [JsonPropertyName("ErrorFetchingSignin")] ErrorFetchingSignin, /// /// InvalidSigninResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSigninResponse")] + [JsonPropertyName("InvalidSigninResponse")] InvalidSigninResponse, /// /// AccountsHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsHttpNotFound")] + [JsonPropertyName("AccountsHttpNotFound")] AccountsHttpNotFound, /// /// AccountsNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsNoResponse")] + [JsonPropertyName("AccountsNoResponse")] AccountsNoResponse, /// /// AccountsInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsInvalidResponse")] + [JsonPropertyName("AccountsInvalidResponse")] AccountsInvalidResponse, /// /// AccountsListEmpty /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccountsListEmpty")] + [JsonPropertyName("AccountsListEmpty")] AccountsListEmpty, /// /// IdTokenHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdTokenHttpNotFound")] + [JsonPropertyName("IdTokenHttpNotFound")] IdTokenHttpNotFound, /// /// IdTokenNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdTokenNoResponse")] + [JsonPropertyName("IdTokenNoResponse")] IdTokenNoResponse, /// /// IdTokenInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdTokenInvalidResponse")] + [JsonPropertyName("IdTokenInvalidResponse")] IdTokenInvalidResponse, /// /// IdTokenInvalidRequest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdTokenInvalidRequest")] + [JsonPropertyName("IdTokenInvalidRequest")] IdTokenInvalidRequest, /// /// ErrorIdToken /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ErrorIdToken")] + [JsonPropertyName("ErrorIdToken")] ErrorIdToken, /// /// Canceled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Canceled")] + [JsonPropertyName("Canceled")] Canceled, /// /// RpPageNotVisible /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RpPageNotVisible")] + [JsonPropertyName("RpPageNotVisible")] RpPageNotVisible } @@ -3071,7 +2807,7 @@ public partial class ClientHintIssueDetails : CefSharp.DevTools.DevToolsDomainEn /// /// SourceCodeLocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")] + [JsonPropertyName("sourceCodeLocation")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation { @@ -3082,7 +2818,7 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation /// /// ClientHintIssueReason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHintIssueReason")] + [JsonPropertyName("clientHintIssueReason")] public CefSharp.DevTools.Audits.ClientHintIssueReason ClientHintIssueReason { get; @@ -3100,82 +2836,82 @@ public enum InspectorIssueCode /// /// CookieIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CookieIssue")] + [JsonPropertyName("CookieIssue")] CookieIssue, /// /// MixedContentIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentIssue")] + [JsonPropertyName("MixedContentIssue")] MixedContentIssue, /// /// BlockedByResponseIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByResponseIssue")] + [JsonPropertyName("BlockedByResponseIssue")] BlockedByResponseIssue, /// /// HeavyAdIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdIssue")] + [JsonPropertyName("HeavyAdIssue")] HeavyAdIssue, /// /// ContentSecurityPolicyIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentSecurityPolicyIssue")] + [JsonPropertyName("ContentSecurityPolicyIssue")] ContentSecurityPolicyIssue, /// /// SharedArrayBufferIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedArrayBufferIssue")] + [JsonPropertyName("SharedArrayBufferIssue")] SharedArrayBufferIssue, /// /// TrustedWebActivityIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TrustedWebActivityIssue")] + [JsonPropertyName("TrustedWebActivityIssue")] TrustedWebActivityIssue, /// /// LowTextContrastIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LowTextContrastIssue")] + [JsonPropertyName("LowTextContrastIssue")] LowTextContrastIssue, /// /// CorsIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorsIssue")] + [JsonPropertyName("CorsIssue")] CorsIssue, /// /// AttributionReportingIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AttributionReportingIssue")] + [JsonPropertyName("AttributionReportingIssue")] AttributionReportingIssue, /// /// QuirksModeIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("QuirksModeIssue")] + [JsonPropertyName("QuirksModeIssue")] QuirksModeIssue, /// /// NavigatorUserAgentIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigatorUserAgentIssue")] + [JsonPropertyName("NavigatorUserAgentIssue")] NavigatorUserAgentIssue, /// /// GenericIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("GenericIssue")] + [JsonPropertyName("GenericIssue")] GenericIssue, /// /// DeprecationIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DeprecationIssue")] + [JsonPropertyName("DeprecationIssue")] DeprecationIssue, /// /// ClientHintIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientHintIssue")] + [JsonPropertyName("ClientHintIssue")] ClientHintIssue, /// /// FederatedAuthRequestIssue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FederatedAuthRequestIssue")] + [JsonPropertyName("FederatedAuthRequestIssue")] FederatedAuthRequestIssue } @@ -3189,7 +2925,7 @@ public partial class InspectorIssueDetails : CefSharp.DevTools.DevToolsDomainEnt /// /// CookieIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieIssueDetails")] + [JsonPropertyName("cookieIssueDetails")] public CefSharp.DevTools.Audits.CookieIssueDetails CookieIssueDetails { get; @@ -3199,7 +2935,7 @@ public CefSharp.DevTools.Audits.CookieIssueDetails CookieIssueDetails /// /// MixedContentIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentIssueDetails")] + [JsonPropertyName("mixedContentIssueDetails")] public CefSharp.DevTools.Audits.MixedContentIssueDetails MixedContentIssueDetails { get; @@ -3209,7 +2945,7 @@ public CefSharp.DevTools.Audits.MixedContentIssueDetails MixedContentIssueDetail /// /// BlockedByResponseIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedByResponseIssueDetails")] + [JsonPropertyName("blockedByResponseIssueDetails")] public CefSharp.DevTools.Audits.BlockedByResponseIssueDetails BlockedByResponseIssueDetails { get; @@ -3219,7 +2955,7 @@ public CefSharp.DevTools.Audits.BlockedByResponseIssueDetails BlockedByResponseI /// /// HeavyAdIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("heavyAdIssueDetails")] + [JsonPropertyName("heavyAdIssueDetails")] public CefSharp.DevTools.Audits.HeavyAdIssueDetails HeavyAdIssueDetails { get; @@ -3229,7 +2965,7 @@ public CefSharp.DevTools.Audits.HeavyAdIssueDetails HeavyAdIssueDetails /// /// ContentSecurityPolicyIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSecurityPolicyIssueDetails")] + [JsonPropertyName("contentSecurityPolicyIssueDetails")] public CefSharp.DevTools.Audits.ContentSecurityPolicyIssueDetails ContentSecurityPolicyIssueDetails { get; @@ -3239,7 +2975,7 @@ public CefSharp.DevTools.Audits.ContentSecurityPolicyIssueDetails ContentSecurit /// /// SharedArrayBufferIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sharedArrayBufferIssueDetails")] + [JsonPropertyName("sharedArrayBufferIssueDetails")] public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferIssueDetails { get; @@ -3249,7 +2985,7 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferI /// /// TwaQualityEnforcementDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("twaQualityEnforcementDetails")] + [JsonPropertyName("twaQualityEnforcementDetails")] public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforcementDetails { get; @@ -3259,7 +2995,7 @@ public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforce /// /// LowTextContrastIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lowTextContrastIssueDetails")] + [JsonPropertyName("lowTextContrastIssueDetails")] public CefSharp.DevTools.Audits.LowTextContrastIssueDetails LowTextContrastIssueDetails { get; @@ -3269,7 +3005,7 @@ public CefSharp.DevTools.Audits.LowTextContrastIssueDetails LowTextContrastIssue /// /// CorsIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corsIssueDetails")] + [JsonPropertyName("corsIssueDetails")] public CefSharp.DevTools.Audits.CorsIssueDetails CorsIssueDetails { get; @@ -3279,7 +3015,7 @@ public CefSharp.DevTools.Audits.CorsIssueDetails CorsIssueDetails /// /// AttributionReportingIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributionReportingIssueDetails")] + [JsonPropertyName("attributionReportingIssueDetails")] public CefSharp.DevTools.Audits.AttributionReportingIssueDetails AttributionReportingIssueDetails { get; @@ -3289,7 +3025,7 @@ public CefSharp.DevTools.Audits.AttributionReportingIssueDetails AttributionRepo /// /// QuirksModeIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("quirksModeIssueDetails")] + [JsonPropertyName("quirksModeIssueDetails")] public CefSharp.DevTools.Audits.QuirksModeIssueDetails QuirksModeIssueDetails { get; @@ -3299,7 +3035,7 @@ public CefSharp.DevTools.Audits.QuirksModeIssueDetails QuirksModeIssueDetails /// /// NavigatorUserAgentIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("navigatorUserAgentIssueDetails")] + [JsonPropertyName("navigatorUserAgentIssueDetails")] public CefSharp.DevTools.Audits.NavigatorUserAgentIssueDetails NavigatorUserAgentIssueDetails { get; @@ -3309,7 +3045,7 @@ public CefSharp.DevTools.Audits.NavigatorUserAgentIssueDetails NavigatorUserAgen /// /// GenericIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("genericIssueDetails")] + [JsonPropertyName("genericIssueDetails")] public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails { get; @@ -3319,7 +3055,7 @@ public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails /// /// DeprecationIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deprecationIssueDetails")] + [JsonPropertyName("deprecationIssueDetails")] public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails { get; @@ -3329,7 +3065,7 @@ public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails /// /// ClientHintIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHintIssueDetails")] + [JsonPropertyName("clientHintIssueDetails")] public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails { get; @@ -3339,7 +3075,7 @@ public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails /// /// FederatedAuthRequestIssueDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("federatedAuthRequestIssueDetails")] + [JsonPropertyName("federatedAuthRequestIssueDetails")] public CefSharp.DevTools.Audits.FederatedAuthRequestIssueDetails FederatedAuthRequestIssueDetails { get; @@ -3355,7 +3091,7 @@ public partial class InspectorIssue : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Code /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("code")] + [JsonPropertyName("code")] public CefSharp.DevTools.Audits.InspectorIssueCode Code { get; @@ -3365,7 +3101,7 @@ public CefSharp.DevTools.Audits.InspectorIssueCode Code /// /// Details /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("details")] + [JsonPropertyName("details")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.InspectorIssueDetails Details { @@ -3377,7 +3113,7 @@ public CefSharp.DevTools.Audits.InspectorIssueDetails Details /// A unique id for this issue. May be omitted if no other entity (e.g. /// exception, CDP message, etc.) is referencing this issue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issueId")] + [JsonPropertyName("issueId")] public string IssueId { get; @@ -3393,8 +3129,8 @@ public class IssueAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Issue /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issue")] + [JsonInclude] + [JsonPropertyName("issue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Audits.InspectorIssue Issue { @@ -3416,32 +3152,32 @@ public enum ServiceName /// /// backgroundFetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundFetch")] + [JsonPropertyName("backgroundFetch")] BackgroundFetch, /// /// backgroundSync /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundSync")] + [JsonPropertyName("backgroundSync")] BackgroundSync, /// /// pushMessaging /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pushMessaging")] + [JsonPropertyName("pushMessaging")] PushMessaging, /// /// notifications /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("notifications")] + [JsonPropertyName("notifications")] Notifications, /// /// paymentHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paymentHandler")] + [JsonPropertyName("paymentHandler")] PaymentHandler, /// /// periodicBackgroundSync /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("periodicBackgroundSync")] + [JsonPropertyName("periodicBackgroundSync")] PeriodicBackgroundSync } @@ -3453,7 +3189,7 @@ public partial class EventMetadata : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Key { @@ -3464,7 +3200,7 @@ public string Key /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -3481,7 +3217,7 @@ public partial class BackgroundServiceEvent : CefSharp.DevTools.DevToolsDomainEn /// /// Timestamp of the event (in seconds). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -3491,7 +3227,7 @@ public double Timestamp /// /// The origin this event belongs to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -3502,7 +3238,7 @@ public string Origin /// /// The Service Worker ID that initiated the event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serviceWorkerRegistrationId")] + [JsonPropertyName("serviceWorkerRegistrationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ServiceWorkerRegistrationId { @@ -3513,7 +3249,7 @@ public string ServiceWorkerRegistrationId /// /// The Background Service this event belongs to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("service")] + [JsonPropertyName("service")] public CefSharp.DevTools.BackgroundService.ServiceName Service { get; @@ -3523,7 +3259,7 @@ public CefSharp.DevTools.BackgroundService.ServiceName Service /// /// A description of the event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventName")] + [JsonPropertyName("eventName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string EventName { @@ -3534,7 +3270,7 @@ public string EventName /// /// An identifier that groups related events together. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("instanceId")] + [JsonPropertyName("instanceId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InstanceId { @@ -3545,7 +3281,7 @@ public string InstanceId /// /// A list of event-specific information. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventMetadata")] + [JsonPropertyName("eventMetadata")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList EventMetadata { @@ -3556,7 +3292,7 @@ public System.Collections.Generic.IList /// Storage key this event belongs to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -3573,8 +3309,8 @@ public class RecordingStateChangedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// IsRecording /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isRecording")] + [JsonInclude] + [JsonPropertyName("isRecording")] public bool IsRecording { get; @@ -3584,8 +3320,8 @@ public bool IsRecording /// /// Service /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("service")] + [JsonInclude] + [JsonPropertyName("service")] public CefSharp.DevTools.BackgroundService.ServiceName Service { get; @@ -3602,8 +3338,8 @@ public class BackgroundServiceEventReceivedEventArgs : CefSharp.DevTools.DevTool /// /// BackgroundServiceEvent /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundServiceEvent")] + [JsonInclude] + [JsonPropertyName("backgroundServiceEvent")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.BackgroundService.BackgroundServiceEvent BackgroundServiceEvent { @@ -3623,22 +3359,22 @@ public enum WindowState /// /// normal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("normal")] + [JsonPropertyName("normal")] Normal, /// /// minimized /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("minimized")] + [JsonPropertyName("minimized")] Minimized, /// /// maximized /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maximized")] + [JsonPropertyName("maximized")] Maximized, /// /// fullscreen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fullscreen")] + [JsonPropertyName("fullscreen")] Fullscreen } @@ -3650,7 +3386,7 @@ public partial class Bounds : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The offset from the left edge of the screen to the window in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("left")] + [JsonPropertyName("left")] public int? Left { get; @@ -3660,7 +3396,7 @@ public int? Left /// /// The offset from the top edge of the screen to the window in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("top")] + [JsonPropertyName("top")] public int? Top { get; @@ -3670,7 +3406,7 @@ public int? Top /// /// The window width in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public int? Width { get; @@ -3680,7 +3416,7 @@ public int? Width /// /// The window height in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public int? Height { get; @@ -3690,7 +3426,7 @@ public int? Height /// /// The window state. Default to normal. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("windowState")] + [JsonPropertyName("windowState")] public CefSharp.DevTools.Browser.WindowState? WindowState { get; @@ -3706,137 +3442,137 @@ public enum PermissionType /// /// accessibilityEvents /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("accessibilityEvents")] + [JsonPropertyName("accessibilityEvents")] AccessibilityEvents, /// /// audioCapture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("audioCapture")] + [JsonPropertyName("audioCapture")] AudioCapture, /// /// backgroundSync /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundSync")] + [JsonPropertyName("backgroundSync")] BackgroundSync, /// /// backgroundFetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundFetch")] + [JsonPropertyName("backgroundFetch")] BackgroundFetch, /// /// clipboardReadWrite /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboardReadWrite")] + [JsonPropertyName("clipboardReadWrite")] ClipboardReadWrite, /// /// clipboardSanitizedWrite /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboardSanitizedWrite")] + [JsonPropertyName("clipboardSanitizedWrite")] ClipboardSanitizedWrite, /// /// displayCapture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("displayCapture")] + [JsonPropertyName("displayCapture")] DisplayCapture, /// /// durableStorage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("durableStorage")] + [JsonPropertyName("durableStorage")] DurableStorage, /// /// flash /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flash")] + [JsonPropertyName("flash")] Flash, /// /// geolocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("geolocation")] + [JsonPropertyName("geolocation")] Geolocation, /// /// idleDetection /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("idleDetection")] + [JsonPropertyName("idleDetection")] IdleDetection, /// /// localFonts /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("localFonts")] + [JsonPropertyName("localFonts")] LocalFonts, /// /// midi /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("midi")] + [JsonPropertyName("midi")] Midi, /// /// midiSysex /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("midiSysex")] + [JsonPropertyName("midiSysex")] MidiSysex, /// /// nfc /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nfc")] + [JsonPropertyName("nfc")] Nfc, /// /// notifications /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("notifications")] + [JsonPropertyName("notifications")] Notifications, /// /// paymentHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paymentHandler")] + [JsonPropertyName("paymentHandler")] PaymentHandler, /// /// periodicBackgroundSync /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("periodicBackgroundSync")] + [JsonPropertyName("periodicBackgroundSync")] PeriodicBackgroundSync, /// /// protectedMediaIdentifier /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protectedMediaIdentifier")] + [JsonPropertyName("protectedMediaIdentifier")] ProtectedMediaIdentifier, /// /// sensors /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sensors")] + [JsonPropertyName("sensors")] Sensors, /// /// storageAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageAccess")] + [JsonPropertyName("storageAccess")] StorageAccess, /// /// topLevelStorageAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("topLevelStorageAccess")] + [JsonPropertyName("topLevelStorageAccess")] TopLevelStorageAccess, /// /// videoCapture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("videoCapture")] + [JsonPropertyName("videoCapture")] VideoCapture, /// /// videoCapturePanTiltZoom /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("videoCapturePanTiltZoom")] + [JsonPropertyName("videoCapturePanTiltZoom")] VideoCapturePanTiltZoom, /// /// wakeLockScreen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wakeLockScreen")] + [JsonPropertyName("wakeLockScreen")] WakeLockScreen, /// /// wakeLockSystem /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wakeLockSystem")] + [JsonPropertyName("wakeLockSystem")] WakeLockSystem, /// /// windowManagement /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("windowManagement")] + [JsonPropertyName("windowManagement")] WindowManagement } @@ -3848,17 +3584,17 @@ public enum PermissionSetting /// /// granted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("granted")] + [JsonPropertyName("granted")] Granted, /// /// denied /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("denied")] + [JsonPropertyName("denied")] Denied, /// /// prompt /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("prompt")] + [JsonPropertyName("prompt")] Prompt } @@ -3872,7 +3608,7 @@ public partial class PermissionDescriptor : CefSharp.DevTools.DevToolsDomainEnti /// Name of permission. /// See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -3883,7 +3619,7 @@ public string Name /// /// For "midi" permission, may also specify sysex control. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sysex")] + [JsonPropertyName("sysex")] public bool? Sysex { get; @@ -3894,7 +3630,7 @@ public bool? Sysex /// For "push" permission, may specify userVisibleOnly. /// Note that userVisibleOnly = true is the only currently supported type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userVisibleOnly")] + [JsonPropertyName("userVisibleOnly")] public bool? UserVisibleOnly { get; @@ -3904,7 +3640,7 @@ public bool? UserVisibleOnly /// /// For "clipboard" permission, may specify allowWithoutSanitization. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("allowWithoutSanitization")] + [JsonPropertyName("allowWithoutSanitization")] public bool? AllowWithoutSanitization { get; @@ -3914,7 +3650,7 @@ public bool? AllowWithoutSanitization /// /// For "camera" permission, may specify panTiltZoom. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("panTiltZoom")] + [JsonPropertyName("panTiltZoom")] public bool? PanTiltZoom { get; @@ -3930,12 +3666,12 @@ public enum BrowserCommandId /// /// openTabSearch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("openTabSearch")] + [JsonPropertyName("openTabSearch")] OpenTabSearch, /// /// closeTabSearch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("closeTabSearch")] + [JsonPropertyName("closeTabSearch")] CloseTabSearch } @@ -3947,7 +3683,7 @@ public partial class Bucket : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Minimum value (inclusive). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("low")] + [JsonPropertyName("low")] public int Low { get; @@ -3957,7 +3693,7 @@ public int Low /// /// Maximum value (exclusive). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("high")] + [JsonPropertyName("high")] public int High { get; @@ -3967,7 +3703,7 @@ public int High /// /// Number of samples. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("count")] + [JsonPropertyName("count")] public int Count { get; @@ -3983,7 +3719,7 @@ public partial class Histogram : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -3994,7 +3730,7 @@ public string Name /// /// Sum of sample values. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sum")] + [JsonPropertyName("sum")] public int Sum { get; @@ -4004,7 +3740,7 @@ public int Sum /// /// Total number of samples. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("count")] + [JsonPropertyName("count")] public int Count { get; @@ -4014,7 +3750,7 @@ public int Count /// /// Buckets. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("buckets")] + [JsonPropertyName("buckets")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Buckets { @@ -4031,8 +3767,8 @@ public class DownloadWillBeginEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame that caused the download to begin. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -4043,8 +3779,8 @@ public string FrameId /// /// Global unique identifier of the download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("guid")] + [JsonInclude] + [JsonPropertyName("guid")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Guid { @@ -4055,8 +3791,8 @@ public string Guid /// /// URL of the resource being downloaded. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -4067,8 +3803,8 @@ public string Url /// /// Suggested file name of the resource (the actual name of the file saved on disk may differ). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("suggestedFilename")] + [JsonInclude] + [JsonPropertyName("suggestedFilename")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SuggestedFilename { @@ -4085,17 +3821,17 @@ public enum DownloadProgressState /// /// inProgress /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inProgress")] + [JsonPropertyName("inProgress")] InProgress, /// /// completed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("completed")] + [JsonPropertyName("completed")] Completed, /// /// canceled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canceled")] + [JsonPropertyName("canceled")] Canceled } @@ -4107,8 +3843,8 @@ public class DownloadProgressEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Global unique identifier of the download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("guid")] + [JsonInclude] + [JsonPropertyName("guid")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Guid { @@ -4119,8 +3855,8 @@ public string Guid /// /// Total expected bytes to download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("totalBytes")] + [JsonInclude] + [JsonPropertyName("totalBytes")] public double TotalBytes { get; @@ -4130,8 +3866,8 @@ public double TotalBytes /// /// Total bytes received. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("receivedBytes")] + [JsonInclude] + [JsonPropertyName("receivedBytes")] public double ReceivedBytes { get; @@ -4141,8 +3877,8 @@ public double ReceivedBytes /// /// Download status. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("state")] + [JsonInclude] + [JsonPropertyName("state")] public CefSharp.DevTools.Browser.DownloadProgressState State { get; @@ -4163,22 +3899,22 @@ public enum StyleSheetOrigin /// /// injected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("injected")] + [JsonPropertyName("injected")] Injected, /// /// user-agent /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("user-agent")] + [JsonPropertyName("user-agent")] UserAgent, /// /// inspector /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inspector")] + [JsonPropertyName("inspector")] Inspector, /// /// regular /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("regular")] + [JsonPropertyName("regular")] Regular } @@ -4190,7 +3926,7 @@ public partial class PseudoElementMatches : CefSharp.DevTools.DevToolsDomainEnti /// /// Pseudo element type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")] + [JsonPropertyName("pseudoType")] public CefSharp.DevTools.DOM.PseudoType PseudoType { get; @@ -4200,7 +3936,7 @@ public CefSharp.DevTools.DOM.PseudoType PseudoType /// /// Pseudo element custom ident. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoIdentifier")] + [JsonPropertyName("pseudoIdentifier")] public string PseudoIdentifier { get; @@ -4210,7 +3946,7 @@ public string PseudoIdentifier /// /// Matches of CSS rules applicable to the pseudo style. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("matches")] + [JsonPropertyName("matches")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Matches { @@ -4227,7 +3963,7 @@ public partial class InheritedStyleEntry : CefSharp.DevTools.DevToolsDomainEntit /// /// The ancestor node's inline style, if any, in the style inheritance chain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")] + [JsonPropertyName("inlineStyle")] public CefSharp.DevTools.CSS.CSSStyle InlineStyle { get; @@ -4237,7 +3973,7 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle /// /// Matches of CSS rules matching the ancestor node in the style inheritance chain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("matchedCSSRules")] + [JsonPropertyName("matchedCSSRules")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList MatchedCSSRules { @@ -4254,7 +3990,7 @@ public partial class InheritedPseudoElementMatches : CefSharp.DevTools.DevToolsD /// /// Matches of pseudo styles from the pseudos of an ancestor node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElements")] + [JsonPropertyName("pseudoElements")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList PseudoElements { @@ -4271,7 +4007,7 @@ public partial class RuleMatch : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CSS rule in the match. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rule")] + [JsonPropertyName("rule")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.CSSRule Rule { @@ -4282,7 +4018,7 @@ public CefSharp.DevTools.CSS.CSSRule Rule /// /// Matching selector indices in the rule's selectorList selectors (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("matchingSelectors")] + [JsonPropertyName("matchingSelectors")] public int[] MatchingSelectors { get; @@ -4298,7 +4034,7 @@ public partial class Value : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Value text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -4309,7 +4045,7 @@ public string Text /// /// Value range in the underlying resource (if available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -4325,7 +4061,7 @@ public partial class SelectorList : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Selectors in the list. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selectors")] + [JsonPropertyName("selectors")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Selectors { @@ -4336,7 +4072,7 @@ public System.Collections.Generic.IList Selectors /// /// Rule selector text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -4353,7 +4089,7 @@ public partial class CSSStyleSheetHeader : CefSharp.DevTools.DevToolsDomainEntit /// /// The stylesheet identifier. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StyleSheetId { @@ -4364,7 +4100,7 @@ public string StyleSheetId /// /// Owner frame identifier. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -4377,7 +4113,7 @@ public string FrameId /// new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported /// as a CSS module script). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")] + [JsonPropertyName("sourceURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceURL { @@ -4388,7 +4124,7 @@ public string SourceURL /// /// URL of source map associated with the stylesheet (if any). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")] + [JsonPropertyName("sourceMapURL")] public string SourceMapURL { get; @@ -4398,7 +4134,7 @@ public string SourceMapURL /// /// Stylesheet origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] public CefSharp.DevTools.CSS.StyleSheetOrigin Origin { get; @@ -4408,7 +4144,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Stylesheet title. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Title { @@ -4419,7 +4155,7 @@ public string Title /// /// The backend id for the owner node of the stylesheet. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerNode")] + [JsonPropertyName("ownerNode")] public int? OwnerNode { get; @@ -4429,7 +4165,7 @@ public int? OwnerNode /// /// Denotes whether the stylesheet is disabled. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")] + [JsonPropertyName("disabled")] public bool Disabled { get; @@ -4439,7 +4175,7 @@ public bool Disabled /// /// Whether the sourceURL field value comes from the sourceURL comment. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasSourceURL")] + [JsonPropertyName("hasSourceURL")] public bool? HasSourceURL { get; @@ -4450,7 +4186,7 @@ public bool? HasSourceURL /// Whether this stylesheet is created for STYLE tag by parser. This flag is not set for /// document.written STYLE tags. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isInline")] + [JsonPropertyName("isInline")] public bool IsInline { get; @@ -4463,7 +4199,7 @@ public bool IsInline /// <link> element's stylesheets become mutable only if DevTools modifies them. /// Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isMutable")] + [JsonPropertyName("isMutable")] public bool IsMutable { get; @@ -4474,7 +4210,7 @@ public bool IsMutable /// True if this stylesheet is created through new CSSStyleSheet() or imported as a /// CSS module script. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isConstructed")] + [JsonPropertyName("isConstructed")] public bool IsConstructed { get; @@ -4484,7 +4220,7 @@ public bool IsConstructed /// /// Line offset of the stylesheet within the resource (zero based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")] + [JsonPropertyName("startLine")] public double StartLine { get; @@ -4494,7 +4230,7 @@ public double StartLine /// /// Column offset of the stylesheet within the resource (zero based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")] + [JsonPropertyName("startColumn")] public double StartColumn { get; @@ -4504,7 +4240,7 @@ public double StartColumn /// /// Size of the content (in characters). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("length")] + [JsonPropertyName("length")] public double Length { get; @@ -4514,7 +4250,7 @@ public double Length /// /// Line offset of the end of the stylesheet within the resource (zero based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")] + [JsonPropertyName("endLine")] public double EndLine { get; @@ -4524,7 +4260,7 @@ public double EndLine /// /// Column offset of the end of the stylesheet within the resource (zero based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")] + [JsonPropertyName("endColumn")] public double EndColumn { get; @@ -4541,7 +4277,7 @@ public partial class CSSRule : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -4551,7 +4287,7 @@ public string StyleSheetId /// /// Rule selector data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selectorList")] + [JsonPropertyName("selectorList")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.SelectorList SelectorList { @@ -4562,7 +4298,7 @@ public CefSharp.DevTools.CSS.SelectorList SelectorList /// /// Parent stylesheet's origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] public CefSharp.DevTools.CSS.StyleSheetOrigin Origin { get; @@ -4572,7 +4308,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Associated style declaration. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("style")] + [JsonPropertyName("style")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.CSSStyle Style { @@ -4584,7 +4320,7 @@ public CefSharp.DevTools.CSS.CSSStyle Style /// Media list array (for rules involving media queries). The array enumerates media queries /// starting with the innermost one, going outwards. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("media")] + [JsonPropertyName("media")] public System.Collections.Generic.IList Media { get; @@ -4595,7 +4331,7 @@ public System.Collections.Generic.IList Media /// Container query list array (for rules involving container queries). /// The array enumerates container queries starting with the innermost one, going outwards. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueries")] + [JsonPropertyName("containerQueries")] public System.Collections.Generic.IList ContainerQueries { get; @@ -4606,7 +4342,7 @@ public System.Collections.Generic.IList /// @supports CSS at-rule array. /// The array enumerates @supports at-rules starting with the innermost one, going outwards. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("supports")] + [JsonPropertyName("supports")] public System.Collections.Generic.IList Supports { get; @@ -4617,7 +4353,7 @@ public System.Collections.Generic.IList Suppo /// Cascade layer array. Contains the layer hierarchy that this rule belongs to starting /// with the innermost layer and going outwards. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layers")] + [JsonPropertyName("layers")] public System.Collections.Generic.IList Layers { get; @@ -4628,7 +4364,7 @@ public System.Collections.Generic.IList Layers /// @scope CSS at-rule array. /// The array enumerates @scope at-rules starting with the innermost one, going outwards. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scopes")] + [JsonPropertyName("scopes")] public System.Collections.Generic.IList Scopes { get; @@ -4645,7 +4381,7 @@ public partial class RuleUsage : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StyleSheetId { @@ -4656,7 +4392,7 @@ public string StyleSheetId /// /// Offset of the start of the rule (including selector) from the beginning of the stylesheet. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startOffset")] + [JsonPropertyName("startOffset")] public double StartOffset { get; @@ -4666,7 +4402,7 @@ public double StartOffset /// /// Offset of the end of the rule body from the beginning of the stylesheet. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endOffset")] + [JsonPropertyName("endOffset")] public double EndOffset { get; @@ -4676,7 +4412,7 @@ public double EndOffset /// /// Indicates whether the rule was actually used by some element in the page. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("used")] + [JsonPropertyName("used")] public bool Used { get; @@ -4692,7 +4428,7 @@ public partial class SourceRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Start line of range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")] + [JsonPropertyName("startLine")] public int StartLine { get; @@ -4702,7 +4438,7 @@ public int StartLine /// /// Start column of range (inclusive). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")] + [JsonPropertyName("startColumn")] public int StartColumn { get; @@ -4712,7 +4448,7 @@ public int StartColumn /// /// End line of range /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")] + [JsonPropertyName("endLine")] public int EndLine { get; @@ -4722,7 +4458,7 @@ public int EndLine /// /// End column of range (exclusive). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")] + [JsonPropertyName("endColumn")] public int EndColumn { get; @@ -4738,7 +4474,7 @@ public partial class ShorthandEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Shorthand name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -4749,7 +4485,7 @@ public string Name /// /// Shorthand value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -4760,7 +4496,7 @@ public string Value /// /// Whether the property has "!important" annotation (implies `false` if absent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("important")] + [JsonPropertyName("important")] public bool? Important { get; @@ -4776,7 +4512,7 @@ public partial class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomain /// /// Computed style property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -4787,7 +4523,7 @@ public string Name /// /// Computed style property value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -4805,7 +4541,7 @@ public partial class CSSStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -4815,7 +4551,7 @@ public string StyleSheetId /// /// CSS properties in the style. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssProperties")] + [JsonPropertyName("cssProperties")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList CssProperties { @@ -4826,7 +4562,7 @@ public System.Collections.Generic.IList CssPr /// /// Computed values for all shorthands found in the style. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shorthandEntries")] + [JsonPropertyName("shorthandEntries")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ShorthandEntries { @@ -4837,7 +4573,7 @@ public System.Collections.Generic.IList Sh /// /// Style declaration text (if available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssText")] + [JsonPropertyName("cssText")] public string CssText { get; @@ -4847,7 +4583,7 @@ public string CssText /// /// Style declaration range in the enclosing stylesheet (if available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -4863,7 +4599,7 @@ public partial class CSSProperty : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -4874,7 +4610,7 @@ public string Name /// /// The property value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -4885,7 +4621,7 @@ public string Value /// /// Whether the property has "!important" annotation (implies `false` if absent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("important")] + [JsonPropertyName("important")] public bool? Important { get; @@ -4895,7 +4631,7 @@ public bool? Important /// /// Whether the property is implicit (implies `false` if absent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("implicit")] + [JsonPropertyName("implicit")] public bool? Implicit { get; @@ -4905,7 +4641,7 @@ public bool? Implicit /// /// The full property text as specified in the style. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] public string Text { get; @@ -4915,7 +4651,7 @@ public string Text /// /// Whether the property is understood by the browser (implies `true` if absent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parsedOk")] + [JsonPropertyName("parsedOk")] public bool? ParsedOk { get; @@ -4925,7 +4661,7 @@ public bool? ParsedOk /// /// Whether the property is disabled by the user (present for source-based properties only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")] + [JsonPropertyName("disabled")] public bool? Disabled { get; @@ -4935,7 +4671,7 @@ public bool? Disabled /// /// The entire property range in the enclosing style declaration (if available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -4946,7 +4682,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// Parsed longhand components of this property if it is a shorthand. /// This field will be empty if the given property is not a shorthand. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("longhandProperties")] + [JsonPropertyName("longhandProperties")] public System.Collections.Generic.IList LonghandProperties { get; @@ -4965,22 +4701,22 @@ public enum CSSMediaSource /// /// mediaRule /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mediaRule")] + [JsonPropertyName("mediaRule")] MediaRule, /// /// importRule /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("importRule")] + [JsonPropertyName("importRule")] ImportRule, /// /// linkedSheet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("linkedSheet")] + [JsonPropertyName("linkedSheet")] LinkedSheet, /// /// inlineSheet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineSheet")] + [JsonPropertyName("inlineSheet")] InlineSheet } @@ -4992,7 +4728,7 @@ public partial class CSSMedia : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Media query text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5006,7 +4742,7 @@ public string Text /// stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline /// stylesheet's STYLE tag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("source")] + [JsonPropertyName("source")] public CefSharp.DevTools.CSS.CSSMediaSource Source { get; @@ -5016,7 +4752,7 @@ public CefSharp.DevTools.CSS.CSSMediaSource Source /// /// URL of the document containing the media query description. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")] + [JsonPropertyName("sourceURL")] public string SourceURL { get; @@ -5027,7 +4763,7 @@ public string SourceURL /// The associated rule (@media or @import) header range in the enclosing stylesheet (if /// available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5037,7 +4773,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5047,7 +4783,7 @@ public string StyleSheetId /// /// Array of media queries. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mediaList")] + [JsonPropertyName("mediaList")] public System.Collections.Generic.IList MediaList { get; @@ -5063,7 +4799,7 @@ public partial class MediaQuery : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Array of media query expressions. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expressions")] + [JsonPropertyName("expressions")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Expressions { @@ -5074,7 +4810,7 @@ public System.Collections.Generic.IList /// Whether the media query condition is satisfied. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("active")] + [JsonPropertyName("active")] public bool Active { get; @@ -5090,7 +4826,7 @@ public partial class MediaQueryExpression : CefSharp.DevTools.DevToolsDomainEnti /// /// Media query expression value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public double Value { get; @@ -5100,7 +4836,7 @@ public double Value /// /// Media query expression units. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unit")] + [JsonPropertyName("unit")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Unit { @@ -5111,7 +4847,7 @@ public string Unit /// /// Media query expression feature. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("feature")] + [JsonPropertyName("feature")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Feature { @@ -5122,7 +4858,7 @@ public string Feature /// /// The associated range of the value text in the enclosing stylesheet (if available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valueRange")] + [JsonPropertyName("valueRange")] public CefSharp.DevTools.CSS.SourceRange ValueRange { get; @@ -5132,7 +4868,7 @@ public CefSharp.DevTools.CSS.SourceRange ValueRange /// /// Computed length of media query expression (if applicable). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("computedLength")] + [JsonPropertyName("computedLength")] public double? ComputedLength { get; @@ -5148,7 +4884,7 @@ public partial class CSSContainerQuery : CefSharp.DevTools.DevToolsDomainEntityB /// /// Container query text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5160,7 +4896,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5170,7 +4906,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5180,7 +4916,7 @@ public string StyleSheetId /// /// Optional name for the container. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public string Name { get; @@ -5190,7 +4926,7 @@ public string Name /// /// Optional physical axes queried for the container. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("physicalAxes")] + [JsonPropertyName("physicalAxes")] public CefSharp.DevTools.DOM.PhysicalAxes? PhysicalAxes { get; @@ -5200,7 +4936,7 @@ public CefSharp.DevTools.DOM.PhysicalAxes? PhysicalAxes /// /// Optional logical axes queried for the container. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("logicalAxes")] + [JsonPropertyName("logicalAxes")] public CefSharp.DevTools.DOM.LogicalAxes? LogicalAxes { get; @@ -5216,7 +4952,7 @@ public partial class CSSSupports : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Supports rule text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5227,7 +4963,7 @@ public string Text /// /// Whether the supports condition is satisfied. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("active")] + [JsonPropertyName("active")] public bool Active { get; @@ -5238,7 +4974,7 @@ public bool Active /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5248,7 +4984,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5264,7 +5000,7 @@ public partial class CSSScope : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Scope rule text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5276,7 +5012,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5286,7 +5022,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5302,7 +5038,7 @@ public partial class CSSLayer : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Layer name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5314,7 +5050,7 @@ public string Text /// The associated rule header range in the enclosing stylesheet (if /// available). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] public CefSharp.DevTools.CSS.SourceRange Range { get; @@ -5324,7 +5060,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// Identifier of the stylesheet containing this object (if exists). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5340,7 +5076,7 @@ public partial class CSSLayerData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Layer name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -5351,7 +5087,7 @@ public string Name /// /// Direct sub-layers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subLayers")] + [JsonPropertyName("subLayers")] public System.Collections.Generic.IList SubLayers { get; @@ -5362,7 +5098,7 @@ public System.Collections.Generic.IList SubL /// Layer order. The order determines the order of the layer in the cascade order. /// A higher number has higher priority in the cascade order. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("order")] + [JsonPropertyName("order")] public double Order { get; @@ -5378,7 +5114,7 @@ public partial class PlatformFontUsage : CefSharp.DevTools.DevToolsDomainEntityB /// /// Font's family name reported by platform. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("familyName")] + [JsonPropertyName("familyName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FamilyName { @@ -5389,7 +5125,7 @@ public string FamilyName /// /// Indicates if the font was downloaded or resolved locally. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isCustomFont")] + [JsonPropertyName("isCustomFont")] public bool IsCustomFont { get; @@ -5399,7 +5135,7 @@ public bool IsCustomFont /// /// Amount of glyphs that were rendered with this font. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("glyphCount")] + [JsonPropertyName("glyphCount")] public double GlyphCount { get; @@ -5415,7 +5151,7 @@ public partial class FontVariationAxis : CefSharp.DevTools.DevToolsDomainEntityB /// /// The font-variation-setting tag (a.k.a. "axis tag"). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tag")] + [JsonPropertyName("tag")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Tag { @@ -5426,7 +5162,7 @@ public string Tag /// /// Human-readable variation name in the default language (normally, "en"). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -5437,7 +5173,7 @@ public string Name /// /// The minimum value (inclusive) the font supports for this tag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("minValue")] + [JsonPropertyName("minValue")] public double MinValue { get; @@ -5447,7 +5183,7 @@ public double MinValue /// /// The maximum value (inclusive) the font supports for this tag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxValue")] + [JsonPropertyName("maxValue")] public double MaxValue { get; @@ -5457,7 +5193,7 @@ public double MaxValue /// /// The default value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("defaultValue")] + [JsonPropertyName("defaultValue")] public double DefaultValue { get; @@ -5474,7 +5210,7 @@ public partial class FontFace : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontFamily")] + [JsonPropertyName("fontFamily")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontFamily { @@ -5485,7 +5221,7 @@ public string FontFamily /// /// The font-style. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontStyle")] + [JsonPropertyName("fontStyle")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontStyle { @@ -5496,7 +5232,7 @@ public string FontStyle /// /// The font-variant. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontVariant")] + [JsonPropertyName("fontVariant")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontVariant { @@ -5507,7 +5243,7 @@ public string FontVariant /// /// The font-weight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontWeight")] + [JsonPropertyName("fontWeight")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontWeight { @@ -5518,7 +5254,7 @@ public string FontWeight /// /// The font-stretch. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontStretch")] + [JsonPropertyName("fontStretch")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontStretch { @@ -5529,7 +5265,7 @@ public string FontStretch /// /// The font-display. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontDisplay")] + [JsonPropertyName("fontDisplay")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FontDisplay { @@ -5540,7 +5276,7 @@ public string FontDisplay /// /// The unicode-range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unicodeRange")] + [JsonPropertyName("unicodeRange")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string UnicodeRange { @@ -5551,7 +5287,7 @@ public string UnicodeRange /// /// The src. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("src")] + [JsonPropertyName("src")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Src { @@ -5562,7 +5298,7 @@ public string Src /// /// The resolved platform font family /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("platformFontFamily")] + [JsonPropertyName("platformFontFamily")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlatformFontFamily { @@ -5573,7 +5309,7 @@ public string PlatformFontFamily /// /// Available variation settings (a.k.a. "axes"). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontVariationAxes")] + [JsonPropertyName("fontVariationAxes")] public System.Collections.Generic.IList FontVariationAxes { get; @@ -5589,7 +5325,7 @@ public partial class CSSKeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Animation name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("animationName")] + [JsonPropertyName("animationName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.Value AnimationName { @@ -5600,7 +5336,7 @@ public CefSharp.DevTools.CSS.Value AnimationName /// /// List of keyframes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframes")] + [JsonPropertyName("keyframes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Keyframes { @@ -5618,7 +5354,7 @@ public partial class CSSKeyframeRule : CefSharp.DevTools.DevToolsDomainEntityBas /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -5628,7 +5364,7 @@ public string StyleSheetId /// /// Parent stylesheet's origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] public CefSharp.DevTools.CSS.StyleSheetOrigin Origin { get; @@ -5638,7 +5374,7 @@ public CefSharp.DevTools.CSS.StyleSheetOrigin Origin /// /// Associated key text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyText")] + [JsonPropertyName("keyText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.Value KeyText { @@ -5649,7 +5385,7 @@ public CefSharp.DevTools.CSS.Value KeyText /// /// Associated style declaration. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("style")] + [JsonPropertyName("style")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.CSSStyle Style { @@ -5666,7 +5402,7 @@ public partial class StyleDeclarationEdit : CefSharp.DevTools.DevToolsDomainEnti /// /// The css style sheet identifier. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonPropertyName("styleSheetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StyleSheetId { @@ -5677,7 +5413,7 @@ public string StyleSheetId /// /// The range of the style text in the enclosing stylesheet. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")] + [JsonPropertyName("range")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.SourceRange Range { @@ -5688,7 +5424,7 @@ public CefSharp.DevTools.CSS.SourceRange Range /// /// New style text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -5699,15 +5435,15 @@ public string Text /// /// Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded - /// web font + /// web font. /// public class FontsUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// /// The web font that has loaded. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("font")] + [JsonInclude] + [JsonPropertyName("font")] public CefSharp.DevTools.CSS.FontFace Font { get; @@ -5723,8 +5459,8 @@ public class StyleSheetAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Added stylesheet metainfo. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("header")] + [JsonInclude] + [JsonPropertyName("header")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.CSS.CSSStyleSheetHeader Header { @@ -5741,8 +5477,8 @@ public class StyleSheetChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// StyleSheetId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonInclude] + [JsonPropertyName("styleSheetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StyleSheetId { @@ -5759,8 +5495,8 @@ public class StyleSheetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Identifier of the removed stylesheet. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonInclude] + [JsonPropertyName("styleSheetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StyleSheetId { @@ -5780,32 +5516,32 @@ public enum CachedResponseType /// /// basic /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("basic")] + [JsonPropertyName("basic")] Basic, /// /// cors /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cors")] + [JsonPropertyName("cors")] Cors, /// /// default /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("default")] + [JsonPropertyName("default")] Default, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// opaqueResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("opaqueResponse")] + [JsonPropertyName("opaqueResponse")] OpaqueResponse, /// /// opaqueRedirect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("opaqueRedirect")] + [JsonPropertyName("opaqueRedirect")] OpaqueRedirect } @@ -5817,7 +5553,7 @@ public partial class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Request URL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestURL")] + [JsonPropertyName("requestURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestURL { @@ -5828,7 +5564,7 @@ public string RequestURL /// /// Request method. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestMethod")] + [JsonPropertyName("requestMethod")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestMethod { @@ -5839,7 +5575,7 @@ public string RequestMethod /// /// Request headers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")] + [JsonPropertyName("requestHeaders")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList RequestHeaders { @@ -5850,7 +5586,7 @@ public System.Collections.Generic.IList R /// /// Number of seconds since epoch. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseTime")] + [JsonPropertyName("responseTime")] public double ResponseTime { get; @@ -5860,7 +5596,7 @@ public double ResponseTime /// /// HTTP response status code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatus")] + [JsonPropertyName("responseStatus")] public int ResponseStatus { get; @@ -5870,7 +5606,7 @@ public int ResponseStatus /// /// HTTP response status text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatusText")] + [JsonPropertyName("responseStatusText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ResponseStatusText { @@ -5881,7 +5617,7 @@ public string ResponseStatusText /// /// HTTP response type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseType")] + [JsonPropertyName("responseType")] public CefSharp.DevTools.CacheStorage.CachedResponseType ResponseType { get; @@ -5891,7 +5627,7 @@ public CefSharp.DevTools.CacheStorage.CachedResponseType ResponseType /// /// Response headers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")] + [JsonPropertyName("responseHeaders")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ResponseHeaders { @@ -5908,7 +5644,7 @@ public partial class Cache : CefSharp.DevTools.DevToolsDomainEntityBase /// /// An opaque unique id of the cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheId")] + [JsonPropertyName("cacheId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CacheId { @@ -5919,7 +5655,7 @@ public string CacheId /// /// Security origin of the cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")] + [JsonPropertyName("securityOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SecurityOrigin { @@ -5930,7 +5666,7 @@ public string SecurityOrigin /// /// Storage key of the cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -5941,7 +5677,7 @@ public string StorageKey /// /// The name of the cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheName")] + [JsonPropertyName("cacheName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CacheName { @@ -5958,7 +5694,7 @@ public partial class Header : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -5969,7 +5705,7 @@ public string Name /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -5986,7 +5722,7 @@ public partial class CachedResponse : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Entry content, base64-encoded. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonPropertyName("body")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] Body { @@ -6006,7 +5742,7 @@ public partial class Sink : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -6017,7 +5753,7 @@ public string Name /// /// Id /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -6029,7 +5765,7 @@ public string Id /// Text describing the current session. Present only if there is an active /// session on the sink. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("session")] + [JsonPropertyName("session")] public string Session { get; @@ -6046,8 +5782,8 @@ public class SinksUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Sinks /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sinks")] + [JsonInclude] + [JsonPropertyName("sinks")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Sinks { @@ -6065,8 +5801,8 @@ public class IssueUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// IssueMessage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issueMessage")] + [JsonInclude] + [JsonPropertyName("issueMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string IssueMessage { @@ -6086,7 +5822,7 @@ public partial class BackendNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Node`'s nodeType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")] + [JsonPropertyName("nodeType")] public int NodeType { get; @@ -6096,7 +5832,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")] + [JsonPropertyName("nodeName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeName { @@ -6107,7 +5843,7 @@ public string NodeName /// /// BackendNodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -6123,127 +5859,127 @@ public enum PseudoType /// /// first-line /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("first-line")] + [JsonPropertyName("first-line")] FirstLine, /// /// first-letter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("first-letter")] + [JsonPropertyName("first-letter")] FirstLetter, /// /// before /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("before")] + [JsonPropertyName("before")] Before, /// /// after /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("after")] + [JsonPropertyName("after")] After, /// /// marker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("marker")] + [JsonPropertyName("marker")] Marker, /// /// backdrop /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backdrop")] + [JsonPropertyName("backdrop")] Backdrop, /// /// selection /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selection")] + [JsonPropertyName("selection")] Selection, /// /// target-text /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("target-text")] + [JsonPropertyName("target-text")] TargetText, /// /// spelling-error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("spelling-error")] + [JsonPropertyName("spelling-error")] SpellingError, /// /// grammar-error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("grammar-error")] + [JsonPropertyName("grammar-error")] GrammarError, /// /// highlight /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("highlight")] + [JsonPropertyName("highlight")] Highlight, /// /// first-line-inherited /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("first-line-inherited")] + [JsonPropertyName("first-line-inherited")] FirstLineInherited, /// /// scrollbar /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar")] + [JsonPropertyName("scrollbar")] Scrollbar, /// /// scrollbar-thumb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-thumb")] + [JsonPropertyName("scrollbar-thumb")] ScrollbarThumb, /// /// scrollbar-button /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-button")] + [JsonPropertyName("scrollbar-button")] ScrollbarButton, /// /// scrollbar-track /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-track")] + [JsonPropertyName("scrollbar-track")] ScrollbarTrack, /// /// scrollbar-track-piece /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-track-piece")] + [JsonPropertyName("scrollbar-track-piece")] ScrollbarTrackPiece, /// /// scrollbar-corner /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-corner")] + [JsonPropertyName("scrollbar-corner")] ScrollbarCorner, /// /// resizer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resizer")] + [JsonPropertyName("resizer")] Resizer, /// /// input-list-button /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("input-list-button")] + [JsonPropertyName("input-list-button")] InputListButton, /// /// view-transition /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("view-transition")] + [JsonPropertyName("view-transition")] ViewTransition, /// /// view-transition-group /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("view-transition-group")] + [JsonPropertyName("view-transition-group")] ViewTransitionGroup, /// /// view-transition-image-pair /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("view-transition-image-pair")] + [JsonPropertyName("view-transition-image-pair")] ViewTransitionImagePair, /// /// view-transition-old /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("view-transition-old")] + [JsonPropertyName("view-transition-old")] ViewTransitionOld, /// /// view-transition-new /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("view-transition-new")] + [JsonPropertyName("view-transition-new")] ViewTransitionNew } @@ -6255,17 +5991,17 @@ public enum ShadowRootType /// /// user-agent /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("user-agent")] + [JsonPropertyName("user-agent")] UserAgent, /// /// open /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("open")] + [JsonPropertyName("open")] Open, /// /// closed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("closed")] + [JsonPropertyName("closed")] Closed } @@ -6277,17 +6013,17 @@ public enum CompatibilityMode /// /// QuirksMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("QuirksMode")] + [JsonPropertyName("QuirksMode")] QuirksMode, /// /// LimitedQuirksMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LimitedQuirksMode")] + [JsonPropertyName("LimitedQuirksMode")] LimitedQuirksMode, /// /// NoQuirksMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoQuirksMode")] + [JsonPropertyName("NoQuirksMode")] NoQuirksMode } @@ -6299,17 +6035,17 @@ public enum PhysicalAxes /// /// Horizontal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Horizontal")] + [JsonPropertyName("Horizontal")] Horizontal, /// /// Vertical /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Vertical")] + [JsonPropertyName("Vertical")] Vertical, /// /// Both /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Both")] + [JsonPropertyName("Both")] Both } @@ -6321,17 +6057,17 @@ public enum LogicalAxes /// /// Inline /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Inline")] + [JsonPropertyName("Inline")] Inline, /// /// Block /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Block")] + [JsonPropertyName("Block")] Block, /// /// Both /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Both")] + [JsonPropertyName("Both")] Both } @@ -6346,7 +6082,7 @@ public partial class Node : CefSharp.DevTools.DevToolsDomainEntityBase /// will only push node with given `id` once. It is aware of all requested nodes and will only /// fire DOM events for nodes known to the client. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -6356,7 +6092,7 @@ public int NodeId /// /// The id of the parent node if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonPropertyName("parentId")] public int? ParentId { get; @@ -6366,7 +6102,7 @@ public int? ParentId /// /// The BackendNodeId for this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -6376,7 +6112,7 @@ public int BackendNodeId /// /// `Node`'s nodeType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")] + [JsonPropertyName("nodeType")] public int NodeType { get; @@ -6386,7 +6122,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")] + [JsonPropertyName("nodeName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeName { @@ -6397,7 +6133,7 @@ public string NodeName /// /// `Node`'s localName. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("localName")] + [JsonPropertyName("localName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LocalName { @@ -6408,7 +6144,7 @@ public string LocalName /// /// `Node`'s nodeValue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")] + [JsonPropertyName("nodeValue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeValue { @@ -6419,7 +6155,7 @@ public string NodeValue /// /// Child count for `Container` nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childNodeCount")] + [JsonPropertyName("childNodeCount")] public int? ChildNodeCount { get; @@ -6429,7 +6165,7 @@ public int? ChildNodeCount /// /// Child nodes of this node when requested with children. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("children")] + [JsonPropertyName("children")] public System.Collections.Generic.IList Children { get; @@ -6439,7 +6175,7 @@ public System.Collections.Generic.IList Children /// /// Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")] + [JsonPropertyName("attributes")] public string[] Attributes { get; @@ -6449,7 +6185,7 @@ public string[] Attributes /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")] + [JsonPropertyName("documentURL")] public string DocumentURL { get; @@ -6459,7 +6195,7 @@ public string DocumentURL /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")] + [JsonPropertyName("baseURL")] public string BaseURL { get; @@ -6469,7 +6205,7 @@ public string BaseURL /// /// `DocumentType`'s publicId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")] + [JsonPropertyName("publicId")] public string PublicId { get; @@ -6479,7 +6215,7 @@ public string PublicId /// /// `DocumentType`'s systemId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")] + [JsonPropertyName("systemId")] public string SystemId { get; @@ -6489,7 +6225,7 @@ public string SystemId /// /// `DocumentType`'s internalSubset. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("internalSubset")] + [JsonPropertyName("internalSubset")] public string InternalSubset { get; @@ -6499,7 +6235,7 @@ public string InternalSubset /// /// `Document`'s XML version in case of XML documents. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("xmlVersion")] + [JsonPropertyName("xmlVersion")] public string XmlVersion { get; @@ -6509,7 +6245,7 @@ public string XmlVersion /// /// `Attr`'s name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public string Name { get; @@ -6519,7 +6255,7 @@ public string Name /// /// `Attr`'s value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public string Value { get; @@ -6529,7 +6265,7 @@ public string Value /// /// Pseudo element type for this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")] + [JsonPropertyName("pseudoType")] public CefSharp.DevTools.DOM.PseudoType? PseudoType { get; @@ -6540,7 +6276,7 @@ public CefSharp.DevTools.DOM.PseudoType? PseudoType /// Pseudo element identifier for this node. Only present if there is a /// valid pseudoType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoIdentifier")] + [JsonPropertyName("pseudoIdentifier")] public string PseudoIdentifier { get; @@ -6550,7 +6286,7 @@ public string PseudoIdentifier /// /// Shadow root type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")] + [JsonPropertyName("shadowRootType")] public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType { get; @@ -6560,7 +6296,7 @@ public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType /// /// Frame ID for frame owner elements. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -6570,7 +6306,7 @@ public string FrameId /// /// Content document for frame owner elements. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocument")] + [JsonPropertyName("contentDocument")] public CefSharp.DevTools.DOM.Node ContentDocument { get; @@ -6580,7 +6316,7 @@ public CefSharp.DevTools.DOM.Node ContentDocument /// /// Shadow root list for given element host. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRoots")] + [JsonPropertyName("shadowRoots")] public System.Collections.Generic.IList ShadowRoots { get; @@ -6590,7 +6326,7 @@ public System.Collections.Generic.IList ShadowRoots /// /// Content document fragment for template elements. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("templateContent")] + [JsonPropertyName("templateContent")] public CefSharp.DevTools.DOM.Node TemplateContent { get; @@ -6600,7 +6336,7 @@ public CefSharp.DevTools.DOM.Node TemplateContent /// /// Pseudo elements associated with this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElements")] + [JsonPropertyName("pseudoElements")] public System.Collections.Generic.IList PseudoElements { get; @@ -6612,7 +6348,7 @@ public System.Collections.Generic.IList PseudoElemen /// This property used to return the imported document for the HTMLImport links. /// The property is always undefined now. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("importedDocument")] + [JsonPropertyName("importedDocument")] public CefSharp.DevTools.DOM.Node ImportedDocument { get; @@ -6622,7 +6358,7 @@ public CefSharp.DevTools.DOM.Node ImportedDocument /// /// Distributed nodes for given insertion point. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("distributedNodes")] + [JsonPropertyName("distributedNodes")] public System.Collections.Generic.IList DistributedNodes { get; @@ -6632,7 +6368,7 @@ public System.Collections.Generic.IList Distr /// /// Whether the node is SVG. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isSVG")] + [JsonPropertyName("isSVG")] public bool? IsSVG { get; @@ -6642,7 +6378,7 @@ public bool? IsSVG /// /// CompatibilityMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("compatibilityMode")] + [JsonPropertyName("compatibilityMode")] public CefSharp.DevTools.DOM.CompatibilityMode? CompatibilityMode { get; @@ -6652,7 +6388,7 @@ public CefSharp.DevTools.DOM.CompatibilityMode? CompatibilityMode /// /// AssignedSlot /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("assignedSlot")] + [JsonPropertyName("assignedSlot")] public CefSharp.DevTools.DOM.BackendNode AssignedSlot { get; @@ -6668,7 +6404,7 @@ public partial class RGBA : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The red component, in the [0-255] range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("r")] + [JsonPropertyName("r")] public int R { get; @@ -6678,7 +6414,7 @@ public int R /// /// The green component, in the [0-255] range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("g")] + [JsonPropertyName("g")] public int G { get; @@ -6688,7 +6424,7 @@ public int G /// /// The blue component, in the [0-255] range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("b")] + [JsonPropertyName("b")] public int B { get; @@ -6698,7 +6434,7 @@ public int B /// /// The alpha component, in the [0-1] range (default: 1). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("a")] + [JsonPropertyName("a")] public double? A { get; @@ -6714,7 +6450,7 @@ public partial class BoxModel : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Content box /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("content")] + [JsonPropertyName("content")] public double[] Content { get; @@ -6724,7 +6460,7 @@ public double[] Content /// /// Padding box /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("padding")] + [JsonPropertyName("padding")] public double[] Padding { get; @@ -6734,7 +6470,7 @@ public double[] Padding /// /// Border box /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("border")] + [JsonPropertyName("border")] public double[] Border { get; @@ -6744,7 +6480,7 @@ public double[] Border /// /// Margin box /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("margin")] + [JsonPropertyName("margin")] public double[] Margin { get; @@ -6754,7 +6490,7 @@ public double[] Margin /// /// Node width /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public int Width { get; @@ -6764,7 +6500,7 @@ public int Width /// /// Node height /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public int Height { get; @@ -6774,7 +6510,7 @@ public int Height /// /// Shape outside coordinates /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeOutside")] + [JsonPropertyName("shapeOutside")] public CefSharp.DevTools.DOM.ShapeOutsideInfo ShapeOutside { get; @@ -6790,7 +6526,7 @@ public partial class ShapeOutsideInfo : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Shape bounds /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")] + [JsonPropertyName("bounds")] public double[] Bounds { get; @@ -6800,7 +6536,7 @@ public double[] Bounds /// /// Shape coordinate details /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shape")] + [JsonPropertyName("shape")] [System.Diagnostics.CodeAnalysis.DisallowNull] public object[] Shape { @@ -6811,7 +6547,7 @@ public object[] Shape /// /// Margin shape bounds /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("marginShape")] + [JsonPropertyName("marginShape")] [System.Diagnostics.CodeAnalysis.DisallowNull] public object[] MarginShape { @@ -6828,7 +6564,7 @@ public partial class Rect : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X coordinate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("x")] + [JsonPropertyName("x")] public double X { get; @@ -6838,7 +6574,7 @@ public double X /// /// Y coordinate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("y")] + [JsonPropertyName("y")] public double Y { get; @@ -6848,7 +6584,7 @@ public double Y /// /// Rectangle width /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public double Width { get; @@ -6858,7 +6594,7 @@ public double Width /// /// Rectangle height /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public double Height { get; @@ -6874,7 +6610,7 @@ public partial class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomain /// /// Computed style property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -6885,7 +6621,7 @@ public string Name /// /// Computed style property value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -6902,8 +6638,8 @@ public class AttributeModifiedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the node that has changed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -6913,8 +6649,8 @@ public int NodeId /// /// Attribute name. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonInclude] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -6925,8 +6661,8 @@ public string Name /// /// Attribute value. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonInclude] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -6943,8 +6679,8 @@ public class AttributeRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Id of the node that has changed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -6954,8 +6690,8 @@ public int NodeId /// /// A ttribute name. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonInclude] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -6972,8 +6708,8 @@ public class CharacterDataModifiedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id of the node that has changed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -6983,8 +6719,8 @@ public int NodeId /// /// New text value. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("characterData")] + [JsonInclude] + [JsonPropertyName("characterData")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CharacterData { @@ -7001,8 +6737,8 @@ public class ChildNodeCountUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id of the node that has changed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -7012,8 +6748,8 @@ public int NodeId /// /// New node count. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childNodeCount")] + [JsonInclude] + [JsonPropertyName("childNodeCount")] public int ChildNodeCount { get; @@ -7029,8 +6765,8 @@ public class ChildNodeInsertedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the node that has changed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentNodeId")] + [JsonInclude] + [JsonPropertyName("parentNodeId")] public int ParentNodeId { get; @@ -7040,8 +6776,8 @@ public int ParentNodeId /// /// Id of the previous sibling. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("previousNodeId")] + [JsonInclude] + [JsonPropertyName("previousNodeId")] public int PreviousNodeId { get; @@ -7051,8 +6787,8 @@ public int PreviousNodeId /// /// Inserted node data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonInclude] + [JsonPropertyName("node")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Node Node { @@ -7069,8 +6805,8 @@ public class ChildNodeRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Parent id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentNodeId")] + [JsonInclude] + [JsonPropertyName("parentNodeId")] public int ParentNodeId { get; @@ -7080,8 +6816,8 @@ public int ParentNodeId /// /// Id of the node that has been removed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -7097,8 +6833,8 @@ public class DistributedNodesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Insertion point where distributed nodes were updated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("insertionPointId")] + [JsonInclude] + [JsonPropertyName("insertionPointId")] public int InsertionPointId { get; @@ -7108,8 +6844,8 @@ public int InsertionPointId /// /// Distributed nodes for given insertion point. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("distributedNodes")] + [JsonInclude] + [JsonPropertyName("distributedNodes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList DistributedNodes { @@ -7126,8 +6862,8 @@ public class InlineStyleInvalidatedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Ids of the nodes for which the inline styles have been invalidated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -7143,8 +6879,8 @@ public class PseudoElementAddedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Pseudo element's parent element id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonInclude] + [JsonPropertyName("parentId")] public int ParentId { get; @@ -7154,8 +6890,8 @@ public int ParentId /// /// The added pseudo element. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElement")] + [JsonInclude] + [JsonPropertyName("pseudoElement")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Node PseudoElement { @@ -7172,8 +6908,8 @@ public class PseudoElementRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Pseudo element's parent element id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonInclude] + [JsonPropertyName("parentId")] public int ParentId { get; @@ -7183,8 +6919,8 @@ public int ParentId /// /// The removed pseudo element id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElementId")] + [JsonInclude] + [JsonPropertyName("pseudoElementId")] public int PseudoElementId { get; @@ -7201,8 +6937,8 @@ public class SetChildNodesEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Parent node id to populate with children. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonInclude] + [JsonPropertyName("parentId")] public int ParentId { get; @@ -7212,8 +6948,8 @@ public int ParentId /// /// Child nodes array. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Nodes { @@ -7230,8 +6966,8 @@ public class ShadowRootPoppedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Host element id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hostId")] + [JsonInclude] + [JsonPropertyName("hostId")] public int HostId { get; @@ -7241,8 +6977,8 @@ public int HostId /// /// Shadow root id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rootId")] + [JsonInclude] + [JsonPropertyName("rootId")] public int RootId { get; @@ -7258,8 +6994,8 @@ public class ShadowRootPushedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Host element id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hostId")] + [JsonInclude] + [JsonPropertyName("hostId")] public int HostId { get; @@ -7269,8 +7005,8 @@ public int HostId /// /// Shadow root. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("root")] + [JsonInclude] + [JsonPropertyName("root")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Node Root { @@ -7290,17 +7026,17 @@ public enum DOMBreakpointType /// /// subtree-modified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtree-modified")] + [JsonPropertyName("subtree-modified")] SubtreeModified, /// /// attribute-modified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute-modified")] + [JsonPropertyName("attribute-modified")] AttributeModified, /// /// node-removed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node-removed")] + [JsonPropertyName("node-removed")] NodeRemoved } @@ -7312,12 +7048,12 @@ public enum CSPViolationType /// /// trustedtype-sink-violation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedtype-sink-violation")] + [JsonPropertyName("trustedtype-sink-violation")] TrustedtypeSinkViolation, /// /// trustedtype-policy-violation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedtype-policy-violation")] + [JsonPropertyName("trustedtype-policy-violation")] TrustedtypePolicyViolation } @@ -7329,7 +7065,7 @@ public partial class EventListener : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `EventListener`'s type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Type { @@ -7340,7 +7076,7 @@ public string Type /// /// `EventListener`'s useCapture. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("useCapture")] + [JsonPropertyName("useCapture")] public bool UseCapture { get; @@ -7350,7 +7086,7 @@ public bool UseCapture /// /// `EventListener`'s passive flag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("passive")] + [JsonPropertyName("passive")] public bool Passive { get; @@ -7360,7 +7096,7 @@ public bool Passive /// /// `EventListener`'s once flag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("once")] + [JsonPropertyName("once")] public bool Once { get; @@ -7370,7 +7106,7 @@ public bool Once /// /// Script id of the handler code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -7381,7 +7117,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -7391,7 +7127,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -7401,7 +7137,7 @@ public int ColumnNumber /// /// Event handler function value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("handler")] + [JsonPropertyName("handler")] public CefSharp.DevTools.Runtime.RemoteObject Handler { get; @@ -7411,7 +7147,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Handler /// /// Event original handler function value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originalHandler")] + [JsonPropertyName("originalHandler")] public CefSharp.DevTools.Runtime.RemoteObject OriginalHandler { get; @@ -7421,7 +7157,7 @@ public CefSharp.DevTools.Runtime.RemoteObject OriginalHandler /// /// Node the listener is added to (if any). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int? BackendNodeId { get; @@ -7440,7 +7176,7 @@ public partial class DOMNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// `Node`'s nodeType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")] + [JsonPropertyName("nodeType")] public int NodeType { get; @@ -7450,7 +7186,7 @@ public int NodeType /// /// `Node`'s nodeName. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")] + [JsonPropertyName("nodeName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeName { @@ -7461,7 +7197,7 @@ public string NodeName /// /// `Node`'s nodeValue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")] + [JsonPropertyName("nodeValue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeValue { @@ -7472,7 +7208,7 @@ public string NodeValue /// /// Only set for textarea elements, contains the text value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("textValue")] + [JsonPropertyName("textValue")] public string TextValue { get; @@ -7482,7 +7218,7 @@ public string TextValue /// /// Only set for input elements, contains the input's associated text value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inputValue")] + [JsonPropertyName("inputValue")] public string InputValue { get; @@ -7492,7 +7228,7 @@ public string InputValue /// /// Only set for radio and checkbox input elements, indicates if the element has been checked /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inputChecked")] + [JsonPropertyName("inputChecked")] public bool? InputChecked { get; @@ -7502,7 +7238,7 @@ public bool? InputChecked /// /// Only set for option elements, indicates if the element has been selected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("optionSelected")] + [JsonPropertyName("optionSelected")] public bool? OptionSelected { get; @@ -7512,7 +7248,7 @@ public bool? OptionSelected /// /// `Node`'s id, corresponds to DOM.Node.backendNodeId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -7523,7 +7259,7 @@ public int BackendNodeId /// The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if /// any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childNodeIndexes")] + [JsonPropertyName("childNodeIndexes")] public int[] ChildNodeIndexes { get; @@ -7533,7 +7269,7 @@ public int[] ChildNodeIndexes /// /// Attributes of an `Element` node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")] + [JsonPropertyName("attributes")] public System.Collections.Generic.IList Attributes { get; @@ -7544,7 +7280,7 @@ public System.Collections.Generic.IList /// Indexes of pseudo elements associated with this node in the `domNodes` array returned by /// `getSnapshot`, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElementIndexes")] + [JsonPropertyName("pseudoElementIndexes")] public int[] PseudoElementIndexes { get; @@ -7555,7 +7291,7 @@ public int[] PseudoElementIndexes /// The index of the node's related layout tree node in the `layoutTreeNodes` array returned by /// `getSnapshot`, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutNodeIndex")] + [JsonPropertyName("layoutNodeIndex")] public int? LayoutNodeIndex { get; @@ -7565,7 +7301,7 @@ public int? LayoutNodeIndex /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")] + [JsonPropertyName("documentURL")] public string DocumentURL { get; @@ -7575,7 +7311,7 @@ public string DocumentURL /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")] + [JsonPropertyName("baseURL")] public string BaseURL { get; @@ -7585,7 +7321,7 @@ public string BaseURL /// /// Only set for documents, contains the document's content language. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentLanguage")] + [JsonPropertyName("contentLanguage")] public string ContentLanguage { get; @@ -7595,7 +7331,7 @@ public string ContentLanguage /// /// Only set for documents, contains the document's character set encoding. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentEncoding")] + [JsonPropertyName("documentEncoding")] public string DocumentEncoding { get; @@ -7605,7 +7341,7 @@ public string DocumentEncoding /// /// `DocumentType` node's publicId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")] + [JsonPropertyName("publicId")] public string PublicId { get; @@ -7615,7 +7351,7 @@ public string PublicId /// /// `DocumentType` node's systemId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")] + [JsonPropertyName("systemId")] public string SystemId { get; @@ -7625,7 +7361,7 @@ public string SystemId /// /// Frame ID for frame owner elements and also for the document node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -7636,7 +7372,7 @@ public string FrameId /// The index of a frame owner element's content document in the `domNodes` array returned by /// `getSnapshot`, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocumentIndex")] + [JsonPropertyName("contentDocumentIndex")] public int? ContentDocumentIndex { get; @@ -7646,7 +7382,7 @@ public int? ContentDocumentIndex /// /// Type of a pseudo element node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")] + [JsonPropertyName("pseudoType")] public CefSharp.DevTools.DOM.PseudoType? PseudoType { get; @@ -7656,7 +7392,7 @@ public CefSharp.DevTools.DOM.PseudoType? PseudoType /// /// Shadow root type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")] + [JsonPropertyName("shadowRootType")] public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType { get; @@ -7668,7 +7404,7 @@ public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType /// event listeners attached via JavaScript as well as anchor tags that naturally navigate when /// clicked. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isClickable")] + [JsonPropertyName("isClickable")] public bool? IsClickable { get; @@ -7678,7 +7414,7 @@ public bool? IsClickable /// /// Details of the node's event listeners, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventListeners")] + [JsonPropertyName("eventListeners")] public System.Collections.Generic.IList EventListeners { get; @@ -7688,7 +7424,7 @@ public System.Collections.Generic.IList /// The selected url for nodes with a srcset attribute. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentSourceURL")] + [JsonPropertyName("currentSourceURL")] public string CurrentSourceURL { get; @@ -7698,7 +7434,7 @@ public string CurrentSourceURL /// /// The url of the script (if any) that generates this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originURL")] + [JsonPropertyName("originURL")] public string OriginURL { get; @@ -7708,7 +7444,7 @@ public string OriginURL /// /// Scroll offsets, set when this node is a Document. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")] + [JsonPropertyName("scrollOffsetX")] public double? ScrollOffsetX { get; @@ -7718,7 +7454,7 @@ public double? ScrollOffsetX /// /// ScrollOffsetY /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")] + [JsonPropertyName("scrollOffsetY")] public double? ScrollOffsetY { get; @@ -7735,7 +7471,7 @@ public partial class InlineTextBox : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The bounding box in document coordinates. Note that scroll offset of the document is ignored. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boundingBox")] + [JsonPropertyName("boundingBox")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect BoundingBox { @@ -7747,7 +7483,7 @@ public CefSharp.DevTools.DOM.Rect BoundingBox /// The starting index in characters, for this post layout textbox substring. Characters that /// would be represented as a surrogate pair in UTF-16 have length 2. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startCharacterIndex")] + [JsonPropertyName("startCharacterIndex")] public int StartCharacterIndex { get; @@ -7758,7 +7494,7 @@ public int StartCharacterIndex /// The number of characters in this post layout textbox substring. Characters that would be /// represented as a surrogate pair in UTF-16 have length 2. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("numCharacters")] + [JsonPropertyName("numCharacters")] public int NumCharacters { get; @@ -7774,7 +7510,7 @@ public partial class LayoutTreeNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The index of the related DOM node in the `domNodes` array returned by `getSnapshot`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domNodeIndex")] + [JsonPropertyName("domNodeIndex")] public int DomNodeIndex { get; @@ -7784,7 +7520,7 @@ public int DomNodeIndex /// /// The bounding box in document coordinates. Note that scroll offset of the document is ignored. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boundingBox")] + [JsonPropertyName("boundingBox")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect BoundingBox { @@ -7795,7 +7531,7 @@ public CefSharp.DevTools.DOM.Rect BoundingBox /// /// Contents of the LayoutText, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutText")] + [JsonPropertyName("layoutText")] public string LayoutText { get; @@ -7805,7 +7541,7 @@ public string LayoutText /// /// The post-layout inline text nodes, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineTextNodes")] + [JsonPropertyName("inlineTextNodes")] public System.Collections.Generic.IList InlineTextNodes { get; @@ -7815,7 +7551,7 @@ public System.Collections.Generic.IList /// Index into the `computedStyles` array returned by `getSnapshot`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleIndex")] + [JsonPropertyName("styleIndex")] public int? StyleIndex { get; @@ -7827,7 +7563,7 @@ public int? StyleIndex /// that are painted together will have the same index. Only provided if includePaintOrder in /// getSnapshot was true. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paintOrder")] + [JsonPropertyName("paintOrder")] public int? PaintOrder { get; @@ -7837,7 +7573,7 @@ public int? PaintOrder /// /// Set to true to indicate the element begins a new stacking context. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isStackingContext")] + [JsonPropertyName("isStackingContext")] public bool? IsStackingContext { get; @@ -7853,7 +7589,7 @@ public partial class ComputedStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name/value pairs of computed style properties. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")] + [JsonPropertyName("properties")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Properties { @@ -7870,7 +7606,7 @@ public partial class NameValue : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Attribute/property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -7881,7 +7617,7 @@ public string Name /// /// Attribute/property value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -7898,7 +7634,7 @@ public partial class RareStringData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Index /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("index")] + [JsonPropertyName("index")] public int[] Index { get; @@ -7908,7 +7644,7 @@ public int[] Index /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public int[] Value { get; @@ -7924,7 +7660,7 @@ public partial class RareBooleanData : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("index")] + [JsonPropertyName("index")] public int[] Index { get; @@ -7940,7 +7676,7 @@ public partial class RareIntegerData : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("index")] + [JsonPropertyName("index")] public int[] Index { get; @@ -7950,7 +7686,7 @@ public int[] Index /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public int[] Value { get; @@ -7966,7 +7702,7 @@ public partial class DocumentSnapshot : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Document URL that `Document` or `FrameOwner` node points to. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")] + [JsonPropertyName("documentURL")] public int DocumentURL { get; @@ -7976,7 +7712,7 @@ public int DocumentURL /// /// Document title. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] public int Title { get; @@ -7986,7 +7722,7 @@ public int Title /// /// Base URL that `Document` or `FrameOwner` node uses for URL completion. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")] + [JsonPropertyName("baseURL")] public int BaseURL { get; @@ -7996,7 +7732,7 @@ public int BaseURL /// /// Contains the document's content language. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentLanguage")] + [JsonPropertyName("contentLanguage")] public int ContentLanguage { get; @@ -8006,7 +7742,7 @@ public int ContentLanguage /// /// Contains the document's character set encoding. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encodingName")] + [JsonPropertyName("encodingName")] public int EncodingName { get; @@ -8016,7 +7752,7 @@ public int EncodingName /// /// `DocumentType` node's publicId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")] + [JsonPropertyName("publicId")] public int PublicId { get; @@ -8026,7 +7762,7 @@ public int PublicId /// /// `DocumentType` node's systemId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")] + [JsonPropertyName("systemId")] public int SystemId { get; @@ -8036,7 +7772,7 @@ public int SystemId /// /// Frame ID for frame owner elements and also for the document node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] public int FrameId { get; @@ -8046,7 +7782,7 @@ public int FrameId /// /// A table with dom nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonPropertyName("nodes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMSnapshot.NodeTreeSnapshot Nodes { @@ -8057,7 +7793,7 @@ public CefSharp.DevTools.DOMSnapshot.NodeTreeSnapshot Nodes /// /// The nodes in the layout tree. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layout")] + [JsonPropertyName("layout")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMSnapshot.LayoutTreeSnapshot Layout { @@ -8068,7 +7804,7 @@ public CefSharp.DevTools.DOMSnapshot.LayoutTreeSnapshot Layout /// /// The post-layout inline text nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("textBoxes")] + [JsonPropertyName("textBoxes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMSnapshot.TextBoxSnapshot TextBoxes { @@ -8079,7 +7815,7 @@ public CefSharp.DevTools.DOMSnapshot.TextBoxSnapshot TextBoxes /// /// Horizontal scroll offset. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")] + [JsonPropertyName("scrollOffsetX")] public double? ScrollOffsetX { get; @@ -8089,7 +7825,7 @@ public double? ScrollOffsetX /// /// Vertical scroll offset. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")] + [JsonPropertyName("scrollOffsetY")] public double? ScrollOffsetY { get; @@ -8099,7 +7835,7 @@ public double? ScrollOffsetY /// /// Document content width. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentWidth")] + [JsonPropertyName("contentWidth")] public double? ContentWidth { get; @@ -8109,7 +7845,7 @@ public double? ContentWidth /// /// Document content height. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentHeight")] + [JsonPropertyName("contentHeight")] public double? ContentHeight { get; @@ -8125,7 +7861,7 @@ public partial class NodeTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Parent node index. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentIndex")] + [JsonPropertyName("parentIndex")] public int[] ParentIndex { get; @@ -8135,7 +7871,7 @@ public int[] ParentIndex /// /// `Node`'s nodeType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")] + [JsonPropertyName("nodeType")] public int[] NodeType { get; @@ -8145,7 +7881,7 @@ public int[] NodeType /// /// Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")] + [JsonPropertyName("shadowRootType")] public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType { get; @@ -8155,7 +7891,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType /// /// `Node`'s nodeName. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")] + [JsonPropertyName("nodeName")] public int[] NodeName { get; @@ -8165,7 +7901,7 @@ public int[] NodeName /// /// `Node`'s nodeValue. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")] + [JsonPropertyName("nodeValue")] public int[] NodeValue { get; @@ -8175,7 +7911,7 @@ public int[] NodeValue /// /// `Node`'s id, corresponds to DOM.Node.backendNodeId. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int[] BackendNodeId { get; @@ -8185,7 +7921,7 @@ public int[] BackendNodeId /// /// Attributes of an `Element` node. Flatten name, value pairs. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")] + [JsonPropertyName("attributes")] public int[] Attributes { get; @@ -8195,7 +7931,7 @@ public int[] Attributes /// /// Only set for textarea elements, contains the text value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("textValue")] + [JsonPropertyName("textValue")] public CefSharp.DevTools.DOMSnapshot.RareStringData TextValue { get; @@ -8205,7 +7941,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData TextValue /// /// Only set for input elements, contains the input's associated text value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inputValue")] + [JsonPropertyName("inputValue")] public CefSharp.DevTools.DOMSnapshot.RareStringData InputValue { get; @@ -8215,7 +7951,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData InputValue /// /// Only set for radio and checkbox input elements, indicates if the element has been checked /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inputChecked")] + [JsonPropertyName("inputChecked")] public CefSharp.DevTools.DOMSnapshot.RareBooleanData InputChecked { get; @@ -8225,7 +7961,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData InputChecked /// /// Only set for option elements, indicates if the element has been selected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("optionSelected")] + [JsonPropertyName("optionSelected")] public CefSharp.DevTools.DOMSnapshot.RareBooleanData OptionSelected { get; @@ -8235,7 +7971,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData OptionSelected /// /// The index of the document in the list of the snapshot documents. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocumentIndex")] + [JsonPropertyName("contentDocumentIndex")] public CefSharp.DevTools.DOMSnapshot.RareIntegerData ContentDocumentIndex { get; @@ -8245,7 +7981,7 @@ public CefSharp.DevTools.DOMSnapshot.RareIntegerData ContentDocumentIndex /// /// Type of a pseudo element node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")] + [JsonPropertyName("pseudoType")] public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoType { get; @@ -8256,7 +7992,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoType /// Pseudo element identifier for this node. Only present if there is a /// valid pseudoType. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoIdentifier")] + [JsonPropertyName("pseudoIdentifier")] public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoIdentifier { get; @@ -8268,7 +8004,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoIdentifier /// event listeners attached via JavaScript as well as anchor tags that naturally navigate when /// clicked. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isClickable")] + [JsonPropertyName("isClickable")] public CefSharp.DevTools.DOMSnapshot.RareBooleanData IsClickable { get; @@ -8278,7 +8014,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData IsClickable /// /// The selected url for nodes with a srcset attribute. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentSourceURL")] + [JsonPropertyName("currentSourceURL")] public CefSharp.DevTools.DOMSnapshot.RareStringData CurrentSourceURL { get; @@ -8288,7 +8024,7 @@ public CefSharp.DevTools.DOMSnapshot.RareStringData CurrentSourceURL /// /// The url of the script (if any) that generates this node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originURL")] + [JsonPropertyName("originURL")] public CefSharp.DevTools.DOMSnapshot.RareStringData OriginURL { get; @@ -8304,7 +8040,7 @@ public partial class LayoutTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntity /// /// Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIndex")] + [JsonPropertyName("nodeIndex")] public int[] NodeIndex { get; @@ -8314,7 +8050,7 @@ public int[] NodeIndex /// /// Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styles")] + [JsonPropertyName("styles")] public int[] Styles { get; @@ -8324,7 +8060,7 @@ public int[] Styles /// /// The absolute position bounding box. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")] + [JsonPropertyName("bounds")] public double[] Bounds { get; @@ -8334,7 +8070,7 @@ public double[] Bounds /// /// Contents of the LayoutText, if any. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] public int[] Text { get; @@ -8344,7 +8080,7 @@ public int[] Text /// /// Stacking context information. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackingContexts")] + [JsonPropertyName("stackingContexts")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMSnapshot.RareBooleanData StackingContexts { @@ -8357,7 +8093,7 @@ public CefSharp.DevTools.DOMSnapshot.RareBooleanData StackingContexts /// that are painted together will have the same index. Only provided if includePaintOrder in /// captureSnapshot was true. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paintOrders")] + [JsonPropertyName("paintOrders")] public int[] PaintOrders { get; @@ -8367,7 +8103,7 @@ public int[] PaintOrders /// /// The offset rect of nodes. Only available when includeDOMRects is set to true /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetRects")] + [JsonPropertyName("offsetRects")] public double[] OffsetRects { get; @@ -8377,7 +8113,7 @@ public double[] OffsetRects /// /// The scroll rect of nodes. Only available when includeDOMRects is set to true /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollRects")] + [JsonPropertyName("scrollRects")] public double[] ScrollRects { get; @@ -8387,7 +8123,7 @@ public double[] ScrollRects /// /// The client rect of nodes. Only available when includeDOMRects is set to true /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientRects")] + [JsonPropertyName("clientRects")] public double[] ClientRects { get; @@ -8397,7 +8133,7 @@ public double[] ClientRects /// /// The list of background colors that are blended with colors of overlapping elements. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blendedBackgroundColors")] + [JsonPropertyName("blendedBackgroundColors")] public int[] BlendedBackgroundColors { get; @@ -8407,7 +8143,7 @@ public int[] BlendedBackgroundColors /// /// The list of computed text opacities. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("textColorOpacities")] + [JsonPropertyName("textColorOpacities")] public double[] TextColorOpacities { get; @@ -8424,7 +8160,7 @@ public partial class TextBoxSnapshot : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Index of the layout tree node that owns this box collection. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutIndex")] + [JsonPropertyName("layoutIndex")] public int[] LayoutIndex { get; @@ -8434,7 +8170,7 @@ public int[] LayoutIndex /// /// The absolute position bounding box. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")] + [JsonPropertyName("bounds")] public double[] Bounds { get; @@ -8445,7 +8181,7 @@ public double[] Bounds /// The starting index in characters, for this post layout textbox substring. Characters that /// would be represented as a surrogate pair in UTF-16 have length 2. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("start")] + [JsonPropertyName("start")] public int[] Start { get; @@ -8456,7 +8192,7 @@ public int[] Start /// The number of characters in this post layout textbox substring. Characters that would be /// represented as a surrogate pair in UTF-16 have length 2. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("length")] + [JsonPropertyName("length")] public int[] Length { get; @@ -8475,7 +8211,7 @@ public partial class StorageId : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Security origin for the storage. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")] + [JsonPropertyName("securityOrigin")] public string SecurityOrigin { get; @@ -8485,7 +8221,7 @@ public string SecurityOrigin /// /// Represents a key by which DOM Storage keys its CachedStorageAreas /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonPropertyName("storageKey")] public string StorageKey { get; @@ -8495,7 +8231,7 @@ public string StorageKey /// /// Whether the storage is local storage (not session storage). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isLocalStorage")] + [JsonPropertyName("isLocalStorage")] public bool IsLocalStorage { get; @@ -8511,8 +8247,8 @@ public class DomStorageItemAddedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// StorageId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageId")] + [JsonInclude] + [JsonPropertyName("storageId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMStorage.StorageId StorageId { @@ -8523,8 +8259,8 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonInclude] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Key { @@ -8535,8 +8271,8 @@ public string Key /// /// NewValue /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("newValue")] + [JsonInclude] + [JsonPropertyName("newValue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NewValue { @@ -8553,8 +8289,8 @@ public class DomStorageItemRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// StorageId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageId")] + [JsonInclude] + [JsonPropertyName("storageId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMStorage.StorageId StorageId { @@ -8565,8 +8301,8 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonInclude] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Key { @@ -8583,8 +8319,8 @@ public class DomStorageItemUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// StorageId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageId")] + [JsonInclude] + [JsonPropertyName("storageId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMStorage.StorageId StorageId { @@ -8595,8 +8331,8 @@ public CefSharp.DevTools.DOMStorage.StorageId StorageId /// /// Key /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonInclude] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Key { @@ -8607,8 +8343,8 @@ public string Key /// /// OldValue /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("oldValue")] + [JsonInclude] + [JsonPropertyName("oldValue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string OldValue { @@ -8619,8 +8355,8 @@ public string OldValue /// /// NewValue /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("newValue")] + [JsonInclude] + [JsonPropertyName("newValue")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NewValue { @@ -8637,8 +8373,8 @@ public class DomStorageItemsClearedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// StorageId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageId")] + [JsonInclude] + [JsonPropertyName("storageId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOMStorage.StorageId StorageId { @@ -8658,7 +8394,7 @@ public partial class Database : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Database ID. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -8669,7 +8405,7 @@ public string Id /// /// Database domain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")] + [JsonPropertyName("domain")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Domain { @@ -8680,7 +8416,7 @@ public string Domain /// /// Database name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -8691,7 +8427,7 @@ public string Name /// /// Database version. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("version")] + [JsonPropertyName("version")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Version { @@ -8708,7 +8444,7 @@ public partial class Error : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Error message. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -8719,7 +8455,7 @@ public string Message /// /// Error code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("code")] + [JsonPropertyName("code")] public int Code { get; @@ -8735,8 +8471,8 @@ public class AddDatabaseEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBas /// /// Database /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("database")] + [JsonInclude] + [JsonPropertyName("database")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Database.Database Database { @@ -8756,22 +8492,22 @@ public enum ScreenOrientationType /// /// portraitPrimary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("portraitPrimary")] + [JsonPropertyName("portraitPrimary")] PortraitPrimary, /// /// portraitSecondary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("portraitSecondary")] + [JsonPropertyName("portraitSecondary")] PortraitSecondary, /// /// landscapePrimary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("landscapePrimary")] + [JsonPropertyName("landscapePrimary")] LandscapePrimary, /// /// landscapeSecondary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("landscapeSecondary")] + [JsonPropertyName("landscapeSecondary")] LandscapeSecondary } @@ -8783,7 +8519,7 @@ public partial class ScreenOrientation : CefSharp.DevTools.DevToolsDomainEntityB /// /// Orientation type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Emulation.ScreenOrientationType Type { get; @@ -8793,7 +8529,7 @@ public CefSharp.DevTools.Emulation.ScreenOrientationType Type /// /// Orientation angle. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("angle")] + [JsonPropertyName("angle")] public int Angle { get; @@ -8809,12 +8545,12 @@ public enum DisplayFeatureOrientation /// /// vertical /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("vertical")] + [JsonPropertyName("vertical")] Vertical, /// /// horizontal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("horizontal")] + [JsonPropertyName("horizontal")] Horizontal } @@ -8826,7 +8562,7 @@ public partial class DisplayFeature : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Orientation of a display feature in relation to screen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("orientation")] + [JsonPropertyName("orientation")] public CefSharp.DevTools.Emulation.DisplayFeatureOrientation Orientation { get; @@ -8837,7 +8573,7 @@ public CefSharp.DevTools.Emulation.DisplayFeatureOrientation Orientation /// The offset from the screen origin in either the x (for vertical /// orientation) or y (for horizontal orientation) direction. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")] + [JsonPropertyName("offset")] public int Offset { get; @@ -8849,7 +8585,7 @@ public int Offset /// displayed - this length along with the offset describes this area. /// A display feature that only splits content will have a 0 mask_length. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maskLength")] + [JsonPropertyName("maskLength")] public int MaskLength { get; @@ -8865,7 +8601,7 @@ public partial class MediaFeature : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -8876,7 +8612,7 @@ public string Name /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -8896,17 +8632,17 @@ public enum VirtualTimePolicy /// /// advance /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("advance")] + [JsonPropertyName("advance")] Advance, /// /// pause /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pause")] + [JsonPropertyName("pause")] Pause, /// /// pauseIfNetworkFetchesPending /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pauseIfNetworkFetchesPending")] + [JsonPropertyName("pauseIfNetworkFetchesPending")] PauseIfNetworkFetchesPending } @@ -8918,7 +8654,7 @@ public partial class UserAgentBrandVersion : CefSharp.DevTools.DevToolsDomainEnt /// /// Brand /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("brand")] + [JsonPropertyName("brand")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Brand { @@ -8929,7 +8665,7 @@ public string Brand /// /// Version /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("version")] + [JsonPropertyName("version")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Version { @@ -8947,7 +8683,7 @@ public partial class UserAgentMetadata : CefSharp.DevTools.DevToolsDomainEntityB /// /// Brands appearing in Sec-CH-UA. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("brands")] + [JsonPropertyName("brands")] public System.Collections.Generic.IList Brands { get; @@ -8957,7 +8693,7 @@ public System.Collections.Generic.IList /// Brands appearing in Sec-CH-UA-Full-Version-List. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fullVersionList")] + [JsonPropertyName("fullVersionList")] public System.Collections.Generic.IList FullVersionList { get; @@ -8967,7 +8703,7 @@ public System.Collections.Generic.IList /// FullVersion /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fullVersion")] + [JsonPropertyName("fullVersion")] public string FullVersion { get; @@ -8977,7 +8713,7 @@ public string FullVersion /// /// Platform /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("platform")] + [JsonPropertyName("platform")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Platform { @@ -8988,7 +8724,7 @@ public string Platform /// /// PlatformVersion /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("platformVersion")] + [JsonPropertyName("platformVersion")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlatformVersion { @@ -8999,7 +8735,7 @@ public string PlatformVersion /// /// Architecture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("architecture")] + [JsonPropertyName("architecture")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Architecture { @@ -9010,7 +8746,7 @@ public string Architecture /// /// Model /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("model")] + [JsonPropertyName("model")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Model { @@ -9021,7 +8757,7 @@ public string Model /// /// Mobile /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mobile")] + [JsonPropertyName("mobile")] public bool Mobile { get; @@ -9031,7 +8767,7 @@ public bool Mobile /// /// Bitness /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bitness")] + [JsonPropertyName("bitness")] public string Bitness { get; @@ -9041,7 +8777,7 @@ public string Bitness /// /// Wow64 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wow64")] + [JsonPropertyName("wow64")] public bool? Wow64 { get; @@ -9057,12 +8793,12 @@ public enum DisabledImageType /// /// avif /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("avif")] + [JsonPropertyName("avif")] Avif, /// /// webp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] + [JsonPropertyName("webp")] Webp } } @@ -9077,17 +8813,17 @@ public enum ScreenshotParamsFormat /// /// jpeg /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")] + [JsonPropertyName("jpeg")] Jpeg, /// /// png /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("png")] + [JsonPropertyName("png")] Png, /// /// webp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] + [JsonPropertyName("webp")] Webp } @@ -9099,7 +8835,7 @@ public partial class ScreenshotParams : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Image compression format (defaults to png). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("format")] + [JsonPropertyName("format")] public CefSharp.DevTools.HeadlessExperimental.ScreenshotParamsFormat? Format { get; @@ -9109,7 +8845,7 @@ public CefSharp.DevTools.HeadlessExperimental.ScreenshotParamsFormat? Format /// /// Compression quality from range [0..100] (jpeg only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("quality")] + [JsonPropertyName("quality")] public int? Quality { get; @@ -9119,7 +8855,7 @@ public int? Quality /// /// Optimize image encoding for speed, not for resulting size (defaults to false) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("optimizeForSpeed")] + [JsonPropertyName("optimizeForSpeed")] public bool? OptimizeForSpeed { get; @@ -9138,7 +8874,7 @@ public partial class DatabaseWithObjectStores : CefSharp.DevTools.DevToolsDomain /// /// Database name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -9150,7 +8886,7 @@ public string Name /// Database version (type is not 'integer', as the standard /// requires the version number to be 'unsigned long long') /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("version")] + [JsonPropertyName("version")] public double Version { get; @@ -9160,7 +8896,7 @@ public double Version /// /// Object stores in this database. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectStores")] + [JsonPropertyName("objectStores")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ObjectStores { @@ -9177,7 +8913,7 @@ public partial class ObjectStore : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Object store name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -9188,7 +8924,7 @@ public string Name /// /// Object store key path. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyPath")] + [JsonPropertyName("keyPath")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.IndexedDB.KeyPath KeyPath { @@ -9199,7 +8935,7 @@ public CefSharp.DevTools.IndexedDB.KeyPath KeyPath /// /// If true, object store has auto increment flag set. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoIncrement")] + [JsonPropertyName("autoIncrement")] public bool AutoIncrement { get; @@ -9209,7 +8945,7 @@ public bool AutoIncrement /// /// Indexes in this object store. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("indexes")] + [JsonPropertyName("indexes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Indexes { @@ -9226,7 +8962,7 @@ public partial class ObjectStoreIndex : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Index name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -9237,7 +8973,7 @@ public string Name /// /// Index key path. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyPath")] + [JsonPropertyName("keyPath")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.IndexedDB.KeyPath KeyPath { @@ -9248,7 +8984,7 @@ public CefSharp.DevTools.IndexedDB.KeyPath KeyPath /// /// If true, index is unique. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unique")] + [JsonPropertyName("unique")] public bool Unique { get; @@ -9258,7 +8994,7 @@ public bool Unique /// /// If true, index allows multiple entries for a key. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("multiEntry")] + [JsonPropertyName("multiEntry")] public bool MultiEntry { get; @@ -9274,22 +9010,22 @@ public enum KeyType /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] Date, /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array } @@ -9301,7 +9037,7 @@ public partial class Key : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.IndexedDB.KeyType Type { get; @@ -9311,7 +9047,7 @@ public CefSharp.DevTools.IndexedDB.KeyType Type /// /// Number value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] public double? Number { get; @@ -9321,7 +9057,7 @@ public double? Number /// /// String value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] public string String { get; @@ -9331,7 +9067,7 @@ public string String /// /// Date value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] public double? Date { get; @@ -9341,7 +9077,7 @@ public double? Date /// /// Array value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] public System.Collections.Generic.IList Array { get; @@ -9357,7 +9093,7 @@ public partial class KeyRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Lower bound. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lower")] + [JsonPropertyName("lower")] public CefSharp.DevTools.IndexedDB.Key Lower { get; @@ -9367,7 +9103,7 @@ public CefSharp.DevTools.IndexedDB.Key Lower /// /// Upper bound. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("upper")] + [JsonPropertyName("upper")] public CefSharp.DevTools.IndexedDB.Key Upper { get; @@ -9377,7 +9113,7 @@ public CefSharp.DevTools.IndexedDB.Key Upper /// /// If true lower bound is open. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lowerOpen")] + [JsonPropertyName("lowerOpen")] public bool LowerOpen { get; @@ -9387,7 +9123,7 @@ public bool LowerOpen /// /// If true upper bound is open. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("upperOpen")] + [JsonPropertyName("upperOpen")] public bool UpperOpen { get; @@ -9403,7 +9139,7 @@ public partial class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject Key { @@ -9414,7 +9150,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Key /// /// Primary key object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("primaryKey")] + [JsonPropertyName("primaryKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject PrimaryKey { @@ -9425,7 +9161,7 @@ public CefSharp.DevTools.Runtime.RemoteObject PrimaryKey /// /// Value object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject Value { @@ -9442,17 +9178,17 @@ public enum KeyPathType /// /// null /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("null")] + [JsonPropertyName("null")] Null, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array } @@ -9464,7 +9200,7 @@ public partial class KeyPath : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Key path type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.IndexedDB.KeyPathType Type { get; @@ -9474,7 +9210,7 @@ public CefSharp.DevTools.IndexedDB.KeyPathType Type /// /// String value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] public string String { get; @@ -9484,7 +9220,7 @@ public string String /// /// Array value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] public string[] Array { get; @@ -9503,7 +9239,7 @@ public partial class TouchPoint : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X coordinate of the event relative to the main frame's viewport in CSS pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("x")] + [JsonPropertyName("x")] public double X { get; @@ -9514,7 +9250,7 @@ public double X /// Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to /// the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("y")] + [JsonPropertyName("y")] public double Y { get; @@ -9524,7 +9260,7 @@ public double Y /// /// X radius of the touch area (default: 1.0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("radiusX")] + [JsonPropertyName("radiusX")] public double? RadiusX { get; @@ -9534,7 +9270,7 @@ public double? RadiusX /// /// Y radius of the touch area (default: 1.0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("radiusY")] + [JsonPropertyName("radiusY")] public double? RadiusY { get; @@ -9544,7 +9280,7 @@ public double? RadiusY /// /// Rotation angle (default: 0.0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rotationAngle")] + [JsonPropertyName("rotationAngle")] public double? RotationAngle { get; @@ -9554,7 +9290,7 @@ public double? RotationAngle /// /// Force (default: 1.0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("force")] + [JsonPropertyName("force")] public double? Force { get; @@ -9564,7 +9300,7 @@ public double? Force /// /// The normalized tangential pressure, which has a range of [-1,1] (default: 0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tangentialPressure")] + [JsonPropertyName("tangentialPressure")] public double? TangentialPressure { get; @@ -9574,7 +9310,7 @@ public double? TangentialPressure /// /// The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tiltX")] + [JsonPropertyName("tiltX")] public int? TiltX { get; @@ -9584,7 +9320,7 @@ public int? TiltX /// /// The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tiltY")] + [JsonPropertyName("tiltY")] public int? TiltY { get; @@ -9594,7 +9330,7 @@ public int? TiltY /// /// The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("twist")] + [JsonPropertyName("twist")] public int? Twist { get; @@ -9604,7 +9340,7 @@ public int? Twist /// /// Identifier used to track touch sources between events, must be unique within an event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public double? Id { get; @@ -9620,17 +9356,17 @@ public enum GestureSourceType /// /// default /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("default")] + [JsonPropertyName("default")] Default, /// /// touch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("touch")] + [JsonPropertyName("touch")] Touch, /// /// mouse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouse")] + [JsonPropertyName("mouse")] Mouse } @@ -9642,32 +9378,32 @@ public enum MouseButton /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// left /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("left")] + [JsonPropertyName("left")] Left, /// /// middle /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("middle")] + [JsonPropertyName("middle")] Middle, /// /// right /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("right")] + [JsonPropertyName("right")] Right, /// /// back /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("back")] + [JsonPropertyName("back")] Back, /// /// forward /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("forward")] + [JsonPropertyName("forward")] Forward } @@ -9679,7 +9415,7 @@ public partial class DragDataItem : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Mime type of the dragged data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")] + [JsonPropertyName("mimeType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MimeType { @@ -9691,7 +9427,7 @@ public string MimeType /// Depending of the value of `mimeType`, it contains the dragged link, /// text, HTML markup or any other data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Data { @@ -9702,7 +9438,7 @@ public string Data /// /// Title associated with a link. Only valid when `mimeType` == "text/uri-list". /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] public string Title { get; @@ -9713,7 +9449,7 @@ public string Title /// Stores the base URL for the contained markup. Only valid when `mimeType` /// == "text/html". /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")] + [JsonPropertyName("baseURL")] public string BaseURL { get; @@ -9729,7 +9465,7 @@ public partial class DragData : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Items /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("items")] + [JsonPropertyName("items")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Items { @@ -9740,7 +9476,7 @@ public System.Collections.Generic.IList It /// /// List of filenames that should be included when dropping /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("files")] + [JsonPropertyName("files")] public string[] Files { get; @@ -9750,7 +9486,7 @@ public string[] Files /// /// Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dragOperationsMask")] + [JsonPropertyName("dragOperationsMask")] public int DragOperationsMask { get; @@ -9767,8 +9503,8 @@ public class DragInterceptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Input.DragData Data { @@ -9788,8 +9524,8 @@ public class DetachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The reason why connection has been terminated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Reason { @@ -9809,17 +9545,17 @@ public enum ScrollRectType /// /// RepaintsOnScroll /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RepaintsOnScroll")] + [JsonPropertyName("RepaintsOnScroll")] RepaintsOnScroll, /// /// TouchEventHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TouchEventHandler")] + [JsonPropertyName("TouchEventHandler")] TouchEventHandler, /// /// WheelEventHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WheelEventHandler")] + [JsonPropertyName("WheelEventHandler")] WheelEventHandler } @@ -9831,7 +9567,7 @@ public partial class ScrollRect : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Rectangle itself. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rect")] + [JsonPropertyName("rect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect Rect { @@ -9842,7 +9578,7 @@ public CefSharp.DevTools.DOM.Rect Rect /// /// Reason for rectangle to force scrolling on the main thread /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.LayerTree.ScrollRectType Type { get; @@ -9858,7 +9594,7 @@ public partial class StickyPositionConstraint : CefSharp.DevTools.DevToolsDomain /// /// Layout rectangle of the sticky element before being shifted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stickyBoxRect")] + [JsonPropertyName("stickyBoxRect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect StickyBoxRect { @@ -9869,7 +9605,7 @@ public CefSharp.DevTools.DOM.Rect StickyBoxRect /// /// Layout rectangle of the containing block of the sticky element /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containingBlockRect")] + [JsonPropertyName("containingBlockRect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect ContainingBlockRect { @@ -9880,7 +9616,7 @@ public CefSharp.DevTools.DOM.Rect ContainingBlockRect /// /// The nearest sticky layer that shifts the sticky box /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nearestLayerShiftingStickyBox")] + [JsonPropertyName("nearestLayerShiftingStickyBox")] public string NearestLayerShiftingStickyBox { get; @@ -9890,7 +9626,7 @@ public string NearestLayerShiftingStickyBox /// /// The nearest sticky layer that shifts the containing block /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nearestLayerShiftingContainingBlock")] + [JsonPropertyName("nearestLayerShiftingContainingBlock")] public string NearestLayerShiftingContainingBlock { get; @@ -9906,7 +9642,7 @@ public partial class PictureTile : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Offset from owning layer left boundary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("x")] + [JsonPropertyName("x")] public double X { get; @@ -9916,7 +9652,7 @@ public double X /// /// Offset from owning layer top boundary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("y")] + [JsonPropertyName("y")] public double Y { get; @@ -9926,7 +9662,7 @@ public double Y /// /// Base64-encoded snapshot data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("picture")] + [JsonPropertyName("picture")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] Picture { @@ -9943,7 +9679,7 @@ public partial class Layer : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The unique id for this layer. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layerId")] + [JsonPropertyName("layerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LayerId { @@ -9954,7 +9690,7 @@ public string LayerId /// /// The id of parent (not present for root). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentLayerId")] + [JsonPropertyName("parentLayerId")] public string ParentLayerId { get; @@ -9964,7 +9700,7 @@ public string ParentLayerId /// /// The backend id for the node associated with this layer. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonPropertyName("backendNodeId")] public int? BackendNodeId { get; @@ -9974,7 +9710,7 @@ public int? BackendNodeId /// /// Offset from parent layer, X coordinate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetX")] + [JsonPropertyName("offsetX")] public double OffsetX { get; @@ -9984,7 +9720,7 @@ public double OffsetX /// /// Offset from parent layer, Y coordinate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetY")] + [JsonPropertyName("offsetY")] public double OffsetY { get; @@ -9994,7 +9730,7 @@ public double OffsetY /// /// Layer width. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public double Width { get; @@ -10004,7 +9740,7 @@ public double Width /// /// Layer height. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public double Height { get; @@ -10014,7 +9750,7 @@ public double Height /// /// Transformation matrix for layer, default is identity matrix /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transform")] + [JsonPropertyName("transform")] public double[] Transform { get; @@ -10024,7 +9760,7 @@ public double[] Transform /// /// Transform anchor point X, absent if no transform specified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorX")] + [JsonPropertyName("anchorX")] public double? AnchorX { get; @@ -10034,7 +9770,7 @@ public double? AnchorX /// /// Transform anchor point Y, absent if no transform specified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorY")] + [JsonPropertyName("anchorY")] public double? AnchorY { get; @@ -10044,7 +9780,7 @@ public double? AnchorY /// /// Transform anchor point Z, absent if no transform specified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorZ")] + [JsonPropertyName("anchorZ")] public double? AnchorZ { get; @@ -10054,7 +9790,7 @@ public double? AnchorZ /// /// Indicates how many time this layer has painted. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paintCount")] + [JsonPropertyName("paintCount")] public int PaintCount { get; @@ -10065,7 +9801,7 @@ public int PaintCount /// Indicates whether this layer hosts any content, rather than being used for /// transform/scrolling purposes only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("drawsContent")] + [JsonPropertyName("drawsContent")] public bool DrawsContent { get; @@ -10075,7 +9811,7 @@ public bool DrawsContent /// /// Set if layer is not visible. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("invisible")] + [JsonPropertyName("invisible")] public bool? Invisible { get; @@ -10085,7 +9821,7 @@ public bool? Invisible /// /// Rectangles scrolling on main thread only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollRects")] + [JsonPropertyName("scrollRects")] public System.Collections.Generic.IList ScrollRects { get; @@ -10095,7 +9831,7 @@ public System.Collections.Generic.IList /// /// Sticky position constraint information /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stickyPositionConstraint")] + [JsonPropertyName("stickyPositionConstraint")] public CefSharp.DevTools.LayerTree.StickyPositionConstraint StickyPositionConstraint { get; @@ -10111,8 +9847,8 @@ public class LayerPaintedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// The id of the painted layer. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layerId")] + [JsonInclude] + [JsonPropertyName("layerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LayerId { @@ -10123,8 +9859,8 @@ public string LayerId /// /// Clip rectangle. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clip")] + [JsonInclude] + [JsonPropertyName("clip")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect Clip { @@ -10141,8 +9877,8 @@ public class LayerTreeDidChangeEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Layer tree, absent if not in the comspositing mode. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layers")] + [JsonInclude] + [JsonPropertyName("layers")] public System.Collections.Generic.IList Layers { get; @@ -10161,67 +9897,67 @@ public enum LogEntrySource /// /// xml /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("xml")] + [JsonPropertyName("xml")] Xml, /// /// javascript /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("javascript")] + [JsonPropertyName("javascript")] Javascript, /// /// network /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("network")] + [JsonPropertyName("network")] Network, /// /// storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storage")] + [JsonPropertyName("storage")] Storage, /// /// appcache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("appcache")] + [JsonPropertyName("appcache")] Appcache, /// /// rendering /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rendering")] + [JsonPropertyName("rendering")] Rendering, /// /// security /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("security")] + [JsonPropertyName("security")] Security, /// /// deprecation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deprecation")] + [JsonPropertyName("deprecation")] Deprecation, /// /// worker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("worker")] + [JsonPropertyName("worker")] Worker, /// /// violation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("violation")] + [JsonPropertyName("violation")] Violation, /// /// intervention /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("intervention")] + [JsonPropertyName("intervention")] Intervention, /// /// recommendation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recommendation")] + [JsonPropertyName("recommendation")] Recommendation, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -10233,22 +9969,22 @@ public enum LogEntryLevel /// /// verbose /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("verbose")] + [JsonPropertyName("verbose")] Verbose, /// /// info /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("info")] + [JsonPropertyName("info")] Info, /// /// warning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("warning")] + [JsonPropertyName("warning")] Warning, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error } @@ -10260,7 +9996,7 @@ public enum LogEntryCategory /// /// cors /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cors")] + [JsonPropertyName("cors")] Cors } @@ -10272,7 +10008,7 @@ public partial class LogEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Log entry source. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("source")] + [JsonPropertyName("source")] public CefSharp.DevTools.Log.LogEntrySource Source { get; @@ -10282,7 +10018,7 @@ public CefSharp.DevTools.Log.LogEntrySource Source /// /// Log entry severity. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("level")] + [JsonPropertyName("level")] public CefSharp.DevTools.Log.LogEntryLevel Level { get; @@ -10292,7 +10028,7 @@ public CefSharp.DevTools.Log.LogEntryLevel Level /// /// Logged text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -10303,7 +10039,7 @@ public string Text /// /// Category /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("category")] + [JsonPropertyName("category")] public CefSharp.DevTools.Log.LogEntryCategory? Category { get; @@ -10313,7 +10049,7 @@ public CefSharp.DevTools.Log.LogEntryCategory? Category /// /// Timestamp when this entry was added. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -10323,7 +10059,7 @@ public double Timestamp /// /// URL of the resource if known. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -10333,7 +10069,7 @@ public string Url /// /// Line number in the resource. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int? LineNumber { get; @@ -10343,7 +10079,7 @@ public int? LineNumber /// /// JavaScript stack trace. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -10353,7 +10089,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// Identifier of the network request associated with this entry. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("networkRequestId")] + [JsonPropertyName("networkRequestId")] public string NetworkRequestId { get; @@ -10363,7 +10099,7 @@ public string NetworkRequestId /// /// Identifier of the worker associated with this entry. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workerId")] + [JsonPropertyName("workerId")] public string WorkerId { get; @@ -10373,7 +10109,7 @@ public string WorkerId /// /// Call arguments. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("args")] + [JsonPropertyName("args")] public System.Collections.Generic.IList Args { get; @@ -10389,37 +10125,37 @@ public enum ViolationSettingName /// /// longTask /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("longTask")] + [JsonPropertyName("longTask")] LongTask, /// /// longLayout /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("longLayout")] + [JsonPropertyName("longLayout")] LongLayout, /// /// blockedEvent /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedEvent")] + [JsonPropertyName("blockedEvent")] BlockedEvent, /// /// blockedParser /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedParser")] + [JsonPropertyName("blockedParser")] BlockedParser, /// /// discouragedAPIUse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("discouragedAPIUse")] + [JsonPropertyName("discouragedAPIUse")] DiscouragedAPIUse, /// /// handler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("handler")] + [JsonPropertyName("handler")] Handler, /// /// recurringHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recurringHandler")] + [JsonPropertyName("recurringHandler")] RecurringHandler } @@ -10431,7 +10167,7 @@ public partial class ViolationSetting : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Violation type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public CefSharp.DevTools.Log.ViolationSettingName Name { get; @@ -10441,7 +10177,7 @@ public CefSharp.DevTools.Log.ViolationSettingName Name /// /// Time threshold to trigger upon. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("threshold")] + [JsonPropertyName("threshold")] public double Threshold { get; @@ -10457,8 +10193,8 @@ public class EntryAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The entry. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entry")] + [JsonInclude] + [JsonPropertyName("entry")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Log.LogEntry Entry { @@ -10478,12 +10214,12 @@ public enum PressureLevel /// /// moderate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("moderate")] + [JsonPropertyName("moderate")] Moderate, /// /// critical /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("critical")] + [JsonPropertyName("critical")] Critical } @@ -10495,7 +10231,7 @@ public partial class SamplingProfileNode : CefSharp.DevTools.DevToolsDomainEntit /// /// Size of the sampled allocation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] + [JsonPropertyName("size")] public double Size { get; @@ -10505,7 +10241,7 @@ public double Size /// /// Total bytes attributed to this sample. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("total")] + [JsonPropertyName("total")] public double Total { get; @@ -10515,7 +10251,7 @@ public double Total /// /// Execution stack at the point of allocation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")] + [JsonPropertyName("stack")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Stack { @@ -10532,7 +10268,7 @@ public partial class SamplingProfile : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Samples /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")] + [JsonPropertyName("samples")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Samples { @@ -10543,7 +10279,7 @@ public System.Collections.Generic.IList /// Modules /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("modules")] + [JsonPropertyName("modules")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Modules { @@ -10560,7 +10296,7 @@ public partial class Module : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name of the module. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -10571,7 +10307,7 @@ public string Name /// /// UUID of the module. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("uuid")] + [JsonPropertyName("uuid")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Uuid { @@ -10583,7 +10319,7 @@ public string Uuid /// Base address where the module is loaded into memory. Encoded as a decimal /// or hexadecimal (0x prefixed) string. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseAddress")] + [JsonPropertyName("baseAddress")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string BaseAddress { @@ -10594,7 +10330,7 @@ public string BaseAddress /// /// Size of the module in bytes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] + [JsonPropertyName("size")] public double Size { get; @@ -10613,92 +10349,92 @@ public enum ResourceType /// /// Document /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Document")] + [JsonPropertyName("Document")] Document, /// /// Stylesheet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Stylesheet")] + [JsonPropertyName("Stylesheet")] Stylesheet, /// /// Image /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Image")] + [JsonPropertyName("Image")] Image, /// /// Media /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Media")] + [JsonPropertyName("Media")] Media, /// /// Font /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Font")] + [JsonPropertyName("Font")] Font, /// /// Script /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Script")] + [JsonPropertyName("Script")] Script, /// /// TextTrack /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TextTrack")] + [JsonPropertyName("TextTrack")] TextTrack, /// /// XHR /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XHR")] + [JsonPropertyName("XHR")] XHR, /// /// Fetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Fetch")] + [JsonPropertyName("Fetch")] Fetch, /// /// Prefetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Prefetch")] + [JsonPropertyName("Prefetch")] Prefetch, /// /// EventSource /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EventSource")] + [JsonPropertyName("EventSource")] EventSource, /// /// WebSocket /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebSocket")] + [JsonPropertyName("WebSocket")] WebSocket, /// /// Manifest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Manifest")] + [JsonPropertyName("Manifest")] Manifest, /// /// SignedExchange /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SignedExchange")] + [JsonPropertyName("SignedExchange")] SignedExchange, /// /// Ping /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Ping")] + [JsonPropertyName("Ping")] Ping, /// /// CSPViolationReport /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSPViolationReport")] + [JsonPropertyName("CSPViolationReport")] CSPViolationReport, /// /// Preflight /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Preflight")] + [JsonPropertyName("Preflight")] Preflight, /// /// Other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Other")] + [JsonPropertyName("Other")] Other } @@ -10710,72 +10446,72 @@ public enum ErrorReason /// /// Failed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Failed")] + [JsonPropertyName("Failed")] Failed, /// /// Aborted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Aborted")] + [JsonPropertyName("Aborted")] Aborted, /// /// TimedOut /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TimedOut")] + [JsonPropertyName("TimedOut")] TimedOut, /// /// AccessDenied /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AccessDenied")] + [JsonPropertyName("AccessDenied")] AccessDenied, /// /// ConnectionClosed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionClosed")] + [JsonPropertyName("ConnectionClosed")] ConnectionClosed, /// /// ConnectionReset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionReset")] + [JsonPropertyName("ConnectionReset")] ConnectionReset, /// /// ConnectionRefused /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionRefused")] + [JsonPropertyName("ConnectionRefused")] ConnectionRefused, /// /// ConnectionAborted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionAborted")] + [JsonPropertyName("ConnectionAborted")] ConnectionAborted, /// /// ConnectionFailed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionFailed")] + [JsonPropertyName("ConnectionFailed")] ConnectionFailed, /// /// NameNotResolved /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NameNotResolved")] + [JsonPropertyName("NameNotResolved")] NameNotResolved, /// /// InternetDisconnected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InternetDisconnected")] + [JsonPropertyName("InternetDisconnected")] InternetDisconnected, /// /// AddressUnreachable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AddressUnreachable")] + [JsonPropertyName("AddressUnreachable")] AddressUnreachable, /// /// BlockedByClient /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByClient")] + [JsonPropertyName("BlockedByClient")] BlockedByClient, /// /// BlockedByResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByResponse")] + [JsonPropertyName("BlockedByResponse")] BlockedByResponse } @@ -10787,47 +10523,47 @@ public enum ConnectionType /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// cellular2g /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular2g")] + [JsonPropertyName("cellular2g")] Cellular2g, /// /// cellular3g /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular3g")] + [JsonPropertyName("cellular3g")] Cellular3g, /// /// cellular4g /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular4g")] + [JsonPropertyName("cellular4g")] Cellular4g, /// /// bluetooth /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bluetooth")] + [JsonPropertyName("bluetooth")] Bluetooth, /// /// ethernet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ethernet")] + [JsonPropertyName("ethernet")] Ethernet, /// /// wifi /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wifi")] + [JsonPropertyName("wifi")] Wifi, /// /// wimax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wimax")] + [JsonPropertyName("wimax")] Wimax, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -10840,17 +10576,17 @@ public enum CookieSameSite /// /// Strict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Strict")] + [JsonPropertyName("Strict")] Strict, /// /// Lax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Lax")] + [JsonPropertyName("Lax")] Lax, /// /// None /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("None")] + [JsonPropertyName("None")] None } @@ -10863,17 +10599,17 @@ public enum CookiePriority /// /// Low /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Low")] + [JsonPropertyName("Low")] Low, /// /// Medium /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Medium")] + [JsonPropertyName("Medium")] Medium, /// /// High /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("High")] + [JsonPropertyName("High")] High } @@ -10887,17 +10623,17 @@ public enum CookieSourceScheme /// /// Unset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unset")] + [JsonPropertyName("Unset")] Unset, /// /// NonSecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NonSecure")] + [JsonPropertyName("NonSecure")] NonSecure, /// /// Secure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Secure")] + [JsonPropertyName("Secure")] Secure } @@ -10910,7 +10646,7 @@ public partial class ResourceTiming : CefSharp.DevTools.DevToolsDomainEntityBase /// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in /// milliseconds relatively to this requestTime. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestTime")] + [JsonPropertyName("requestTime")] public double RequestTime { get; @@ -10920,7 +10656,7 @@ public double RequestTime /// /// Started resolving proxy. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxyStart")] + [JsonPropertyName("proxyStart")] public double ProxyStart { get; @@ -10930,7 +10666,7 @@ public double ProxyStart /// /// Finished resolving proxy. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxyEnd")] + [JsonPropertyName("proxyEnd")] public double ProxyEnd { get; @@ -10940,7 +10676,7 @@ public double ProxyEnd /// /// Started DNS address resolve. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsStart")] + [JsonPropertyName("dnsStart")] public double DnsStart { get; @@ -10950,7 +10686,7 @@ public double DnsStart /// /// Finished DNS address resolve. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsEnd")] + [JsonPropertyName("dnsEnd")] public double DnsEnd { get; @@ -10960,7 +10696,7 @@ public double DnsEnd /// /// Started connecting to the remote host. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectStart")] + [JsonPropertyName("connectStart")] public double ConnectStart { get; @@ -10970,7 +10706,7 @@ public double ConnectStart /// /// Connected to the remote host. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectEnd")] + [JsonPropertyName("connectEnd")] public double ConnectEnd { get; @@ -10980,7 +10716,7 @@ public double ConnectEnd /// /// Started SSL handshake. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sslStart")] + [JsonPropertyName("sslStart")] public double SslStart { get; @@ -10990,7 +10726,7 @@ public double SslStart /// /// Finished SSL handshake. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sslEnd")] + [JsonPropertyName("sslEnd")] public double SslEnd { get; @@ -11000,7 +10736,7 @@ public double SslEnd /// /// Started running ServiceWorker. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workerStart")] + [JsonPropertyName("workerStart")] public double WorkerStart { get; @@ -11010,7 +10746,7 @@ public double WorkerStart /// /// Finished Starting ServiceWorker. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workerReady")] + [JsonPropertyName("workerReady")] public double WorkerReady { get; @@ -11020,7 +10756,7 @@ public double WorkerReady /// /// Started fetch event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workerFetchStart")] + [JsonPropertyName("workerFetchStart")] public double WorkerFetchStart { get; @@ -11030,7 +10766,7 @@ public double WorkerFetchStart /// /// Settled fetch event respondWith promise. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workerRespondWithSettled")] + [JsonPropertyName("workerRespondWithSettled")] public double WorkerRespondWithSettled { get; @@ -11040,7 +10776,7 @@ public double WorkerRespondWithSettled /// /// Started sending request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sendStart")] + [JsonPropertyName("sendStart")] public double SendStart { get; @@ -11050,7 +10786,7 @@ public double SendStart /// /// Finished sending request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sendEnd")] + [JsonPropertyName("sendEnd")] public double SendEnd { get; @@ -11060,7 +10796,7 @@ public double SendEnd /// /// Time the server started pushing request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pushStart")] + [JsonPropertyName("pushStart")] public double PushStart { get; @@ -11070,7 +10806,7 @@ public double PushStart /// /// Time the server finished pushing request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pushEnd")] + [JsonPropertyName("pushEnd")] public double PushEnd { get; @@ -11080,7 +10816,7 @@ public double PushEnd /// /// Finished receiving response headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("receiveHeadersEnd")] + [JsonPropertyName("receiveHeadersEnd")] public double ReceiveHeadersEnd { get; @@ -11096,27 +10832,27 @@ public enum ResourcePriority /// /// VeryLow /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("VeryLow")] + [JsonPropertyName("VeryLow")] VeryLow, /// /// Low /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Low")] + [JsonPropertyName("Low")] Low, /// /// Medium /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Medium")] + [JsonPropertyName("Medium")] Medium, /// /// High /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("High")] + [JsonPropertyName("High")] High, /// /// VeryHigh /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("VeryHigh")] + [JsonPropertyName("VeryHigh")] VeryHigh } @@ -11128,7 +10864,7 @@ public partial class PostDataEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Bytes /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bytes")] + [JsonPropertyName("bytes")] public byte[] Bytes { get; @@ -11144,42 +10880,42 @@ public enum RequestReferrerPolicy /// /// unsafe-url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unsafe-url")] + [JsonPropertyName("unsafe-url")] UnsafeUrl, /// /// no-referrer-when-downgrade /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("no-referrer-when-downgrade")] + [JsonPropertyName("no-referrer-when-downgrade")] NoReferrerWhenDowngrade, /// /// no-referrer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("no-referrer")] + [JsonPropertyName("no-referrer")] NoReferrer, /// /// origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] Origin, /// /// origin-when-cross-origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin-when-cross-origin")] + [JsonPropertyName("origin-when-cross-origin")] OriginWhenCrossOrigin, /// /// same-origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("same-origin")] + [JsonPropertyName("same-origin")] SameOrigin, /// /// strict-origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("strict-origin")] + [JsonPropertyName("strict-origin")] StrictOrigin, /// /// strict-origin-when-cross-origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("strict-origin-when-cross-origin")] + [JsonPropertyName("strict-origin-when-cross-origin")] StrictOriginWhenCrossOrigin } @@ -11191,7 +10927,7 @@ public partial class Request : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Request URL (without fragment). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -11202,7 +10938,7 @@ public string Url /// /// Fragment of the requested URL starting with hash, if present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urlFragment")] + [JsonPropertyName("urlFragment")] public string UrlFragment { get; @@ -11212,7 +10948,7 @@ public string UrlFragment /// /// HTTP request method. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("method")] + [JsonPropertyName("method")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Method { @@ -11223,7 +10959,7 @@ public string Method /// /// HTTP request headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -11234,7 +10970,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP POST request data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("postData")] + [JsonPropertyName("postData")] public string PostData { get; @@ -11244,7 +10980,7 @@ public string PostData /// /// True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPostData")] + [JsonPropertyName("hasPostData")] public bool? HasPostData { get; @@ -11254,7 +10990,7 @@ public bool? HasPostData /// /// Request body elements. This will be converted from base64 to binary /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("postDataEntries")] + [JsonPropertyName("postDataEntries")] public System.Collections.Generic.IList PostDataEntries { get; @@ -11264,7 +11000,7 @@ public System.Collections.Generic.IList /// /// The mixed content type of the request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentType")] + [JsonPropertyName("mixedContentType")] public CefSharp.DevTools.Security.MixedContentType? MixedContentType { get; @@ -11274,7 +11010,7 @@ public CefSharp.DevTools.Security.MixedContentType? MixedContentType /// /// Priority of the resource request at the time request is sent. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initialPriority")] + [JsonPropertyName("initialPriority")] public CefSharp.DevTools.Network.ResourcePriority InitialPriority { get; @@ -11284,7 +11020,7 @@ public CefSharp.DevTools.Network.ResourcePriority InitialPriority /// /// The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("referrerPolicy")] + [JsonPropertyName("referrerPolicy")] public CefSharp.DevTools.Network.RequestReferrerPolicy ReferrerPolicy { get; @@ -11294,7 +11030,7 @@ public CefSharp.DevTools.Network.RequestReferrerPolicy ReferrerPolicy /// /// Whether is loaded via link preload. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isLinkPreload")] + [JsonPropertyName("isLinkPreload")] public bool? IsLinkPreload { get; @@ -11305,7 +11041,7 @@ public bool? IsLinkPreload /// Set for requests when the TrustToken API is used. Contains the parameters /// passed by the developer (e.g. via "fetch") as understood by the backend. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustTokenParams")] + [JsonPropertyName("trustTokenParams")] public CefSharp.DevTools.Network.TrustTokenParams TrustTokenParams { get; @@ -11316,7 +11052,7 @@ public CefSharp.DevTools.Network.TrustTokenParams TrustTokenParams /// True if this resource request is considered to be the 'same site' as the /// request correspondinfg to the main frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isSameSite")] + [JsonPropertyName("isSameSite")] public bool? IsSameSite { get; @@ -11332,7 +11068,7 @@ public partial class SignedCertificateTimestamp : CefSharp.DevTools.DevToolsDoma /// /// Validation status. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Status { @@ -11343,7 +11079,7 @@ public string Status /// /// Origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -11354,7 +11090,7 @@ public string Origin /// /// Log name / description. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("logDescription")] + [JsonPropertyName("logDescription")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LogDescription { @@ -11365,7 +11101,7 @@ public string LogDescription /// /// Log ID. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("logId")] + [JsonPropertyName("logId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LogId { @@ -11377,7 +11113,7 @@ public string LogId /// Issuance date. Unlike TimeSinceEpoch, this contains the number of /// milliseconds since January 1, 1970, UTC, not the number of seconds. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -11387,7 +11123,7 @@ public double Timestamp /// /// Hash algorithm. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hashAlgorithm")] + [JsonPropertyName("hashAlgorithm")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string HashAlgorithm { @@ -11398,7 +11134,7 @@ public string HashAlgorithm /// /// Signature algorithm. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureAlgorithm")] + [JsonPropertyName("signatureAlgorithm")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SignatureAlgorithm { @@ -11409,7 +11145,7 @@ public string SignatureAlgorithm /// /// Signature data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureData")] + [JsonPropertyName("signatureData")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SignatureData { @@ -11426,7 +11162,7 @@ public partial class SecurityDetails : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Protocol name (e.g. "TLS 1.2" or "QUIC"). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")] + [JsonPropertyName("protocol")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Protocol { @@ -11437,7 +11173,7 @@ public string Protocol /// /// Key Exchange used by the connection, or the empty string if not applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchange")] + [JsonPropertyName("keyExchange")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string KeyExchange { @@ -11448,7 +11184,7 @@ public string KeyExchange /// /// (EC)DH group used by the connection, if applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchangeGroup")] + [JsonPropertyName("keyExchangeGroup")] public string KeyExchangeGroup { get; @@ -11458,7 +11194,7 @@ public string KeyExchangeGroup /// /// Cipher name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cipher")] + [JsonPropertyName("cipher")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Cipher { @@ -11469,7 +11205,7 @@ public string Cipher /// /// TLS MAC. Note that AEAD ciphers do not have separate MACs. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mac")] + [JsonPropertyName("mac")] public string Mac { get; @@ -11479,7 +11215,7 @@ public string Mac /// /// Certificate ID value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateId")] + [JsonPropertyName("certificateId")] public int CertificateId { get; @@ -11489,7 +11225,7 @@ public int CertificateId /// /// Certificate subject name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subjectName")] + [JsonPropertyName("subjectName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SubjectName { @@ -11500,7 +11236,7 @@ public string SubjectName /// /// Subject Alternative Name (SAN) DNS names and IP addresses. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sanList")] + [JsonPropertyName("sanList")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] SanList { @@ -11511,7 +11247,7 @@ public string[] SanList /// /// Name of the issuing CA. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuer")] + [JsonPropertyName("issuer")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Issuer { @@ -11522,7 +11258,7 @@ public string Issuer /// /// Certificate valid from date. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("validFrom")] + [JsonPropertyName("validFrom")] public double ValidFrom { get; @@ -11532,7 +11268,7 @@ public double ValidFrom /// /// Certificate valid to (expiration) date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("validTo")] + [JsonPropertyName("validTo")] public double ValidTo { get; @@ -11542,7 +11278,7 @@ public double ValidTo /// /// List of signed certificate timestamps (SCTs). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signedCertificateTimestampList")] + [JsonPropertyName("signedCertificateTimestampList")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList SignedCertificateTimestampList { @@ -11553,7 +11289,7 @@ public System.Collections.Generic.IList /// Whether the request complied with Certificate Transparency policy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateTransparencyCompliance")] + [JsonPropertyName("certificateTransparencyCompliance")] public CefSharp.DevTools.Network.CertificateTransparencyCompliance CertificateTransparencyCompliance { get; @@ -11565,7 +11301,7 @@ public CefSharp.DevTools.Network.CertificateTransparencyCompliance CertificateTr /// represented as a TLS SignatureScheme code point. Omitted if not /// applicable or not known. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serverSignatureAlgorithm")] + [JsonPropertyName("serverSignatureAlgorithm")] public int? ServerSignatureAlgorithm { get; @@ -11575,7 +11311,7 @@ public int? ServerSignatureAlgorithm /// /// Whether the connection used Encrypted ClientHello /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encryptedClientHello")] + [JsonPropertyName("encryptedClientHello")] public bool EncryptedClientHello { get; @@ -11591,17 +11327,17 @@ public enum CertificateTransparencyCompliance /// /// unknown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")] + [JsonPropertyName("unknown")] Unknown, /// /// not-compliant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("not-compliant")] + [JsonPropertyName("not-compliant")] NotCompliant, /// /// compliant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("compliant")] + [JsonPropertyName("compliant")] Compliant } @@ -11613,62 +11349,62 @@ public enum BlockedReason /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other, /// /// csp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("csp")] + [JsonPropertyName("csp")] Csp, /// /// mixed-content /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mixed-content")] + [JsonPropertyName("mixed-content")] MixedContent, /// /// origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] Origin, /// /// inspector /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inspector")] + [JsonPropertyName("inspector")] Inspector, /// /// subresource-filter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subresource-filter")] + [JsonPropertyName("subresource-filter")] SubresourceFilter, /// /// content-type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("content-type")] + [JsonPropertyName("content-type")] ContentType, /// /// coep-frame-resource-needs-coep-header /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("coep-frame-resource-needs-coep-header")] + [JsonPropertyName("coep-frame-resource-needs-coep-header")] CoepFrameResourceNeedsCoepHeader, /// /// coop-sandboxed-iframe-cannot-navigate-to-coop-page /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("coop-sandboxed-iframe-cannot-navigate-to-coop-page")] + [JsonPropertyName("coop-sandboxed-iframe-cannot-navigate-to-coop-page")] CoopSandboxedIframeCannotNavigateToCoopPage, /// /// corp-not-same-origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-origin")] + [JsonPropertyName("corp-not-same-origin")] CorpNotSameOrigin, /// /// corp-not-same-origin-after-defaulted-to-same-origin-by-coep /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-origin-after-defaulted-to-same-origin-by-coep")] + [JsonPropertyName("corp-not-same-origin-after-defaulted-to-same-origin-by-coep")] CorpNotSameOriginAfterDefaultedToSameOriginByCoep, /// /// corp-not-same-site /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-site")] + [JsonPropertyName("corp-not-same-site")] CorpNotSameSite } @@ -11680,152 +11416,152 @@ public enum CorsError /// /// DisallowedByMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DisallowedByMode")] + [JsonPropertyName("DisallowedByMode")] DisallowedByMode, /// /// InvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidResponse")] + [JsonPropertyName("InvalidResponse")] InvalidResponse, /// /// WildcardOriginNotAllowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WildcardOriginNotAllowed")] + [JsonPropertyName("WildcardOriginNotAllowed")] WildcardOriginNotAllowed, /// /// MissingAllowOriginHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MissingAllowOriginHeader")] + [JsonPropertyName("MissingAllowOriginHeader")] MissingAllowOriginHeader, /// /// MultipleAllowOriginValues /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MultipleAllowOriginValues")] + [JsonPropertyName("MultipleAllowOriginValues")] MultipleAllowOriginValues, /// /// InvalidAllowOriginValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAllowOriginValue")] + [JsonPropertyName("InvalidAllowOriginValue")] InvalidAllowOriginValue, /// /// AllowOriginMismatch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AllowOriginMismatch")] + [JsonPropertyName("AllowOriginMismatch")] AllowOriginMismatch, /// /// InvalidAllowCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAllowCredentials")] + [JsonPropertyName("InvalidAllowCredentials")] InvalidAllowCredentials, /// /// CorsDisabledScheme /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorsDisabledScheme")] + [JsonPropertyName("CorsDisabledScheme")] CorsDisabledScheme, /// /// PreflightInvalidStatus /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightInvalidStatus")] + [JsonPropertyName("PreflightInvalidStatus")] PreflightInvalidStatus, /// /// PreflightDisallowedRedirect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightDisallowedRedirect")] + [JsonPropertyName("PreflightDisallowedRedirect")] PreflightDisallowedRedirect, /// /// PreflightWildcardOriginNotAllowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightWildcardOriginNotAllowed")] + [JsonPropertyName("PreflightWildcardOriginNotAllowed")] PreflightWildcardOriginNotAllowed, /// /// PreflightMissingAllowOriginHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightMissingAllowOriginHeader")] + [JsonPropertyName("PreflightMissingAllowOriginHeader")] PreflightMissingAllowOriginHeader, /// /// PreflightMultipleAllowOriginValues /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightMultipleAllowOriginValues")] + [JsonPropertyName("PreflightMultipleAllowOriginValues")] PreflightMultipleAllowOriginValues, /// /// PreflightInvalidAllowOriginValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightInvalidAllowOriginValue")] + [JsonPropertyName("PreflightInvalidAllowOriginValue")] PreflightInvalidAllowOriginValue, /// /// PreflightAllowOriginMismatch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightAllowOriginMismatch")] + [JsonPropertyName("PreflightAllowOriginMismatch")] PreflightAllowOriginMismatch, /// /// PreflightInvalidAllowCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightInvalidAllowCredentials")] + [JsonPropertyName("PreflightInvalidAllowCredentials")] PreflightInvalidAllowCredentials, /// /// PreflightMissingAllowExternal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightMissingAllowExternal")] + [JsonPropertyName("PreflightMissingAllowExternal")] PreflightMissingAllowExternal, /// /// PreflightInvalidAllowExternal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightInvalidAllowExternal")] + [JsonPropertyName("PreflightInvalidAllowExternal")] PreflightInvalidAllowExternal, /// /// PreflightMissingAllowPrivateNetwork /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightMissingAllowPrivateNetwork")] + [JsonPropertyName("PreflightMissingAllowPrivateNetwork")] PreflightMissingAllowPrivateNetwork, /// /// PreflightInvalidAllowPrivateNetwork /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightInvalidAllowPrivateNetwork")] + [JsonPropertyName("PreflightInvalidAllowPrivateNetwork")] PreflightInvalidAllowPrivateNetwork, /// /// InvalidAllowMethodsPreflightResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAllowMethodsPreflightResponse")] + [JsonPropertyName("InvalidAllowMethodsPreflightResponse")] InvalidAllowMethodsPreflightResponse, /// /// InvalidAllowHeadersPreflightResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAllowHeadersPreflightResponse")] + [JsonPropertyName("InvalidAllowHeadersPreflightResponse")] InvalidAllowHeadersPreflightResponse, /// /// MethodDisallowedByPreflightResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MethodDisallowedByPreflightResponse")] + [JsonPropertyName("MethodDisallowedByPreflightResponse")] MethodDisallowedByPreflightResponse, /// /// HeaderDisallowedByPreflightResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HeaderDisallowedByPreflightResponse")] + [JsonPropertyName("HeaderDisallowedByPreflightResponse")] HeaderDisallowedByPreflightResponse, /// /// RedirectContainsCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RedirectContainsCredentials")] + [JsonPropertyName("RedirectContainsCredentials")] RedirectContainsCredentials, /// /// InsecurePrivateNetwork /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecurePrivateNetwork")] + [JsonPropertyName("InsecurePrivateNetwork")] InsecurePrivateNetwork, /// /// InvalidPrivateNetworkAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidPrivateNetworkAccess")] + [JsonPropertyName("InvalidPrivateNetworkAccess")] InvalidPrivateNetworkAccess, /// /// UnexpectedPrivateNetworkAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnexpectedPrivateNetworkAccess")] + [JsonPropertyName("UnexpectedPrivateNetworkAccess")] UnexpectedPrivateNetworkAccess, /// /// NoCorsRedirectModeNotFollow /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoCorsRedirectModeNotFollow")] + [JsonPropertyName("NoCorsRedirectModeNotFollow")] NoCorsRedirectModeNotFollow } @@ -11837,7 +11573,7 @@ public partial class CorsErrorStatus : CefSharp.DevTools.DevToolsDomainEntityBas /// /// CorsError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corsError")] + [JsonPropertyName("corsError")] public CefSharp.DevTools.Network.CorsError CorsError { get; @@ -11847,7 +11583,7 @@ public CefSharp.DevTools.Network.CorsError CorsError /// /// FailedParameter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("failedParameter")] + [JsonPropertyName("failedParameter")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FailedParameter { @@ -11864,22 +11600,22 @@ public enum ServiceWorkerResponseSource /// /// cache-storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cache-storage")] + [JsonPropertyName("cache-storage")] CacheStorage, /// /// http-cache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("http-cache")] + [JsonPropertyName("http-cache")] HttpCache, /// /// fallback-code /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fallback-code")] + [JsonPropertyName("fallback-code")] FallbackCode, /// /// network /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("network")] + [JsonPropertyName("network")] Network } @@ -11892,12 +11628,12 @@ public enum TrustTokenParamsRefreshPolicy /// /// UseCached /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UseCached")] + [JsonPropertyName("UseCached")] UseCached, /// /// Refresh /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Refresh")] + [JsonPropertyName("Refresh")] Refresh } @@ -11911,7 +11647,7 @@ public partial class TrustTokenParams : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Operation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("operation")] + [JsonPropertyName("operation")] public CefSharp.DevTools.Network.TrustTokenOperationType Operation { get; @@ -11922,7 +11658,7 @@ public CefSharp.DevTools.Network.TrustTokenOperationType Operation /// Only set for "token-redemption" operation and determine whether /// to request a fresh SRR or use a still valid cached SRR. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("refreshPolicy")] + [JsonPropertyName("refreshPolicy")] public CefSharp.DevTools.Network.TrustTokenParamsRefreshPolicy RefreshPolicy { get; @@ -11933,7 +11669,7 @@ public CefSharp.DevTools.Network.TrustTokenParamsRefreshPolicy RefreshPolicy /// Origins of issuers from whom to request tokens or redemption /// records. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuers")] + [JsonPropertyName("issuers")] public string[] Issuers { get; @@ -11949,17 +11685,17 @@ public enum TrustTokenOperationType /// /// Issuance /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Issuance")] + [JsonPropertyName("Issuance")] Issuance, /// /// Redemption /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Redemption")] + [JsonPropertyName("Redemption")] Redemption, /// /// Signing /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Signing")] + [JsonPropertyName("Signing")] Signing } @@ -11971,42 +11707,42 @@ public enum AlternateProtocolUsage /// /// alternativeJobWonWithoutRace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternativeJobWonWithoutRace")] + [JsonPropertyName("alternativeJobWonWithoutRace")] AlternativeJobWonWithoutRace, /// /// alternativeJobWonRace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternativeJobWonRace")] + [JsonPropertyName("alternativeJobWonRace")] AlternativeJobWonRace, /// /// mainJobWonRace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mainJobWonRace")] + [JsonPropertyName("mainJobWonRace")] MainJobWonRace, /// /// mappingMissing /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mappingMissing")] + [JsonPropertyName("mappingMissing")] MappingMissing, /// /// broken /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("broken")] + [JsonPropertyName("broken")] Broken, /// /// dnsAlpnH3JobWonWithoutRace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsAlpnH3JobWonWithoutRace")] + [JsonPropertyName("dnsAlpnH3JobWonWithoutRace")] DnsAlpnH3JobWonWithoutRace, /// /// dnsAlpnH3JobWonRace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsAlpnH3JobWonRace")] + [JsonPropertyName("dnsAlpnH3JobWonRace")] DnsAlpnH3JobWonRace, /// /// unspecifiedReason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unspecifiedReason")] + [JsonPropertyName("unspecifiedReason")] UnspecifiedReason } @@ -12018,7 +11754,7 @@ public partial class Response : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Response URL. This URL can be different from CachedResource.url in case of redirect. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -12029,7 +11765,7 @@ public string Url /// /// HTTP response status code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public int Status { get; @@ -12039,7 +11775,7 @@ public int Status /// /// HTTP response status text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("statusText")] + [JsonPropertyName("statusText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StatusText { @@ -12050,7 +11786,7 @@ public string StatusText /// /// HTTP response headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -12061,7 +11797,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headersText")] + [JsonPropertyName("headersText")] public string HeadersText { get; @@ -12071,7 +11807,7 @@ public string HeadersText /// /// Resource mimeType as determined by the browser. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")] + [JsonPropertyName("mimeType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MimeType { @@ -12082,7 +11818,7 @@ public string MimeType /// /// Refined HTTP request headers that were actually transmitted over the network. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")] + [JsonPropertyName("requestHeaders")] public CefSharp.DevTools.Network.Headers RequestHeaders { get; @@ -12092,7 +11828,7 @@ public CefSharp.DevTools.Network.Headers RequestHeaders /// /// HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeadersText")] + [JsonPropertyName("requestHeadersText")] public string RequestHeadersText { get; @@ -12102,7 +11838,7 @@ public string RequestHeadersText /// /// Specifies whether physical connection was actually reused for this request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectionReused")] + [JsonPropertyName("connectionReused")] public bool ConnectionReused { get; @@ -12112,7 +11848,7 @@ public bool ConnectionReused /// /// Physical connection id that was actually used for this request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectionId")] + [JsonPropertyName("connectionId")] public double ConnectionId { get; @@ -12122,7 +11858,7 @@ public double ConnectionId /// /// Remote IP address. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("remoteIPAddress")] + [JsonPropertyName("remoteIPAddress")] public string RemoteIPAddress { get; @@ -12132,7 +11868,7 @@ public string RemoteIPAddress /// /// Remote port. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("remotePort")] + [JsonPropertyName("remotePort")] public int? RemotePort { get; @@ -12142,7 +11878,7 @@ public int? RemotePort /// /// Specifies that the request was served from the disk cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fromDiskCache")] + [JsonPropertyName("fromDiskCache")] public bool? FromDiskCache { get; @@ -12152,7 +11888,7 @@ public bool? FromDiskCache /// /// Specifies that the request was served from the ServiceWorker. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fromServiceWorker")] + [JsonPropertyName("fromServiceWorker")] public bool? FromServiceWorker { get; @@ -12162,7 +11898,7 @@ public bool? FromServiceWorker /// /// Specifies that the request was served from the prefetch cache. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fromPrefetchCache")] + [JsonPropertyName("fromPrefetchCache")] public bool? FromPrefetchCache { get; @@ -12172,7 +11908,7 @@ public bool? FromPrefetchCache /// /// Total number of bytes received for this request so far. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedDataLength")] + [JsonPropertyName("encodedDataLength")] public double EncodedDataLength { get; @@ -12182,7 +11918,7 @@ public double EncodedDataLength /// /// Timing information for the given request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timing")] + [JsonPropertyName("timing")] public CefSharp.DevTools.Network.ResourceTiming Timing { get; @@ -12192,7 +11928,7 @@ public CefSharp.DevTools.Network.ResourceTiming Timing /// /// Response source of response from ServiceWorker. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serviceWorkerResponseSource")] + [JsonPropertyName("serviceWorkerResponseSource")] public CefSharp.DevTools.Network.ServiceWorkerResponseSource? ServiceWorkerResponseSource { get; @@ -12202,7 +11938,7 @@ public CefSharp.DevTools.Network.ServiceWorkerResponseSource? ServiceWorkerRespo /// /// The time at which the returned response was generated. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseTime")] + [JsonPropertyName("responseTime")] public double? ResponseTime { get; @@ -12212,7 +11948,7 @@ public double? ResponseTime /// /// Cache Storage Cache Name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheStorageCacheName")] + [JsonPropertyName("cacheStorageCacheName")] public string CacheStorageCacheName { get; @@ -12222,7 +11958,7 @@ public string CacheStorageCacheName /// /// Protocol used to fetch this request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")] + [JsonPropertyName("protocol")] public string Protocol { get; @@ -12232,7 +11968,7 @@ public string Protocol /// /// The reason why Chrome uses a specific transport protocol for HTTP semantics. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternateProtocolUsage")] + [JsonPropertyName("alternateProtocolUsage")] public CefSharp.DevTools.Network.AlternateProtocolUsage? AlternateProtocolUsage { get; @@ -12242,7 +11978,7 @@ public CefSharp.DevTools.Network.AlternateProtocolUsage? AlternateProtocolUsage /// /// Security state of the request resource. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")] + [JsonPropertyName("securityState")] public CefSharp.DevTools.Security.SecurityState SecurityState { get; @@ -12252,7 +11988,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Security details for the request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityDetails")] + [JsonPropertyName("securityDetails")] public CefSharp.DevTools.Network.SecurityDetails SecurityDetails { get; @@ -12268,7 +12004,7 @@ public partial class WebSocketRequest : CefSharp.DevTools.DevToolsDomainEntityBa /// /// HTTP request headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -12285,7 +12021,7 @@ public partial class WebSocketResponse : CefSharp.DevTools.DevToolsDomainEntityB /// /// HTTP response status code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public int Status { get; @@ -12295,7 +12031,7 @@ public int Status /// /// HTTP response status text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("statusText")] + [JsonPropertyName("statusText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StatusText { @@ -12306,7 +12042,7 @@ public string StatusText /// /// HTTP response headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -12317,7 +12053,7 @@ public CefSharp.DevTools.Network.Headers Headers /// /// HTTP response headers text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headersText")] + [JsonPropertyName("headersText")] public string HeadersText { get; @@ -12327,7 +12063,7 @@ public string HeadersText /// /// HTTP request headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")] + [JsonPropertyName("requestHeaders")] public CefSharp.DevTools.Network.Headers RequestHeaders { get; @@ -12337,7 +12073,7 @@ public CefSharp.DevTools.Network.Headers RequestHeaders /// /// HTTP request headers text. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeadersText")] + [JsonPropertyName("requestHeadersText")] public string RequestHeadersText { get; @@ -12353,7 +12089,7 @@ public partial class WebSocketFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// WebSocket message opcode. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("opcode")] + [JsonPropertyName("opcode")] public double Opcode { get; @@ -12363,7 +12099,7 @@ public double Opcode /// /// WebSocket message mask. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mask")] + [JsonPropertyName("mask")] public bool Mask { get; @@ -12375,7 +12111,7 @@ public bool Mask /// If the opcode is 1, this is a text message and payloadData is a UTF-8 string. /// If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("payloadData")] + [JsonPropertyName("payloadData")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PayloadData { @@ -12392,7 +12128,7 @@ public partial class CachedResource : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Resource URL. This is the url of the original network request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -12403,7 +12139,7 @@ public string Url /// /// Type of this resource. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.ResourceType Type { get; @@ -12413,7 +12149,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Cached response data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonPropertyName("response")] public CefSharp.DevTools.Network.Response Response { get; @@ -12423,7 +12159,7 @@ public CefSharp.DevTools.Network.Response Response /// /// Cached response body size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bodySize")] + [JsonPropertyName("bodySize")] public double BodySize { get; @@ -12439,32 +12175,32 @@ public enum InitiatorType /// /// parser /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parser")] + [JsonPropertyName("parser")] Parser, /// /// script /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("script")] + [JsonPropertyName("script")] Script, /// /// preload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("preload")] + [JsonPropertyName("preload")] Preload, /// /// SignedExchange /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SignedExchange")] + [JsonPropertyName("SignedExchange")] SignedExchange, /// /// preflight /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("preflight")] + [JsonPropertyName("preflight")] Preflight, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -12476,7 +12212,7 @@ public partial class Initiator : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Type of this initiator. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.InitiatorType Type { get; @@ -12486,7 +12222,7 @@ public CefSharp.DevTools.Network.InitiatorType Type /// /// Initiator JavaScript stack trace, set for Script only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")] + [JsonPropertyName("stack")] public CefSharp.DevTools.Runtime.StackTrace Stack { get; @@ -12496,7 +12232,7 @@ public CefSharp.DevTools.Runtime.StackTrace Stack /// /// Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -12507,7 +12243,7 @@ public string Url /// Initiator line number, set for Parser type or for Script type (when script is importing /// module) (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public double? LineNumber { get; @@ -12518,7 +12254,7 @@ public double? LineNumber /// Initiator column number, set for Parser type or for Script type (when script is importing /// module) (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public double? ColumnNumber { get; @@ -12528,7 +12264,7 @@ public double? ColumnNumber /// /// Set if another request triggered this request (e.g. preflight). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonPropertyName("requestId")] public string RequestId { get; @@ -12544,7 +12280,7 @@ public partial class Cookie : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Cookie name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -12555,7 +12291,7 @@ public string Name /// /// Cookie value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -12566,7 +12302,7 @@ public string Value /// /// Cookie domain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")] + [JsonPropertyName("domain")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Domain { @@ -12577,7 +12313,7 @@ public string Domain /// /// Cookie path. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("path")] + [JsonPropertyName("path")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Path { @@ -12588,7 +12324,7 @@ public string Path /// /// Cookie expiration date as the number of seconds since the UNIX epoch. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")] + [JsonPropertyName("expires")] public double Expires { get; @@ -12598,7 +12334,7 @@ public double Expires /// /// Cookie size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] + [JsonPropertyName("size")] public int Size { get; @@ -12608,7 +12344,7 @@ public int Size /// /// True if cookie is http-only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("httpOnly")] + [JsonPropertyName("httpOnly")] public bool HttpOnly { get; @@ -12618,7 +12354,7 @@ public bool HttpOnly /// /// True if cookie is secure. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")] + [JsonPropertyName("secure")] public bool Secure { get; @@ -12628,7 +12364,7 @@ public bool Secure /// /// True in case of session cookie. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("session")] + [JsonPropertyName("session")] public bool Session { get; @@ -12638,7 +12374,7 @@ public bool Session /// /// Cookie SameSite type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sameSite")] + [JsonPropertyName("sameSite")] public CefSharp.DevTools.Network.CookieSameSite? SameSite { get; @@ -12648,7 +12384,7 @@ public CefSharp.DevTools.Network.CookieSameSite? SameSite /// /// Cookie Priority /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("priority")] + [JsonPropertyName("priority")] public CefSharp.DevTools.Network.CookiePriority Priority { get; @@ -12658,7 +12394,7 @@ public CefSharp.DevTools.Network.CookiePriority Priority /// /// True if cookie is SameParty. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sameParty")] + [JsonPropertyName("sameParty")] public bool SameParty { get; @@ -12668,7 +12404,7 @@ public bool SameParty /// /// Cookie source scheme type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceScheme")] + [JsonPropertyName("sourceScheme")] public CefSharp.DevTools.Network.CookieSourceScheme SourceScheme { get; @@ -12680,7 +12416,7 @@ public CefSharp.DevTools.Network.CookieSourceScheme SourceScheme /// 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. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourcePort")] + [JsonPropertyName("sourcePort")] public int SourcePort { get; @@ -12691,7 +12427,7 @@ public int SourcePort /// 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. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("partitionKey")] + [JsonPropertyName("partitionKey")] public string PartitionKey { get; @@ -12701,7 +12437,7 @@ public string PartitionKey /// /// True if cookie partition key is opaque. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("partitionKeyOpaque")] + [JsonPropertyName("partitionKeyOpaque")] public bool? PartitionKeyOpaque { get; @@ -12717,97 +12453,97 @@ public enum SetCookieBlockedReason /// /// SecureOnly /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureOnly")] + [JsonPropertyName("SecureOnly")] SecureOnly, /// /// SameSiteStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteStrict")] + [JsonPropertyName("SameSiteStrict")] SameSiteStrict, /// /// SameSiteLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteLax")] + [JsonPropertyName("SameSiteLax")] SameSiteLax, /// /// SameSiteUnspecifiedTreatedAsLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteUnspecifiedTreatedAsLax")] + [JsonPropertyName("SameSiteUnspecifiedTreatedAsLax")] SameSiteUnspecifiedTreatedAsLax, /// /// SameSiteNoneInsecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteNoneInsecure")] + [JsonPropertyName("SameSiteNoneInsecure")] SameSiteNoneInsecure, /// /// UserPreferences /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")] + [JsonPropertyName("UserPreferences")] UserPreferences, /// /// ThirdPartyBlockedInFirstPartySet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ThirdPartyBlockedInFirstPartySet")] + [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] ThirdPartyBlockedInFirstPartySet, /// /// SyntaxError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SyntaxError")] + [JsonPropertyName("SyntaxError")] SyntaxError, /// /// SchemeNotSupported /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemeNotSupported")] + [JsonPropertyName("SchemeNotSupported")] SchemeNotSupported, /// /// OverwriteSecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OverwriteSecure")] + [JsonPropertyName("OverwriteSecure")] OverwriteSecure, /// /// InvalidDomain /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidDomain")] + [JsonPropertyName("InvalidDomain")] InvalidDomain, /// /// InvalidPrefix /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidPrefix")] + [JsonPropertyName("InvalidPrefix")] InvalidPrefix, /// /// UnknownError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")] + [JsonPropertyName("UnknownError")] UnknownError, /// /// SchemefulSameSiteStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteStrict")] + [JsonPropertyName("SchemefulSameSiteStrict")] SchemefulSameSiteStrict, /// /// SchemefulSameSiteLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteLax")] + [JsonPropertyName("SchemefulSameSiteLax")] SchemefulSameSiteLax, /// /// SchemefulSameSiteUnspecifiedTreatedAsLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteUnspecifiedTreatedAsLax")] + [JsonPropertyName("SchemefulSameSiteUnspecifiedTreatedAsLax")] SchemefulSameSiteUnspecifiedTreatedAsLax, /// /// SamePartyFromCrossPartyContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SamePartyFromCrossPartyContext")] + [JsonPropertyName("SamePartyFromCrossPartyContext")] SamePartyFromCrossPartyContext, /// /// SamePartyConflictsWithOtherAttributes /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SamePartyConflictsWithOtherAttributes")] + [JsonPropertyName("SamePartyConflictsWithOtherAttributes")] SamePartyConflictsWithOtherAttributes, /// /// NameValuePairExceedsMaxSize /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NameValuePairExceedsMaxSize")] + [JsonPropertyName("NameValuePairExceedsMaxSize")] NameValuePairExceedsMaxSize } @@ -12819,77 +12555,77 @@ public enum CookieBlockedReason /// /// SecureOnly /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureOnly")] + [JsonPropertyName("SecureOnly")] SecureOnly, /// /// NotOnPath /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotOnPath")] + [JsonPropertyName("NotOnPath")] NotOnPath, /// /// DomainMismatch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DomainMismatch")] + [JsonPropertyName("DomainMismatch")] DomainMismatch, /// /// SameSiteStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteStrict")] + [JsonPropertyName("SameSiteStrict")] SameSiteStrict, /// /// SameSiteLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteLax")] + [JsonPropertyName("SameSiteLax")] SameSiteLax, /// /// SameSiteUnspecifiedTreatedAsLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteUnspecifiedTreatedAsLax")] + [JsonPropertyName("SameSiteUnspecifiedTreatedAsLax")] SameSiteUnspecifiedTreatedAsLax, /// /// SameSiteNoneInsecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteNoneInsecure")] + [JsonPropertyName("SameSiteNoneInsecure")] SameSiteNoneInsecure, /// /// UserPreferences /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")] + [JsonPropertyName("UserPreferences")] UserPreferences, /// /// ThirdPartyBlockedInFirstPartySet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ThirdPartyBlockedInFirstPartySet")] + [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] ThirdPartyBlockedInFirstPartySet, /// /// UnknownError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")] + [JsonPropertyName("UnknownError")] UnknownError, /// /// SchemefulSameSiteStrict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteStrict")] + [JsonPropertyName("SchemefulSameSiteStrict")] SchemefulSameSiteStrict, /// /// SchemefulSameSiteLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteLax")] + [JsonPropertyName("SchemefulSameSiteLax")] SchemefulSameSiteLax, /// /// SchemefulSameSiteUnspecifiedTreatedAsLax /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemefulSameSiteUnspecifiedTreatedAsLax")] + [JsonPropertyName("SchemefulSameSiteUnspecifiedTreatedAsLax")] SchemefulSameSiteUnspecifiedTreatedAsLax, /// /// SamePartyFromCrossPartyContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SamePartyFromCrossPartyContext")] + [JsonPropertyName("SamePartyFromCrossPartyContext")] SamePartyFromCrossPartyContext, /// /// NameValuePairExceedsMaxSize /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NameValuePairExceedsMaxSize")] + [JsonPropertyName("NameValuePairExceedsMaxSize")] NameValuePairExceedsMaxSize } @@ -12901,7 +12637,7 @@ public partial class BlockedSetCookieWithReason : CefSharp.DevTools.DevToolsDoma /// /// The reason(s) this cookie was blocked. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedReasons")] + [JsonPropertyName("blockedReasons")] public CefSharp.DevTools.Network.SetCookieBlockedReason[] BlockedReasons { get; @@ -12912,7 +12648,7 @@ public CefSharp.DevTools.Network.SetCookieBlockedReason[] BlockedReasons /// The string representing this individual cookie as it would appear in the header. /// This is not the entire "cookie" or "set-cookie" header which could have multiple cookies. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieLine")] + [JsonPropertyName("cookieLine")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CookieLine { @@ -12925,7 +12661,7 @@ public string CookieLine /// sometimes complete cookie information is not available, such as in the case of parsing /// errors. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")] + [JsonPropertyName("cookie")] public CefSharp.DevTools.Network.Cookie Cookie { get; @@ -12941,7 +12677,7 @@ public partial class BlockedCookieWithReason : CefSharp.DevTools.DevToolsDomainE /// /// The reason(s) the cookie was blocked. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedReasons")] + [JsonPropertyName("blockedReasons")] public CefSharp.DevTools.Network.CookieBlockedReason[] BlockedReasons { get; @@ -12951,7 +12687,7 @@ public CefSharp.DevTools.Network.CookieBlockedReason[] BlockedReasons /// /// The cookie object representing the cookie which was not sent. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")] + [JsonPropertyName("cookie")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Cookie Cookie { @@ -12968,7 +12704,7 @@ public partial class CookieParam : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Cookie name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -12979,7 +12715,7 @@ public string Name /// /// Cookie value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -12991,7 +12727,7 @@ public string Value /// The request-URI to associate with the setting of the cookie. This value can affect the /// default domain, path, source port, and source scheme values of the created cookie. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -13001,7 +12737,7 @@ public string Url /// /// Cookie domain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")] + [JsonPropertyName("domain")] public string Domain { get; @@ -13011,7 +12747,7 @@ public string Domain /// /// Cookie path. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("path")] + [JsonPropertyName("path")] public string Path { get; @@ -13021,7 +12757,7 @@ public string Path /// /// True if cookie is secure. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")] + [JsonPropertyName("secure")] public bool? Secure { get; @@ -13031,7 +12767,7 @@ public bool? Secure /// /// True if cookie is http-only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("httpOnly")] + [JsonPropertyName("httpOnly")] public bool? HttpOnly { get; @@ -13041,7 +12777,7 @@ public bool? HttpOnly /// /// Cookie SameSite type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sameSite")] + [JsonPropertyName("sameSite")] public CefSharp.DevTools.Network.CookieSameSite? SameSite { get; @@ -13051,7 +12787,7 @@ public CefSharp.DevTools.Network.CookieSameSite? SameSite /// /// Cookie expiration date, session cookie if not set /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")] + [JsonPropertyName("expires")] public double? Expires { get; @@ -13061,7 +12797,7 @@ public double? Expires /// /// Cookie Priority. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("priority")] + [JsonPropertyName("priority")] public CefSharp.DevTools.Network.CookiePriority? Priority { get; @@ -13071,7 +12807,7 @@ public CefSharp.DevTools.Network.CookiePriority? Priority /// /// True if cookie is SameParty. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sameParty")] + [JsonPropertyName("sameParty")] public bool? SameParty { get; @@ -13081,7 +12817,7 @@ public bool? SameParty /// /// Cookie source scheme type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceScheme")] + [JsonPropertyName("sourceScheme")] public CefSharp.DevTools.Network.CookieSourceScheme? SourceScheme { get; @@ -13093,7 +12829,7 @@ public CefSharp.DevTools.Network.CookieSourceScheme? SourceScheme /// 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. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourcePort")] + [JsonPropertyName("sourcePort")] public int? SourcePort { get; @@ -13105,7 +12841,7 @@ public int? SourcePort /// of the request to the endpoint that set the cookie. /// If not set, the cookie will be set as not partitioned. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("partitionKey")] + [JsonPropertyName("partitionKey")] public string PartitionKey { get; @@ -13121,12 +12857,12 @@ public enum AuthChallengeSource /// /// Server /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Server")] + [JsonPropertyName("Server")] Server, /// /// Proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Proxy")] + [JsonPropertyName("Proxy")] Proxy } @@ -13138,7 +12874,7 @@ public partial class AuthChallenge : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Source of the authentication challenge. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("source")] + [JsonPropertyName("source")] public CefSharp.DevTools.Network.AuthChallengeSource? Source { get; @@ -13148,7 +12884,7 @@ public CefSharp.DevTools.Network.AuthChallengeSource? Source /// /// Origin of the challenger. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -13159,7 +12895,7 @@ public string Origin /// /// The authentication scheme used, such as basic or digest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scheme")] + [JsonPropertyName("scheme")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Scheme { @@ -13170,7 +12906,7 @@ public string Scheme /// /// The realm of the challenge. May be empty. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("realm")] + [JsonPropertyName("realm")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Realm { @@ -13189,17 +12925,17 @@ public enum AuthChallengeResponseResponse /// /// Default /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Default")] + [JsonPropertyName("Default")] Default, /// /// CancelAuth /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CancelAuth")] + [JsonPropertyName("CancelAuth")] CancelAuth, /// /// ProvideCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ProvideCredentials")] + [JsonPropertyName("ProvideCredentials")] ProvideCredentials } @@ -13213,7 +12949,7 @@ public partial class AuthChallengeResponse : CefSharp.DevTools.DevToolsDomainEnt /// deferring to the default behavior of the net stack, which will likely either the Cancel /// authentication or display a popup dialog box. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonPropertyName("response")] public CefSharp.DevTools.Network.AuthChallengeResponseResponse Response { get; @@ -13224,7 +12960,7 @@ public CefSharp.DevTools.Network.AuthChallengeResponseResponse Response /// The username to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("username")] + [JsonPropertyName("username")] public string Username { get; @@ -13235,7 +12971,7 @@ public string Username /// The password to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("password")] + [JsonPropertyName("password")] public string Password { get; @@ -13252,12 +12988,12 @@ public enum InterceptionStage /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Request")] + [JsonPropertyName("Request")] Request, /// /// HeadersReceived /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HeadersReceived")] + [JsonPropertyName("HeadersReceived")] HeadersReceived } @@ -13270,7 +13006,7 @@ public partial class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase /// Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is /// backslash. Omitting is equivalent to `"*"`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urlPattern")] + [JsonPropertyName("urlPattern")] public string UrlPattern { get; @@ -13280,7 +13016,7 @@ public string UrlPattern /// /// If set, only requests for matching resource types will be intercepted. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Network.ResourceType? ResourceType { get; @@ -13290,7 +13026,7 @@ public CefSharp.DevTools.Network.ResourceType? ResourceType /// /// Stage at which to begin intercepting requests. Default is Request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("interceptionStage")] + [JsonPropertyName("interceptionStage")] public CefSharp.DevTools.Network.InterceptionStage? InterceptionStage { get; @@ -13307,7 +13043,7 @@ public partial class SignedExchangeSignature : CefSharp.DevTools.DevToolsDomainE /// /// Signed exchange signature label. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("label")] + [JsonPropertyName("label")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Label { @@ -13318,7 +13054,7 @@ public string Label /// /// The hex string of signed exchange signature. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signature")] + [JsonPropertyName("signature")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Signature { @@ -13329,7 +13065,7 @@ public string Signature /// /// Signed exchange signature integrity. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("integrity")] + [JsonPropertyName("integrity")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Integrity { @@ -13340,7 +13076,7 @@ public string Integrity /// /// Signed exchange signature cert Url. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certUrl")] + [JsonPropertyName("certUrl")] public string CertUrl { get; @@ -13350,7 +13086,7 @@ public string CertUrl /// /// The hex string of signed exchange signature cert sha256. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certSha256")] + [JsonPropertyName("certSha256")] public string CertSha256 { get; @@ -13360,7 +13096,7 @@ public string CertSha256 /// /// Signed exchange signature validity Url. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("validityUrl")] + [JsonPropertyName("validityUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ValidityUrl { @@ -13371,7 +13107,7 @@ public string ValidityUrl /// /// Signed exchange signature date. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] public int Date { get; @@ -13381,7 +13117,7 @@ public int Date /// /// Signed exchange signature expires. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")] + [JsonPropertyName("expires")] public int Expires { get; @@ -13391,7 +13127,7 @@ public int Expires /// /// The encoded certificates. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificates")] + [JsonPropertyName("certificates")] public string[] Certificates { get; @@ -13408,7 +13144,7 @@ public partial class SignedExchangeHeader : CefSharp.DevTools.DevToolsDomainEnti /// /// Signed exchange request URL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestUrl")] + [JsonPropertyName("requestUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestUrl { @@ -13419,7 +13155,7 @@ public string RequestUrl /// /// Signed exchange response code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseCode")] + [JsonPropertyName("responseCode")] public int ResponseCode { get; @@ -13429,7 +13165,7 @@ public int ResponseCode /// /// Signed exchange response headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")] + [JsonPropertyName("responseHeaders")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers ResponseHeaders { @@ -13440,7 +13176,7 @@ public CefSharp.DevTools.Network.Headers ResponseHeaders /// /// Signed exchange response signature. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatures")] + [JsonPropertyName("signatures")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Signatures { @@ -13451,7 +13187,7 @@ public System.Collections.Generic.IList /// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value> ". /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headerIntegrity")] + [JsonPropertyName("headerIntegrity")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string HeaderIntegrity { @@ -13468,32 +13204,32 @@ public enum SignedExchangeErrorField /// /// signatureSig /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureSig")] + [JsonPropertyName("signatureSig")] SignatureSig, /// /// signatureIntegrity /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureIntegrity")] + [JsonPropertyName("signatureIntegrity")] SignatureIntegrity, /// /// signatureCertUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureCertUrl")] + [JsonPropertyName("signatureCertUrl")] SignatureCertUrl, /// /// signatureCertSha256 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureCertSha256")] + [JsonPropertyName("signatureCertSha256")] SignatureCertSha256, /// /// signatureValidityUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureValidityUrl")] + [JsonPropertyName("signatureValidityUrl")] SignatureValidityUrl, /// /// signatureTimestamps /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureTimestamps")] + [JsonPropertyName("signatureTimestamps")] SignatureTimestamps } @@ -13505,7 +13241,7 @@ public partial class SignedExchangeError : CefSharp.DevTools.DevToolsDomainEntit /// /// Error message. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -13516,7 +13252,7 @@ public string Message /// /// The index of the signature which caused the error. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureIndex")] + [JsonPropertyName("signatureIndex")] public int? SignatureIndex { get; @@ -13526,7 +13262,7 @@ public int? SignatureIndex /// /// The field which caused the error. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorField")] + [JsonPropertyName("errorField")] public CefSharp.DevTools.Network.SignedExchangeErrorField? ErrorField { get; @@ -13542,7 +13278,7 @@ public partial class SignedExchangeInfo : CefSharp.DevTools.DevToolsDomainEntity /// /// The outer response of signed HTTP exchange which was received from network. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("outerResponse")] + [JsonPropertyName("outerResponse")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Response OuterResponse { @@ -13553,7 +13289,7 @@ public CefSharp.DevTools.Network.Response OuterResponse /// /// Information about the signed exchange header. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("header")] + [JsonPropertyName("header")] public CefSharp.DevTools.Network.SignedExchangeHeader Header { get; @@ -13563,7 +13299,7 @@ public CefSharp.DevTools.Network.SignedExchangeHeader Header /// /// Security details for the signed exchange header. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityDetails")] + [JsonPropertyName("securityDetails")] public CefSharp.DevTools.Network.SecurityDetails SecurityDetails { get; @@ -13573,7 +13309,7 @@ public CefSharp.DevTools.Network.SecurityDetails SecurityDetails /// /// Errors occurred while handling the signed exchagne. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errors")] + [JsonPropertyName("errors")] public System.Collections.Generic.IList Errors { get; @@ -13589,17 +13325,17 @@ public enum ContentEncoding /// /// deflate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deflate")] + [JsonPropertyName("deflate")] Deflate, /// /// gzip /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gzip")] + [JsonPropertyName("gzip")] Gzip, /// /// br /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("br")] + [JsonPropertyName("br")] Br } @@ -13611,27 +13347,27 @@ public enum PrivateNetworkRequestPolicy /// /// Allow /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Allow")] + [JsonPropertyName("Allow")] Allow, /// /// BlockFromInsecureToMorePrivate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockFromInsecureToMorePrivate")] + [JsonPropertyName("BlockFromInsecureToMorePrivate")] BlockFromInsecureToMorePrivate, /// /// WarnFromInsecureToMorePrivate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnFromInsecureToMorePrivate")] + [JsonPropertyName("WarnFromInsecureToMorePrivate")] WarnFromInsecureToMorePrivate, /// /// PreflightBlock /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightBlock")] + [JsonPropertyName("PreflightBlock")] PreflightBlock, /// /// PreflightWarn /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightWarn")] + [JsonPropertyName("PreflightWarn")] PreflightWarn } @@ -13643,22 +13379,22 @@ public enum IPAddressSpace /// /// Local /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Local")] + [JsonPropertyName("Local")] Local, /// /// Private /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Private")] + [JsonPropertyName("Private")] Private, /// /// Public /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Public")] + [JsonPropertyName("Public")] Public, /// /// Unknown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unknown")] + [JsonPropertyName("Unknown")] Unknown } @@ -13672,7 +13408,7 @@ public partial class ConnectTiming : CefSharp.DevTools.DevToolsDomainEntityBase /// milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for /// the same request (but not for redirected requests). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestTime")] + [JsonPropertyName("requestTime")] public double RequestTime { get; @@ -13688,7 +13424,7 @@ public partial class ClientSecurityState : CefSharp.DevTools.DevToolsDomainEntit /// /// InitiatorIsSecureContext /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiatorIsSecureContext")] + [JsonPropertyName("initiatorIsSecureContext")] public bool InitiatorIsSecureContext { get; @@ -13698,7 +13434,7 @@ public bool InitiatorIsSecureContext /// /// InitiatorIPAddressSpace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiatorIPAddressSpace")] + [JsonPropertyName("initiatorIPAddressSpace")] public CefSharp.DevTools.Network.IPAddressSpace InitiatorIPAddressSpace { get; @@ -13708,7 +13444,7 @@ public CefSharp.DevTools.Network.IPAddressSpace InitiatorIPAddressSpace /// /// PrivateNetworkRequestPolicy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("privateNetworkRequestPolicy")] + [JsonPropertyName("privateNetworkRequestPolicy")] public CefSharp.DevTools.Network.PrivateNetworkRequestPolicy PrivateNetworkRequestPolicy { get; @@ -13724,32 +13460,32 @@ public enum CrossOriginOpenerPolicyValue /// /// SameOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOrigin")] + [JsonPropertyName("SameOrigin")] SameOrigin, /// /// SameOriginAllowPopups /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOriginAllowPopups")] + [JsonPropertyName("SameOriginAllowPopups")] SameOriginAllowPopups, /// /// RestrictProperties /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RestrictProperties")] + [JsonPropertyName("RestrictProperties")] RestrictProperties, /// /// UnsafeNone /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnsafeNone")] + [JsonPropertyName("UnsafeNone")] UnsafeNone, /// /// SameOriginPlusCoep /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOriginPlusCoep")] + [JsonPropertyName("SameOriginPlusCoep")] SameOriginPlusCoep, /// /// RestrictPropertiesPlusCoep /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RestrictPropertiesPlusCoep")] + [JsonPropertyName("RestrictPropertiesPlusCoep")] RestrictPropertiesPlusCoep } @@ -13761,7 +13497,7 @@ public partial class CrossOriginOpenerPolicyStatus : CefSharp.DevTools.DevToolsD /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue Value { get; @@ -13771,7 +13507,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue Value /// /// ReportOnlyValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyValue")] + [JsonPropertyName("reportOnlyValue")] public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue ReportOnlyValue { get; @@ -13781,7 +13517,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue ReportOnlyValue /// /// ReportingEndpoint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingEndpoint")] + [JsonPropertyName("reportingEndpoint")] public string ReportingEndpoint { get; @@ -13791,7 +13527,7 @@ public string ReportingEndpoint /// /// ReportOnlyReportingEndpoint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyReportingEndpoint")] + [JsonPropertyName("reportOnlyReportingEndpoint")] public string ReportOnlyReportingEndpoint { get; @@ -13807,17 +13543,17 @@ public enum CrossOriginEmbedderPolicyValue /// /// None /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("None")] + [JsonPropertyName("None")] None, /// /// Credentialless /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Credentialless")] + [JsonPropertyName("Credentialless")] Credentialless, /// /// RequireCorp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequireCorp")] + [JsonPropertyName("RequireCorp")] RequireCorp } @@ -13829,7 +13565,7 @@ public partial class CrossOriginEmbedderPolicyStatus : CefSharp.DevTools.DevTool /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue Value { get; @@ -13839,7 +13575,7 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue Value /// /// ReportOnlyValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyValue")] + [JsonPropertyName("reportOnlyValue")] public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue ReportOnlyValue { get; @@ -13849,7 +13585,7 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue ReportOnlyValue /// /// ReportingEndpoint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingEndpoint")] + [JsonPropertyName("reportingEndpoint")] public string ReportingEndpoint { get; @@ -13859,7 +13595,7 @@ public string ReportingEndpoint /// /// ReportOnlyReportingEndpoint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyReportingEndpoint")] + [JsonPropertyName("reportOnlyReportingEndpoint")] public string ReportOnlyReportingEndpoint { get; @@ -13875,7 +13611,7 @@ public partial class SecurityIsolationStatus : CefSharp.DevTools.DevToolsDomainE /// /// Coop /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("coop")] + [JsonPropertyName("coop")] public CefSharp.DevTools.Network.CrossOriginOpenerPolicyStatus Coop { get; @@ -13885,7 +13621,7 @@ public CefSharp.DevTools.Network.CrossOriginOpenerPolicyStatus Coop /// /// Coep /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("coep")] + [JsonPropertyName("coep")] public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyStatus Coep { get; @@ -13901,22 +13637,22 @@ public enum ReportStatus /// /// Queued /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Queued")] + [JsonPropertyName("Queued")] Queued, /// /// Pending /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Pending")] + [JsonPropertyName("Pending")] Pending, /// /// MarkedForRemoval /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MarkedForRemoval")] + [JsonPropertyName("MarkedForRemoval")] MarkedForRemoval, /// /// Success /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Success")] + [JsonPropertyName("Success")] Success } @@ -13928,7 +13664,7 @@ public partial class ReportingApiReport : CefSharp.DevTools.DevToolsDomainEntity /// /// Id /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -13939,7 +13675,7 @@ public string Id /// /// The URL of the document that triggered the report. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiatorUrl")] + [JsonPropertyName("initiatorUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InitiatorUrl { @@ -13950,7 +13686,7 @@ public string InitiatorUrl /// /// The name of the endpoint group that should be used to deliver the report. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destination")] + [JsonPropertyName("destination")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Destination { @@ -13961,7 +13697,7 @@ public string Destination /// /// The type of the report (specifies the set of data that is contained in the report body). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Type { @@ -13972,7 +13708,7 @@ public string Type /// /// When the report was generated. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -13982,7 +13718,7 @@ public double Timestamp /// /// How many uploads deep the related request was. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("depth")] + [JsonPropertyName("depth")] public int Depth { get; @@ -13992,7 +13728,7 @@ public int Depth /// /// The number of delivery attempts made so far, not including an active attempt. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("completedAttempts")] + [JsonPropertyName("completedAttempts")] public int CompletedAttempts { get; @@ -14002,7 +13738,7 @@ public int CompletedAttempts /// /// Body /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonPropertyName("body")] [System.Diagnostics.CodeAnalysis.DisallowNull] public object Body { @@ -14013,7 +13749,7 @@ public object Body /// /// Status /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public CefSharp.DevTools.Network.ReportStatus Status { get; @@ -14029,7 +13765,7 @@ public partial class ReportingApiEndpoint : CefSharp.DevTools.DevToolsDomainEnti /// /// The URL of the endpoint to which reports may be delivered. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -14040,7 +13776,7 @@ public string Url /// /// Name of the endpoint group. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("groupName")] + [JsonPropertyName("groupName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string GroupName { @@ -14057,7 +13793,7 @@ public partial class LoadNetworkResourcePageResult : CefSharp.DevTools.DevToolsD /// /// Success /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("success")] + [JsonPropertyName("success")] public bool Success { get; @@ -14067,7 +13803,7 @@ public bool Success /// /// Optional values used for error reporting. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("netError")] + [JsonPropertyName("netError")] public double? NetError { get; @@ -14077,7 +13813,7 @@ public double? NetError /// /// NetErrorName /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("netErrorName")] + [JsonPropertyName("netErrorName")] public string NetErrorName { get; @@ -14087,7 +13823,7 @@ public string NetErrorName /// /// HttpStatusCode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("httpStatusCode")] + [JsonPropertyName("httpStatusCode")] public double? HttpStatusCode { get; @@ -14097,7 +13833,7 @@ public double? HttpStatusCode /// /// If successful, one of the following two fields holds the result. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")] + [JsonPropertyName("stream")] public string Stream { get; @@ -14107,7 +13843,7 @@ public string Stream /// /// Response headers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonPropertyName("headers")] public CefSharp.DevTools.Network.Headers Headers { get; @@ -14124,7 +13860,7 @@ public partial class LoadNetworkResourceOptions : CefSharp.DevTools.DevToolsDoma /// /// DisableCache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disableCache")] + [JsonPropertyName("disableCache")] public bool DisableCache { get; @@ -14134,7 +13870,7 @@ public bool DisableCache /// /// IncludeCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("includeCredentials")] + [JsonPropertyName("includeCredentials")] public bool IncludeCredentials { get; @@ -14150,8 +13886,8 @@ public class DataReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14162,8 +13898,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14173,8 +13909,8 @@ public double Timestamp /// /// Data chunk length. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataLength")] + [JsonInclude] + [JsonPropertyName("dataLength")] public int DataLength { get; @@ -14184,8 +13920,8 @@ public int DataLength /// /// Actual bytes received (might be less than dataLength for compressed encodings). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedDataLength")] + [JsonInclude] + [JsonPropertyName("encodedDataLength")] public int EncodedDataLength { get; @@ -14201,8 +13937,8 @@ public class EventSourceMessageReceivedEventArgs : CefSharp.DevTools.DevToolsDom /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14213,8 +13949,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14224,8 +13960,8 @@ public double Timestamp /// /// Message type. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventName")] + [JsonInclude] + [JsonPropertyName("eventName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string EventName { @@ -14236,8 +13972,8 @@ public string EventName /// /// Message identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventId")] + [JsonInclude] + [JsonPropertyName("eventId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string EventId { @@ -14248,8 +13984,8 @@ public string EventId /// /// Message content. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Data { @@ -14266,8 +14002,8 @@ public class LoadingFailedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14278,8 +14014,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14289,8 +14025,8 @@ public double Timestamp /// /// Resource type. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.ResourceType Type { get; @@ -14300,8 +14036,8 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// User friendly error message. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorText")] + [JsonInclude] + [JsonPropertyName("errorText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorText { @@ -14312,8 +14048,8 @@ public string ErrorText /// /// True if loading was canceled. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canceled")] + [JsonInclude] + [JsonPropertyName("canceled")] public bool? Canceled { get; @@ -14323,8 +14059,8 @@ public bool? Canceled /// /// The reason why loading was blocked, if any. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedReason")] + [JsonInclude] + [JsonPropertyName("blockedReason")] public CefSharp.DevTools.Network.BlockedReason? BlockedReason { get; @@ -14334,8 +14070,8 @@ public CefSharp.DevTools.Network.BlockedReason? BlockedReason /// /// The reason why loading was blocked by CORS, if any. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("corsErrorStatus")] + [JsonInclude] + [JsonPropertyName("corsErrorStatus")] public CefSharp.DevTools.Network.CorsErrorStatus CorsErrorStatus { get; @@ -14351,8 +14087,8 @@ public class LoadingFinishedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14363,8 +14099,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14374,8 +14110,8 @@ public double Timestamp /// /// Total number of bytes received for this request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedDataLength")] + [JsonInclude] + [JsonPropertyName("encodedDataLength")] public double EncodedDataLength { get; @@ -14386,8 +14122,8 @@ public double EncodedDataLength /// Set when 1) response was blocked by Cross-Origin Read Blocking and also /// 2) this needs to be reported to the DevTools console. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shouldReportCorbBlocking")] + [JsonInclude] + [JsonPropertyName("shouldReportCorbBlocking")] public bool? ShouldReportCorbBlocking { get; @@ -14407,8 +14143,8 @@ public class RequestInterceptedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// while processing that fetch, they will be reported with the same id as the original fetch. /// Likewise if HTTP authentication is needed then the same fetch id will be used. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("interceptionId")] + [JsonInclude] + [JsonPropertyName("interceptionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InterceptionId { @@ -14419,8 +14155,8 @@ public string InterceptionId /// /// Request /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonInclude] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Request Request { @@ -14431,8 +14167,8 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -14443,8 +14179,8 @@ public string FrameId /// /// How the requested resource will be used. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonInclude] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Network.ResourceType ResourceType { get; @@ -14454,8 +14190,8 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// /// Whether this is a navigation request, which can abort the navigation completely. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isNavigationRequest")] + [JsonInclude] + [JsonPropertyName("isNavigationRequest")] public bool IsNavigationRequest { get; @@ -14466,8 +14202,8 @@ public bool IsNavigationRequest /// Set if the request is a navigation that will result in a download. /// Only present after response is received from the server (i.e. HeadersReceived stage). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isDownload")] + [JsonInclude] + [JsonPropertyName("isDownload")] public bool? IsDownload { get; @@ -14477,8 +14213,8 @@ public bool? IsDownload /// /// Redirect location, only sent if a redirect was intercepted. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("redirectUrl")] + [JsonInclude] + [JsonPropertyName("redirectUrl")] public string RedirectUrl { get; @@ -14489,8 +14225,8 @@ public string RedirectUrl /// Details of the Authorization Challenge encountered. If this is set then /// continueInterceptedRequest must contain an authChallengeResponse. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("authChallenge")] + [JsonInclude] + [JsonPropertyName("authChallenge")] public CefSharp.DevTools.Network.AuthChallenge AuthChallenge { get; @@ -14501,8 +14237,8 @@ public CefSharp.DevTools.Network.AuthChallenge AuthChallenge /// Response error if intercepted at response stage or if redirect occurred while intercepting /// request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseErrorReason")] + [JsonInclude] + [JsonPropertyName("responseErrorReason")] public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason { get; @@ -14513,8 +14249,8 @@ public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason /// Response code if intercepted at response stage or if redirect occurred while intercepting /// request or auth retry occurred. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatusCode")] + [JsonInclude] + [JsonPropertyName("responseStatusCode")] public int? ResponseStatusCode { get; @@ -14525,8 +14261,8 @@ public int? ResponseStatusCode /// Response headers if intercepted at the response stage or if redirect occurred while /// intercepting request or auth retry occurred. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")] + [JsonInclude] + [JsonPropertyName("responseHeaders")] public CefSharp.DevTools.Network.Headers ResponseHeaders { get; @@ -14537,8 +14273,8 @@ public CefSharp.DevTools.Network.Headers ResponseHeaders /// If the intercepted request had a corresponding requestWillBeSent event fired for it, then /// this requestId will be the same as the requestId present in the requestWillBeSent event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] public string RequestId { get; @@ -14554,8 +14290,8 @@ public class RequestServedFromCacheEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14572,8 +14308,8 @@ public class RequestWillBeSentEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14584,8 +14320,8 @@ public string RequestId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonInclude] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -14596,8 +14332,8 @@ public string LoaderId /// /// URL of the document this request is loaded for. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")] + [JsonInclude] + [JsonPropertyName("documentURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DocumentURL { @@ -14608,8 +14344,8 @@ public string DocumentURL /// /// Request data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonInclude] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Request Request { @@ -14620,8 +14356,8 @@ public CefSharp.DevTools.Network.Request Request /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14631,8 +14367,8 @@ public double Timestamp /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wallTime")] + [JsonInclude] + [JsonPropertyName("wallTime")] public double WallTime { get; @@ -14642,8 +14378,8 @@ public double WallTime /// /// Request initiator. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiator")] + [JsonInclude] + [JsonPropertyName("initiator")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Initiator Initiator { @@ -14656,8 +14392,8 @@ public CefSharp.DevTools.Network.Initiator Initiator /// requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted /// for the request which was just redirected. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("redirectHasExtraInfo")] + [JsonInclude] + [JsonPropertyName("redirectHasExtraInfo")] public bool RedirectHasExtraInfo { get; @@ -14667,8 +14403,8 @@ public bool RedirectHasExtraInfo /// /// Redirect response data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("redirectResponse")] + [JsonInclude] + [JsonPropertyName("redirectResponse")] public CefSharp.DevTools.Network.Response RedirectResponse { get; @@ -14678,8 +14414,8 @@ public CefSharp.DevTools.Network.Response RedirectResponse /// /// Type of this resource. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.ResourceType? Type { get; @@ -14689,8 +14425,8 @@ public CefSharp.DevTools.Network.ResourceType? Type /// /// Frame identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -14700,8 +14436,8 @@ public string FrameId /// /// Whether the request is initiated by a user gesture. Defaults to false. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasUserGesture")] + [JsonInclude] + [JsonPropertyName("hasUserGesture")] public bool? HasUserGesture { get; @@ -14717,8 +14453,8 @@ public class ResourceChangedPriorityEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14729,8 +14465,8 @@ public string RequestId /// /// New priority /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("newPriority")] + [JsonInclude] + [JsonPropertyName("newPriority")] public CefSharp.DevTools.Network.ResourcePriority NewPriority { get; @@ -14740,8 +14476,8 @@ public CefSharp.DevTools.Network.ResourcePriority NewPriority /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14757,8 +14493,8 @@ public class SignedExchangeReceivedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14769,8 +14505,8 @@ public string RequestId /// /// Information about the signed exchange response. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("info")] + [JsonInclude] + [JsonPropertyName("info")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.SignedExchangeInfo Info { @@ -14787,8 +14523,8 @@ public class ResponseReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14799,8 +14535,8 @@ public string RequestId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonInclude] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -14811,8 +14547,8 @@ public string LoaderId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14822,8 +14558,8 @@ public double Timestamp /// /// Resource type. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.ResourceType Type { get; @@ -14833,8 +14569,8 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Response data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonInclude] + [JsonPropertyName("response")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Response Response { @@ -14846,8 +14582,8 @@ public CefSharp.DevTools.Network.Response Response /// Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be /// or were emitted for this request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasExtraInfo")] + [JsonInclude] + [JsonPropertyName("hasExtraInfo")] public bool HasExtraInfo { get; @@ -14857,8 +14593,8 @@ public bool HasExtraInfo /// /// Frame identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -14874,8 +14610,8 @@ public class WebSocketClosedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14886,8 +14622,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14903,8 +14639,8 @@ public class WebSocketCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14915,8 +14651,8 @@ public string RequestId /// /// WebSocket request URL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -14927,8 +14663,8 @@ public string Url /// /// Request initiator. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiator")] + [JsonInclude] + [JsonPropertyName("initiator")] public CefSharp.DevTools.Network.Initiator Initiator { get; @@ -14944,8 +14680,8 @@ public class WebSocketFrameErrorEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14956,8 +14692,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -14967,8 +14703,8 @@ public double Timestamp /// /// WebSocket error message. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")] + [JsonInclude] + [JsonPropertyName("errorMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorMessage { @@ -14985,8 +14721,8 @@ public class WebSocketFrameReceivedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -14997,8 +14733,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15008,8 +14744,8 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonInclude] + [JsonPropertyName("response")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.WebSocketFrame Response { @@ -15026,8 +14762,8 @@ public class WebSocketFrameSentEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15038,8 +14774,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15049,8 +14785,8 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonInclude] + [JsonPropertyName("response")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.WebSocketFrame Response { @@ -15067,8 +14803,8 @@ public class WebSocketHandshakeResponseReceivedEventArgs : CefSharp.DevTools.Dev /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15079,8 +14815,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15090,8 +14826,8 @@ public double Timestamp /// /// WebSocket response data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonInclude] + [JsonPropertyName("response")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.WebSocketResponse Response { @@ -15108,8 +14844,8 @@ public class WebSocketWillSendHandshakeRequestEventArgs : CefSharp.DevTools.DevT /// /// Request identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15120,8 +14856,8 @@ public string RequestId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15131,8 +14867,8 @@ public double Timestamp /// /// UTC Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wallTime")] + [JsonInclude] + [JsonPropertyName("wallTime")] public double WallTime { get; @@ -15142,8 +14878,8 @@ public double WallTime /// /// WebSocket request data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonInclude] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.WebSocketRequest Request { @@ -15160,8 +14896,8 @@ public class WebTransportCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// WebTransport identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transportId")] + [JsonInclude] + [JsonPropertyName("transportId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TransportId { @@ -15172,8 +14908,8 @@ public string TransportId /// /// WebTransport request URL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -15184,8 +14920,8 @@ public string Url /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15195,8 +14931,8 @@ public double Timestamp /// /// Request initiator. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiator")] + [JsonInclude] + [JsonPropertyName("initiator")] public CefSharp.DevTools.Network.Initiator Initiator { get; @@ -15212,8 +14948,8 @@ public class WebTransportConnectionEstablishedEventArgs : CefSharp.DevTools.DevT /// /// WebTransport identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transportId")] + [JsonInclude] + [JsonPropertyName("transportId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TransportId { @@ -15224,8 +14960,8 @@ public string TransportId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15241,8 +14977,8 @@ public class WebTransportClosedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// WebTransport identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transportId")] + [JsonInclude] + [JsonPropertyName("transportId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TransportId { @@ -15253,8 +14989,8 @@ public string TransportId /// /// Timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -15273,8 +15009,8 @@ public class RequestWillBeSentExtraInfoEventArgs : CefSharp.DevTools.DevToolsDom /// /// Request identifier. Used to match this information to an existing requestWillBeSent event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15286,8 +15022,8 @@ public string RequestId /// A list of cookies potentially associated to the requested URL. This includes both cookies sent with /// the request and the ones not sent; the latter are distinguished by having blockedReason field set. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("associatedCookies")] + [JsonInclude] + [JsonPropertyName("associatedCookies")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList AssociatedCookies { @@ -15298,8 +15034,8 @@ public System.Collections.Generic.IList /// Raw request headers as they will be sent over the wire. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonInclude] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -15310,8 +15046,8 @@ public CefSharp.DevTools.Network.Headers Headers /// /// Connection timing information for the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectTiming")] + [JsonInclude] + [JsonPropertyName("connectTiming")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.ConnectTiming ConnectTiming { @@ -15322,8 +15058,8 @@ public CefSharp.DevTools.Network.ConnectTiming ConnectTiming /// /// The client security state set for the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientSecurityState")] + [JsonInclude] + [JsonPropertyName("clientSecurityState")] public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState { get; @@ -15333,8 +15069,8 @@ public CefSharp.DevTools.Network.ClientSecurityState ClientSecurityState /// /// Whether the site has partitioned cookies stored in a partition different than the current one. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("siteHasCookieInOtherPartition")] + [JsonInclude] + [JsonPropertyName("siteHasCookieInOtherPartition")] public bool? SiteHasCookieInOtherPartition { get; @@ -15352,8 +15088,8 @@ public class ResponseReceivedExtraInfoEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Request identifier. Used to match this information to another responseReceived event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15366,8 +15102,8 @@ public string RequestId /// reasons for blocking. The cookies here may not be valid due to syntax errors, which /// are represented by the invalid cookie line string instead of a proper cookie. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedCookies")] + [JsonInclude] + [JsonPropertyName("blockedCookies")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList BlockedCookies { @@ -15378,8 +15114,8 @@ public System.Collections.Generic.IList /// Raw response headers as they were received over the wire. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")] + [JsonInclude] + [JsonPropertyName("headers")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Headers Headers { @@ -15391,8 +15127,8 @@ public CefSharp.DevTools.Network.Headers Headers /// The IP address space of the resource. The address space can only be determined once the transport /// established the connection, so we can't send it in `requestWillBeSentExtraInfo`. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceIPAddressSpace")] + [JsonInclude] + [JsonPropertyName("resourceIPAddressSpace")] public CefSharp.DevTools.Network.IPAddressSpace ResourceIPAddressSpace { get; @@ -15404,8 +15140,8 @@ public CefSharp.DevTools.Network.IPAddressSpace ResourceIPAddressSpace /// event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code /// for cached requests, where the status in responseReceived is a 200 and this will be 304. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("statusCode")] + [JsonInclude] + [JsonPropertyName("statusCode")] public int StatusCode { get; @@ -15416,8 +15152,8 @@ public int StatusCode /// Raw response header text as it was received over the wire. The raw text may not always be /// available, such as in the case of HTTP/2 or QUIC. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("headersText")] + [JsonInclude] + [JsonPropertyName("headersText")] public string HeadersText { get; @@ -15428,8 +15164,8 @@ public string HeadersText /// The cookie partition key that will be used to store partitioned cookies set in this response. /// Only sent when partitioned cookies are enabled. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookiePartitionKey")] + [JsonInclude] + [JsonPropertyName("cookiePartitionKey")] public string CookiePartitionKey { get; @@ -15439,8 +15175,8 @@ public string CookiePartitionKey /// /// True if partitioned cookies are enabled, but the partition key is not serializeable to string. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookiePartitionKeyOpaque")] + [JsonInclude] + [JsonPropertyName("cookiePartitionKeyOpaque")] public bool? CookiePartitionKeyOpaque { get; @@ -15459,57 +15195,57 @@ public enum TrustTokenOperationDoneStatus /// /// Ok /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Ok")] + [JsonPropertyName("Ok")] Ok, /// /// InvalidArgument /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidArgument")] + [JsonPropertyName("InvalidArgument")] InvalidArgument, /// /// FailedPrecondition /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FailedPrecondition")] + [JsonPropertyName("FailedPrecondition")] FailedPrecondition, /// /// ResourceExhausted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ResourceExhausted")] + [JsonPropertyName("ResourceExhausted")] ResourceExhausted, /// /// AlreadyExists /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AlreadyExists")] + [JsonPropertyName("AlreadyExists")] AlreadyExists, /// /// Unavailable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unavailable")] + [JsonPropertyName("Unavailable")] Unavailable, /// /// Unauthorized /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unauthorized")] + [JsonPropertyName("Unauthorized")] Unauthorized, /// /// BadResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BadResponse")] + [JsonPropertyName("BadResponse")] BadResponse, /// /// InternalError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InternalError")] + [JsonPropertyName("InternalError")] InternalError, /// /// UnknownError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")] + [JsonPropertyName("UnknownError")] UnknownError, /// /// FulfilledLocally /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FulfilledLocally")] + [JsonPropertyName("FulfilledLocally")] FulfilledLocally } @@ -15527,8 +15263,8 @@ public class TrustTokenOperationDoneEventArgs : CefSharp.DevTools.DevToolsDomain /// of the operation already exists und thus, the operation was abort /// preemptively (e.g. a cache hit). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonInclude] + [JsonPropertyName("status")] public CefSharp.DevTools.Network.TrustTokenOperationDoneStatus Status { get; @@ -15538,8 +15274,8 @@ public CefSharp.DevTools.Network.TrustTokenOperationDoneStatus Status /// /// Type /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.TrustTokenOperationType Type { get; @@ -15549,8 +15285,8 @@ public CefSharp.DevTools.Network.TrustTokenOperationType Type /// /// RequestId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15561,8 +15297,8 @@ public string RequestId /// /// Top level origin. The context in which the operation was attempted. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("topLevelOrigin")] + [JsonInclude] + [JsonPropertyName("topLevelOrigin")] public string TopLevelOrigin { get; @@ -15572,8 +15308,8 @@ public string TopLevelOrigin /// /// Origin of the issuer in case of a "Issuance" or "Redemption" operation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuerOrigin")] + [JsonInclude] + [JsonPropertyName("issuerOrigin")] public string IssuerOrigin { get; @@ -15583,8 +15319,8 @@ public string IssuerOrigin /// /// The number of obtained Trust Tokens on a successful "Issuance" operation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuedTokenCount")] + [JsonInclude] + [JsonPropertyName("issuedTokenCount")] public int? IssuedTokenCount { get; @@ -15601,8 +15337,8 @@ public class SubresourceWebBundleMetadataReceivedEventArgs : CefSharp.DevTools.D /// /// Request identifier. Used to match this information to another event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15613,8 +15349,8 @@ public string RequestId /// /// A list of URLs of resources in the subresource Web Bundle. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urls")] + [JsonInclude] + [JsonPropertyName("urls")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Urls { @@ -15631,8 +15367,8 @@ public class SubresourceWebBundleMetadataErrorEventArgs : CefSharp.DevTools.DevT /// /// Request identifier. Used to match this information to another event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -15643,8 +15379,8 @@ public string RequestId /// /// Error message /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")] + [JsonInclude] + [JsonPropertyName("errorMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorMessage { @@ -15662,8 +15398,8 @@ public class SubresourceWebBundleInnerResponseParsedEventArgs : CefSharp.DevTool /// /// Request identifier of the subresource request /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestId")] + [JsonInclude] + [JsonPropertyName("innerRequestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InnerRequestId { @@ -15674,8 +15410,8 @@ public string InnerRequestId /// /// URL of the subresource resource. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestURL")] + [JsonInclude] + [JsonPropertyName("innerRequestURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InnerRequestURL { @@ -15688,8 +15424,8 @@ public string InnerRequestURL /// This made be absent in case when the instrumentation was enabled only /// after webbundle was parsed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bundleRequestId")] + [JsonInclude] + [JsonPropertyName("bundleRequestId")] public string BundleRequestId { get; @@ -15705,8 +15441,8 @@ public class SubresourceWebBundleInnerResponseErrorEventArgs : CefSharp.DevTools /// /// Request identifier of the subresource request /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestId")] + [JsonInclude] + [JsonPropertyName("innerRequestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InnerRequestId { @@ -15717,8 +15453,8 @@ public string InnerRequestId /// /// URL of the subresource resource. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestURL")] + [JsonInclude] + [JsonPropertyName("innerRequestURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InnerRequestURL { @@ -15729,8 +15465,8 @@ public string InnerRequestURL /// /// Error message /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")] + [JsonInclude] + [JsonPropertyName("errorMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorMessage { @@ -15743,8 +15479,8 @@ public string ErrorMessage /// This made be absent in case when the instrumentation was enabled only /// after webbundle was parsed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bundleRequestId")] + [JsonInclude] + [JsonPropertyName("bundleRequestId")] public string BundleRequestId { get; @@ -15761,8 +15497,8 @@ public class ReportingApiReportAddedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Report /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("report")] + [JsonInclude] + [JsonPropertyName("report")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.ReportingApiReport Report { @@ -15779,8 +15515,8 @@ public class ReportingApiReportUpdatedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Report /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("report")] + [JsonInclude] + [JsonPropertyName("report")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.ReportingApiReport Report { @@ -15797,8 +15533,8 @@ public class ReportingApiEndpointsChangedForOriginEventArgs : CefSharp.DevTools. /// /// Origin of the document(s) which configured the endpoints. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonInclude] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -15809,8 +15545,8 @@ public string Origin /// /// Endpoints /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endpoints")] + [JsonInclude] + [JsonPropertyName("endpoints")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Endpoints { @@ -15830,7 +15566,7 @@ public partial class SourceOrderConfig : CefSharp.DevTools.DevToolsDomainEntityB /// /// the color to outline the givent element in. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentOutlineColor")] + [JsonPropertyName("parentOutlineColor")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.RGBA ParentOutlineColor { @@ -15841,7 +15577,7 @@ public CefSharp.DevTools.DOM.RGBA ParentOutlineColor /// /// the color to outline the child elements in. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childOutlineColor")] + [JsonPropertyName("childOutlineColor")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.RGBA ChildOutlineColor { @@ -15858,7 +15594,7 @@ public partial class GridHighlightConfig : CefSharp.DevTools.DevToolsDomainEntit /// /// Whether the extension lines from grid cells to the rulers should be shown (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showGridExtensionLines")] + [JsonPropertyName("showGridExtensionLines")] public bool? ShowGridExtensionLines { get; @@ -15868,7 +15604,7 @@ public bool? ShowGridExtensionLines /// /// Show Positive line number labels (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showPositiveLineNumbers")] + [JsonPropertyName("showPositiveLineNumbers")] public bool? ShowPositiveLineNumbers { get; @@ -15878,7 +15614,7 @@ public bool? ShowPositiveLineNumbers /// /// Show Negative line number labels (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showNegativeLineNumbers")] + [JsonPropertyName("showNegativeLineNumbers")] public bool? ShowNegativeLineNumbers { get; @@ -15888,7 +15624,7 @@ public bool? ShowNegativeLineNumbers /// /// Show area name labels (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showAreaNames")] + [JsonPropertyName("showAreaNames")] public bool? ShowAreaNames { get; @@ -15898,7 +15634,7 @@ public bool? ShowAreaNames /// /// Show line name labels (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showLineNames")] + [JsonPropertyName("showLineNames")] public bool? ShowLineNames { get; @@ -15908,7 +15644,7 @@ public bool? ShowLineNames /// /// Show track size labels (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showTrackSizes")] + [JsonPropertyName("showTrackSizes")] public bool? ShowTrackSizes { get; @@ -15918,7 +15654,7 @@ public bool? ShowTrackSizes /// /// The grid container border highlight color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBorderColor")] + [JsonPropertyName("gridBorderColor")] public CefSharp.DevTools.DOM.RGBA GridBorderColor { get; @@ -15928,7 +15664,7 @@ public CefSharp.DevTools.DOM.RGBA GridBorderColor /// /// The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cellBorderColor")] + [JsonPropertyName("cellBorderColor")] public CefSharp.DevTools.DOM.RGBA CellBorderColor { get; @@ -15938,7 +15674,7 @@ public CefSharp.DevTools.DOM.RGBA CellBorderColor /// /// The row line color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rowLineColor")] + [JsonPropertyName("rowLineColor")] public CefSharp.DevTools.DOM.RGBA RowLineColor { get; @@ -15948,7 +15684,7 @@ public CefSharp.DevTools.DOM.RGBA RowLineColor /// /// The column line color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnLineColor")] + [JsonPropertyName("columnLineColor")] public CefSharp.DevTools.DOM.RGBA ColumnLineColor { get; @@ -15958,7 +15694,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnLineColor /// /// Whether the grid border is dashed (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBorderDash")] + [JsonPropertyName("gridBorderDash")] public bool? GridBorderDash { get; @@ -15968,7 +15704,7 @@ public bool? GridBorderDash /// /// Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cellBorderDash")] + [JsonPropertyName("cellBorderDash")] public bool? CellBorderDash { get; @@ -15978,7 +15714,7 @@ public bool? CellBorderDash /// /// Whether row lines are dashed (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rowLineDash")] + [JsonPropertyName("rowLineDash")] public bool? RowLineDash { get; @@ -15988,7 +15724,7 @@ public bool? RowLineDash /// /// Whether column lines are dashed (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnLineDash")] + [JsonPropertyName("columnLineDash")] public bool? ColumnLineDash { get; @@ -15998,7 +15734,7 @@ public bool? ColumnLineDash /// /// The row gap highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rowGapColor")] + [JsonPropertyName("rowGapColor")] public CefSharp.DevTools.DOM.RGBA RowGapColor { get; @@ -16008,7 +15744,7 @@ public CefSharp.DevTools.DOM.RGBA RowGapColor /// /// The row gap hatching fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rowHatchColor")] + [JsonPropertyName("rowHatchColor")] public CefSharp.DevTools.DOM.RGBA RowHatchColor { get; @@ -16018,7 +15754,7 @@ public CefSharp.DevTools.DOM.RGBA RowHatchColor /// /// The column gap highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnGapColor")] + [JsonPropertyName("columnGapColor")] public CefSharp.DevTools.DOM.RGBA ColumnGapColor { get; @@ -16028,7 +15764,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnGapColor /// /// The column gap hatching fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnHatchColor")] + [JsonPropertyName("columnHatchColor")] public CefSharp.DevTools.DOM.RGBA ColumnHatchColor { get; @@ -16038,7 +15774,7 @@ public CefSharp.DevTools.DOM.RGBA ColumnHatchColor /// /// The named grid areas border color (Default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("areaBorderColor")] + [JsonPropertyName("areaBorderColor")] public CefSharp.DevTools.DOM.RGBA AreaBorderColor { get; @@ -16048,7 +15784,7 @@ public CefSharp.DevTools.DOM.RGBA AreaBorderColor /// /// The grid container background color (Default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBackgroundColor")] + [JsonPropertyName("gridBackgroundColor")] public CefSharp.DevTools.DOM.RGBA GridBackgroundColor { get; @@ -16064,7 +15800,7 @@ public partial class FlexContainerHighlightConfig : CefSharp.DevTools.DevToolsDo /// /// The style of the container border /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerBorder")] + [JsonPropertyName("containerBorder")] public CefSharp.DevTools.Overlay.LineStyle ContainerBorder { get; @@ -16074,7 +15810,7 @@ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder /// /// The style of the separator between lines /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineSeparator")] + [JsonPropertyName("lineSeparator")] public CefSharp.DevTools.Overlay.LineStyle LineSeparator { get; @@ -16084,7 +15820,7 @@ public CefSharp.DevTools.Overlay.LineStyle LineSeparator /// /// The style of the separator between items /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("itemSeparator")] + [JsonPropertyName("itemSeparator")] public CefSharp.DevTools.Overlay.LineStyle ItemSeparator { get; @@ -16094,7 +15830,7 @@ public CefSharp.DevTools.Overlay.LineStyle ItemSeparator /// /// Style of content-distribution space on the main axis (justify-content). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mainDistributedSpace")] + [JsonPropertyName("mainDistributedSpace")] public CefSharp.DevTools.Overlay.BoxStyle MainDistributedSpace { get; @@ -16104,7 +15840,7 @@ public CefSharp.DevTools.Overlay.BoxStyle MainDistributedSpace /// /// Style of content-distribution space on the cross axis (align-content). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("crossDistributedSpace")] + [JsonPropertyName("crossDistributedSpace")] public CefSharp.DevTools.Overlay.BoxStyle CrossDistributedSpace { get; @@ -16114,7 +15850,7 @@ public CefSharp.DevTools.Overlay.BoxStyle CrossDistributedSpace /// /// Style of empty space caused by row gaps (gap/row-gap). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rowGapSpace")] + [JsonPropertyName("rowGapSpace")] public CefSharp.DevTools.Overlay.BoxStyle RowGapSpace { get; @@ -16124,7 +15860,7 @@ public CefSharp.DevTools.Overlay.BoxStyle RowGapSpace /// /// Style of empty space caused by columns gaps (gap/column-gap). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnGapSpace")] + [JsonPropertyName("columnGapSpace")] public CefSharp.DevTools.Overlay.BoxStyle ColumnGapSpace { get; @@ -16134,7 +15870,7 @@ public CefSharp.DevTools.Overlay.BoxStyle ColumnGapSpace /// /// Style of the self-alignment line (align-items). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("crossAlignment")] + [JsonPropertyName("crossAlignment")] public CefSharp.DevTools.Overlay.LineStyle CrossAlignment { get; @@ -16150,7 +15886,7 @@ public partial class FlexItemHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// Style of the box representing the item's base size /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseSizeBox")] + [JsonPropertyName("baseSizeBox")] public CefSharp.DevTools.Overlay.BoxStyle BaseSizeBox { get; @@ -16160,7 +15896,7 @@ public CefSharp.DevTools.Overlay.BoxStyle BaseSizeBox /// /// Style of the border around the box representing the item's base size /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("baseSizeBorder")] + [JsonPropertyName("baseSizeBorder")] public CefSharp.DevTools.Overlay.LineStyle BaseSizeBorder { get; @@ -16170,7 +15906,7 @@ public CefSharp.DevTools.Overlay.LineStyle BaseSizeBorder /// /// Style of the arrow representing if the item grew or shrank /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flexibilityArrow")] + [JsonPropertyName("flexibilityArrow")] public CefSharp.DevTools.Overlay.LineStyle FlexibilityArrow { get; @@ -16186,12 +15922,12 @@ public enum LineStylePattern /// /// dashed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dashed")] + [JsonPropertyName("dashed")] Dashed, /// /// dotted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dotted")] + [JsonPropertyName("dotted")] Dotted } @@ -16203,7 +15939,7 @@ public partial class LineStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The color of the line (default: transparent) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("color")] + [JsonPropertyName("color")] public CefSharp.DevTools.DOM.RGBA Color { get; @@ -16213,7 +15949,7 @@ public CefSharp.DevTools.DOM.RGBA Color /// /// The line pattern (default: solid) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pattern")] + [JsonPropertyName("pattern")] public CefSharp.DevTools.Overlay.LineStylePattern? Pattern { get; @@ -16229,7 +15965,7 @@ public partial class BoxStyle : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The background color for the box (default: transparent) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fillColor")] + [JsonPropertyName("fillColor")] public CefSharp.DevTools.DOM.RGBA FillColor { get; @@ -16239,7 +15975,7 @@ public CefSharp.DevTools.DOM.RGBA FillColor /// /// The hatching color for the box (default: transparent) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hatchColor")] + [JsonPropertyName("hatchColor")] public CefSharp.DevTools.DOM.RGBA HatchColor { get; @@ -16255,17 +15991,17 @@ public enum ContrastAlgorithm /// /// aa /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("aa")] + [JsonPropertyName("aa")] Aa, /// /// aaa /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("aaa")] + [JsonPropertyName("aaa")] Aaa, /// /// apca /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("apca")] + [JsonPropertyName("apca")] Apca } @@ -16277,7 +16013,7 @@ public partial class HighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Whether the node info tooltip should be shown (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showInfo")] + [JsonPropertyName("showInfo")] public bool? ShowInfo { get; @@ -16287,7 +16023,7 @@ public bool? ShowInfo /// /// Whether the node styles in the tooltip (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showStyles")] + [JsonPropertyName("showStyles")] public bool? ShowStyles { get; @@ -16297,7 +16033,7 @@ public bool? ShowStyles /// /// Whether the rulers should be shown (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showRulers")] + [JsonPropertyName("showRulers")] public bool? ShowRulers { get; @@ -16307,7 +16043,7 @@ public bool? ShowRulers /// /// Whether the a11y info should be shown (default: true). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showAccessibilityInfo")] + [JsonPropertyName("showAccessibilityInfo")] public bool? ShowAccessibilityInfo { get; @@ -16317,7 +16053,7 @@ public bool? ShowAccessibilityInfo /// /// Whether the extension lines from node to the rulers should be shown (default: false). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showExtensionLines")] + [JsonPropertyName("showExtensionLines")] public bool? ShowExtensionLines { get; @@ -16327,7 +16063,7 @@ public bool? ShowExtensionLines /// /// The content box highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentColor")] + [JsonPropertyName("contentColor")] public CefSharp.DevTools.DOM.RGBA ContentColor { get; @@ -16337,7 +16073,7 @@ public CefSharp.DevTools.DOM.RGBA ContentColor /// /// The padding highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paddingColor")] + [JsonPropertyName("paddingColor")] public CefSharp.DevTools.DOM.RGBA PaddingColor { get; @@ -16347,7 +16083,7 @@ public CefSharp.DevTools.DOM.RGBA PaddingColor /// /// The border highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("borderColor")] + [JsonPropertyName("borderColor")] public CefSharp.DevTools.DOM.RGBA BorderColor { get; @@ -16357,7 +16093,7 @@ public CefSharp.DevTools.DOM.RGBA BorderColor /// /// The margin highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("marginColor")] + [JsonPropertyName("marginColor")] public CefSharp.DevTools.DOM.RGBA MarginColor { get; @@ -16367,7 +16103,7 @@ public CefSharp.DevTools.DOM.RGBA MarginColor /// /// The event target element highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventTargetColor")] + [JsonPropertyName("eventTargetColor")] public CefSharp.DevTools.DOM.RGBA EventTargetColor { get; @@ -16377,7 +16113,7 @@ public CefSharp.DevTools.DOM.RGBA EventTargetColor /// /// The shape outside fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeColor")] + [JsonPropertyName("shapeColor")] public CefSharp.DevTools.DOM.RGBA ShapeColor { get; @@ -16387,7 +16123,7 @@ public CefSharp.DevTools.DOM.RGBA ShapeColor /// /// The shape margin fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeMarginColor")] + [JsonPropertyName("shapeMarginColor")] public CefSharp.DevTools.DOM.RGBA ShapeMarginColor { get; @@ -16397,7 +16133,7 @@ public CefSharp.DevTools.DOM.RGBA ShapeMarginColor /// /// The grid layout color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssGridColor")] + [JsonPropertyName("cssGridColor")] public CefSharp.DevTools.DOM.RGBA CssGridColor { get; @@ -16407,7 +16143,7 @@ public CefSharp.DevTools.DOM.RGBA CssGridColor /// /// The color format used to format color styles (default: hex). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("colorFormat")] + [JsonPropertyName("colorFormat")] public CefSharp.DevTools.Overlay.ColorFormat? ColorFormat { get; @@ -16417,7 +16153,7 @@ public CefSharp.DevTools.Overlay.ColorFormat? ColorFormat /// /// The grid layout highlight configuration (default: all transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gridHighlightConfig")] + [JsonPropertyName("gridHighlightConfig")] public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig { get; @@ -16427,7 +16163,7 @@ public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig /// /// The flex container highlight configuration (default: all transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flexContainerHighlightConfig")] + [JsonPropertyName("flexContainerHighlightConfig")] public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighlightConfig { get; @@ -16437,7 +16173,7 @@ public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighl /// /// The flex item highlight configuration (default: all transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flexItemHighlightConfig")] + [JsonPropertyName("flexItemHighlightConfig")] public CefSharp.DevTools.Overlay.FlexItemHighlightConfig FlexItemHighlightConfig { get; @@ -16447,7 +16183,7 @@ public CefSharp.DevTools.Overlay.FlexItemHighlightConfig FlexItemHighlightConfig /// /// The contrast algorithm to use for the contrast ratio (default: aa). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contrastAlgorithm")] + [JsonPropertyName("contrastAlgorithm")] public CefSharp.DevTools.Overlay.ContrastAlgorithm? ContrastAlgorithm { get; @@ -16457,7 +16193,7 @@ public CefSharp.DevTools.Overlay.ContrastAlgorithm? ContrastAlgorithm /// /// The container query container highlight configuration (default: all transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueryContainerHighlightConfig")] + [JsonPropertyName("containerQueryContainerHighlightConfig")] public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig { get; @@ -16473,22 +16209,22 @@ public enum ColorFormat /// /// rgb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rgb")] + [JsonPropertyName("rgb")] Rgb, /// /// hsl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hsl")] + [JsonPropertyName("hsl")] Hsl, /// /// hwb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hwb")] + [JsonPropertyName("hwb")] Hwb, /// /// hex /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hex")] + [JsonPropertyName("hex")] Hex } @@ -16500,7 +16236,7 @@ public partial class GridNodeHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// A descriptor for the highlight appearance. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gridHighlightConfig")] + [JsonPropertyName("gridHighlightConfig")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig { @@ -16511,7 +16247,7 @@ public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig /// /// Identifier of the node to highlight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16527,7 +16263,7 @@ public partial class FlexNodeHighlightConfig : CefSharp.DevTools.DevToolsDomainE /// /// A descriptor for the highlight appearance of flex containers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("flexContainerHighlightConfig")] + [JsonPropertyName("flexContainerHighlightConfig")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighlightConfig { @@ -16538,7 +16274,7 @@ public CefSharp.DevTools.Overlay.FlexContainerHighlightConfig FlexContainerHighl /// /// Identifier of the node to highlight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16554,7 +16290,7 @@ public partial class ScrollSnapContainerHighlightConfig : CefSharp.DevTools.DevT /// /// The style of the snapport border (default: transparent) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("snapportBorder")] + [JsonPropertyName("snapportBorder")] public CefSharp.DevTools.Overlay.LineStyle SnapportBorder { get; @@ -16564,7 +16300,7 @@ public CefSharp.DevTools.Overlay.LineStyle SnapportBorder /// /// The style of the snap area border (default: transparent) /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("snapAreaBorder")] + [JsonPropertyName("snapAreaBorder")] public CefSharp.DevTools.Overlay.LineStyle SnapAreaBorder { get; @@ -16574,7 +16310,7 @@ public CefSharp.DevTools.Overlay.LineStyle SnapAreaBorder /// /// The margin highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollMarginColor")] + [JsonPropertyName("scrollMarginColor")] public CefSharp.DevTools.DOM.RGBA ScrollMarginColor { get; @@ -16584,7 +16320,7 @@ public CefSharp.DevTools.DOM.RGBA ScrollMarginColor /// /// The padding highlight fill color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollPaddingColor")] + [JsonPropertyName("scrollPaddingColor")] public CefSharp.DevTools.DOM.RGBA ScrollPaddingColor { get; @@ -16600,7 +16336,7 @@ public partial class ScrollSnapHighlightConfig : CefSharp.DevTools.DevToolsDomai /// /// A descriptor for the highlight appearance of scroll snap containers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollSnapContainerHighlightConfig")] + [JsonPropertyName("scrollSnapContainerHighlightConfig")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Overlay.ScrollSnapContainerHighlightConfig ScrollSnapContainerHighlightConfig { @@ -16611,7 +16347,7 @@ public CefSharp.DevTools.Overlay.ScrollSnapContainerHighlightConfig ScrollSnapCo /// /// Identifier of the node to highlight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16627,7 +16363,7 @@ public partial class HingeConfig : CefSharp.DevTools.DevToolsDomainEntityBase /// /// A rectangle represent hinge /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rect")] + [JsonPropertyName("rect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect Rect { @@ -16638,7 +16374,7 @@ public CefSharp.DevTools.DOM.Rect Rect /// /// The content box highlight fill color (default: a dark color). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentColor")] + [JsonPropertyName("contentColor")] public CefSharp.DevTools.DOM.RGBA ContentColor { get; @@ -16648,7 +16384,7 @@ public CefSharp.DevTools.DOM.RGBA ContentColor /// /// The content box highlight outline color (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("outlineColor")] + [JsonPropertyName("outlineColor")] public CefSharp.DevTools.DOM.RGBA OutlineColor { get; @@ -16664,7 +16400,7 @@ public partial class ContainerQueryHighlightConfig : CefSharp.DevTools.DevToolsD /// /// A descriptor for the highlight appearance of container query containers. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueryContainerHighlightConfig")] + [JsonPropertyName("containerQueryContainerHighlightConfig")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig { @@ -16675,7 +16411,7 @@ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig Containe /// /// Identifier of the container node to highlight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16691,7 +16427,7 @@ public partial class ContainerQueryContainerHighlightConfig : CefSharp.DevTools. /// /// The style of the container border. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerBorder")] + [JsonPropertyName("containerBorder")] public CefSharp.DevTools.Overlay.LineStyle ContainerBorder { get; @@ -16701,7 +16437,7 @@ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder /// /// The style of the descendants' borders. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("descendantBorder")] + [JsonPropertyName("descendantBorder")] public CefSharp.DevTools.Overlay.LineStyle DescendantBorder { get; @@ -16717,7 +16453,7 @@ public partial class IsolatedElementHighlightConfig : CefSharp.DevTools.DevTools /// /// A descriptor for the highlight appearance of an element in isolation mode. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isolationModeHighlightConfig")] + [JsonPropertyName("isolationModeHighlightConfig")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighlightConfig { @@ -16728,7 +16464,7 @@ public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighl /// /// Identifier of the isolated element to highlight. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16744,7 +16480,7 @@ public partial class IsolationModeHighlightConfig : CefSharp.DevTools.DevToolsDo /// /// The fill color of the resizers (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resizerColor")] + [JsonPropertyName("resizerColor")] public CefSharp.DevTools.DOM.RGBA ResizerColor { get; @@ -16754,7 +16490,7 @@ public CefSharp.DevTools.DOM.RGBA ResizerColor /// /// The fill color for resizer handles (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resizerHandleColor")] + [JsonPropertyName("resizerHandleColor")] public CefSharp.DevTools.DOM.RGBA ResizerHandleColor { get; @@ -16764,7 +16500,7 @@ public CefSharp.DevTools.DOM.RGBA ResizerHandleColor /// /// The fill color for the mask covering non-isolated elements (default: transparent). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maskColor")] + [JsonPropertyName("maskColor")] public CefSharp.DevTools.DOM.RGBA MaskColor { get; @@ -16780,27 +16516,27 @@ public enum InspectMode /// /// searchForNode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("searchForNode")] + [JsonPropertyName("searchForNode")] SearchForNode, /// /// searchForUAShadowDOM /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("searchForUAShadowDOM")] + [JsonPropertyName("searchForUAShadowDOM")] SearchForUAShadowDOM, /// /// captureAreaScreenshot /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("captureAreaScreenshot")] + [JsonPropertyName("captureAreaScreenshot")] CaptureAreaScreenshot, /// /// showDistances /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("showDistances")] + [JsonPropertyName("showDistances")] ShowDistances, /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None } @@ -16813,8 +16549,8 @@ public class InspectNodeRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Id of the node to inspect. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonInclude] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -16830,8 +16566,8 @@ public class NodeHighlightRequestedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// NodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -16847,8 +16583,8 @@ public class ScreenshotRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Viewport to capture, in device independent pixels (dip). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("viewport")] + [JsonInclude] + [JsonPropertyName("viewport")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.Viewport Viewport { @@ -16868,17 +16604,17 @@ public enum AdFrameType /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// child /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("child")] + [JsonPropertyName("child")] Child, /// /// root /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("root")] + [JsonPropertyName("root")] Root } @@ -16890,17 +16626,17 @@ public enum AdFrameExplanation /// /// ParentIsAd /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ParentIsAd")] + [JsonPropertyName("ParentIsAd")] ParentIsAd, /// /// CreatedByAdScript /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CreatedByAdScript")] + [JsonPropertyName("CreatedByAdScript")] CreatedByAdScript, /// /// MatchedBlockingRule /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MatchedBlockingRule")] + [JsonPropertyName("MatchedBlockingRule")] MatchedBlockingRule } @@ -16912,7 +16648,7 @@ public partial class AdFrameStatus : CefSharp.DevTools.DevToolsDomainEntityBase /// /// AdFrameType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameType")] + [JsonPropertyName("adFrameType")] public CefSharp.DevTools.Page.AdFrameType AdFrameType { get; @@ -16922,7 +16658,7 @@ public CefSharp.DevTools.Page.AdFrameType AdFrameType /// /// Explanations /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("explanations")] + [JsonPropertyName("explanations")] public CefSharp.DevTools.Page.AdFrameExplanation[] Explanations { get; @@ -16940,7 +16676,7 @@ public partial class AdScriptId : CefSharp.DevTools.DevToolsDomainEntityBase /// Script Id of the bottom-most script which caused the frame to be labelled /// as an ad. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -16951,7 +16687,7 @@ public string ScriptId /// /// Id of adScriptId's debugger. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debuggerId")] + [JsonPropertyName("debuggerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DebuggerId { @@ -16968,22 +16704,22 @@ public enum SecureContextType /// /// Secure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Secure")] + [JsonPropertyName("Secure")] Secure, /// /// SecureLocalhost /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureLocalhost")] + [JsonPropertyName("SecureLocalhost")] SecureLocalhost, /// /// InsecureScheme /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecureScheme")] + [JsonPropertyName("InsecureScheme")] InsecureScheme, /// /// InsecureAncestor /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecureAncestor")] + [JsonPropertyName("InsecureAncestor")] InsecureAncestor } @@ -16995,17 +16731,17 @@ public enum CrossOriginIsolatedContextType /// /// Isolated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Isolated")] + [JsonPropertyName("Isolated")] Isolated, /// /// NotIsolated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotIsolated")] + [JsonPropertyName("NotIsolated")] NotIsolated, /// /// NotIsolatedFeatureDisabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotIsolatedFeatureDisabled")] + [JsonPropertyName("NotIsolatedFeatureDisabled")] NotIsolatedFeatureDisabled } @@ -17017,22 +16753,22 @@ public enum GatedAPIFeatures /// /// SharedArrayBuffers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedArrayBuffers")] + [JsonPropertyName("SharedArrayBuffers")] SharedArrayBuffers, /// /// SharedArrayBuffersTransferAllowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedArrayBuffersTransferAllowed")] + [JsonPropertyName("SharedArrayBuffersTransferAllowed")] SharedArrayBuffersTransferAllowed, /// /// PerformanceMeasureMemory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PerformanceMeasureMemory")] + [JsonPropertyName("PerformanceMeasureMemory")] PerformanceMeasureMemory, /// /// PerformanceProfile /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PerformanceProfile")] + [JsonPropertyName("PerformanceProfile")] PerformanceProfile } @@ -17045,392 +16781,392 @@ public enum PermissionsPolicyFeature /// /// accelerometer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("accelerometer")] + [JsonPropertyName("accelerometer")] Accelerometer, /// /// ambient-light-sensor /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ambient-light-sensor")] + [JsonPropertyName("ambient-light-sensor")] AmbientLightSensor, /// /// attribution-reporting /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attribution-reporting")] + [JsonPropertyName("attribution-reporting")] AttributionReporting, /// /// autoplay /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoplay")] + [JsonPropertyName("autoplay")] Autoplay, /// /// bluetooth /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bluetooth")] + [JsonPropertyName("bluetooth")] Bluetooth, /// /// browsing-topics /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("browsing-topics")] + [JsonPropertyName("browsing-topics")] BrowsingTopics, /// /// camera /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("camera")] + [JsonPropertyName("camera")] Camera, /// /// ch-dpr /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-dpr")] + [JsonPropertyName("ch-dpr")] ChDpr, /// /// ch-device-memory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-device-memory")] + [JsonPropertyName("ch-device-memory")] ChDeviceMemory, /// /// ch-downlink /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-downlink")] + [JsonPropertyName("ch-downlink")] ChDownlink, /// /// ch-ect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ect")] + [JsonPropertyName("ch-ect")] ChEct, /// /// ch-prefers-color-scheme /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-color-scheme")] + [JsonPropertyName("ch-prefers-color-scheme")] ChPrefersColorScheme, /// /// ch-prefers-reduced-motion /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-reduced-motion")] + [JsonPropertyName("ch-prefers-reduced-motion")] ChPrefersReducedMotion, /// /// ch-rtt /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-rtt")] + [JsonPropertyName("ch-rtt")] ChRtt, /// /// ch-save-data /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-save-data")] + [JsonPropertyName("ch-save-data")] ChSaveData, /// /// ch-ua /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua")] + [JsonPropertyName("ch-ua")] ChUa, /// /// ch-ua-arch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-arch")] + [JsonPropertyName("ch-ua-arch")] ChUaArch, /// /// ch-ua-bitness /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-bitness")] + [JsonPropertyName("ch-ua-bitness")] ChUaBitness, /// /// ch-ua-platform /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-platform")] + [JsonPropertyName("ch-ua-platform")] ChUaPlatform, /// /// ch-ua-model /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-model")] + [JsonPropertyName("ch-ua-model")] ChUaModel, /// /// ch-ua-mobile /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-mobile")] + [JsonPropertyName("ch-ua-mobile")] ChUaMobile, /// /// ch-ua-full /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-full")] + [JsonPropertyName("ch-ua-full")] ChUaFull, /// /// ch-ua-full-version /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-full-version")] + [JsonPropertyName("ch-ua-full-version")] ChUaFullVersion, /// /// ch-ua-full-version-list /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-full-version-list")] + [JsonPropertyName("ch-ua-full-version-list")] ChUaFullVersionList, /// /// ch-ua-platform-version /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-platform-version")] + [JsonPropertyName("ch-ua-platform-version")] ChUaPlatformVersion, /// /// ch-ua-reduced /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-reduced")] + [JsonPropertyName("ch-ua-reduced")] ChUaReduced, /// /// ch-ua-wow64 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-wow64")] + [JsonPropertyName("ch-ua-wow64")] ChUaWow64, /// /// ch-viewport-height /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-viewport-height")] + [JsonPropertyName("ch-viewport-height")] ChViewportHeight, /// /// ch-viewport-width /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-viewport-width")] + [JsonPropertyName("ch-viewport-width")] ChViewportWidth, /// /// ch-width /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-width")] + [JsonPropertyName("ch-width")] ChWidth, /// /// clipboard-read /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboard-read")] + [JsonPropertyName("clipboard-read")] ClipboardRead, /// /// clipboard-write /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboard-write")] + [JsonPropertyName("clipboard-write")] ClipboardWrite, /// /// compute-pressure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("compute-pressure")] + [JsonPropertyName("compute-pressure")] ComputePressure, /// /// cross-origin-isolated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cross-origin-isolated")] + [JsonPropertyName("cross-origin-isolated")] CrossOriginIsolated, /// /// direct-sockets /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("direct-sockets")] + [JsonPropertyName("direct-sockets")] DirectSockets, /// /// display-capture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("display-capture")] + [JsonPropertyName("display-capture")] DisplayCapture, /// /// document-domain /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("document-domain")] + [JsonPropertyName("document-domain")] DocumentDomain, /// /// encrypted-media /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encrypted-media")] + [JsonPropertyName("encrypted-media")] EncryptedMedia, /// /// execution-while-out-of-viewport /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("execution-while-out-of-viewport")] + [JsonPropertyName("execution-while-out-of-viewport")] ExecutionWhileOutOfViewport, /// /// execution-while-not-rendered /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("execution-while-not-rendered")] + [JsonPropertyName("execution-while-not-rendered")] ExecutionWhileNotRendered, /// /// focus-without-user-activation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("focus-without-user-activation")] + [JsonPropertyName("focus-without-user-activation")] FocusWithoutUserActivation, /// /// fullscreen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fullscreen")] + [JsonPropertyName("fullscreen")] Fullscreen, /// /// frobulate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frobulate")] + [JsonPropertyName("frobulate")] Frobulate, /// /// gamepad /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gamepad")] + [JsonPropertyName("gamepad")] Gamepad, /// /// geolocation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("geolocation")] + [JsonPropertyName("geolocation")] Geolocation, /// /// gyroscope /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gyroscope")] + [JsonPropertyName("gyroscope")] Gyroscope, /// /// hid /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hid")] + [JsonPropertyName("hid")] Hid, /// /// identity-credentials-get /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("identity-credentials-get")] + [JsonPropertyName("identity-credentials-get")] IdentityCredentialsGet, /// /// idle-detection /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("idle-detection")] + [JsonPropertyName("idle-detection")] IdleDetection, /// /// interest-cohort /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("interest-cohort")] + [JsonPropertyName("interest-cohort")] InterestCohort, /// /// join-ad-interest-group /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("join-ad-interest-group")] + [JsonPropertyName("join-ad-interest-group")] JoinAdInterestGroup, /// /// keyboard-map /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyboard-map")] + [JsonPropertyName("keyboard-map")] KeyboardMap, /// /// local-fonts /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("local-fonts")] + [JsonPropertyName("local-fonts")] LocalFonts, /// /// magnetometer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("magnetometer")] + [JsonPropertyName("magnetometer")] Magnetometer, /// /// microphone /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("microphone")] + [JsonPropertyName("microphone")] Microphone, /// /// midi /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("midi")] + [JsonPropertyName("midi")] Midi, /// /// otp-credentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("otp-credentials")] + [JsonPropertyName("otp-credentials")] OtpCredentials, /// /// payment /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("payment")] + [JsonPropertyName("payment")] Payment, /// /// picture-in-picture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("picture-in-picture")] + [JsonPropertyName("picture-in-picture")] PictureInPicture, /// /// private-aggregation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("private-aggregation")] + [JsonPropertyName("private-aggregation")] PrivateAggregation, /// /// publickey-credentials-get /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("publickey-credentials-get")] + [JsonPropertyName("publickey-credentials-get")] PublickeyCredentialsGet, /// /// run-ad-auction /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("run-ad-auction")] + [JsonPropertyName("run-ad-auction")] RunAdAuction, /// /// screen-wake-lock /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("screen-wake-lock")] + [JsonPropertyName("screen-wake-lock")] ScreenWakeLock, /// /// serial /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serial")] + [JsonPropertyName("serial")] Serial, /// /// shared-autofill /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-autofill")] + [JsonPropertyName("shared-autofill")] SharedAutofill, /// /// shared-storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage")] + [JsonPropertyName("shared-storage")] SharedStorage, /// /// shared-storage-select-url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage-select-url")] + [JsonPropertyName("shared-storage-select-url")] SharedStorageSelectUrl, /// /// smart-card /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("smart-card")] + [JsonPropertyName("smart-card")] SmartCard, /// /// storage-access /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storage-access")] + [JsonPropertyName("storage-access")] StorageAccess, /// /// sync-xhr /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sync-xhr")] + [JsonPropertyName("sync-xhr")] SyncXhr, /// /// trust-token-redemption /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trust-token-redemption")] + [JsonPropertyName("trust-token-redemption")] TrustTokenRedemption, /// /// unload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unload")] + [JsonPropertyName("unload")] Unload, /// /// usb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usb")] + [JsonPropertyName("usb")] Usb, /// /// vertical-scroll /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("vertical-scroll")] + [JsonPropertyName("vertical-scroll")] VerticalScroll, /// /// web-share /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("web-share")] + [JsonPropertyName("web-share")] WebShare, /// /// window-management /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("window-management")] + [JsonPropertyName("window-management")] WindowManagement, /// /// window-placement /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("window-placement")] + [JsonPropertyName("window-placement")] WindowPlacement, /// /// xr-spatial-tracking /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("xr-spatial-tracking")] + [JsonPropertyName("xr-spatial-tracking")] XrSpatialTracking } @@ -17442,22 +17178,22 @@ public enum PermissionsPolicyBlockReason /// /// Header /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Header")] + [JsonPropertyName("Header")] Header, /// /// IframeAttribute /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IframeAttribute")] + [JsonPropertyName("IframeAttribute")] IframeAttribute, /// /// InFencedFrameTree /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InFencedFrameTree")] + [JsonPropertyName("InFencedFrameTree")] InFencedFrameTree, /// /// InIsolatedApp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InIsolatedApp")] + [JsonPropertyName("InIsolatedApp")] InIsolatedApp } @@ -17469,7 +17205,7 @@ public partial class PermissionsPolicyBlockLocator : CefSharp.DevTools.DevToolsD /// /// FrameId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -17480,7 +17216,7 @@ public string FrameId /// /// BlockReason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockReason")] + [JsonPropertyName("blockReason")] public CefSharp.DevTools.Page.PermissionsPolicyBlockReason BlockReason { get; @@ -17496,7 +17232,7 @@ public partial class PermissionsPolicyFeatureState : CefSharp.DevTools.DevToolsD /// /// Feature /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("feature")] + [JsonPropertyName("feature")] public CefSharp.DevTools.Page.PermissionsPolicyFeature Feature { get; @@ -17506,7 +17242,7 @@ public CefSharp.DevTools.Page.PermissionsPolicyFeature Feature /// /// Allowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("allowed")] + [JsonPropertyName("allowed")] public bool Allowed { get; @@ -17516,7 +17252,7 @@ public bool Allowed /// /// Locator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("locator")] + [JsonPropertyName("locator")] public CefSharp.DevTools.Page.PermissionsPolicyBlockLocator Locator { get; @@ -17533,62 +17269,62 @@ public enum OriginTrialTokenStatus /// /// Success /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Success")] + [JsonPropertyName("Success")] Success, /// /// NotSupported /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotSupported")] + [JsonPropertyName("NotSupported")] NotSupported, /// /// Insecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Insecure")] + [JsonPropertyName("Insecure")] Insecure, /// /// Expired /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Expired")] + [JsonPropertyName("Expired")] Expired, /// /// WrongOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WrongOrigin")] + [JsonPropertyName("WrongOrigin")] WrongOrigin, /// /// InvalidSignature /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSignature")] + [JsonPropertyName("InvalidSignature")] InvalidSignature, /// /// Malformed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Malformed")] + [JsonPropertyName("Malformed")] Malformed, /// /// WrongVersion /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WrongVersion")] + [JsonPropertyName("WrongVersion")] WrongVersion, /// /// FeatureDisabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FeatureDisabled")] + [JsonPropertyName("FeatureDisabled")] FeatureDisabled, /// /// TokenDisabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TokenDisabled")] + [JsonPropertyName("TokenDisabled")] TokenDisabled, /// /// FeatureDisabledForUser /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FeatureDisabledForUser")] + [JsonPropertyName("FeatureDisabledForUser")] FeatureDisabledForUser, /// /// UnknownTrial /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownTrial")] + [JsonPropertyName("UnknownTrial")] UnknownTrial } @@ -17600,22 +17336,22 @@ public enum OriginTrialStatus /// /// Enabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Enabled")] + [JsonPropertyName("Enabled")] Enabled, /// /// ValidTokenNotProvided /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ValidTokenNotProvided")] + [JsonPropertyName("ValidTokenNotProvided")] ValidTokenNotProvided, /// /// OSNotSupported /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OSNotSupported")] + [JsonPropertyName("OSNotSupported")] OSNotSupported, /// /// TrialNotAllowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TrialNotAllowed")] + [JsonPropertyName("TrialNotAllowed")] TrialNotAllowed } @@ -17627,12 +17363,12 @@ public enum OriginTrialUsageRestriction /// /// None /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("None")] + [JsonPropertyName("None")] None, /// /// Subset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Subset")] + [JsonPropertyName("Subset")] Subset } @@ -17644,7 +17380,7 @@ public partial class OriginTrialToken : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -17655,7 +17391,7 @@ public string Origin /// /// MatchSubDomains /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("matchSubDomains")] + [JsonPropertyName("matchSubDomains")] public bool MatchSubDomains { get; @@ -17665,7 +17401,7 @@ public bool MatchSubDomains /// /// TrialName /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trialName")] + [JsonPropertyName("trialName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TrialName { @@ -17676,7 +17412,7 @@ public string TrialName /// /// ExpiryTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expiryTime")] + [JsonPropertyName("expiryTime")] public double ExpiryTime { get; @@ -17686,7 +17422,7 @@ public double ExpiryTime /// /// IsThirdParty /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isThirdParty")] + [JsonPropertyName("isThirdParty")] public bool IsThirdParty { get; @@ -17696,7 +17432,7 @@ public bool IsThirdParty /// /// UsageRestriction /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usageRestriction")] + [JsonPropertyName("usageRestriction")] public CefSharp.DevTools.Page.OriginTrialUsageRestriction UsageRestriction { get; @@ -17712,7 +17448,7 @@ public partial class OriginTrialTokenWithStatus : CefSharp.DevTools.DevToolsDoma /// /// RawTokenText /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rawTokenText")] + [JsonPropertyName("rawTokenText")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RawTokenText { @@ -17724,7 +17460,7 @@ public string RawTokenText /// `parsedToken` is present only when the token is extractable and /// parsable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parsedToken")] + [JsonPropertyName("parsedToken")] public CefSharp.DevTools.Page.OriginTrialToken ParsedToken { get; @@ -17734,7 +17470,7 @@ public CefSharp.DevTools.Page.OriginTrialToken ParsedToken /// /// Status /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public CefSharp.DevTools.Page.OriginTrialTokenStatus Status { get; @@ -17750,7 +17486,7 @@ public partial class OriginTrial : CefSharp.DevTools.DevToolsDomainEntityBase /// /// TrialName /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trialName")] + [JsonPropertyName("trialName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TrialName { @@ -17761,7 +17497,7 @@ public string TrialName /// /// Status /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public CefSharp.DevTools.Page.OriginTrialStatus Status { get; @@ -17771,7 +17507,7 @@ public CefSharp.DevTools.Page.OriginTrialStatus Status /// /// TokensWithStatus /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tokensWithStatus")] + [JsonPropertyName("tokensWithStatus")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList TokensWithStatus { @@ -17788,7 +17524,7 @@ public partial class Frame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Frame unique identifier. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -17799,7 +17535,7 @@ public string Id /// /// Parent frame identifier. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonPropertyName("parentId")] public string ParentId { get; @@ -17809,7 +17545,7 @@ public string ParentId /// /// Identifier of the loader associated with this frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -17820,7 +17556,7 @@ public string LoaderId /// /// Frame's name as specified in the tag. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public string Name { get; @@ -17830,7 +17566,7 @@ public string Name /// /// Frame document's URL without fragment. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -17841,7 +17577,7 @@ public string Url /// /// Frame document's URL fragment including the '#'. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urlFragment")] + [JsonPropertyName("urlFragment")] public string UrlFragment { get; @@ -17854,7 +17590,7 @@ public string UrlFragment /// Example URLs: http://www.google.com/file.html -> "google.com" /// http://a.b.co.uk/file.html -> "b.co.uk" /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("domainAndRegistry")] + [JsonPropertyName("domainAndRegistry")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DomainAndRegistry { @@ -17865,7 +17601,7 @@ public string DomainAndRegistry /// /// Frame document's security origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")] + [JsonPropertyName("securityOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SecurityOrigin { @@ -17876,7 +17612,7 @@ public string SecurityOrigin /// /// Frame document's mimeType as determined by the browser. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")] + [JsonPropertyName("mimeType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MimeType { @@ -17887,7 +17623,7 @@ public string MimeType /// /// If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unreachableUrl")] + [JsonPropertyName("unreachableUrl")] public string UnreachableUrl { get; @@ -17897,7 +17633,7 @@ public string UnreachableUrl /// /// Indicates whether this frame was tagged as an ad and why. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameStatus")] + [JsonPropertyName("adFrameStatus")] public CefSharp.DevTools.Page.AdFrameStatus AdFrameStatus { get; @@ -17907,7 +17643,7 @@ public CefSharp.DevTools.Page.AdFrameStatus AdFrameStatus /// /// Indicates whether the main document is a secure context and explains why that is the case. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("secureContextType")] + [JsonPropertyName("secureContextType")] public CefSharp.DevTools.Page.SecureContextType SecureContextType { get; @@ -17917,7 +17653,7 @@ public CefSharp.DevTools.Page.SecureContextType SecureContextType /// /// Indicates whether this is a cross origin isolated context. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("crossOriginIsolatedContextType")] + [JsonPropertyName("crossOriginIsolatedContextType")] public CefSharp.DevTools.Page.CrossOriginIsolatedContextType CrossOriginIsolatedContextType { get; @@ -17927,7 +17663,7 @@ public CefSharp.DevTools.Page.CrossOriginIsolatedContextType CrossOriginIsolated /// /// Indicated which gated APIs / features are available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gatedAPIFeatures")] + [JsonPropertyName("gatedAPIFeatures")] public CefSharp.DevTools.Page.GatedAPIFeatures[] GatedAPIFeatures { get; @@ -17943,7 +17679,7 @@ public partial class FrameResource : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Resource URL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -17954,7 +17690,7 @@ public string Url /// /// Type of this resource. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Network.ResourceType Type { get; @@ -17964,7 +17700,7 @@ public CefSharp.DevTools.Network.ResourceType Type /// /// Resource mimeType as determined by the browser. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")] + [JsonPropertyName("mimeType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MimeType { @@ -17975,7 +17711,7 @@ public string MimeType /// /// last-modified timestamp as reported by server. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lastModified")] + [JsonPropertyName("lastModified")] public double? LastModified { get; @@ -17985,7 +17721,7 @@ public double? LastModified /// /// Resource content size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSize")] + [JsonPropertyName("contentSize")] public double? ContentSize { get; @@ -17995,7 +17731,7 @@ public double? ContentSize /// /// True if the resource failed to load. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("failed")] + [JsonPropertyName("failed")] public bool? Failed { get; @@ -18005,7 +17741,7 @@ public bool? Failed /// /// True if the resource was canceled during loading. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canceled")] + [JsonPropertyName("canceled")] public bool? Canceled { get; @@ -18021,7 +17757,7 @@ public partial class FrameResourceTree : CefSharp.DevTools.DevToolsDomainEntityB /// /// Frame information for this tree item. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonPropertyName("frame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.Frame Frame { @@ -18032,7 +17768,7 @@ public CefSharp.DevTools.Page.Frame Frame /// /// Child frames. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childFrames")] + [JsonPropertyName("childFrames")] public System.Collections.Generic.IList ChildFrames { get; @@ -18042,7 +17778,7 @@ public System.Collections.Generic.IList /// Information about frame resources. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resources")] + [JsonPropertyName("resources")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Resources { @@ -18059,7 +17795,7 @@ public partial class FrameTree : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Frame information for this tree item. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonPropertyName("frame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.Frame Frame { @@ -18070,7 +17806,7 @@ public CefSharp.DevTools.Page.Frame Frame /// /// Child frames. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("childFrames")] + [JsonPropertyName("childFrames")] public System.Collections.Generic.IList ChildFrames { get; @@ -18086,67 +17822,67 @@ public enum TransitionType /// /// link /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("link")] + [JsonPropertyName("link")] Link, /// /// typed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("typed")] + [JsonPropertyName("typed")] Typed, /// /// address_bar /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("address_bar")] + [JsonPropertyName("address_bar")] AddressBar, /// /// auto_bookmark /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_bookmark")] + [JsonPropertyName("auto_bookmark")] AutoBookmark, /// /// auto_subframe /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_subframe")] + [JsonPropertyName("auto_subframe")] AutoSubframe, /// /// manual_subframe /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("manual_subframe")] + [JsonPropertyName("manual_subframe")] ManualSubframe, /// /// generated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("generated")] + [JsonPropertyName("generated")] Generated, /// /// auto_toplevel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_toplevel")] + [JsonPropertyName("auto_toplevel")] AutoToplevel, /// /// form_submit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("form_submit")] + [JsonPropertyName("form_submit")] FormSubmit, /// /// reload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reload")] + [JsonPropertyName("reload")] Reload, /// /// keyword /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyword")] + [JsonPropertyName("keyword")] Keyword, /// /// keyword_generated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyword_generated")] + [JsonPropertyName("keyword_generated")] KeywordGenerated, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -18158,7 +17894,7 @@ public partial class NavigationEntry : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Unique id of the navigation history entry. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public int Id { get; @@ -18168,7 +17904,7 @@ public int Id /// /// URL of the navigation history entry. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -18179,7 +17915,7 @@ public string Url /// /// URL that the user typed in the url bar. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userTypedURL")] + [JsonPropertyName("userTypedURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string UserTypedURL { @@ -18190,7 +17926,7 @@ public string UserTypedURL /// /// Title of the navigation history entry. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Title { @@ -18201,7 +17937,7 @@ public string Title /// /// Transition type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transitionType")] + [JsonPropertyName("transitionType")] public CefSharp.DevTools.Page.TransitionType TransitionType { get; @@ -18217,7 +17953,7 @@ public partial class ScreencastFrameMetadata : CefSharp.DevTools.DevToolsDomainE /// /// Top offset in DIP. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetTop")] + [JsonPropertyName("offsetTop")] public double OffsetTop { get; @@ -18227,7 +17963,7 @@ public double OffsetTop /// /// Page scale factor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageScaleFactor")] + [JsonPropertyName("pageScaleFactor")] public double PageScaleFactor { get; @@ -18237,7 +17973,7 @@ public double PageScaleFactor /// /// Device screen width in DIP. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceWidth")] + [JsonPropertyName("deviceWidth")] public double DeviceWidth { get; @@ -18247,7 +17983,7 @@ public double DeviceWidth /// /// Device screen height in DIP. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceHeight")] + [JsonPropertyName("deviceHeight")] public double DeviceHeight { get; @@ -18257,7 +17993,7 @@ public double DeviceHeight /// /// Position of horizontal scroll in CSS pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")] + [JsonPropertyName("scrollOffsetX")] public double ScrollOffsetX { get; @@ -18267,7 +18003,7 @@ public double ScrollOffsetX /// /// Position of vertical scroll in CSS pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")] + [JsonPropertyName("scrollOffsetY")] public double ScrollOffsetY { get; @@ -18277,7 +18013,7 @@ public double ScrollOffsetY /// /// Frame swap timestamp. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double? Timestamp { get; @@ -18293,22 +18029,22 @@ public enum DialogType /// /// alert /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("alert")] + [JsonPropertyName("alert")] Alert, /// /// confirm /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("confirm")] + [JsonPropertyName("confirm")] Confirm, /// /// prompt /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("prompt")] + [JsonPropertyName("prompt")] Prompt, /// /// beforeunload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("beforeunload")] + [JsonPropertyName("beforeunload")] Beforeunload } @@ -18320,7 +18056,7 @@ public partial class AppManifestError : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Error message. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -18331,7 +18067,7 @@ public string Message /// /// If criticial, this is a non-recoverable parse error. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("critical")] + [JsonPropertyName("critical")] public int Critical { get; @@ -18341,7 +18077,7 @@ public int Critical /// /// Error line. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("line")] + [JsonPropertyName("line")] public int Line { get; @@ -18351,7 +18087,7 @@ public int Line /// /// Error column. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("column")] + [JsonPropertyName("column")] public int Column { get; @@ -18367,7 +18103,7 @@ public partial class AppManifestParsedProperties : CefSharp.DevTools.DevToolsDom /// /// Computed scope value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scope")] + [JsonPropertyName("scope")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Scope { @@ -18384,7 +18120,7 @@ public partial class LayoutViewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Horizontal offset relative to the document (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageX")] + [JsonPropertyName("pageX")] public int PageX { get; @@ -18394,7 +18130,7 @@ public int PageX /// /// Vertical offset relative to the document (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageY")] + [JsonPropertyName("pageY")] public int PageY { get; @@ -18404,7 +18140,7 @@ public int PageY /// /// Width (CSS pixels), excludes scrollbar if present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientWidth")] + [JsonPropertyName("clientWidth")] public int ClientWidth { get; @@ -18414,7 +18150,7 @@ public int ClientWidth /// /// Height (CSS pixels), excludes scrollbar if present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHeight")] + [JsonPropertyName("clientHeight")] public int ClientHeight { get; @@ -18430,7 +18166,7 @@ public partial class VisualViewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Horizontal offset relative to the layout viewport (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetX")] + [JsonPropertyName("offsetX")] public double OffsetX { get; @@ -18440,7 +18176,7 @@ public double OffsetX /// /// Vertical offset relative to the layout viewport (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetY")] + [JsonPropertyName("offsetY")] public double OffsetY { get; @@ -18450,7 +18186,7 @@ public double OffsetY /// /// Horizontal offset relative to the document (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageX")] + [JsonPropertyName("pageX")] public double PageX { get; @@ -18460,7 +18196,7 @@ public double PageX /// /// Vertical offset relative to the document (CSS pixels). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageY")] + [JsonPropertyName("pageY")] public double PageY { get; @@ -18470,7 +18206,7 @@ public double PageY /// /// Width (CSS pixels), excludes scrollbar if present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientWidth")] + [JsonPropertyName("clientWidth")] public double ClientWidth { get; @@ -18480,7 +18216,7 @@ public double ClientWidth /// /// Height (CSS pixels), excludes scrollbar if present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHeight")] + [JsonPropertyName("clientHeight")] public double ClientHeight { get; @@ -18490,7 +18226,7 @@ public double ClientHeight /// /// Scale relative to the ideal viewport (size at width=device-width). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scale")] + [JsonPropertyName("scale")] public double Scale { get; @@ -18500,7 +18236,7 @@ public double Scale /// /// Page zoom factor (CSS to device independent pixels ratio). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("zoom")] + [JsonPropertyName("zoom")] public double? Zoom { get; @@ -18516,7 +18252,7 @@ public partial class Viewport : CefSharp.DevTools.DevToolsDomainEntityBase /// /// X offset in device independent pixels (dip). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("x")] + [JsonPropertyName("x")] public double X { get; @@ -18526,7 +18262,7 @@ public double X /// /// Y offset in device independent pixels (dip). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("y")] + [JsonPropertyName("y")] public double Y { get; @@ -18536,7 +18272,7 @@ public double Y /// /// Rectangle width in device independent pixels (dip). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public double Width { get; @@ -18546,7 +18282,7 @@ public double Width /// /// Rectangle height in device independent pixels (dip). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public double Height { get; @@ -18556,7 +18292,7 @@ public double Height /// /// Page scale factor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scale")] + [JsonPropertyName("scale")] public double Scale { get; @@ -18572,7 +18308,7 @@ public partial class FontFamilies : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The standard font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("standard")] + [JsonPropertyName("standard")] public string Standard { get; @@ -18582,7 +18318,7 @@ public string Standard /// /// The fixed font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fixed")] + [JsonPropertyName("fixed")] public string Fixed { get; @@ -18592,7 +18328,7 @@ public string Fixed /// /// The serif font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serif")] + [JsonPropertyName("serif")] public string Serif { get; @@ -18602,7 +18338,7 @@ public string Serif /// /// The sansSerif font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sansSerif")] + [JsonPropertyName("sansSerif")] public string SansSerif { get; @@ -18612,7 +18348,7 @@ public string SansSerif /// /// The cursive font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cursive")] + [JsonPropertyName("cursive")] public string Cursive { get; @@ -18622,7 +18358,7 @@ public string Cursive /// /// The fantasy font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fantasy")] + [JsonPropertyName("fantasy")] public string Fantasy { get; @@ -18632,7 +18368,7 @@ public string Fantasy /// /// The math font-family. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("math")] + [JsonPropertyName("math")] public string Math { get; @@ -18648,7 +18384,7 @@ public partial class ScriptFontFamilies : CefSharp.DevTools.DevToolsDomainEntity /// /// Name of the script which these font families are defined for. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("script")] + [JsonPropertyName("script")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Script { @@ -18659,7 +18395,7 @@ public string Script /// /// Generic font families collection for the script. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontFamilies")] + [JsonPropertyName("fontFamilies")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.FontFamilies FontFamilies { @@ -18676,7 +18412,7 @@ public partial class FontSizes : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Default standard font size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("standard")] + [JsonPropertyName("standard")] public int? Standard { get; @@ -18686,7 +18422,7 @@ public int? Standard /// /// Default fixed font size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fixed")] + [JsonPropertyName("fixed")] public int? Fixed { get; @@ -18702,42 +18438,42 @@ public enum ClientNavigationReason /// /// formSubmissionGet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("formSubmissionGet")] + [JsonPropertyName("formSubmissionGet")] FormSubmissionGet, /// /// formSubmissionPost /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("formSubmissionPost")] + [JsonPropertyName("formSubmissionPost")] FormSubmissionPost, /// /// httpHeaderRefresh /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("httpHeaderRefresh")] + [JsonPropertyName("httpHeaderRefresh")] HttpHeaderRefresh, /// /// scriptInitiated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptInitiated")] + [JsonPropertyName("scriptInitiated")] ScriptInitiated, /// /// metaTagRefresh /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metaTagRefresh")] + [JsonPropertyName("metaTagRefresh")] MetaTagRefresh, /// /// pageBlockInterstitial /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pageBlockInterstitial")] + [JsonPropertyName("pageBlockInterstitial")] PageBlockInterstitial, /// /// reload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reload")] + [JsonPropertyName("reload")] Reload, /// /// anchorClick /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorClick")] + [JsonPropertyName("anchorClick")] AnchorClick } @@ -18749,22 +18485,22 @@ public enum ClientNavigationDisposition /// /// currentTab /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTab")] + [JsonPropertyName("currentTab")] CurrentTab, /// /// newTab /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("newTab")] + [JsonPropertyName("newTab")] NewTab, /// /// newWindow /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("newWindow")] + [JsonPropertyName("newWindow")] NewWindow, /// /// download /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("download")] + [JsonPropertyName("download")] Download } @@ -18776,7 +18512,7 @@ public partial class InstallabilityErrorArgument : CefSharp.DevTools.DevToolsDom /// /// Argument name (e.g. name:'minimum-icon-size-in-pixels'). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -18787,7 +18523,7 @@ public string Name /// /// Argument value (e.g. value:'64'). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -18804,7 +18540,7 @@ public partial class InstallabilityError : CefSharp.DevTools.DevToolsDomainEntit /// /// The error id (e.g. 'manifest-missing-suitable-icon'). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorId")] + [JsonPropertyName("errorId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorId { @@ -18815,7 +18551,7 @@ public string ErrorId /// /// The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorArguments")] + [JsonPropertyName("errorArguments")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ErrorArguments { @@ -18832,42 +18568,42 @@ public enum ReferrerPolicy /// /// noReferrer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("noReferrer")] + [JsonPropertyName("noReferrer")] NoReferrer, /// /// noReferrerWhenDowngrade /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("noReferrerWhenDowngrade")] + [JsonPropertyName("noReferrerWhenDowngrade")] NoReferrerWhenDowngrade, /// /// origin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] Origin, /// /// originWhenCrossOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originWhenCrossOrigin")] + [JsonPropertyName("originWhenCrossOrigin")] OriginWhenCrossOrigin, /// /// sameOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sameOrigin")] + [JsonPropertyName("sameOrigin")] SameOrigin, /// /// strictOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("strictOrigin")] + [JsonPropertyName("strictOrigin")] StrictOrigin, /// /// strictOriginWhenCrossOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("strictOriginWhenCrossOrigin")] + [JsonPropertyName("strictOriginWhenCrossOrigin")] StrictOriginWhenCrossOrigin, /// /// unsafeUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unsafeUrl")] + [JsonPropertyName("unsafeUrl")] UnsafeUrl } @@ -18879,7 +18615,7 @@ public partial class CompilationCacheParams : CefSharp.DevTools.DevToolsDomainEn /// /// The URL of the script to produce a compilation cache entry for. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -18891,7 +18627,7 @@ public string Url /// A hint to the backend whether eager compilation is recommended. /// (the actual compilation mode used is upon backend discretion). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eager")] + [JsonPropertyName("eager")] public bool? Eager { get; @@ -18899,6 +18635,33 @@ public bool? Eager } } + /// + /// Enum of possible auto-reponse for permisison / prompt dialogs. + /// + public enum AutoResponseMode + { + /// + /// none + /// + [JsonPropertyName("none")] + None, + /// + /// autoAccept + /// + [JsonPropertyName("autoAccept")] + AutoAccept, + /// + /// autoReject + /// + [JsonPropertyName("autoReject")] + AutoReject, + /// + /// autoOptOut + /// + [JsonPropertyName("autoOptOut")] + AutoOptOut + } + /// /// The type of a frameNavigated event. /// @@ -18907,12 +18670,12 @@ public enum NavigationType /// /// Navigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Navigation")] + [JsonPropertyName("Navigation")] Navigation, /// /// BackForwardCacheRestore /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheRestore")] + [JsonPropertyName("BackForwardCacheRestore")] BackForwardCacheRestore } @@ -18924,622 +18687,622 @@ public enum BackForwardCacheNotRestoredReason /// /// NotPrimaryMainFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotPrimaryMainFrame")] + [JsonPropertyName("NotPrimaryMainFrame")] NotPrimaryMainFrame, /// /// BackForwardCacheDisabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabled")] + [JsonPropertyName("BackForwardCacheDisabled")] BackForwardCacheDisabled, /// /// RelatedActiveContentsExist /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RelatedActiveContentsExist")] + [JsonPropertyName("RelatedActiveContentsExist")] RelatedActiveContentsExist, /// /// HTTPStatusNotOK /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HTTPStatusNotOK")] + [JsonPropertyName("HTTPStatusNotOK")] HTTPStatusNotOK, /// /// SchemeNotHTTPOrHTTPS /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemeNotHTTPOrHTTPS")] + [JsonPropertyName("SchemeNotHTTPOrHTTPS")] SchemeNotHTTPOrHTTPS, /// /// Loading /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Loading")] + [JsonPropertyName("Loading")] Loading, /// /// WasGrantedMediaAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WasGrantedMediaAccess")] + [JsonPropertyName("WasGrantedMediaAccess")] WasGrantedMediaAccess, /// /// DisableForRenderFrameHostCalled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DisableForRenderFrameHostCalled")] + [JsonPropertyName("DisableForRenderFrameHostCalled")] DisableForRenderFrameHostCalled, /// /// DomainNotAllowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DomainNotAllowed")] + [JsonPropertyName("DomainNotAllowed")] DomainNotAllowed, /// /// HTTPMethodNotGET /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HTTPMethodNotGET")] + [JsonPropertyName("HTTPMethodNotGET")] HTTPMethodNotGET, /// /// SubframeIsNavigating /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubframeIsNavigating")] + [JsonPropertyName("SubframeIsNavigating")] SubframeIsNavigating, /// /// Timeout /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Timeout")] + [JsonPropertyName("Timeout")] Timeout, /// /// CacheLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheLimit")] + [JsonPropertyName("CacheLimit")] CacheLimit, /// /// JavaScriptExecution /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("JavaScriptExecution")] + [JsonPropertyName("JavaScriptExecution")] JavaScriptExecution, /// /// RendererProcessKilled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessKilled")] + [JsonPropertyName("RendererProcessKilled")] RendererProcessKilled, /// /// RendererProcessCrashed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessCrashed")] + [JsonPropertyName("RendererProcessCrashed")] RendererProcessCrashed, /// /// SchedulerTrackedFeatureUsed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchedulerTrackedFeatureUsed")] + [JsonPropertyName("SchedulerTrackedFeatureUsed")] SchedulerTrackedFeatureUsed, /// /// ConflictingBrowsingInstance /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConflictingBrowsingInstance")] + [JsonPropertyName("ConflictingBrowsingInstance")] ConflictingBrowsingInstance, /// /// CacheFlushed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheFlushed")] + [JsonPropertyName("CacheFlushed")] CacheFlushed, /// /// ServiceWorkerVersionActivation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerVersionActivation")] + [JsonPropertyName("ServiceWorkerVersionActivation")] ServiceWorkerVersionActivation, /// /// SessionRestored /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SessionRestored")] + [JsonPropertyName("SessionRestored")] SessionRestored, /// /// ServiceWorkerPostMessage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerPostMessage")] + [JsonPropertyName("ServiceWorkerPostMessage")] ServiceWorkerPostMessage, /// /// EnteredBackForwardCacheBeforeServiceWorkerHostAdded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EnteredBackForwardCacheBeforeServiceWorkerHostAdded")] + [JsonPropertyName("EnteredBackForwardCacheBeforeServiceWorkerHostAdded")] EnteredBackForwardCacheBeforeServiceWorkerHostAdded, /// /// RenderFrameHostReused_SameSite /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RenderFrameHostReused_SameSite")] + [JsonPropertyName("RenderFrameHostReused_SameSite")] RenderFrameHostReusedSameSite, /// /// RenderFrameHostReused_CrossSite /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RenderFrameHostReused_CrossSite")] + [JsonPropertyName("RenderFrameHostReused_CrossSite")] RenderFrameHostReusedCrossSite, /// /// ServiceWorkerClaim /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerClaim")] + [JsonPropertyName("ServiceWorkerClaim")] ServiceWorkerClaim, /// /// IgnoreEventAndEvict /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IgnoreEventAndEvict")] + [JsonPropertyName("IgnoreEventAndEvict")] IgnoreEventAndEvict, /// /// HaveInnerContents /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HaveInnerContents")] + [JsonPropertyName("HaveInnerContents")] HaveInnerContents, /// /// TimeoutPuttingInCache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TimeoutPuttingInCache")] + [JsonPropertyName("TimeoutPuttingInCache")] TimeoutPuttingInCache, /// /// BackForwardCacheDisabledByLowMemory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledByLowMemory")] + [JsonPropertyName("BackForwardCacheDisabledByLowMemory")] BackForwardCacheDisabledByLowMemory, /// /// BackForwardCacheDisabledByCommandLine /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledByCommandLine")] + [JsonPropertyName("BackForwardCacheDisabledByCommandLine")] BackForwardCacheDisabledByCommandLine, /// /// NetworkRequestDatapipeDrainedAsBytesConsumer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestDatapipeDrainedAsBytesConsumer")] + [JsonPropertyName("NetworkRequestDatapipeDrainedAsBytesConsumer")] NetworkRequestDatapipeDrainedAsBytesConsumer, /// /// NetworkRequestRedirected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestRedirected")] + [JsonPropertyName("NetworkRequestRedirected")] NetworkRequestRedirected, /// /// NetworkRequestTimeout /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestTimeout")] + [JsonPropertyName("NetworkRequestTimeout")] NetworkRequestTimeout, /// /// NetworkExceedsBufferLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkExceedsBufferLimit")] + [JsonPropertyName("NetworkExceedsBufferLimit")] NetworkExceedsBufferLimit, /// /// NavigationCancelledWhileRestoring /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationCancelledWhileRestoring")] + [JsonPropertyName("NavigationCancelledWhileRestoring")] NavigationCancelledWhileRestoring, /// /// NotMostRecentNavigationEntry /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotMostRecentNavigationEntry")] + [JsonPropertyName("NotMostRecentNavigationEntry")] NotMostRecentNavigationEntry, /// /// BackForwardCacheDisabledForPrerender /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledForPrerender")] + [JsonPropertyName("BackForwardCacheDisabledForPrerender")] BackForwardCacheDisabledForPrerender, /// /// UserAgentOverrideDiffers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserAgentOverrideDiffers")] + [JsonPropertyName("UserAgentOverrideDiffers")] UserAgentOverrideDiffers, /// /// ForegroundCacheLimit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ForegroundCacheLimit")] + [JsonPropertyName("ForegroundCacheLimit")] ForegroundCacheLimit, /// /// BrowsingInstanceNotSwapped /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BrowsingInstanceNotSwapped")] + [JsonPropertyName("BrowsingInstanceNotSwapped")] BrowsingInstanceNotSwapped, /// /// BackForwardCacheDisabledForDelegate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledForDelegate")] + [JsonPropertyName("BackForwardCacheDisabledForDelegate")] BackForwardCacheDisabledForDelegate, /// /// UnloadHandlerExistsInMainFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnloadHandlerExistsInMainFrame")] + [JsonPropertyName("UnloadHandlerExistsInMainFrame")] UnloadHandlerExistsInMainFrame, /// /// UnloadHandlerExistsInSubFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnloadHandlerExistsInSubFrame")] + [JsonPropertyName("UnloadHandlerExistsInSubFrame")] UnloadHandlerExistsInSubFrame, /// /// ServiceWorkerUnregistration /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerUnregistration")] + [JsonPropertyName("ServiceWorkerUnregistration")] ServiceWorkerUnregistration, /// /// CacheControlNoStore /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStore")] + [JsonPropertyName("CacheControlNoStore")] CacheControlNoStore, /// /// CacheControlNoStoreCookieModified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStoreCookieModified")] + [JsonPropertyName("CacheControlNoStoreCookieModified")] CacheControlNoStoreCookieModified, /// /// CacheControlNoStoreHTTPOnlyCookieModified /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStoreHTTPOnlyCookieModified")] + [JsonPropertyName("CacheControlNoStoreHTTPOnlyCookieModified")] CacheControlNoStoreHTTPOnlyCookieModified, /// /// NoResponseHead /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoResponseHead")] + [JsonPropertyName("NoResponseHead")] NoResponseHead, /// /// Unknown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unknown")] + [JsonPropertyName("Unknown")] Unknown, /// /// ActivationNavigationsDisallowedForBug1234857 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationNavigationsDisallowedForBug1234857")] + [JsonPropertyName("ActivationNavigationsDisallowedForBug1234857")] ActivationNavigationsDisallowedForBug1234857, /// /// ErrorDocument /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ErrorDocument")] + [JsonPropertyName("ErrorDocument")] ErrorDocument, /// /// FencedFramesEmbedder /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FencedFramesEmbedder")] + [JsonPropertyName("FencedFramesEmbedder")] FencedFramesEmbedder, /// /// WebSocket /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebSocket")] + [JsonPropertyName("WebSocket")] WebSocket, /// /// WebTransport /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebTransport")] + [JsonPropertyName("WebTransport")] WebTransport, /// /// WebRTC /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebRTC")] + [JsonPropertyName("WebRTC")] WebRTC, /// /// MainResourceHasCacheControlNoStore /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainResourceHasCacheControlNoStore")] + [JsonPropertyName("MainResourceHasCacheControlNoStore")] MainResourceHasCacheControlNoStore, /// /// MainResourceHasCacheControlNoCache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainResourceHasCacheControlNoCache")] + [JsonPropertyName("MainResourceHasCacheControlNoCache")] MainResourceHasCacheControlNoCache, /// /// SubresourceHasCacheControlNoStore /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubresourceHasCacheControlNoStore")] + [JsonPropertyName("SubresourceHasCacheControlNoStore")] SubresourceHasCacheControlNoStore, /// /// SubresourceHasCacheControlNoCache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubresourceHasCacheControlNoCache")] + [JsonPropertyName("SubresourceHasCacheControlNoCache")] SubresourceHasCacheControlNoCache, /// /// ContainsPlugins /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContainsPlugins")] + [JsonPropertyName("ContainsPlugins")] ContainsPlugins, /// /// DocumentLoaded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DocumentLoaded")] + [JsonPropertyName("DocumentLoaded")] DocumentLoaded, /// /// DedicatedWorkerOrWorklet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DedicatedWorkerOrWorklet")] + [JsonPropertyName("DedicatedWorkerOrWorklet")] DedicatedWorkerOrWorklet, /// /// OutstandingNetworkRequestOthers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestOthers")] + [JsonPropertyName("OutstandingNetworkRequestOthers")] OutstandingNetworkRequestOthers, /// /// OutstandingIndexedDBTransaction /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingIndexedDBTransaction")] + [JsonPropertyName("OutstandingIndexedDBTransaction")] OutstandingIndexedDBTransaction, /// /// RequestedMIDIPermission /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedMIDIPermission")] + [JsonPropertyName("RequestedMIDIPermission")] RequestedMIDIPermission, /// /// RequestedAudioCapturePermission /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedAudioCapturePermission")] + [JsonPropertyName("RequestedAudioCapturePermission")] RequestedAudioCapturePermission, /// /// RequestedVideoCapturePermission /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedVideoCapturePermission")] + [JsonPropertyName("RequestedVideoCapturePermission")] RequestedVideoCapturePermission, /// /// RequestedBackForwardCacheBlockedSensors /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedBackForwardCacheBlockedSensors")] + [JsonPropertyName("RequestedBackForwardCacheBlockedSensors")] RequestedBackForwardCacheBlockedSensors, /// /// RequestedBackgroundWorkPermission /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedBackgroundWorkPermission")] + [JsonPropertyName("RequestedBackgroundWorkPermission")] RequestedBackgroundWorkPermission, /// /// BroadcastChannel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BroadcastChannel")] + [JsonPropertyName("BroadcastChannel")] BroadcastChannel, /// /// IndexedDBConnection /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IndexedDBConnection")] + [JsonPropertyName("IndexedDBConnection")] IndexedDBConnection, /// /// WebXR /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebXR")] + [JsonPropertyName("WebXR")] WebXR, /// /// SharedWorker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedWorker")] + [JsonPropertyName("SharedWorker")] SharedWorker, /// /// WebLocks /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebLocks")] + [JsonPropertyName("WebLocks")] WebLocks, /// /// WebHID /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebHID")] + [JsonPropertyName("WebHID")] WebHID, /// /// WebShare /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebShare")] + [JsonPropertyName("WebShare")] WebShare, /// /// RequestedStorageAccessGrant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedStorageAccessGrant")] + [JsonPropertyName("RequestedStorageAccessGrant")] RequestedStorageAccessGrant, /// /// WebNfc /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebNfc")] + [JsonPropertyName("WebNfc")] WebNfc, /// /// OutstandingNetworkRequestFetch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestFetch")] + [JsonPropertyName("OutstandingNetworkRequestFetch")] OutstandingNetworkRequestFetch, /// /// OutstandingNetworkRequestXHR /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestXHR")] + [JsonPropertyName("OutstandingNetworkRequestXHR")] OutstandingNetworkRequestXHR, /// /// AppBanner /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AppBanner")] + [JsonPropertyName("AppBanner")] AppBanner, /// /// Printing /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Printing")] + [JsonPropertyName("Printing")] Printing, /// /// WebDatabase /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebDatabase")] + [JsonPropertyName("WebDatabase")] WebDatabase, /// /// PictureInPicture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PictureInPicture")] + [JsonPropertyName("PictureInPicture")] PictureInPicture, /// /// Portal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Portal")] + [JsonPropertyName("Portal")] Portal, /// /// SpeechRecognizer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SpeechRecognizer")] + [JsonPropertyName("SpeechRecognizer")] SpeechRecognizer, /// /// IdleManager /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdleManager")] + [JsonPropertyName("IdleManager")] IdleManager, /// /// PaymentManager /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentManager")] + [JsonPropertyName("PaymentManager")] PaymentManager, /// /// SpeechSynthesis /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SpeechSynthesis")] + [JsonPropertyName("SpeechSynthesis")] SpeechSynthesis, /// /// KeyboardLock /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("KeyboardLock")] + [JsonPropertyName("KeyboardLock")] KeyboardLock, /// /// WebOTPService /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebOTPService")] + [JsonPropertyName("WebOTPService")] WebOTPService, /// /// OutstandingNetworkRequestDirectSocket /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestDirectSocket")] + [JsonPropertyName("OutstandingNetworkRequestDirectSocket")] OutstandingNetworkRequestDirectSocket, /// /// InjectedJavascript /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InjectedJavascript")] + [JsonPropertyName("InjectedJavascript")] InjectedJavascript, /// /// InjectedStyleSheet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InjectedStyleSheet")] + [JsonPropertyName("InjectedStyleSheet")] InjectedStyleSheet, /// /// KeepaliveRequest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("KeepaliveRequest")] + [JsonPropertyName("KeepaliveRequest")] KeepaliveRequest, /// /// IndexedDBEvent /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("IndexedDBEvent")] + [JsonPropertyName("IndexedDBEvent")] IndexedDBEvent, /// /// Dummy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Dummy")] + [JsonPropertyName("Dummy")] Dummy, /// /// AuthorizationHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AuthorizationHeader")] + [JsonPropertyName("AuthorizationHeader")] AuthorizationHeader, /// /// ContentSecurityHandler /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentSecurityHandler")] + [JsonPropertyName("ContentSecurityHandler")] ContentSecurityHandler, /// /// ContentWebAuthenticationAPI /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentWebAuthenticationAPI")] + [JsonPropertyName("ContentWebAuthenticationAPI")] ContentWebAuthenticationAPI, /// /// ContentFileChooser /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentFileChooser")] + [JsonPropertyName("ContentFileChooser")] ContentFileChooser, /// /// ContentSerial /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentSerial")] + [JsonPropertyName("ContentSerial")] ContentSerial, /// /// ContentFileSystemAccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentFileSystemAccess")] + [JsonPropertyName("ContentFileSystemAccess")] ContentFileSystemAccess, /// /// ContentMediaDevicesDispatcherHost /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentMediaDevicesDispatcherHost")] + [JsonPropertyName("ContentMediaDevicesDispatcherHost")] ContentMediaDevicesDispatcherHost, /// /// ContentWebBluetooth /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentWebBluetooth")] + [JsonPropertyName("ContentWebBluetooth")] ContentWebBluetooth, /// /// ContentWebUSB /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentWebUSB")] + [JsonPropertyName("ContentWebUSB")] ContentWebUSB, /// /// ContentMediaSessionService /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentMediaSessionService")] + [JsonPropertyName("ContentMediaSessionService")] ContentMediaSessionService, /// /// ContentScreenReader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentScreenReader")] + [JsonPropertyName("ContentScreenReader")] ContentScreenReader, /// /// EmbedderPopupBlockerTabHelper /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderPopupBlockerTabHelper")] + [JsonPropertyName("EmbedderPopupBlockerTabHelper")] EmbedderPopupBlockerTabHelper, /// /// EmbedderSafeBrowsingTriggeredPopupBlocker /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderSafeBrowsingTriggeredPopupBlocker")] + [JsonPropertyName("EmbedderSafeBrowsingTriggeredPopupBlocker")] EmbedderSafeBrowsingTriggeredPopupBlocker, /// /// EmbedderSafeBrowsingThreatDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderSafeBrowsingThreatDetails")] + [JsonPropertyName("EmbedderSafeBrowsingThreatDetails")] EmbedderSafeBrowsingThreatDetails, /// /// EmbedderAppBannerManager /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderAppBannerManager")] + [JsonPropertyName("EmbedderAppBannerManager")] EmbedderAppBannerManager, /// /// EmbedderDomDistillerViewerSource /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderDomDistillerViewerSource")] + [JsonPropertyName("EmbedderDomDistillerViewerSource")] EmbedderDomDistillerViewerSource, /// /// EmbedderDomDistillerSelfDeletingRequestDelegate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderDomDistillerSelfDeletingRequestDelegate")] + [JsonPropertyName("EmbedderDomDistillerSelfDeletingRequestDelegate")] EmbedderDomDistillerSelfDeletingRequestDelegate, /// /// EmbedderOomInterventionTabHelper /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderOomInterventionTabHelper")] + [JsonPropertyName("EmbedderOomInterventionTabHelper")] EmbedderOomInterventionTabHelper, /// /// EmbedderOfflinePage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderOfflinePage")] + [JsonPropertyName("EmbedderOfflinePage")] EmbedderOfflinePage, /// /// EmbedderChromePasswordManagerClientBindCredentialManager /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderChromePasswordManagerClientBindCredentialManager")] + [JsonPropertyName("EmbedderChromePasswordManagerClientBindCredentialManager")] EmbedderChromePasswordManagerClientBindCredentialManager, /// /// EmbedderPermissionRequestManager /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderPermissionRequestManager")] + [JsonPropertyName("EmbedderPermissionRequestManager")] EmbedderPermissionRequestManager, /// /// EmbedderModalDialog /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderModalDialog")] + [JsonPropertyName("EmbedderModalDialog")] EmbedderModalDialog, /// /// EmbedderExtensions /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderExtensions")] + [JsonPropertyName("EmbedderExtensions")] EmbedderExtensions, /// /// EmbedderExtensionMessaging /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderExtensionMessaging")] + [JsonPropertyName("EmbedderExtensionMessaging")] EmbedderExtensionMessaging, /// /// EmbedderExtensionMessagingForOpenPort /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderExtensionMessagingForOpenPort")] + [JsonPropertyName("EmbedderExtensionMessagingForOpenPort")] EmbedderExtensionMessagingForOpenPort, /// /// EmbedderExtensionSentMessageToCachedFrame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderExtensionSentMessageToCachedFrame")] + [JsonPropertyName("EmbedderExtensionSentMessageToCachedFrame")] EmbedderExtensionSentMessageToCachedFrame } @@ -19551,17 +19314,17 @@ public enum BackForwardCacheNotRestoredReasonType /// /// SupportPending /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SupportPending")] + [JsonPropertyName("SupportPending")] SupportPending, /// /// PageSupportNeeded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PageSupportNeeded")] + [JsonPropertyName("PageSupportNeeded")] PageSupportNeeded, /// /// Circumstantial /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Circumstantial")] + [JsonPropertyName("Circumstantial")] Circumstantial } @@ -19573,7 +19336,7 @@ public partial class BackForwardCacheNotRestoredExplanation : CefSharp.DevTools. /// /// Type of the reason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType Type { get; @@ -19583,7 +19346,7 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType Type /// /// Not restored reason /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonPropertyName("reason")] public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason { get; @@ -19595,7 +19358,7 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason /// dependent on the reason: /// - EmbedderExtensionSentMessageToCachedFrame: the extension ID. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("context")] + [JsonPropertyName("context")] public string Context { get; @@ -19611,7 +19374,7 @@ public partial class BackForwardCacheNotRestoredExplanationTree : CefSharp.DevTo /// /// URL of each frame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -19622,7 +19385,7 @@ public string Url /// /// Not restored reasons of each frame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("explanations")] + [JsonPropertyName("explanations")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Explanations { @@ -19633,7 +19396,7 @@ public System.Collections.Generic.IList /// Array of children frame /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("children")] + [JsonPropertyName("children")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Children { @@ -19650,263 +19413,321 @@ public enum PrerenderFinalStatus /// /// Activated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Activated")] + [JsonPropertyName("Activated")] Activated, /// /// Destroyed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Destroyed")] + [JsonPropertyName("Destroyed")] Destroyed, /// /// LowEndDevice /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LowEndDevice")] + [JsonPropertyName("LowEndDevice")] LowEndDevice, /// /// InvalidSchemeRedirect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSchemeRedirect")] + [JsonPropertyName("InvalidSchemeRedirect")] InvalidSchemeRedirect, /// /// InvalidSchemeNavigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSchemeNavigation")] + [JsonPropertyName("InvalidSchemeNavigation")] InvalidSchemeNavigation, /// /// InProgressNavigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InProgressNavigation")] + [JsonPropertyName("InProgressNavigation")] InProgressNavigation, /// /// NavigationRequestBlockedByCsp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationRequestBlockedByCsp")] + [JsonPropertyName("NavigationRequestBlockedByCsp")] NavigationRequestBlockedByCsp, /// /// MainFrameNavigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainFrameNavigation")] + [JsonPropertyName("MainFrameNavigation")] MainFrameNavigation, /// /// MojoBinderPolicy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MojoBinderPolicy")] + [JsonPropertyName("MojoBinderPolicy")] MojoBinderPolicy, /// /// RendererProcessCrashed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessCrashed")] + [JsonPropertyName("RendererProcessCrashed")] RendererProcessCrashed, /// /// RendererProcessKilled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessKilled")] + [JsonPropertyName("RendererProcessKilled")] RendererProcessKilled, /// /// Download /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Download")] + [JsonPropertyName("Download")] Download, /// /// TriggerDestroyed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerDestroyed")] + [JsonPropertyName("TriggerDestroyed")] TriggerDestroyed, /// /// NavigationNotCommitted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationNotCommitted")] + [JsonPropertyName("NavigationNotCommitted")] NavigationNotCommitted, /// /// NavigationBadHttpStatus /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationBadHttpStatus")] + [JsonPropertyName("NavigationBadHttpStatus")] NavigationBadHttpStatus, /// /// ClientCertRequested /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientCertRequested")] + [JsonPropertyName("ClientCertRequested")] ClientCertRequested, /// /// NavigationRequestNetworkError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationRequestNetworkError")] + [JsonPropertyName("NavigationRequestNetworkError")] NavigationRequestNetworkError, /// /// MaxNumOfRunningPrerendersExceeded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MaxNumOfRunningPrerendersExceeded")] + [JsonPropertyName("MaxNumOfRunningPrerendersExceeded")] MaxNumOfRunningPrerendersExceeded, /// /// CancelAllHostsForTesting /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CancelAllHostsForTesting")] + [JsonPropertyName("CancelAllHostsForTesting")] CancelAllHostsForTesting, /// /// DidFailLoad /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DidFailLoad")] + [JsonPropertyName("DidFailLoad")] DidFailLoad, /// /// Stop /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Stop")] + [JsonPropertyName("Stop")] Stop, /// /// SslCertificateError /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SslCertificateError")] + [JsonPropertyName("SslCertificateError")] SslCertificateError, /// /// LoginAuthRequested /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LoginAuthRequested")] + [JsonPropertyName("LoginAuthRequested")] LoginAuthRequested, /// /// UaChangeRequiresReload /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("UaChangeRequiresReload")] + [JsonPropertyName("UaChangeRequiresReload")] UaChangeRequiresReload, /// /// BlockedByClient /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByClient")] + [JsonPropertyName("BlockedByClient")] BlockedByClient, /// /// AudioOutputDeviceRequested /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("AudioOutputDeviceRequested")] + [JsonPropertyName("AudioOutputDeviceRequested")] AudioOutputDeviceRequested, /// /// MixedContent /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContent")] + [JsonPropertyName("MixedContent")] MixedContent, /// /// TriggerBackgrounded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerBackgrounded")] + [JsonPropertyName("TriggerBackgrounded")] TriggerBackgrounded, /// /// EmbedderTriggeredAndCrossOriginRedirected /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndCrossOriginRedirected")] + [JsonPropertyName("EmbedderTriggeredAndCrossOriginRedirected")] EmbedderTriggeredAndCrossOriginRedirected, /// /// MemoryLimitExceeded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("MemoryLimitExceeded")] + [JsonPropertyName("MemoryLimitExceeded")] MemoryLimitExceeded, /// /// FailToGetMemoryUsage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("FailToGetMemoryUsage")] + [JsonPropertyName("FailToGetMemoryUsage")] FailToGetMemoryUsage, /// /// DataSaverEnabled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DataSaverEnabled")] + [JsonPropertyName("DataSaverEnabled")] DataSaverEnabled, /// /// HasEffectiveUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("HasEffectiveUrl")] + [JsonPropertyName("HasEffectiveUrl")] HasEffectiveUrl, /// /// ActivatedBeforeStarted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivatedBeforeStarted")] + [JsonPropertyName("ActivatedBeforeStarted")] ActivatedBeforeStarted, /// /// InactivePageRestriction /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InactivePageRestriction")] + [JsonPropertyName("InactivePageRestriction")] InactivePageRestriction, /// /// StartFailed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("StartFailed")] + [JsonPropertyName("StartFailed")] StartFailed, /// /// TimeoutBackgrounded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TimeoutBackgrounded")] + [JsonPropertyName("TimeoutBackgrounded")] TimeoutBackgrounded, /// /// CrossSiteRedirect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossSiteRedirect")] + [JsonPropertyName("CrossSiteRedirect")] CrossSiteRedirect, /// /// CrossSiteNavigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossSiteNavigation")] + [JsonPropertyName("CrossSiteNavigation")] CrossSiteNavigation, /// /// SameSiteCrossOriginRedirect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteCrossOriginRedirect")] + [JsonPropertyName("SameSiteCrossOriginRedirect")] SameSiteCrossOriginRedirect, /// /// SameSiteCrossOriginNavigation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteCrossOriginNavigation")] + [JsonPropertyName("SameSiteCrossOriginNavigation")] SameSiteCrossOriginNavigation, /// /// SameSiteCrossOriginRedirectNotOptIn /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteCrossOriginRedirectNotOptIn")] + [JsonPropertyName("SameSiteCrossOriginRedirectNotOptIn")] SameSiteCrossOriginRedirectNotOptIn, /// /// SameSiteCrossOriginNavigationNotOptIn /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteCrossOriginNavigationNotOptIn")] + [JsonPropertyName("SameSiteCrossOriginNavigationNotOptIn")] SameSiteCrossOriginNavigationNotOptIn, /// /// ActivationNavigationParameterMismatch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationNavigationParameterMismatch")] + [JsonPropertyName("ActivationNavigationParameterMismatch")] ActivationNavigationParameterMismatch, /// /// ActivatedInBackground /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivatedInBackground")] + [JsonPropertyName("ActivatedInBackground")] ActivatedInBackground, /// /// EmbedderHostDisallowed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderHostDisallowed")] + [JsonPropertyName("EmbedderHostDisallowed")] EmbedderHostDisallowed, /// /// ActivationNavigationDestroyedBeforeSuccess /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationNavigationDestroyedBeforeSuccess")] + [JsonPropertyName("ActivationNavigationDestroyedBeforeSuccess")] ActivationNavigationDestroyedBeforeSuccess, /// /// TabClosedByUserGesture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TabClosedByUserGesture")] + [JsonPropertyName("TabClosedByUserGesture")] TabClosedByUserGesture, /// /// TabClosedWithoutUserGesture /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("TabClosedWithoutUserGesture")] + [JsonPropertyName("TabClosedWithoutUserGesture")] TabClosedWithoutUserGesture, /// /// PrimaryMainFrameRendererProcessCrashed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrimaryMainFrameRendererProcessCrashed")] + [JsonPropertyName("PrimaryMainFrameRendererProcessCrashed")] PrimaryMainFrameRendererProcessCrashed, /// /// PrimaryMainFrameRendererProcessKilled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrimaryMainFrameRendererProcessKilled")] + [JsonPropertyName("PrimaryMainFrameRendererProcessKilled")] PrimaryMainFrameRendererProcessKilled, /// /// ActivationFramePolicyNotCompatible /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationFramePolicyNotCompatible")] - ActivationFramePolicyNotCompatible + [JsonPropertyName("ActivationFramePolicyNotCompatible")] + ActivationFramePolicyNotCompatible, + /// + /// PreloadingDisabled + /// + [JsonPropertyName("PreloadingDisabled")] + PreloadingDisabled, + /// + /// BatterySaverEnabled + /// + [JsonPropertyName("BatterySaverEnabled")] + BatterySaverEnabled, + /// + /// ActivatedDuringMainFrameNavigation + /// + [JsonPropertyName("ActivatedDuringMainFrameNavigation")] + ActivatedDuringMainFrameNavigation, + /// + /// PreloadingUnsupportedByWebContents + /// + [JsonPropertyName("PreloadingUnsupportedByWebContents")] + PreloadingUnsupportedByWebContents + } + + /// + /// Preloading status values, see also PreloadingTriggeringOutcome. This + /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. + /// + public enum PreloadingStatus + { + /// + /// Pending + /// + [JsonPropertyName("Pending")] + Pending, + /// + /// Running + /// + [JsonPropertyName("Running")] + Running, + /// + /// Ready + /// + [JsonPropertyName("Ready")] + Ready, + /// + /// Success + /// + [JsonPropertyName("Success")] + Success, + /// + /// Failure + /// + [JsonPropertyName("Failure")] + Failure, + /// + /// NotSupported + /// + [JsonPropertyName("NotSupported")] + NotSupported } /// @@ -19917,8 +19738,8 @@ public class DomContentEventFiredEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -19934,12 +19755,12 @@ public enum FileChooserOpenedMode /// /// selectSingle /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selectSingle")] + [JsonPropertyName("selectSingle")] SelectSingle, /// /// selectMultiple /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selectMultiple")] + [JsonPropertyName("selectMultiple")] SelectMultiple } @@ -19951,8 +19772,8 @@ public class FileChooserOpenedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame containing input node. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -19963,8 +19784,8 @@ public string FrameId /// /// Input mode. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mode")] + [JsonInclude] + [JsonPropertyName("mode")] public CefSharp.DevTools.Page.FileChooserOpenedMode Mode { get; @@ -19974,8 +19795,8 @@ public CefSharp.DevTools.Page.FileChooserOpenedMode Mode /// /// Input node id. Only present for file choosers opened via an <input type="file" > element. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonInclude] + [JsonPropertyName("backendNodeId")] public int? BackendNodeId { get; @@ -19991,8 +19812,8 @@ public class FrameAttachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Id of the frame that has been attached. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20003,8 +19824,8 @@ public string FrameId /// /// Parent frame identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentFrameId")] + [JsonInclude] + [JsonPropertyName("parentFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ParentFrameId { @@ -20015,8 +19836,8 @@ public string ParentFrameId /// /// JavaScript stack trace of when frame was attached, only set if frame initiated from script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")] + [JsonInclude] + [JsonPropertyName("stack")] public CefSharp.DevTools.Runtime.StackTrace Stack { get; @@ -20032,8 +19853,8 @@ public class FrameClearedScheduledNavigationEventArgs : CefSharp.DevTools.DevToo /// /// Id of the frame that has cleared its scheduled navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20050,12 +19871,12 @@ public enum FrameDetachedReason /// /// remove /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("remove")] + [JsonPropertyName("remove")] Remove, /// /// swap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("swap")] + [JsonPropertyName("swap")] Swap } @@ -20067,8 +19888,8 @@ public class FrameDetachedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Id of the frame that has been detached. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20079,8 +19900,8 @@ public string FrameId /// /// Reason /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] public CefSharp.DevTools.Page.FrameDetachedReason Reason { get; @@ -20096,8 +19917,8 @@ public class FrameNavigatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Frame object. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonInclude] + [JsonPropertyName("frame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.Frame Frame { @@ -20108,8 +19929,8 @@ public CefSharp.DevTools.Page.Frame Frame /// /// Type /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Page.NavigationType Type { get; @@ -20125,8 +19946,8 @@ public class DocumentOpenedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Frame object. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")] + [JsonInclude] + [JsonPropertyName("frame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.Frame Frame { @@ -20144,8 +19965,8 @@ public class FrameRequestedNavigationEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Id of the frame that is being navigated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20156,8 +19977,8 @@ public string FrameId /// /// The reason for the navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] public CefSharp.DevTools.Page.ClientNavigationReason Reason { get; @@ -20167,8 +19988,8 @@ public CefSharp.DevTools.Page.ClientNavigationReason Reason /// /// The destination URL for the requested navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20179,8 +20000,8 @@ public string Url /// /// The disposition for the navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disposition")] + [JsonInclude] + [JsonPropertyName("disposition")] public CefSharp.DevTools.Page.ClientNavigationDisposition Disposition { get; @@ -20196,8 +20017,8 @@ public class FrameScheduledNavigationEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Id of the frame that has scheduled a navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20209,8 +20030,8 @@ public string FrameId /// Delay (in seconds) until the navigation is scheduled to begin. The navigation is not /// guaranteed to start. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("delay")] + [JsonInclude] + [JsonPropertyName("delay")] public double Delay { get; @@ -20220,8 +20041,8 @@ public double Delay /// /// The reason for the navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] public CefSharp.DevTools.Page.ClientNavigationReason Reason { get; @@ -20231,8 +20052,8 @@ public CefSharp.DevTools.Page.ClientNavigationReason Reason /// /// The destination URL for the scheduled navigation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20249,8 +20070,8 @@ public class FrameStartedLoadingEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Id of the frame that has started loading. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20267,8 +20088,8 @@ public class FrameStoppedLoadingEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Id of the frame that has stopped loading. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20286,8 +20107,8 @@ public class DownloadWillBeginEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Id of the frame that caused download to begin. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20298,8 +20119,8 @@ public string FrameId /// /// Global unique identifier of the download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("guid")] + [JsonInclude] + [JsonPropertyName("guid")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Guid { @@ -20310,8 +20131,8 @@ public string Guid /// /// URL of the resource being downloaded. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20322,8 +20143,8 @@ public string Url /// /// Suggested file name of the resource (the actual name of the file saved on disk may differ). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("suggestedFilename")] + [JsonInclude] + [JsonPropertyName("suggestedFilename")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SuggestedFilename { @@ -20340,17 +20161,17 @@ public enum DownloadProgressState /// /// inProgress /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inProgress")] + [JsonPropertyName("inProgress")] InProgress, /// /// completed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("completed")] + [JsonPropertyName("completed")] Completed, /// /// canceled /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canceled")] + [JsonPropertyName("canceled")] Canceled } @@ -20363,8 +20184,8 @@ public class DownloadProgressEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Global unique identifier of the download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("guid")] + [JsonInclude] + [JsonPropertyName("guid")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Guid { @@ -20375,8 +20196,8 @@ public string Guid /// /// Total expected bytes to download. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("totalBytes")] + [JsonInclude] + [JsonPropertyName("totalBytes")] public double TotalBytes { get; @@ -20386,8 +20207,8 @@ public double TotalBytes /// /// Total bytes received. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("receivedBytes")] + [JsonInclude] + [JsonPropertyName("receivedBytes")] public double ReceivedBytes { get; @@ -20397,8 +20218,8 @@ public double ReceivedBytes /// /// Download status. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("state")] + [JsonInclude] + [JsonPropertyName("state")] public CefSharp.DevTools.Page.DownloadProgressState State { get; @@ -20415,8 +20236,8 @@ public class JavascriptDialogClosedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Whether dialog was confirmed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public bool Result { get; @@ -20426,8 +20247,8 @@ public bool Result /// /// User input in case of prompt. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userInput")] + [JsonInclude] + [JsonPropertyName("userInput")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string UserInput { @@ -20445,8 +20266,8 @@ public class JavascriptDialogOpeningEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Frame url. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20457,8 +20278,8 @@ public string Url /// /// Message that will be displayed by the dialog. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonInclude] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -20469,8 +20290,8 @@ public string Message /// /// Dialog type. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Page.DialogType Type { get; @@ -20482,8 +20303,8 @@ public CefSharp.DevTools.Page.DialogType Type /// dialog handler for given target, calling alert while Page domain is engaged will stall /// the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasBrowserHandler")] + [JsonInclude] + [JsonPropertyName("hasBrowserHandler")] public bool HasBrowserHandler { get; @@ -20493,8 +20314,8 @@ public bool HasBrowserHandler /// /// Default dialog prompt. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("defaultPrompt")] + [JsonInclude] + [JsonPropertyName("defaultPrompt")] public string DefaultPrompt { get; @@ -20510,8 +20331,8 @@ public class LifecycleEventEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Id of the frame. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20522,8 +20343,8 @@ public string FrameId /// /// Loader identifier. Empty string if the request is fetched from worker. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonInclude] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -20534,8 +20355,8 @@ public string LoaderId /// /// Name /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonInclude] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -20546,8 +20367,8 @@ public string Name /// /// Timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -20566,8 +20387,8 @@ public class BackForwardCacheNotUsedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// The loader id for the associated navgation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonInclude] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LoaderId { @@ -20578,8 +20399,8 @@ public string LoaderId /// /// The frame id of the associated frame. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20590,8 +20411,8 @@ public string FrameId /// /// Array of reasons why the page could not be cached. This must not be empty. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("notRestoredExplanations")] + [JsonInclude] + [JsonPropertyName("notRestoredExplanations")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList NotRestoredExplanations { @@ -20602,8 +20423,8 @@ public System.Collections.Generic.IList /// Tree structure of reasons why the page could not be cached for each frame. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("notRestoredExplanationsTree")] + [JsonInclude] + [JsonPropertyName("notRestoredExplanationsTree")] public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRestoredExplanationsTree { get; @@ -20619,8 +20440,8 @@ public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// The frame id of the frame initiating prerendering. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("initiatingFrameId")] + [JsonInclude] + [JsonPropertyName("initiatingFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string InitiatingFrameId { @@ -20631,8 +20452,8 @@ public string InitiatingFrameId /// /// PrerenderingUrl /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("prerenderingUrl")] + [JsonInclude] + [JsonPropertyName("prerenderingUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PrerenderingUrl { @@ -20643,8 +20464,8 @@ public string PrerenderingUrl /// /// FinalStatus /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("finalStatus")] + [JsonInclude] + [JsonPropertyName("finalStatus")] public CefSharp.DevTools.Page.PrerenderFinalStatus FinalStatus { get; @@ -20655,8 +20476,8 @@ public CefSharp.DevTools.Page.PrerenderFinalStatus FinalStatus /// This is used to give users more information about the name of the API call /// that is incompatible with prerender and has caused the cancellation of the attempt /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("disallowedApiMethod")] + [JsonInclude] + [JsonPropertyName("disallowedApiMethod")] public string DisallowedApiMethod { get; @@ -20664,6 +20485,90 @@ public string DisallowedApiMethod } } + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prefetch attempt is updated. + /// + public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// The frame id of the frame initiating prefetch. + /// + [JsonInclude] + [JsonPropertyName("initiatingFrameId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrefetchUrl + /// + [JsonInclude] + [JsonPropertyName("prefetchUrl")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PrefetchUrl + { + get; + private set; + } + + /// + /// Status + /// + [JsonInclude] + [JsonPropertyName("status")] + public CefSharp.DevTools.Page.PreloadingStatus Status + { + get; + private set; + } + } + + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prerender attempt is updated. + /// + public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// The frame id of the frame initiating prerender. + /// + [JsonInclude] + [JsonPropertyName("initiatingFrameId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrerenderingUrl + /// + [JsonInclude] + [JsonPropertyName("prerenderingUrl")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PrerenderingUrl + { + get; + private set; + } + + /// + /// Status + /// + [JsonInclude] + [JsonPropertyName("status")] + public CefSharp.DevTools.Page.PreloadingStatus Status + { + get; + private set; + } + } + /// /// loadEventFired /// @@ -20672,8 +20577,8 @@ public class LoadEventFiredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -20689,8 +20594,8 @@ public class NavigatedWithinDocumentEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Id of the frame. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -20701,8 +20606,8 @@ public string FrameId /// /// Frame's new url. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20719,8 +20624,8 @@ public class ScreencastFrameEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Base64-encoded compressed image. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] Data { @@ -20731,8 +20636,8 @@ public byte[] Data /// /// Screencast frame metadata. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metadata")] + [JsonInclude] + [JsonPropertyName("metadata")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Page.ScreencastFrameMetadata Metadata { @@ -20743,8 +20648,8 @@ public CefSharp.DevTools.Page.ScreencastFrameMetadata Metadata /// /// Frame number. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] public int SessionId { get; @@ -20760,8 +20665,8 @@ public class ScreencastVisibilityChangedEventArgs : CefSharp.DevTools.DevToolsDo /// /// True if the page is visible. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("visible")] + [JsonInclude] + [JsonPropertyName("visible")] public bool Visible { get; @@ -20778,8 +20683,8 @@ public class WindowOpenEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// The URL for the new window. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20790,8 +20695,8 @@ public string Url /// /// Window name. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("windowName")] + [JsonInclude] + [JsonPropertyName("windowName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string WindowName { @@ -20802,8 +20707,8 @@ public string WindowName /// /// An array of enabled window features. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("windowFeatures")] + [JsonInclude] + [JsonPropertyName("windowFeatures")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] WindowFeatures { @@ -20814,8 +20719,8 @@ public string[] WindowFeatures /// /// Whether or not it was triggered by user gesture. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userGesture")] + [JsonInclude] + [JsonPropertyName("userGesture")] public bool UserGesture { get; @@ -20832,8 +20737,8 @@ public class CompilationCacheProducedEventArgs : CefSharp.DevTools.DevToolsDomai /// /// Url /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -20844,8 +20749,8 @@ public string Url /// /// Base64-encoded data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] Data { @@ -20865,7 +20770,7 @@ public partial class Metric : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Metric name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -20876,7 +20781,7 @@ public string Name /// /// Metric value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public double Value { get; @@ -20892,8 +20797,8 @@ public class MetricsEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Current values of the metrics. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metrics")] + [JsonInclude] + [JsonPropertyName("metrics")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Metrics { @@ -20904,8 +20809,8 @@ public System.Collections.Generic.IList Me /// /// Timestamp title. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonInclude] + [JsonPropertyName("title")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Title { @@ -20925,7 +20830,7 @@ public partial class LargestContentfulPaint : CefSharp.DevTools.DevToolsDomainEn /// /// RenderTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("renderTime")] + [JsonPropertyName("renderTime")] public double RenderTime { get; @@ -20935,7 +20840,7 @@ public double RenderTime /// /// LoadTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loadTime")] + [JsonPropertyName("loadTime")] public double LoadTime { get; @@ -20945,7 +20850,7 @@ public double LoadTime /// /// The number of pixels being painted. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] + [JsonPropertyName("size")] public double Size { get; @@ -20955,7 +20860,7 @@ public double Size /// /// The id attribute of the element, if available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("elementId")] + [JsonPropertyName("elementId")] public string ElementId { get; @@ -20965,7 +20870,7 @@ public string ElementId /// /// The URL of the image (may be trimmed). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -20975,7 +20880,7 @@ public string Url /// /// NodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int? NodeId { get; @@ -20991,7 +20896,7 @@ public partial class LayoutShiftAttribution : CefSharp.DevTools.DevToolsDomainEn /// /// PreviousRect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("previousRect")] + [JsonPropertyName("previousRect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect PreviousRect { @@ -21002,7 +20907,7 @@ public CefSharp.DevTools.DOM.Rect PreviousRect /// /// CurrentRect /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentRect")] + [JsonPropertyName("currentRect")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.DOM.Rect CurrentRect { @@ -21013,7 +20918,7 @@ public CefSharp.DevTools.DOM.Rect CurrentRect /// /// NodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int? NodeId { get; @@ -21029,7 +20934,7 @@ public partial class LayoutShift : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Score increment produced by this event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public double Value { get; @@ -21039,7 +20944,7 @@ public double Value /// /// HadRecentInput /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hadRecentInput")] + [JsonPropertyName("hadRecentInput")] public bool HadRecentInput { get; @@ -21049,7 +20954,7 @@ public bool HadRecentInput /// /// LastInputTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lastInputTime")] + [JsonPropertyName("lastInputTime")] public double LastInputTime { get; @@ -21059,7 +20964,7 @@ public double LastInputTime /// /// Sources /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sources")] + [JsonPropertyName("sources")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Sources { @@ -21076,7 +20981,7 @@ public partial class TimelineEvent : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Identifies the frame that this event is related to. Empty for non-frame targets. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -21088,7 +20993,7 @@ public string FrameId /// The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype /// This determines which of the optional "details" fiedls is present. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Type { @@ -21099,7 +21004,7 @@ public string Type /// /// Name may be empty depending on the type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -21110,7 +21015,7 @@ public string Name /// /// Time in seconds since Epoch, monotonically increasing within document lifetime. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("time")] + [JsonPropertyName("time")] public double Time { get; @@ -21120,7 +21025,7 @@ public double Time /// /// Event duration, if applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("duration")] + [JsonPropertyName("duration")] public double? Duration { get; @@ -21130,7 +21035,7 @@ public double? Duration /// /// LcpDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lcpDetails")] + [JsonPropertyName("lcpDetails")] public CefSharp.DevTools.PerformanceTimeline.LargestContentfulPaint LcpDetails { get; @@ -21140,7 +21045,7 @@ public CefSharp.DevTools.PerformanceTimeline.LargestContentfulPaint LcpDetails /// /// LayoutShiftDetails /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutShiftDetails")] + [JsonPropertyName("layoutShiftDetails")] public CefSharp.DevTools.PerformanceTimeline.LayoutShift LayoutShiftDetails { get; @@ -21156,8 +21061,8 @@ public class TimelineEventAddedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Event /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("event")] + [JsonInclude] + [JsonPropertyName("event")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.PerformanceTimeline.TimelineEvent Event { @@ -21178,17 +21083,17 @@ public enum MixedContentType /// /// blockable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blockable")] + [JsonPropertyName("blockable")] Blockable, /// /// optionally-blockable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("optionally-blockable")] + [JsonPropertyName("optionally-blockable")] OptionallyBlockable, /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None } @@ -21200,32 +21105,32 @@ public enum SecurityState /// /// unknown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")] + [JsonPropertyName("unknown")] Unknown, /// /// neutral /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("neutral")] + [JsonPropertyName("neutral")] Neutral, /// /// insecure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("insecure")] + [JsonPropertyName("insecure")] Insecure, /// /// secure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")] + [JsonPropertyName("secure")] Secure, /// /// info /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("info")] + [JsonPropertyName("info")] Info, /// /// insecure-broken /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("insecure-broken")] + [JsonPropertyName("insecure-broken")] InsecureBroken } @@ -21237,7 +21142,7 @@ public partial class CertificateSecurityState : CefSharp.DevTools.DevToolsDomain /// /// Protocol name (e.g. "TLS 1.2" or "QUIC"). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")] + [JsonPropertyName("protocol")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Protocol { @@ -21248,7 +21153,7 @@ public string Protocol /// /// Key Exchange used by the connection, or the empty string if not applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchange")] + [JsonPropertyName("keyExchange")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string KeyExchange { @@ -21259,7 +21164,7 @@ public string KeyExchange /// /// (EC)DH group used by the connection, if applicable. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchangeGroup")] + [JsonPropertyName("keyExchangeGroup")] public string KeyExchangeGroup { get; @@ -21269,7 +21174,7 @@ public string KeyExchangeGroup /// /// Cipher name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cipher")] + [JsonPropertyName("cipher")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Cipher { @@ -21280,7 +21185,7 @@ public string Cipher /// /// TLS MAC. Note that AEAD ciphers do not have separate MACs. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mac")] + [JsonPropertyName("mac")] public string Mac { get; @@ -21290,7 +21195,7 @@ public string Mac /// /// Page certificate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificate")] + [JsonPropertyName("certificate")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Certificate { @@ -21301,7 +21206,7 @@ public string[] Certificate /// /// Certificate subject name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subjectName")] + [JsonPropertyName("subjectName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SubjectName { @@ -21312,7 +21217,7 @@ public string SubjectName /// /// Name of the issuing CA. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuer")] + [JsonPropertyName("issuer")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Issuer { @@ -21323,7 +21228,7 @@ public string Issuer /// /// Certificate valid from date. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("validFrom")] + [JsonPropertyName("validFrom")] public double ValidFrom { get; @@ -21333,7 +21238,7 @@ public double ValidFrom /// /// Certificate valid to (expiration) date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("validTo")] + [JsonPropertyName("validTo")] public double ValidTo { get; @@ -21343,7 +21248,7 @@ public double ValidTo /// /// The highest priority network error code, if the certificate has an error. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateNetworkError")] + [JsonPropertyName("certificateNetworkError")] public string CertificateNetworkError { get; @@ -21353,7 +21258,7 @@ public string CertificateNetworkError /// /// True if the certificate uses a weak signature aglorithm. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateHasWeakSignature")] + [JsonPropertyName("certificateHasWeakSignature")] public bool CertificateHasWeakSignature { get; @@ -21363,7 +21268,7 @@ public bool CertificateHasWeakSignature /// /// True if the certificate has a SHA1 signature in the chain. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateHasSha1Signature")] + [JsonPropertyName("certificateHasSha1Signature")] public bool CertificateHasSha1Signature { get; @@ -21373,7 +21278,7 @@ public bool CertificateHasSha1Signature /// /// True if modern SSL /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("modernSSL")] + [JsonPropertyName("modernSSL")] public bool ModernSSL { get; @@ -21383,7 +21288,7 @@ public bool ModernSSL /// /// True if the connection is using an obsolete SSL protocol. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslProtocol")] + [JsonPropertyName("obsoleteSslProtocol")] public bool ObsoleteSslProtocol { get; @@ -21393,7 +21298,7 @@ public bool ObsoleteSslProtocol /// /// True if the connection is using an obsolete SSL key exchange. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslKeyExchange")] + [JsonPropertyName("obsoleteSslKeyExchange")] public bool ObsoleteSslKeyExchange { get; @@ -21403,7 +21308,7 @@ public bool ObsoleteSslKeyExchange /// /// True if the connection is using an obsolete SSL cipher. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslCipher")] + [JsonPropertyName("obsoleteSslCipher")] public bool ObsoleteSslCipher { get; @@ -21413,7 +21318,7 @@ public bool ObsoleteSslCipher /// /// True if the connection is using an obsolete SSL signature. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslSignature")] + [JsonPropertyName("obsoleteSslSignature")] public bool ObsoleteSslSignature { get; @@ -21429,12 +21334,12 @@ public enum SafetyTipStatus /// /// badReputation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("badReputation")] + [JsonPropertyName("badReputation")] BadReputation, /// /// lookalike /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lookalike")] + [JsonPropertyName("lookalike")] Lookalike } @@ -21446,7 +21351,7 @@ public partial class SafetyTipInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Describes whether the page triggers any safety tips or reputation warnings. Default is unknown. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("safetyTipStatus")] + [JsonPropertyName("safetyTipStatus")] public CefSharp.DevTools.Security.SafetyTipStatus SafetyTipStatus { get; @@ -21456,7 +21361,7 @@ public CefSharp.DevTools.Security.SafetyTipStatus SafetyTipStatus /// /// The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("safeUrl")] + [JsonPropertyName("safeUrl")] public string SafeUrl { get; @@ -21472,7 +21377,7 @@ public partial class VisibleSecurityState : CefSharp.DevTools.DevToolsDomainEnti /// /// The security level of the page. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")] + [JsonPropertyName("securityState")] public CefSharp.DevTools.Security.SecurityState SecurityState { get; @@ -21482,7 +21387,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Security state details about the page certificate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateSecurityState")] + [JsonPropertyName("certificateSecurityState")] public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecurityState { get; @@ -21492,7 +21397,7 @@ public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecuritySt /// /// The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("safetyTipInfo")] + [JsonPropertyName("safetyTipInfo")] public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo { get; @@ -21502,7 +21407,7 @@ public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo /// /// Array of security state issues ids. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityStateIssueIds")] + [JsonPropertyName("securityStateIssueIds")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] SecurityStateIssueIds { @@ -21519,7 +21424,7 @@ public partial class SecurityStateExplanation : CefSharp.DevTools.DevToolsDomain /// /// Security state representing the severity of the factor being explained. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")] + [JsonPropertyName("securityState")] public CefSharp.DevTools.Security.SecurityState SecurityState { get; @@ -21529,7 +21434,7 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// Title describing the type of factor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Title { @@ -21540,7 +21445,7 @@ public string Title /// /// Short phrase describing the type of factor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("summary")] + [JsonPropertyName("summary")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Summary { @@ -21551,7 +21456,7 @@ public string Summary /// /// Full text explanation of the factor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Description { @@ -21562,7 +21467,7 @@ public string Description /// /// The type of mixed content described by the explanation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentType")] + [JsonPropertyName("mixedContentType")] public CefSharp.DevTools.Security.MixedContentType MixedContentType { get; @@ -21572,7 +21477,7 @@ public CefSharp.DevTools.Security.MixedContentType MixedContentType /// /// Page certificate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("certificate")] + [JsonPropertyName("certificate")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Certificate { @@ -21583,7 +21488,7 @@ public string[] Certificate /// /// Recommendations to fix any issues. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recommendations")] + [JsonPropertyName("recommendations")] public string[] Recommendations { get; @@ -21599,7 +21504,7 @@ public partial class InsecureContentStatus : CefSharp.DevTools.DevToolsDomainEnt /// /// Always false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ranMixedContent")] + [JsonPropertyName("ranMixedContent")] public bool RanMixedContent { get; @@ -21609,7 +21514,7 @@ public bool RanMixedContent /// /// Always false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedMixedContent")] + [JsonPropertyName("displayedMixedContent")] public bool DisplayedMixedContent { get; @@ -21619,7 +21524,7 @@ public bool DisplayedMixedContent /// /// Always false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containedMixedForm")] + [JsonPropertyName("containedMixedForm")] public bool ContainedMixedForm { get; @@ -21629,7 +21534,7 @@ public bool ContainedMixedForm /// /// Always false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ranContentWithCertErrors")] + [JsonPropertyName("ranContentWithCertErrors")] public bool RanContentWithCertErrors { get; @@ -21639,7 +21544,7 @@ public bool RanContentWithCertErrors /// /// Always false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedContentWithCertErrors")] + [JsonPropertyName("displayedContentWithCertErrors")] public bool DisplayedContentWithCertErrors { get; @@ -21649,7 +21554,7 @@ public bool DisplayedContentWithCertErrors /// /// Always set to unknown. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ranInsecureContentStyle")] + [JsonPropertyName("ranInsecureContentStyle")] public CefSharp.DevTools.Security.SecurityState RanInsecureContentStyle { get; @@ -21659,7 +21564,7 @@ public CefSharp.DevTools.Security.SecurityState RanInsecureContentStyle /// /// Always set to unknown. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedInsecureContentStyle")] + [JsonPropertyName("displayedInsecureContentStyle")] public CefSharp.DevTools.Security.SecurityState DisplayedInsecureContentStyle { get; @@ -21676,12 +21581,12 @@ public enum CertificateErrorAction /// /// continue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("continue")] + [JsonPropertyName("continue")] Continue, /// /// cancel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cancel")] + [JsonPropertyName("cancel")] Cancel } @@ -21696,8 +21601,8 @@ public class CertificateErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// The ID of the event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventId")] + [JsonInclude] + [JsonPropertyName("eventId")] public int EventId { get; @@ -21707,8 +21612,8 @@ public int EventId /// /// The type of the error. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorType")] + [JsonInclude] + [JsonPropertyName("errorType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorType { @@ -21719,8 +21624,8 @@ public string ErrorType /// /// The url that was requested. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestURL")] + [JsonInclude] + [JsonPropertyName("requestURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestURL { @@ -21737,8 +21642,8 @@ public class VisibleSecurityStateChangedEventArgs : CefSharp.DevTools.DevToolsDo /// /// Security state information about the page. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("visibleSecurityState")] + [JsonInclude] + [JsonPropertyName("visibleSecurityState")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Security.VisibleSecurityState VisibleSecurityState { @@ -21755,8 +21660,8 @@ public class SecurityStateChangedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Security state. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")] + [JsonInclude] + [JsonPropertyName("securityState")] public CefSharp.DevTools.Security.SecurityState SecurityState { get; @@ -21766,8 +21671,8 @@ public CefSharp.DevTools.Security.SecurityState SecurityState /// /// True if the page was loaded over cryptographic transport such as HTTPS. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("schemeIsCryptographic")] + [JsonInclude] + [JsonPropertyName("schemeIsCryptographic")] public bool SchemeIsCryptographic { get; @@ -21778,8 +21683,8 @@ public bool SchemeIsCryptographic /// Previously a list of explanations for the security state. Now always /// empty. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("explanations")] + [JsonInclude] + [JsonPropertyName("explanations")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Explanations { @@ -21790,8 +21695,8 @@ public System.Collections.Generic.IList /// Information about insecure content on the page. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("insecureContentStatus")] + [JsonInclude] + [JsonPropertyName("insecureContentStatus")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus { @@ -21802,8 +21707,8 @@ public CefSharp.DevTools.Security.InsecureContentStatus InsecureContentStatus /// /// Overrides user-visible description of the state. Always omitted. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("summary")] + [JsonInclude] + [JsonPropertyName("summary")] public string Summary { get; @@ -21822,7 +21727,7 @@ public partial class ServiceWorkerRegistration : CefSharp.DevTools.DevToolsDomai /// /// RegistrationId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")] + [JsonPropertyName("registrationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RegistrationId { @@ -21833,7 +21738,7 @@ public string RegistrationId /// /// ScopeURL /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scopeURL")] + [JsonPropertyName("scopeURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScopeURL { @@ -21844,7 +21749,7 @@ public string ScopeURL /// /// IsDeleted /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isDeleted")] + [JsonPropertyName("isDeleted")] public bool IsDeleted { get; @@ -21860,22 +21765,22 @@ public enum ServiceWorkerVersionRunningStatus /// /// stopped /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stopped")] + [JsonPropertyName("stopped")] Stopped, /// /// starting /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("starting")] + [JsonPropertyName("starting")] Starting, /// /// running /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("running")] + [JsonPropertyName("running")] Running, /// /// stopping /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stopping")] + [JsonPropertyName("stopping")] Stopping } @@ -21887,32 +21792,32 @@ public enum ServiceWorkerVersionStatus /// /// new /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("new")] + [JsonPropertyName("new")] New, /// /// installing /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("installing")] + [JsonPropertyName("installing")] Installing, /// /// installed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("installed")] + [JsonPropertyName("installed")] Installed, /// /// activating /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("activating")] + [JsonPropertyName("activating")] Activating, /// /// activated /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("activated")] + [JsonPropertyName("activated")] Activated, /// /// redundant /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("redundant")] + [JsonPropertyName("redundant")] Redundant } @@ -21924,7 +21829,7 @@ public partial class ServiceWorkerVersion : CefSharp.DevTools.DevToolsDomainEnti /// /// VersionId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("versionId")] + [JsonPropertyName("versionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string VersionId { @@ -21935,7 +21840,7 @@ public string VersionId /// /// RegistrationId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")] + [JsonPropertyName("registrationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RegistrationId { @@ -21946,7 +21851,7 @@ public string RegistrationId /// /// ScriptURL /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptURL")] + [JsonPropertyName("scriptURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptURL { @@ -21957,7 +21862,7 @@ public string ScriptURL /// /// RunningStatus /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("runningStatus")] + [JsonPropertyName("runningStatus")] public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionRunningStatus RunningStatus { get; @@ -21967,7 +21872,7 @@ public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionRunningStatus Running /// /// Status /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonPropertyName("status")] public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionStatus Status { get; @@ -21977,7 +21882,7 @@ public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionStatus Status /// /// The Last-Modified header value of the main script. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptLastModified")] + [JsonPropertyName("scriptLastModified")] public double? ScriptLastModified { get; @@ -21988,7 +21893,7 @@ public double? ScriptLastModified /// The time at which the response headers of the main script were received from the server. /// For cached script it is the last time the cache entry was validated. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptResponseTime")] + [JsonPropertyName("scriptResponseTime")] public double? ScriptResponseTime { get; @@ -21998,7 +21903,7 @@ public double? ScriptResponseTime /// /// ControlledClients /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("controlledClients")] + [JsonPropertyName("controlledClients")] public string[] ControlledClients { get; @@ -22008,7 +21913,7 @@ public string[] ControlledClients /// /// TargetId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonPropertyName("targetId")] public string TargetId { get; @@ -22024,7 +21929,7 @@ public partial class ServiceWorkerErrorMessage : CefSharp.DevTools.DevToolsDomai /// /// ErrorMessage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")] + [JsonPropertyName("errorMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorMessage { @@ -22035,7 +21940,7 @@ public string ErrorMessage /// /// RegistrationId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")] + [JsonPropertyName("registrationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RegistrationId { @@ -22046,7 +21951,7 @@ public string RegistrationId /// /// VersionId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("versionId")] + [JsonPropertyName("versionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string VersionId { @@ -22057,7 +21962,7 @@ public string VersionId /// /// SourceURL /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")] + [JsonPropertyName("sourceURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceURL { @@ -22068,7 +21973,7 @@ public string SourceURL /// /// LineNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -22078,7 +21983,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -22094,8 +21999,8 @@ public class WorkerErrorReportedEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// ErrorMessage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")] + [JsonInclude] + [JsonPropertyName("errorMessage")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.ServiceWorker.ServiceWorkerErrorMessage ErrorMessage { @@ -22112,8 +22017,8 @@ public class WorkerRegistrationUpdatedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Registrations /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("registrations")] + [JsonInclude] + [JsonPropertyName("registrations")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Registrations { @@ -22130,8 +22035,8 @@ public class WorkerVersionUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Versions /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("versions")] + [JsonInclude] + [JsonPropertyName("versions")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Versions { @@ -22151,67 +22056,67 @@ public enum StorageType /// /// appcache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("appcache")] + [JsonPropertyName("appcache")] Appcache, /// /// cookies /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookies")] + [JsonPropertyName("cookies")] Cookies, /// /// file_systems /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("file_systems")] + [JsonPropertyName("file_systems")] FileSystems, /// /// indexeddb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("indexeddb")] + [JsonPropertyName("indexeddb")] Indexeddb, /// /// local_storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("local_storage")] + [JsonPropertyName("local_storage")] LocalStorage, /// /// shader_cache /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shader_cache")] + [JsonPropertyName("shader_cache")] ShaderCache, /// /// websql /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("websql")] + [JsonPropertyName("websql")] Websql, /// /// service_workers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("service_workers")] + [JsonPropertyName("service_workers")] ServiceWorkers, /// /// cache_storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cache_storage")] + [JsonPropertyName("cache_storage")] CacheStorage, /// /// interest_groups /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("interest_groups")] + [JsonPropertyName("interest_groups")] InterestGroups, /// /// shared_storage /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared_storage")] + [JsonPropertyName("shared_storage")] SharedStorage, /// /// all /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("all")] + [JsonPropertyName("all")] All, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other } @@ -22223,7 +22128,7 @@ public partial class UsageForType : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name of storage type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageType")] + [JsonPropertyName("storageType")] public CefSharp.DevTools.Storage.StorageType StorageType { get; @@ -22233,7 +22138,7 @@ public CefSharp.DevTools.Storage.StorageType StorageType /// /// Storage usage (bytes). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usage")] + [JsonPropertyName("usage")] public double Usage { get; @@ -22250,7 +22155,7 @@ public partial class TrustTokens : CefSharp.DevTools.DevToolsDomainEntityBase /// /// IssuerOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("issuerOrigin")] + [JsonPropertyName("issuerOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string IssuerOrigin { @@ -22261,7 +22166,7 @@ public string IssuerOrigin /// /// Count /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("count")] + [JsonPropertyName("count")] public double Count { get; @@ -22277,32 +22182,32 @@ public enum InterestGroupAccessType /// /// join /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("join")] + [JsonPropertyName("join")] Join, /// /// leave /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("leave")] + [JsonPropertyName("leave")] Leave, /// /// update /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("update")] + [JsonPropertyName("update")] Update, /// /// loaded /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaded")] + [JsonPropertyName("loaded")] Loaded, /// /// bid /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bid")] + [JsonPropertyName("bid")] Bid, /// /// win /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("win")] + [JsonPropertyName("win")] Win } @@ -22314,7 +22219,7 @@ public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBas /// /// RenderUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("renderUrl")] + [JsonPropertyName("renderUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RenderUrl { @@ -22325,7 +22230,7 @@ public string RenderUrl /// /// Metadata /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metadata")] + [JsonPropertyName("metadata")] public string Metadata { get; @@ -22341,7 +22246,7 @@ public partial class InterestGroupDetails : CefSharp.DevTools.DevToolsDomainEnti /// /// OwnerOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerOrigin")] + [JsonPropertyName("ownerOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string OwnerOrigin { @@ -22352,7 +22257,7 @@ public string OwnerOrigin /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -22363,7 +22268,7 @@ public string Name /// /// ExpirationTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("expirationTime")] + [JsonPropertyName("expirationTime")] public double ExpirationTime { get; @@ -22373,7 +22278,7 @@ public double ExpirationTime /// /// JoiningOrigin /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("joiningOrigin")] + [JsonPropertyName("joiningOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string JoiningOrigin { @@ -22384,7 +22289,7 @@ public string JoiningOrigin /// /// BiddingUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("biddingUrl")] + [JsonPropertyName("biddingUrl")] public string BiddingUrl { get; @@ -22394,7 +22299,7 @@ public string BiddingUrl /// /// BiddingWasmHelperUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("biddingWasmHelperUrl")] + [JsonPropertyName("biddingWasmHelperUrl")] public string BiddingWasmHelperUrl { get; @@ -22404,7 +22309,7 @@ public string BiddingWasmHelperUrl /// /// UpdateUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("updateUrl")] + [JsonPropertyName("updateUrl")] public string UpdateUrl { get; @@ -22414,7 +22319,7 @@ public string UpdateUrl /// /// TrustedBiddingSignalsUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedBiddingSignalsUrl")] + [JsonPropertyName("trustedBiddingSignalsUrl")] public string TrustedBiddingSignalsUrl { get; @@ -22424,7 +22329,7 @@ public string TrustedBiddingSignalsUrl /// /// TrustedBiddingSignalsKeys /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedBiddingSignalsKeys")] + [JsonPropertyName("trustedBiddingSignalsKeys")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] TrustedBiddingSignalsKeys { @@ -22435,7 +22340,7 @@ public string[] TrustedBiddingSignalsKeys /// /// UserBiddingSignals /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userBiddingSignals")] + [JsonPropertyName("userBiddingSignals")] public string UserBiddingSignals { get; @@ -22445,7 +22350,7 @@ public string UserBiddingSignals /// /// Ads /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ads")] + [JsonPropertyName("ads")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Ads { @@ -22456,7 +22361,7 @@ public System.Collections.Generic.IList /// AdComponents /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("adComponents")] + [JsonPropertyName("adComponents")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList AdComponents { @@ -22473,82 +22378,82 @@ public enum SharedStorageAccessType /// /// documentAddModule /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentAddModule")] + [JsonPropertyName("documentAddModule")] DocumentAddModule, /// /// documentSelectURL /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentSelectURL")] + [JsonPropertyName("documentSelectURL")] DocumentSelectURL, /// /// documentRun /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentRun")] + [JsonPropertyName("documentRun")] DocumentRun, /// /// documentSet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentSet")] + [JsonPropertyName("documentSet")] DocumentSet, /// /// documentAppend /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentAppend")] + [JsonPropertyName("documentAppend")] DocumentAppend, /// /// documentDelete /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentDelete")] + [JsonPropertyName("documentDelete")] DocumentDelete, /// /// documentClear /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documentClear")] + [JsonPropertyName("documentClear")] DocumentClear, /// /// workletSet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletSet")] + [JsonPropertyName("workletSet")] WorkletSet, /// /// workletAppend /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletAppend")] + [JsonPropertyName("workletAppend")] WorkletAppend, /// /// workletDelete /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletDelete")] + [JsonPropertyName("workletDelete")] WorkletDelete, /// /// workletClear /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletClear")] + [JsonPropertyName("workletClear")] WorkletClear, /// /// workletGet /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletGet")] + [JsonPropertyName("workletGet")] WorkletGet, /// /// workletKeys /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletKeys")] + [JsonPropertyName("workletKeys")] WorkletKeys, /// /// workletEntries /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletEntries")] + [JsonPropertyName("workletEntries")] WorkletEntries, /// /// workletLength /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletLength")] + [JsonPropertyName("workletLength")] WorkletLength, /// /// workletRemainingBudget /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("workletRemainingBudget")] + [JsonPropertyName("workletRemainingBudget")] WorkletRemainingBudget } @@ -22560,7 +22465,7 @@ public partial class SharedStorageEntry : CefSharp.DevTools.DevToolsDomainEntity /// /// Key /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Key { @@ -22571,7 +22476,7 @@ public string Key /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -22588,7 +22493,7 @@ public partial class SharedStorageMetadata : CefSharp.DevTools.DevToolsDomainEnt /// /// CreationTime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("creationTime")] + [JsonPropertyName("creationTime")] public double CreationTime { get; @@ -22598,7 +22503,7 @@ public double CreationTime /// /// Length /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("length")] + [JsonPropertyName("length")] public int Length { get; @@ -22608,7 +22513,7 @@ public int Length /// /// RemainingBudget /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("remainingBudget")] + [JsonPropertyName("remainingBudget")] public double RemainingBudget { get; @@ -22624,7 +22529,7 @@ public partial class SharedStorageReportingMetadata : CefSharp.DevTools.DevTools /// /// EventType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventType")] + [JsonPropertyName("eventType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string EventType { @@ -22635,7 +22540,7 @@ public string EventType /// /// ReportingUrl /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingUrl")] + [JsonPropertyName("reportingUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ReportingUrl { @@ -22652,7 +22557,7 @@ public partial class SharedStorageUrlWithMetadata : CefSharp.DevTools.DevToolsDo /// /// Spec of candidate URL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -22663,7 +22568,7 @@ public string Url /// /// Any associated reporting metadata. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingMetadata")] + [JsonPropertyName("reportingMetadata")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ReportingMetadata { @@ -22682,7 +22587,7 @@ public partial class SharedStorageAccessParams : CefSharp.DevTools.DevToolsDomai /// Spec of the module script URL. /// Present only for SharedStorageAccessType.documentAddModule. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptSourceUrl")] + [JsonPropertyName("scriptSourceUrl")] public string ScriptSourceUrl { get; @@ -22694,7 +22599,7 @@ public string ScriptSourceUrl /// Present only for SharedStorageAccessType.documentRun and /// SharedStorageAccessType.documentSelectURL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("operationName")] + [JsonPropertyName("operationName")] public string OperationName { get; @@ -22706,7 +22611,7 @@ public string OperationName /// Present only for SharedStorageAccessType.documentRun and /// SharedStorageAccessType.documentSelectURL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("serializedData")] + [JsonPropertyName("serializedData")] public string SerializedData { get; @@ -22717,7 +22622,7 @@ public string SerializedData /// Array of candidate URLs' specs, along with any associated metadata. /// Present only for SharedStorageAccessType.documentSelectURL. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urlsWithMetadata")] + [JsonPropertyName("urlsWithMetadata")] public System.Collections.Generic.IList UrlsWithMetadata { get; @@ -22734,7 +22639,7 @@ public System.Collections.Generic.IList - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonPropertyName("key")] public string Key { get; @@ -22748,7 +22653,7 @@ public string Key /// SharedStorageAccessType.workletSet, and /// SharedStorageAccessType.workletAppend. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public string Value { get; @@ -22760,7 +22665,7 @@ public string Value /// Present only for SharedStorageAccessType.documentSet and /// SharedStorageAccessType.workletSet. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ignoreIfPresent")] + [JsonPropertyName("ignoreIfPresent")] public bool? IgnoreIfPresent { get; @@ -22776,8 +22681,8 @@ public class CacheStorageContentUpdatedEventArgs : CefSharp.DevTools.DevToolsDom /// /// Origin to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonInclude] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -22788,8 +22693,8 @@ public string Origin /// /// Storage key to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonInclude] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -22800,8 +22705,8 @@ public string StorageKey /// /// Name of cache in origin. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheName")] + [JsonInclude] + [JsonPropertyName("cacheName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CacheName { @@ -22818,8 +22723,8 @@ public class CacheStorageListUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Origin to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonInclude] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -22830,8 +22735,8 @@ public string Origin /// /// Storage key to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonInclude] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -22848,8 +22753,8 @@ public class IndexedDBContentUpdatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// Origin to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonInclude] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -22860,8 +22765,8 @@ public string Origin /// /// Storage key to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonInclude] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -22872,8 +22777,8 @@ public string StorageKey /// /// Database to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("databaseName")] + [JsonInclude] + [JsonPropertyName("databaseName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DatabaseName { @@ -22884,8 +22789,8 @@ public string DatabaseName /// /// ObjectStore to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectStoreName")] + [JsonInclude] + [JsonPropertyName("objectStoreName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ObjectStoreName { @@ -22902,8 +22807,8 @@ public class IndexedDBListUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Origin to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonInclude] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -22914,8 +22819,8 @@ public string Origin /// /// Storage key to update. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonInclude] + [JsonPropertyName("storageKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string StorageKey { @@ -22932,8 +22837,8 @@ public class InterestGroupAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// AccessTime /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("accessTime")] + [JsonInclude] + [JsonPropertyName("accessTime")] public double AccessTime { get; @@ -22943,8 +22848,8 @@ public double AccessTime /// /// Type /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Storage.InterestGroupAccessType Type { get; @@ -22954,8 +22859,8 @@ public CefSharp.DevTools.Storage.InterestGroupAccessType Type /// /// OwnerOrigin /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerOrigin")] + [JsonInclude] + [JsonPropertyName("ownerOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string OwnerOrigin { @@ -22966,8 +22871,8 @@ public string OwnerOrigin /// /// Name /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonInclude] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -22985,8 +22890,8 @@ public class SharedStorageAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Time of the access. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("accessTime")] + [JsonInclude] + [JsonPropertyName("accessTime")] public double AccessTime { get; @@ -22996,8 +22901,8 @@ public double AccessTime /// /// Enum value indicating the Shared Storage API method invoked. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Storage.SharedStorageAccessType Type { get; @@ -23007,8 +22912,8 @@ public CefSharp.DevTools.Storage.SharedStorageAccessType Type /// /// DevTools Frame Token for the primary frame tree's root. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mainFrameId")] + [JsonInclude] + [JsonPropertyName("mainFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string MainFrameId { @@ -23019,8 +22924,8 @@ public string MainFrameId /// /// Serialized origin for the context that invoked the Shared Storage API. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerOrigin")] + [JsonInclude] + [JsonPropertyName("ownerOrigin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string OwnerOrigin { @@ -23032,8 +22937,8 @@ public string OwnerOrigin /// The sub-parameters warapped by `params` are all optional and their /// presence/absence depends on `type`. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("params")] + [JsonInclude] + [JsonPropertyName("params")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Storage.SharedStorageAccessParams Params { @@ -23053,7 +22958,7 @@ public partial class GPUDevice : CefSharp.DevTools.DevToolsDomainEntityBase /// /// PCI ID of the GPU vendor, if available; 0 otherwise. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("vendorId")] + [JsonPropertyName("vendorId")] public double VendorId { get; @@ -23063,7 +22968,7 @@ public double VendorId /// /// PCI ID of the GPU device, if available; 0 otherwise. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceId")] + [JsonPropertyName("deviceId")] public double DeviceId { get; @@ -23073,7 +22978,7 @@ public double DeviceId /// /// Sub sys ID of the GPU, only available on Windows. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subSysId")] + [JsonPropertyName("subSysId")] public double? SubSysId { get; @@ -23083,7 +22988,7 @@ public double? SubSysId /// /// Revision of the GPU, only available on Windows. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("revision")] + [JsonPropertyName("revision")] public double? Revision { get; @@ -23093,7 +22998,7 @@ public double? Revision /// /// String description of the GPU vendor, if the PCI ID is not available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("vendorString")] + [JsonPropertyName("vendorString")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string VendorString { @@ -23104,7 +23009,7 @@ public string VendorString /// /// String description of the GPU device, if the PCI ID is not available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceString")] + [JsonPropertyName("deviceString")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DeviceString { @@ -23115,7 +23020,7 @@ public string DeviceString /// /// String description of the GPU driver vendor. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("driverVendor")] + [JsonPropertyName("driverVendor")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DriverVendor { @@ -23126,7 +23031,7 @@ public string DriverVendor /// /// String description of the GPU driver version. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("driverVersion")] + [JsonPropertyName("driverVersion")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DriverVersion { @@ -23143,7 +23048,7 @@ public partial class Size : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Width in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("width")] + [JsonPropertyName("width")] public int Width { get; @@ -23153,7 +23058,7 @@ public int Width /// /// Height in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("height")] + [JsonPropertyName("height")] public int Height { get; @@ -23170,7 +23075,7 @@ public partial class VideoDecodeAcceleratorCapability : CefSharp.DevTools.DevToo /// /// Video codec profile that is supported, e.g. VP9 Profile 2. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonPropertyName("profile")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Profile { @@ -23181,7 +23086,7 @@ public string Profile /// /// Maximum video dimensions in pixels supported for this |profile|. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxResolution")] + [JsonPropertyName("maxResolution")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.SystemInfo.Size MaxResolution { @@ -23192,7 +23097,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxResolution /// /// Minimum video dimensions in pixels supported for this |profile|. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("minResolution")] + [JsonPropertyName("minResolution")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.SystemInfo.Size MinResolution { @@ -23210,7 +23115,7 @@ public partial class VideoEncodeAcceleratorCapability : CefSharp.DevTools.DevToo /// /// Video codec profile that is supported, e.g H264 Main. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonPropertyName("profile")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Profile { @@ -23221,7 +23126,7 @@ public string Profile /// /// Maximum video dimensions in pixels supported for this |profile|. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxResolution")] + [JsonPropertyName("maxResolution")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.SystemInfo.Size MaxResolution { @@ -23234,7 +23139,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxResolution /// |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, /// 24000/1001 fps, etc. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxFramerateNumerator")] + [JsonPropertyName("maxFramerateNumerator")] public int MaxFramerateNumerator { get; @@ -23244,7 +23149,7 @@ public int MaxFramerateNumerator /// /// MaxFramerateDenominator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxFramerateDenominator")] + [JsonPropertyName("maxFramerateDenominator")] public int MaxFramerateDenominator { get; @@ -23260,17 +23165,17 @@ public enum SubsamplingFormat /// /// yuv420 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv420")] + [JsonPropertyName("yuv420")] Yuv420, /// /// yuv422 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv422")] + [JsonPropertyName("yuv422")] Yuv422, /// /// yuv444 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv444")] + [JsonPropertyName("yuv444")] Yuv444 } @@ -23282,17 +23187,17 @@ public enum ImageType /// /// jpeg /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")] + [JsonPropertyName("jpeg")] Jpeg, /// /// webp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] + [JsonPropertyName("webp")] Webp, /// /// unknown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")] + [JsonPropertyName("unknown")] Unknown } @@ -23305,7 +23210,7 @@ public partial class ImageDecodeAcceleratorCapability : CefSharp.DevTools.DevToo /// /// Image coded, e.g. Jpeg. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("imageType")] + [JsonPropertyName("imageType")] public CefSharp.DevTools.SystemInfo.ImageType ImageType { get; @@ -23315,7 +23220,7 @@ public CefSharp.DevTools.SystemInfo.ImageType ImageType /// /// Maximum supported dimensions of the image in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxDimensions")] + [JsonPropertyName("maxDimensions")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.SystemInfo.Size MaxDimensions { @@ -23326,7 +23231,7 @@ public CefSharp.DevTools.SystemInfo.Size MaxDimensions /// /// Minimum supported dimensions of the image in pixels. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("minDimensions")] + [JsonPropertyName("minDimensions")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.SystemInfo.Size MinDimensions { @@ -23337,7 +23242,7 @@ public CefSharp.DevTools.SystemInfo.Size MinDimensions /// /// Optional array of supported subsampling formats, e.g. 4:2:0, if known. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subsamplings")] + [JsonPropertyName("subsamplings")] public CefSharp.DevTools.SystemInfo.SubsamplingFormat[] Subsamplings { get; @@ -23353,7 +23258,7 @@ public partial class GPUInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The graphics devices on the system. Element 0 is the primary GPU. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("devices")] + [JsonPropertyName("devices")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Devices { @@ -23364,7 +23269,7 @@ public System.Collections.Generic.IList /// /// An optional dictionary of additional GPU related attributes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auxAttributes")] + [JsonPropertyName("auxAttributes")] public object AuxAttributes { get; @@ -23374,7 +23279,7 @@ public object AuxAttributes /// /// An optional dictionary of graphics features and their status. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("featureStatus")] + [JsonPropertyName("featureStatus")] public object FeatureStatus { get; @@ -23384,7 +23289,7 @@ public object FeatureStatus /// /// An optional array of GPU driver bug workarounds. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("driverBugWorkarounds")] + [JsonPropertyName("driverBugWorkarounds")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] DriverBugWorkarounds { @@ -23395,7 +23300,7 @@ public string[] DriverBugWorkarounds /// /// Supported accelerated video decoding capabilities. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("videoDecoding")] + [JsonPropertyName("videoDecoding")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList VideoDecoding { @@ -23406,7 +23311,7 @@ public System.Collections.Generic.IList /// Supported accelerated video encoding capabilities. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("videoEncoding")] + [JsonPropertyName("videoEncoding")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList VideoEncoding { @@ -23417,7 +23322,7 @@ public System.Collections.Generic.IList /// Supported accelerated image decoding capabilities. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("imageDecoding")] + [JsonPropertyName("imageDecoding")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ImageDecoding { @@ -23434,7 +23339,7 @@ public partial class ProcessInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Specifies process type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Type { @@ -23445,7 +23350,7 @@ public string Type /// /// Specifies process id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public int Id { get; @@ -23456,7 +23361,7 @@ public int Id /// Specifies cumulative CPU usage in seconds across all threads of the /// process since the process start. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cpuTime")] + [JsonPropertyName("cpuTime")] public double CpuTime { get; @@ -23475,7 +23380,7 @@ public partial class TargetInfo : CefSharp.DevTools.DevToolsDomainEntityBase /// /// TargetId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonPropertyName("targetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TargetId { @@ -23486,7 +23391,7 @@ public string TargetId /// /// Type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Type { @@ -23497,7 +23402,7 @@ public string Type /// /// Title /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonPropertyName("title")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Title { @@ -23508,7 +23413,7 @@ public string Title /// /// Url /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -23519,7 +23424,7 @@ public string Url /// /// Whether the target has an attached client. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attached")] + [JsonPropertyName("attached")] public bool Attached { get; @@ -23529,7 +23434,7 @@ public bool Attached /// /// Opener target Id /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("openerId")] + [JsonPropertyName("openerId")] public string OpenerId { get; @@ -23539,7 +23444,7 @@ public string OpenerId /// /// Whether the target has access to the originating window. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canAccessOpener")] + [JsonPropertyName("canAccessOpener")] public bool CanAccessOpener { get; @@ -23549,7 +23454,7 @@ public bool CanAccessOpener /// /// Frame id of originating window (is only set if target has an opener). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("openerFrameId")] + [JsonPropertyName("openerFrameId")] public string OpenerFrameId { get; @@ -23559,7 +23464,7 @@ public string OpenerFrameId /// /// BrowserContextId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("browserContextId")] + [JsonPropertyName("browserContextId")] public string BrowserContextId { get; @@ -23570,7 +23475,7 @@ public string BrowserContextId /// Provides additional details for specific target types. For example, for /// the type of "page", this may be set to "portal" or "prerender". /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")] + [JsonPropertyName("subtype")] public string Subtype { get; @@ -23586,7 +23491,7 @@ public partial class FilterEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// If set, causes exclusion of mathcing targets from the list. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exclude")] + [JsonPropertyName("exclude")] public bool? Exclude { get; @@ -23596,7 +23501,7 @@ public bool? Exclude /// /// If not present, matches any type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public string Type { get; @@ -23612,7 +23517,7 @@ public partial class RemoteLocation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Host /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("host")] + [JsonPropertyName("host")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Host { @@ -23623,7 +23528,7 @@ public string Host /// /// Port /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("port")] + [JsonPropertyName("port")] public int Port { get; @@ -23639,8 +23544,8 @@ public class AttachedToTargetEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Identifier assigned to the session used to send/receive messages. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SessionId { @@ -23651,8 +23556,8 @@ public string SessionId /// /// TargetInfo /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetInfo")] + [JsonInclude] + [JsonPropertyName("targetInfo")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Target.TargetInfo TargetInfo { @@ -23663,8 +23568,8 @@ public CefSharp.DevTools.Target.TargetInfo TargetInfo /// /// WaitingForDebugger /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("waitingForDebugger")] + [JsonInclude] + [JsonPropertyName("waitingForDebugger")] public bool WaitingForDebugger { get; @@ -23681,8 +23586,8 @@ public class DetachedFromTargetEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Detached session identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SessionId { @@ -23693,8 +23598,8 @@ public string SessionId /// /// Deprecated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonInclude] + [JsonPropertyName("targetId")] public string TargetId { get; @@ -23711,8 +23616,8 @@ public class ReceivedMessageFromTargetEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Identifier of a session which sends a message. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SessionId { @@ -23723,8 +23628,8 @@ public string SessionId /// /// Message /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonInclude] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -23735,8 +23640,8 @@ public string Message /// /// Deprecated. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonInclude] + [JsonPropertyName("targetId")] public string TargetId { get; @@ -23752,8 +23657,8 @@ public class TargetCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// TargetInfo /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetInfo")] + [JsonInclude] + [JsonPropertyName("targetInfo")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Target.TargetInfo TargetInfo { @@ -23770,8 +23675,8 @@ public class TargetDestroyedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// TargetId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonInclude] + [JsonPropertyName("targetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TargetId { @@ -23788,8 +23693,8 @@ public class TargetCrashedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// TargetId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonInclude] + [JsonPropertyName("targetId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string TargetId { @@ -23800,8 +23705,8 @@ public string TargetId /// /// Termination status type. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonInclude] + [JsonPropertyName("status")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Status { @@ -23812,8 +23717,8 @@ public string Status /// /// Termination error code. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorCode")] + [JsonInclude] + [JsonPropertyName("errorCode")] public int ErrorCode { get; @@ -23830,8 +23735,8 @@ public class TargetInfoChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// TargetInfo /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetInfo")] + [JsonInclude] + [JsonPropertyName("targetInfo")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Target.TargetInfo TargetInfo { @@ -23851,8 +23756,8 @@ public class AcceptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Port number that was successfully bound. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("port")] + [JsonInclude] + [JsonPropertyName("port")] public int Port { get; @@ -23862,8 +23767,8 @@ public int Port /// /// Connection id to be used. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("connectionId")] + [JsonInclude] + [JsonPropertyName("connectionId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ConnectionId { @@ -23883,22 +23788,22 @@ public enum TraceConfigRecordMode /// /// recordUntilFull /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recordUntilFull")] + [JsonPropertyName("recordUntilFull")] RecordUntilFull, /// /// recordContinuously /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recordContinuously")] + [JsonPropertyName("recordContinuously")] RecordContinuously, /// /// recordAsMuchAsPossible /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recordAsMuchAsPossible")] + [JsonPropertyName("recordAsMuchAsPossible")] RecordAsMuchAsPossible, /// /// echoToConsole /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("echoToConsole")] + [JsonPropertyName("echoToConsole")] EchoToConsole } @@ -23910,7 +23815,7 @@ public partial class TraceConfig : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Controls how the trace buffer stores data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recordMode")] + [JsonPropertyName("recordMode")] public CefSharp.DevTools.Tracing.TraceConfigRecordMode? RecordMode { get; @@ -23921,7 +23826,7 @@ public CefSharp.DevTools.Tracing.TraceConfigRecordMode? RecordMode /// Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value /// of 200 MB would be used. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("traceBufferSizeInKb")] + [JsonPropertyName("traceBufferSizeInKb")] public double? TraceBufferSizeInKb { get; @@ -23931,7 +23836,7 @@ public double? TraceBufferSizeInKb /// /// Turns on JavaScript stack sampling. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("enableSampling")] + [JsonPropertyName("enableSampling")] public bool? EnableSampling { get; @@ -23941,7 +23846,7 @@ public bool? EnableSampling /// /// Turns on system tracing. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("enableSystrace")] + [JsonPropertyName("enableSystrace")] public bool? EnableSystrace { get; @@ -23951,7 +23856,7 @@ public bool? EnableSystrace /// /// Turns on argument filter. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("enableArgumentFilter")] + [JsonPropertyName("enableArgumentFilter")] public bool? EnableArgumentFilter { get; @@ -23961,7 +23866,7 @@ public bool? EnableArgumentFilter /// /// Included category filters. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("includedCategories")] + [JsonPropertyName("includedCategories")] public string[] IncludedCategories { get; @@ -23971,7 +23876,7 @@ public string[] IncludedCategories /// /// Excluded category filters. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("excludedCategories")] + [JsonPropertyName("excludedCategories")] public string[] ExcludedCategories { get; @@ -23981,7 +23886,7 @@ public string[] ExcludedCategories /// /// Configuration to synthesize the delays in tracing. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("syntheticDelays")] + [JsonPropertyName("syntheticDelays")] public string[] SyntheticDelays { get; @@ -23991,7 +23896,7 @@ public string[] SyntheticDelays /// /// Configuration for memory dump triggers. Used only when "memory-infra" category is enabled. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("memoryDumpConfig")] + [JsonPropertyName("memoryDumpConfig")] public CefSharp.DevTools.Tracing.MemoryDumpConfig MemoryDumpConfig { get; @@ -24008,12 +23913,12 @@ public enum StreamFormat /// /// json /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("json")] + [JsonPropertyName("json")] Json, /// /// proto /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proto")] + [JsonPropertyName("proto")] Proto } @@ -24025,12 +23930,12 @@ public enum StreamCompression /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// gzip /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gzip")] + [JsonPropertyName("gzip")] Gzip } @@ -24044,17 +23949,17 @@ public enum MemoryDumpLevelOfDetail /// /// background /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("background")] + [JsonPropertyName("background")] Background, /// /// light /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("light")] + [JsonPropertyName("light")] Light, /// /// detailed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("detailed")] + [JsonPropertyName("detailed")] Detailed } @@ -24070,17 +23975,17 @@ public enum TracingBackend /// /// auto /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auto")] + [JsonPropertyName("auto")] Auto, /// /// chrome /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("chrome")] + [JsonPropertyName("chrome")] Chrome, /// /// system /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("system")] + [JsonPropertyName("system")] System } @@ -24093,8 +23998,8 @@ public class BufferUsageEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBas /// A number in range [0..1] that indicates the used size of event buffer as a fraction of its /// total size. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("percentFull")] + [JsonInclude] + [JsonPropertyName("percentFull")] public double? PercentFull { get; @@ -24104,8 +24009,8 @@ public double? PercentFull /// /// An approximate number of events in the trace log. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eventCount")] + [JsonInclude] + [JsonPropertyName("eventCount")] public double? EventCount { get; @@ -24116,8 +24021,8 @@ public double? EventCount /// A number in range [0..1] that indicates the used size of event buffer as a fraction of its /// total size. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonInclude] + [JsonPropertyName("value")] public double? Value { get; @@ -24134,8 +24039,8 @@ public class DataCollectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Value /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonInclude] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Value { @@ -24154,8 +24059,8 @@ public class TracingCompleteEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// Indicates whether some trace data is known to have been lost, e.g. because the trace ring /// buffer wrapped around. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataLossOccurred")] + [JsonInclude] + [JsonPropertyName("dataLossOccurred")] public bool DataLossOccurred { get; @@ -24165,8 +24070,8 @@ public bool DataLossOccurred /// /// A handle of the stream that holds resulting trace data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")] + [JsonInclude] + [JsonPropertyName("stream")] public string Stream { get; @@ -24176,8 +24081,8 @@ public string Stream /// /// Trace data format of returned stream. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("traceFormat")] + [JsonInclude] + [JsonPropertyName("traceFormat")] public CefSharp.DevTools.Tracing.StreamFormat? TraceFormat { get; @@ -24187,8 +24092,8 @@ public CefSharp.DevTools.Tracing.StreamFormat? TraceFormat /// /// Compression format of returned stream. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("streamCompression")] + [JsonInclude] + [JsonPropertyName("streamCompression")] public CefSharp.DevTools.Tracing.StreamCompression? StreamCompression { get; @@ -24209,12 +24114,12 @@ public enum RequestStage /// /// Request /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Request")] + [JsonPropertyName("Request")] Request, /// /// Response /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Response")] + [JsonPropertyName("Response")] Response } @@ -24227,7 +24132,7 @@ public partial class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase /// Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is /// backslash. Omitting is equivalent to `"*"`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("urlPattern")] + [JsonPropertyName("urlPattern")] public string UrlPattern { get; @@ -24237,7 +24142,7 @@ public string UrlPattern /// /// If set, only requests for matching resource types will be intercepted. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Network.ResourceType? ResourceType { get; @@ -24247,7 +24152,7 @@ public CefSharp.DevTools.Network.ResourceType? ResourceType /// /// Stage at which to begin intercepting requests. Default is Request. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestStage")] + [JsonPropertyName("requestStage")] public CefSharp.DevTools.Fetch.RequestStage? RequestStage { get; @@ -24263,7 +24168,7 @@ public partial class HeaderEntry : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -24274,7 +24179,7 @@ public string Name /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -24291,12 +24196,12 @@ public enum AuthChallengeSource /// /// Server /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Server")] + [JsonPropertyName("Server")] Server, /// /// Proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Proxy")] + [JsonPropertyName("Proxy")] Proxy } @@ -24308,7 +24213,7 @@ public partial class AuthChallenge : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Source of the authentication challenge. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("source")] + [JsonPropertyName("source")] public CefSharp.DevTools.Fetch.AuthChallengeSource? Source { get; @@ -24318,7 +24223,7 @@ public CefSharp.DevTools.Fetch.AuthChallengeSource? Source /// /// Origin of the challenger. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -24329,7 +24234,7 @@ public string Origin /// /// The authentication scheme used, such as basic or digest /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scheme")] + [JsonPropertyName("scheme")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Scheme { @@ -24340,7 +24245,7 @@ public string Scheme /// /// The realm of the challenge. May be empty. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("realm")] + [JsonPropertyName("realm")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Realm { @@ -24359,17 +24264,17 @@ public enum AuthChallengeResponseResponse /// /// Default /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Default")] + [JsonPropertyName("Default")] Default, /// /// CancelAuth /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CancelAuth")] + [JsonPropertyName("CancelAuth")] CancelAuth, /// /// ProvideCredentials /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ProvideCredentials")] + [JsonPropertyName("ProvideCredentials")] ProvideCredentials } @@ -24383,7 +24288,7 @@ public partial class AuthChallengeResponse : CefSharp.DevTools.DevToolsDomainEnt /// deferring to the default behavior of the net stack, which will likely either the Cancel /// authentication or display a popup dialog box. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonPropertyName("response")] public CefSharp.DevTools.Fetch.AuthChallengeResponseResponse Response { get; @@ -24394,7 +24299,7 @@ public CefSharp.DevTools.Fetch.AuthChallengeResponseResponse Response /// The username to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("username")] + [JsonPropertyName("username")] public string Username { get; @@ -24405,7 +24310,7 @@ public string Username /// The password to provide, possibly empty. Should only be set if response is /// ProvideCredentials. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("password")] + [JsonPropertyName("password")] public string Password { get; @@ -24426,8 +24331,8 @@ public class RequestPausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Each request the page makes will have a unique id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -24438,8 +24343,8 @@ public string RequestId /// /// The details of the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonInclude] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Request Request { @@ -24450,8 +24355,8 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -24462,8 +24367,8 @@ public string FrameId /// /// How the requested resource will be used. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonInclude] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Network.ResourceType ResourceType { get; @@ -24473,8 +24378,8 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// /// Response error if intercepted at response stage. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseErrorReason")] + [JsonInclude] + [JsonPropertyName("responseErrorReason")] public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason { get; @@ -24484,8 +24389,8 @@ public CefSharp.DevTools.Network.ErrorReason? ResponseErrorReason /// /// Response code if intercepted at response stage. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatusCode")] + [JsonInclude] + [JsonPropertyName("responseStatusCode")] public int? ResponseStatusCode { get; @@ -24495,8 +24400,8 @@ public int? ResponseStatusCode /// /// Response status text if intercepted at response stage. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatusText")] + [JsonInclude] + [JsonPropertyName("responseStatusText")] public string ResponseStatusText { get; @@ -24506,8 +24411,8 @@ public string ResponseStatusText /// /// Response headers if intercepted at the response stage. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")] + [JsonInclude] + [JsonPropertyName("responseHeaders")] public System.Collections.Generic.IList ResponseHeaders { get; @@ -24518,8 +24423,8 @@ public System.Collections.Generic.IList Res /// If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, /// then this networkId will be the same as the requestId present in the requestWillBeSent event. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("networkId")] + [JsonInclude] + [JsonPropertyName("networkId")] public string NetworkId { get; @@ -24530,8 +24435,8 @@ public string NetworkId /// If the request is due to a redirect response from the server, the id of the request that /// has caused the redirect. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("redirectedRequestId")] + [JsonInclude] + [JsonPropertyName("redirectedRequestId")] public string RedirectedRequestId { get; @@ -24548,8 +24453,8 @@ public class AuthRequiredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Each request the page makes will have a unique id. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")] + [JsonInclude] + [JsonPropertyName("requestId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string RequestId { @@ -24560,8 +24465,8 @@ public string RequestId /// /// The details of the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("request")] + [JsonInclude] + [JsonPropertyName("request")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Network.Request Request { @@ -24572,8 +24477,8 @@ public CefSharp.DevTools.Network.Request Request /// /// The id of the frame that initiated the request. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FrameId { @@ -24584,8 +24489,8 @@ public string FrameId /// /// How the requested resource will be used. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")] + [JsonInclude] + [JsonPropertyName("resourceType")] public CefSharp.DevTools.Network.ResourceType ResourceType { get; @@ -24597,8 +24502,8 @@ public CefSharp.DevTools.Network.ResourceType ResourceType /// If this is set, client should respond with continueRequest that /// contains AuthChallengeResponse. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("authChallenge")] + [JsonInclude] + [JsonPropertyName("authChallenge")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Fetch.AuthChallenge AuthChallenge { @@ -24618,12 +24523,12 @@ public enum ContextType /// /// realtime /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("realtime")] + [JsonPropertyName("realtime")] Realtime, /// /// offline /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offline")] + [JsonPropertyName("offline")] Offline } @@ -24635,17 +24540,17 @@ public enum ContextState /// /// suspended /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("suspended")] + [JsonPropertyName("suspended")] Suspended, /// /// running /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("running")] + [JsonPropertyName("running")] Running, /// /// closed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("closed")] + [JsonPropertyName("closed")] Closed } @@ -24657,17 +24562,17 @@ public enum ChannelCountMode /// /// clamped-max /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clamped-max")] + [JsonPropertyName("clamped-max")] ClampedMax, /// /// explicit /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("explicit")] + [JsonPropertyName("explicit")] Explicit, /// /// max /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("max")] + [JsonPropertyName("max")] Max } @@ -24679,12 +24584,12 @@ public enum ChannelInterpretation /// /// discrete /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("discrete")] + [JsonPropertyName("discrete")] Discrete, /// /// speakers /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("speakers")] + [JsonPropertyName("speakers")] Speakers } @@ -24696,12 +24601,12 @@ public enum AutomationRate /// /// a-rate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("a-rate")] + [JsonPropertyName("a-rate")] ARate, /// /// k-rate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("k-rate")] + [JsonPropertyName("k-rate")] KRate } @@ -24713,7 +24618,7 @@ public partial class ContextRealtimeData : CefSharp.DevTools.DevToolsDomainEntit /// /// The current context time in second in BaseAudioContext. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")] + [JsonPropertyName("currentTime")] public double CurrentTime { get; @@ -24725,7 +24630,7 @@ public double CurrentTime /// and multiplied by 100. 100 means the audio renderer reached the full /// capacity and glitch may occur. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("renderCapacity")] + [JsonPropertyName("renderCapacity")] public double RenderCapacity { get; @@ -24735,7 +24640,7 @@ public double RenderCapacity /// /// A running mean of callback interval. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackIntervalMean")] + [JsonPropertyName("callbackIntervalMean")] public double CallbackIntervalMean { get; @@ -24745,7 +24650,7 @@ public double CallbackIntervalMean /// /// A running variance of callback interval. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackIntervalVariance")] + [JsonPropertyName("callbackIntervalVariance")] public double CallbackIntervalVariance { get; @@ -24761,7 +24666,7 @@ public partial class BaseAudioContext : CefSharp.DevTools.DevToolsDomainEntityBa /// /// ContextId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -24772,7 +24677,7 @@ public string ContextId /// /// ContextType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextType")] + [JsonPropertyName("contextType")] public CefSharp.DevTools.WebAudio.ContextType ContextType { get; @@ -24782,7 +24687,7 @@ public CefSharp.DevTools.WebAudio.ContextType ContextType /// /// ContextState /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextState")] + [JsonPropertyName("contextState")] public CefSharp.DevTools.WebAudio.ContextState ContextState { get; @@ -24792,7 +24697,7 @@ public CefSharp.DevTools.WebAudio.ContextState ContextState /// /// RealtimeData /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("realtimeData")] + [JsonPropertyName("realtimeData")] public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData { get; @@ -24802,7 +24707,7 @@ public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData /// /// Platform-dependent callback buffer size. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackBufferSize")] + [JsonPropertyName("callbackBufferSize")] public double CallbackBufferSize { get; @@ -24812,7 +24717,7 @@ public double CallbackBufferSize /// /// Number of output channels supported by audio hardware in use. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxOutputChannelCount")] + [JsonPropertyName("maxOutputChannelCount")] public double MaxOutputChannelCount { get; @@ -24822,7 +24727,7 @@ public double MaxOutputChannelCount /// /// Context sample rate. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sampleRate")] + [JsonPropertyName("sampleRate")] public double SampleRate { get; @@ -24838,7 +24743,7 @@ public partial class AudioListener : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ListenerId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("listenerId")] + [JsonPropertyName("listenerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ListenerId { @@ -24849,7 +24754,7 @@ public string ListenerId /// /// ContextId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -24866,7 +24771,7 @@ public partial class AudioNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// NodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeId { @@ -24877,7 +24782,7 @@ public string NodeId /// /// ContextId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -24888,7 +24793,7 @@ public string ContextId /// /// NodeType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")] + [JsonPropertyName("nodeType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeType { @@ -24899,7 +24804,7 @@ public string NodeType /// /// NumberOfInputs /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("numberOfInputs")] + [JsonPropertyName("numberOfInputs")] public double NumberOfInputs { get; @@ -24909,7 +24814,7 @@ public double NumberOfInputs /// /// NumberOfOutputs /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("numberOfOutputs")] + [JsonPropertyName("numberOfOutputs")] public double NumberOfOutputs { get; @@ -24919,7 +24824,7 @@ public double NumberOfOutputs /// /// ChannelCount /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("channelCount")] + [JsonPropertyName("channelCount")] public double ChannelCount { get; @@ -24929,7 +24834,7 @@ public double ChannelCount /// /// ChannelCountMode /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("channelCountMode")] + [JsonPropertyName("channelCountMode")] public CefSharp.DevTools.WebAudio.ChannelCountMode ChannelCountMode { get; @@ -24939,7 +24844,7 @@ public CefSharp.DevTools.WebAudio.ChannelCountMode ChannelCountMode /// /// ChannelInterpretation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("channelInterpretation")] + [JsonPropertyName("channelInterpretation")] public CefSharp.DevTools.WebAudio.ChannelInterpretation ChannelInterpretation { get; @@ -24955,7 +24860,7 @@ public partial class AudioParam : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ParamId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paramId")] + [JsonPropertyName("paramId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ParamId { @@ -24966,7 +24871,7 @@ public string ParamId /// /// NodeId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeId { @@ -24977,7 +24882,7 @@ public string NodeId /// /// ContextId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -24988,7 +24893,7 @@ public string ContextId /// /// ParamType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paramType")] + [JsonPropertyName("paramType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ParamType { @@ -24999,7 +24904,7 @@ public string ParamType /// /// Rate /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rate")] + [JsonPropertyName("rate")] public CefSharp.DevTools.WebAudio.AutomationRate Rate { get; @@ -25009,7 +24914,7 @@ public CefSharp.DevTools.WebAudio.AutomationRate Rate /// /// DefaultValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("defaultValue")] + [JsonPropertyName("defaultValue")] public double DefaultValue { get; @@ -25019,7 +24924,7 @@ public double DefaultValue /// /// MinValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("minValue")] + [JsonPropertyName("minValue")] public double MinValue { get; @@ -25029,7 +24934,7 @@ public double MinValue /// /// MaxValue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("maxValue")] + [JsonPropertyName("maxValue")] public double MaxValue { get; @@ -25045,8 +24950,8 @@ public class ContextCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Context /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("context")] + [JsonInclude] + [JsonPropertyName("context")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAudio.BaseAudioContext Context { @@ -25063,8 +24968,8 @@ public class ContextWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25081,8 +24986,8 @@ public class ContextChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Context /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("context")] + [JsonInclude] + [JsonPropertyName("context")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAudio.BaseAudioContext Context { @@ -25099,8 +25004,8 @@ public class AudioListenerCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Listener /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("listener")] + [JsonInclude] + [JsonPropertyName("listener")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAudio.AudioListener Listener { @@ -25117,8 +25022,8 @@ public class AudioListenerWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsD /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25129,8 +25034,8 @@ public string ContextId /// /// ListenerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("listenerId")] + [JsonInclude] + [JsonPropertyName("listenerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ListenerId { @@ -25147,8 +25052,8 @@ public class AudioNodeCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Node /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonInclude] + [JsonPropertyName("node")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAudio.AudioNode Node { @@ -25165,8 +25070,8 @@ public class AudioNodeWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDomai /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25177,8 +25082,8 @@ public string ContextId /// /// NodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeId { @@ -25195,8 +25100,8 @@ public class AudioParamCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// Param /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("param")] + [JsonInclude] + [JsonPropertyName("param")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAudio.AudioParam Param { @@ -25213,8 +25118,8 @@ public class AudioParamWillBeDestroyedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25225,8 +25130,8 @@ public string ContextId /// /// NodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string NodeId { @@ -25237,8 +25142,8 @@ public string NodeId /// /// ParamId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("paramId")] + [JsonInclude] + [JsonPropertyName("paramId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ParamId { @@ -25255,8 +25160,8 @@ public class NodesConnectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25267,8 +25172,8 @@ public string ContextId /// /// SourceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceId")] + [JsonInclude] + [JsonPropertyName("sourceId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceId { @@ -25279,8 +25184,8 @@ public string SourceId /// /// DestinationId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationId")] + [JsonInclude] + [JsonPropertyName("destinationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DestinationId { @@ -25291,8 +25196,8 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceOutputIndex")] + [JsonInclude] + [JsonPropertyName("sourceOutputIndex")] public double? SourceOutputIndex { get; @@ -25302,8 +25207,8 @@ public double? SourceOutputIndex /// /// DestinationInputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationInputIndex")] + [JsonInclude] + [JsonPropertyName("destinationInputIndex")] public double? DestinationInputIndex { get; @@ -25319,8 +25224,8 @@ public class NodesDisconnectedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25331,8 +25236,8 @@ public string ContextId /// /// SourceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceId")] + [JsonInclude] + [JsonPropertyName("sourceId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceId { @@ -25343,8 +25248,8 @@ public string SourceId /// /// DestinationId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationId")] + [JsonInclude] + [JsonPropertyName("destinationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DestinationId { @@ -25355,8 +25260,8 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceOutputIndex")] + [JsonInclude] + [JsonPropertyName("sourceOutputIndex")] public double? SourceOutputIndex { get; @@ -25366,8 +25271,8 @@ public double? SourceOutputIndex /// /// DestinationInputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationInputIndex")] + [JsonInclude] + [JsonPropertyName("destinationInputIndex")] public double? DestinationInputIndex { get; @@ -25383,8 +25288,8 @@ public class NodeParamConnectedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25395,8 +25300,8 @@ public string ContextId /// /// SourceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceId")] + [JsonInclude] + [JsonPropertyName("sourceId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceId { @@ -25407,8 +25312,8 @@ public string SourceId /// /// DestinationId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationId")] + [JsonInclude] + [JsonPropertyName("destinationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DestinationId { @@ -25419,8 +25324,8 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceOutputIndex")] + [JsonInclude] + [JsonPropertyName("sourceOutputIndex")] public double? SourceOutputIndex { get; @@ -25436,8 +25341,8 @@ public class NodeParamDisconnectedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// ContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")] + [JsonInclude] + [JsonPropertyName("contextId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ContextId { @@ -25448,8 +25353,8 @@ public string ContextId /// /// SourceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceId")] + [JsonInclude] + [JsonPropertyName("sourceId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string SourceId { @@ -25460,8 +25365,8 @@ public string SourceId /// /// DestinationId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("destinationId")] + [JsonInclude] + [JsonPropertyName("destinationId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string DestinationId { @@ -25472,8 +25377,8 @@ public string DestinationId /// /// SourceOutputIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceOutputIndex")] + [JsonInclude] + [JsonPropertyName("sourceOutputIndex")] public double? SourceOutputIndex { get; @@ -25492,12 +25397,12 @@ public enum AuthenticatorProtocol /// /// u2f /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("u2f")] + [JsonPropertyName("u2f")] U2f, /// /// ctap2 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ctap2")] + [JsonPropertyName("ctap2")] Ctap2 } @@ -25509,12 +25414,12 @@ public enum Ctap2Version /// /// ctap2_0 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ctap2_0")] + [JsonPropertyName("ctap2_0")] Ctap20, /// /// ctap2_1 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ctap2_1")] + [JsonPropertyName("ctap2_1")] Ctap21 } @@ -25526,27 +25431,27 @@ public enum AuthenticatorTransport /// /// usb /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usb")] + [JsonPropertyName("usb")] Usb, /// /// nfc /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nfc")] + [JsonPropertyName("nfc")] Nfc, /// /// ble /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ble")] + [JsonPropertyName("ble")] Ble, /// /// cable /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cable")] + [JsonPropertyName("cable")] Cable, /// /// internal /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("internal")] + [JsonPropertyName("internal")] Internal } @@ -25558,7 +25463,7 @@ public partial class VirtualAuthenticatorOptions : CefSharp.DevTools.DevToolsDom /// /// Protocol /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")] + [JsonPropertyName("protocol")] public CefSharp.DevTools.WebAuthn.AuthenticatorProtocol Protocol { get; @@ -25568,7 +25473,7 @@ public CefSharp.DevTools.WebAuthn.AuthenticatorProtocol Protocol /// /// Defaults to ctap2_0. Ignored if |protocol| == u2f. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ctap2Version")] + [JsonPropertyName("ctap2Version")] public CefSharp.DevTools.WebAuthn.Ctap2Version? Ctap2Version { get; @@ -25578,7 +25483,7 @@ public CefSharp.DevTools.WebAuthn.Ctap2Version? Ctap2Version /// /// Transport /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("transport")] + [JsonPropertyName("transport")] public CefSharp.DevTools.WebAuthn.AuthenticatorTransport Transport { get; @@ -25588,7 +25493,7 @@ public CefSharp.DevTools.WebAuthn.AuthenticatorTransport Transport /// /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasResidentKey")] + [JsonPropertyName("hasResidentKey")] public bool? HasResidentKey { get; @@ -25598,7 +25503,7 @@ public bool? HasResidentKey /// /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasUserVerification")] + [JsonPropertyName("hasUserVerification")] public bool? HasUserVerification { get; @@ -25610,7 +25515,7 @@ public bool? HasUserVerification /// https://w3c.github.io/webauthn#largeBlob /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasLargeBlob")] + [JsonPropertyName("hasLargeBlob")] public bool? HasLargeBlob { get; @@ -25622,7 +25527,7 @@ public bool? HasLargeBlob /// https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasCredBlob")] + [JsonPropertyName("hasCredBlob")] public bool? HasCredBlob { get; @@ -25634,7 +25539,7 @@ public bool? HasCredBlob /// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasMinPinLength")] + [JsonPropertyName("hasMinPinLength")] public bool? HasMinPinLength { get; @@ -25646,7 +25551,7 @@ public bool? HasMinPinLength /// https://w3c.github.io/webauthn/#prf-extension /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPrf")] + [JsonPropertyName("hasPrf")] public bool? HasPrf { get; @@ -25657,7 +25562,7 @@ public bool? HasPrf /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("automaticPresenceSimulation")] + [JsonPropertyName("automaticPresenceSimulation")] public bool? AutomaticPresenceSimulation { get; @@ -25668,7 +25573,7 @@ public bool? AutomaticPresenceSimulation /// Sets whether User Verification succeeds or fails for an authenticator. /// Defaults to false. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isUserVerified")] + [JsonPropertyName("isUserVerified")] public bool? IsUserVerified { get; @@ -25684,7 +25589,7 @@ public partial class Credential : CefSharp.DevTools.DevToolsDomainEntityBase /// /// CredentialId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("credentialId")] + [JsonPropertyName("credentialId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] CredentialId { @@ -25695,7 +25600,7 @@ public byte[] CredentialId /// /// IsResidentCredential /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isResidentCredential")] + [JsonPropertyName("isResidentCredential")] public bool IsResidentCredential { get; @@ -25706,7 +25611,7 @@ public bool IsResidentCredential /// Relying Party ID the credential is scoped to. Must be set when adding a /// credential. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rpId")] + [JsonPropertyName("rpId")] public string RpId { get; @@ -25716,7 +25621,7 @@ public string RpId /// /// The ECDSA P-256 private key in PKCS#8 format. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("privateKey")] + [JsonPropertyName("privateKey")] [System.Diagnostics.CodeAnalysis.DisallowNull] public byte[] PrivateKey { @@ -25728,7 +25633,7 @@ public byte[] PrivateKey /// An opaque byte sequence with a maximum size of 64 bytes mapping the /// credential to a specific user. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userHandle")] + [JsonPropertyName("userHandle")] public byte[] UserHandle { get; @@ -25740,7 +25645,7 @@ public byte[] UserHandle /// assertion. /// See https://w3c.github.io/webauthn/#signature-counter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("signCount")] + [JsonPropertyName("signCount")] public int SignCount { get; @@ -25751,7 +25656,7 @@ public int SignCount /// The large blob associated with the credential. /// See https://w3c.github.io/webauthn/#sctn-large-blob-extension /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("largeBlob")] + [JsonPropertyName("largeBlob")] public byte[] LargeBlob { get; @@ -25767,8 +25672,8 @@ public class CredentialAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// AuthenticatorId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("authenticatorId")] + [JsonInclude] + [JsonPropertyName("authenticatorId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string AuthenticatorId { @@ -25779,8 +25684,8 @@ public string AuthenticatorId /// /// Credential /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("credential")] + [JsonInclude] + [JsonPropertyName("credential")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAuthn.Credential Credential { @@ -25797,8 +25702,8 @@ public class CredentialAssertedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// AuthenticatorId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("authenticatorId")] + [JsonInclude] + [JsonPropertyName("authenticatorId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string AuthenticatorId { @@ -25809,8 +25714,8 @@ public string AuthenticatorId /// /// Credential /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("credential")] + [JsonInclude] + [JsonPropertyName("credential")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.WebAuthn.Credential Credential { @@ -25838,22 +25743,22 @@ public enum PlayerMessageLevel /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// warning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("warning")] + [JsonPropertyName("warning")] Warning, /// /// info /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("info")] + [JsonPropertyName("info")] Info, /// /// debug /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debug")] + [JsonPropertyName("debug")] Debug } @@ -25874,7 +25779,7 @@ public partial class PlayerMessage : CefSharp.DevTools.DevToolsDomainEntityBase /// introducing a new error type which should hopefully let us integrate /// the error log level into the PlayerError type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("level")] + [JsonPropertyName("level")] public CefSharp.DevTools.Media.PlayerMessageLevel Level { get; @@ -25884,7 +25789,7 @@ public CefSharp.DevTools.Media.PlayerMessageLevel Level /// /// Message /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] + [JsonPropertyName("message")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Message { @@ -25901,7 +25806,7 @@ public partial class PlayerProperty : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -25912,7 +25817,7 @@ public string Name /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -25929,7 +25834,7 @@ public partial class PlayerEvent : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Timestamp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -25939,7 +25844,7 @@ public double Timestamp /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Value { @@ -25957,7 +25862,7 @@ public partial class PlayerErrorSourceLocation : CefSharp.DevTools.DevToolsDomai /// /// File /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("file")] + [JsonPropertyName("file")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string File { @@ -25968,7 +25873,7 @@ public string File /// /// Line /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("line")] + [JsonPropertyName("line")] public int Line { get; @@ -25984,7 +25889,7 @@ public partial class PlayerError : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ErrorType /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorType")] + [JsonPropertyName("errorType")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ErrorType { @@ -25996,7 +25901,7 @@ public string ErrorType /// Code is the numeric enum entry for a specific set of error codes, such /// as PipelineStatusCodes in media/base/pipeline_status.h /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("code")] + [JsonPropertyName("code")] public int Code { get; @@ -26006,7 +25911,7 @@ public int Code /// /// A trace of where this error was caused / where it passed through. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")] + [JsonPropertyName("stack")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Stack { @@ -26018,7 +25923,7 @@ public System.Collections.Generic.IList - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cause")] + [JsonPropertyName("cause")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Cause { @@ -26029,7 +25934,7 @@ public System.Collections.Generic.IList Cau /// /// Extra data attached to an error, such as an HRESULT, Video Codec, etc. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonPropertyName("data")] [System.Diagnostics.CodeAnalysis.DisallowNull] public object Data { @@ -26047,8 +25952,8 @@ public class PlayerPropertiesChangedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// PlayerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playerId")] + [JsonInclude] + [JsonPropertyName("playerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlayerId { @@ -26059,8 +25964,8 @@ public string PlayerId /// /// Properties /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")] + [JsonInclude] + [JsonPropertyName("properties")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Properties { @@ -26078,8 +25983,8 @@ public class PlayerEventsAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventA /// /// PlayerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playerId")] + [JsonInclude] + [JsonPropertyName("playerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlayerId { @@ -26090,8 +25995,8 @@ public string PlayerId /// /// Events /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("events")] + [JsonInclude] + [JsonPropertyName("events")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Events { @@ -26108,8 +26013,8 @@ public class PlayerMessagesLoggedEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// PlayerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playerId")] + [JsonInclude] + [JsonPropertyName("playerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlayerId { @@ -26120,8 +26025,8 @@ public string PlayerId /// /// Messages /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("messages")] + [JsonInclude] + [JsonPropertyName("messages")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Messages { @@ -26138,8 +26043,8 @@ public class PlayerErrorsRaisedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// PlayerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playerId")] + [JsonInclude] + [JsonPropertyName("playerId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string PlayerId { @@ -26150,8 +26055,8 @@ public string PlayerId /// /// Errors /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errors")] + [JsonInclude] + [JsonPropertyName("errors")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Errors { @@ -26170,8 +26075,8 @@ public class PlayersCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgs /// /// Players /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("players")] + [JsonInclude] + [JsonPropertyName("players")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Players { @@ -26181,6 +26086,152 @@ public string[] Players } } +namespace CefSharp.DevTools.DeviceAccess +{ + /// + /// Device information displayed in a user prompt to select a device. + /// + public partial class PromptDevice : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// Display name as it appears in a device request user prompt. + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + } + + /// + /// A device request opened a user prompt to select a device. Respond with the + /// selectPrompt or cancelPrompt command. + /// + public class DeviceRequestPromptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Id + /// + [JsonInclude] + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + private set; + } + + /// + /// Devices + /// + [JsonInclude] + [JsonPropertyName("devices")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Devices + { + get; + private set; + } + } +} + +namespace CefSharp.DevTools.Preload +{ + /// + /// Corresponds to SpeculationRuleSet + /// + public partial class RuleSet : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// Identifies a document which the rule set is associated with. + /// + [JsonPropertyName("loaderId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string LoaderId + { + get; + set; + } + + /// + /// Source text of JSON representing the rule set. If it comes from + /// <script> tag, it is the textContent of the node. Note that it is + /// a JSON for valid case. + /// + /// See also: + /// - https://wicg.github.io/nav-speculation/speculation-rules.html + /// - https://github.com/WICG/nav-speculation/blob/main/triggers.md + /// + [JsonPropertyName("sourceText")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string SourceText + { + get; + set; + } + } + + /// + /// Upsert. Currently, it is only emitted when a rule set added. + /// + public class RuleSetUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// RuleSet + /// + [JsonInclude] + [JsonPropertyName("ruleSet")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Preload.RuleSet RuleSet + { + get; + private set; + } + } + + /// + /// ruleSetRemoved + /// + public class RuleSetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Id + /// + [JsonInclude] + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Debugger { /// @@ -26191,7 +26242,7 @@ public partial class Location : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Script identifier as reported in the `Debugger.scriptParsed`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -26202,7 +26253,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -26212,7 +26263,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int? ColumnNumber { get; @@ -26228,7 +26279,7 @@ public partial class ScriptPosition : CefSharp.DevTools.DevToolsDomainEntityBase /// /// LineNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -26238,7 +26289,7 @@ public int LineNumber /// /// ColumnNumber /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -26254,7 +26305,7 @@ public partial class LocationRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// ScriptId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -26265,7 +26316,7 @@ public string ScriptId /// /// Start /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("start")] + [JsonPropertyName("start")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.ScriptPosition Start { @@ -26276,7 +26327,7 @@ public CefSharp.DevTools.Debugger.ScriptPosition Start /// /// End /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("end")] + [JsonPropertyName("end")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.ScriptPosition End { @@ -26293,7 +26344,7 @@ public partial class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Call frame identifier. This identifier is only valid while the virtual machine is paused. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrameId")] + [JsonPropertyName("callFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string CallFrameId { @@ -26304,7 +26355,7 @@ public string CallFrameId /// /// Name of the JavaScript function called on this call frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")] + [JsonPropertyName("functionName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FunctionName { @@ -26315,7 +26366,7 @@ public string FunctionName /// /// Location in the source code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functionLocation")] + [JsonPropertyName("functionLocation")] public CefSharp.DevTools.Debugger.Location FunctionLocation { get; @@ -26325,7 +26376,7 @@ public CefSharp.DevTools.Debugger.Location FunctionLocation /// /// Location in the source code. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonPropertyName("location")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.Location Location { @@ -26338,7 +26389,7 @@ public CefSharp.DevTools.Debugger.Location Location /// Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously /// sent `Debugger.scriptParsed` event. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -26349,7 +26400,7 @@ public string Url /// /// Scope chain for this call frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scopeChain")] + [JsonPropertyName("scopeChain")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList ScopeChain { @@ -26360,7 +26411,7 @@ public System.Collections.Generic.IList ScopeC /// /// `this` object for this call frame. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("this")] + [JsonPropertyName("this")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject This { @@ -26371,7 +26422,7 @@ public CefSharp.DevTools.Runtime.RemoteObject This /// /// The value being returned, if the function is at return point. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("returnValue")] + [JsonPropertyName("returnValue")] public CefSharp.DevTools.Runtime.RemoteObject ReturnValue { get; @@ -26384,7 +26435,7 @@ public CefSharp.DevTools.Runtime.RemoteObject ReturnValue /// guarantee that Debugger#restartFrame with this CallFrameId will be /// successful, but it is very likely. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("canBeRestarted")] + [JsonPropertyName("canBeRestarted")] public bool? CanBeRestarted { get; @@ -26400,52 +26451,52 @@ public enum ScopeType /// /// global /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("global")] + [JsonPropertyName("global")] Global, /// /// local /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("local")] + [JsonPropertyName("local")] Local, /// /// with /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("with")] + [JsonPropertyName("with")] With, /// /// closure /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("closure")] + [JsonPropertyName("closure")] Closure, /// /// catch /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("catch")] + [JsonPropertyName("catch")] Catch, /// /// block /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("block")] + [JsonPropertyName("block")] Block, /// /// script /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("script")] + [JsonPropertyName("script")] Script, /// /// eval /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eval")] + [JsonPropertyName("eval")] Eval, /// /// module /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("module")] + [JsonPropertyName("module")] Module, /// /// wasm-expression-stack /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasm-expression-stack")] + [JsonPropertyName("wasm-expression-stack")] WasmExpressionStack } @@ -26457,7 +26508,7 @@ public partial class Scope : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Scope type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Debugger.ScopeType Type { get; @@ -26469,7 +26520,7 @@ public CefSharp.DevTools.Debugger.ScopeType Type /// object; for the rest of the scopes, it is artificial transient object enumerating scope /// variables as its properties. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonPropertyName("object")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject Object { @@ -26480,7 +26531,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Object /// /// Name /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] public string Name { get; @@ -26490,7 +26541,7 @@ public string Name /// /// Location in the source code where scope starts /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startLocation")] + [JsonPropertyName("startLocation")] public CefSharp.DevTools.Debugger.Location StartLocation { get; @@ -26500,7 +26551,7 @@ public CefSharp.DevTools.Debugger.Location StartLocation /// /// Location in the source code where scope ends /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endLocation")] + [JsonPropertyName("endLocation")] public CefSharp.DevTools.Debugger.Location EndLocation { get; @@ -26516,7 +26567,7 @@ public partial class SearchMatch : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Line number in resource content. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public double LineNumber { get; @@ -26526,7 +26577,7 @@ public double LineNumber /// /// Line with match content. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineContent")] + [JsonPropertyName("lineContent")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string LineContent { @@ -26543,17 +26594,17 @@ public enum BreakLocationType /// /// debuggerStatement /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debuggerStatement")] + [JsonPropertyName("debuggerStatement")] DebuggerStatement, /// /// call /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("call")] + [JsonPropertyName("call")] Call, /// /// return /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("return")] + [JsonPropertyName("return")] Return } @@ -26565,7 +26616,7 @@ public partial class BreakLocation : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Script identifier as reported in the `Debugger.scriptParsed`. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -26576,7 +26627,7 @@ public string ScriptId /// /// Line number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -26586,7 +26637,7 @@ public int LineNumber /// /// Column number in the script (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int? ColumnNumber { get; @@ -26596,7 +26647,7 @@ public int? ColumnNumber /// /// Type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Debugger.BreakLocationType? Type { get; @@ -26612,7 +26663,7 @@ public partial class WasmDisassemblyChunk : CefSharp.DevTools.DevToolsDomainEnti /// /// The next chunk of disassembled lines. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lines")] + [JsonPropertyName("lines")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string[] Lines { @@ -26623,7 +26674,7 @@ public string[] Lines /// /// The bytecode offsets describing the start of each line. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bytecodeOffsets")] + [JsonPropertyName("bytecodeOffsets")] public int[] BytecodeOffsets { get; @@ -26639,12 +26690,12 @@ public enum ScriptLanguage /// /// JavaScript /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("JavaScript")] + [JsonPropertyName("JavaScript")] JavaScript, /// /// WebAssembly /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebAssembly")] + [JsonPropertyName("WebAssembly")] WebAssembly } @@ -26656,22 +26707,22 @@ public enum DebugSymbolsType /// /// None /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("None")] + [JsonPropertyName("None")] None, /// /// SourceMap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("SourceMap")] + [JsonPropertyName("SourceMap")] SourceMap, /// /// EmbeddedDWARF /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbeddedDWARF")] + [JsonPropertyName("EmbeddedDWARF")] EmbeddedDWARF, /// /// ExternalDWARF /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExternalDWARF")] + [JsonPropertyName("ExternalDWARF")] ExternalDWARF } @@ -26683,7 +26734,7 @@ public partial class DebugSymbols : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Type of the debug symbols. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Debugger.DebugSymbolsType Type { get; @@ -26693,7 +26744,7 @@ public CefSharp.DevTools.Debugger.DebugSymbolsType Type /// /// URL of the external symbol source. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("externalURL")] + [JsonPropertyName("externalURL")] public string ExternalURL { get; @@ -26709,8 +26760,8 @@ public class BreakpointResolvedEventArgs : CefSharp.DevTools.DevToolsDomainEvent /// /// Breakpoint unique identifier. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("breakpointId")] + [JsonInclude] + [JsonPropertyName("breakpointId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string BreakpointId { @@ -26721,8 +26772,8 @@ public string BreakpointId /// /// Actual breakpoint location. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonInclude] + [JsonPropertyName("location")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.Location Location { @@ -26739,62 +26790,62 @@ public enum PausedReason /// /// ambiguous /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ambiguous")] + [JsonPropertyName("ambiguous")] Ambiguous, /// /// assert /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("assert")] + [JsonPropertyName("assert")] Assert, /// /// CSPViolation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSPViolation")] + [JsonPropertyName("CSPViolation")] CSPViolation, /// /// debugCommand /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debugCommand")] + [JsonPropertyName("debugCommand")] DebugCommand, /// /// DOM /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("DOM")] + [JsonPropertyName("DOM")] DOM, /// /// EventListener /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EventListener")] + [JsonPropertyName("EventListener")] EventListener, /// /// exception /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exception")] + [JsonPropertyName("exception")] Exception, /// /// instrumentation /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("instrumentation")] + [JsonPropertyName("instrumentation")] Instrumentation, /// /// OOM /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OOM")] + [JsonPropertyName("OOM")] OOM, /// /// other /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("other")] + [JsonPropertyName("other")] Other, /// /// promiseRejection /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("promiseRejection")] + [JsonPropertyName("promiseRejection")] PromiseRejection, /// /// XHR /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("XHR")] + [JsonPropertyName("XHR")] XHR } @@ -26806,8 +26857,8 @@ public class PausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase /// /// Call stack the virtual machine stopped on. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrames")] + [JsonInclude] + [JsonPropertyName("callFrames")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList CallFrames { @@ -26818,8 +26869,8 @@ public System.Collections.Generic.IList Ca /// /// Pause reason. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] public CefSharp.DevTools.Debugger.PausedReason Reason { get; @@ -26829,8 +26880,8 @@ public CefSharp.DevTools.Debugger.PausedReason Reason /// /// Object containing break-specific auxiliary properties. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public object Data { get; @@ -26840,8 +26891,8 @@ public object Data /// /// Hit breakpoints IDs /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hitBreakpoints")] + [JsonInclude] + [JsonPropertyName("hitBreakpoints")] public string[] HitBreakpoints { get; @@ -26851,8 +26902,8 @@ public string[] HitBreakpoints /// /// Async stack trace, if any. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTrace")] + [JsonInclude] + [JsonPropertyName("asyncStackTrace")] public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace { get; @@ -26862,8 +26913,8 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace /// /// Async stack trace, if any. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTraceId")] + [JsonInclude] + [JsonPropertyName("asyncStackTraceId")] public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId { get; @@ -26873,8 +26924,8 @@ public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId /// /// Never present, will be removed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncCallStackTraceId")] + [JsonInclude] + [JsonPropertyName("asyncCallStackTraceId")] public CefSharp.DevTools.Runtime.StackTraceId AsyncCallStackTraceId { get; @@ -26890,8 +26941,8 @@ public class ScriptFailedToParseEventArgs : CefSharp.DevTools.DevToolsDomainEven /// /// Identifier of the script parsed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonInclude] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -26902,8 +26953,8 @@ public string ScriptId /// /// URL or name of the script parsed (if any). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -26914,8 +26965,8 @@ public string Url /// /// Line offset of the script within the resource with given URL (for script tags). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")] + [JsonInclude] + [JsonPropertyName("startLine")] public int StartLine { get; @@ -26925,8 +26976,8 @@ public int StartLine /// /// Column offset of the script within the resource with given URL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")] + [JsonInclude] + [JsonPropertyName("startColumn")] public int StartColumn { get; @@ -26936,8 +26987,8 @@ public int StartColumn /// /// Last line of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")] + [JsonInclude] + [JsonPropertyName("endLine")] public int EndLine { get; @@ -26947,8 +26998,8 @@ public int EndLine /// /// Length of the last line of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")] + [JsonInclude] + [JsonPropertyName("endColumn")] public int EndColumn { get; @@ -26958,8 +27009,8 @@ public int EndColumn /// /// Specifies script creation context. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -26969,8 +27020,8 @@ public int ExecutionContextId /// /// Content hash of the script, SHA-256. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hash")] + [JsonInclude] + [JsonPropertyName("hash")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Hash { @@ -26981,8 +27032,8 @@ public string Hash /// /// Embedder-specific auxiliary data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextAuxData")] + [JsonInclude] + [JsonPropertyName("executionContextAuxData")] public object ExecutionContextAuxData { get; @@ -26992,8 +27043,8 @@ public object ExecutionContextAuxData /// /// URL of source map associated with script (if any). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")] + [JsonInclude] + [JsonPropertyName("sourceMapURL")] public string SourceMapURL { get; @@ -27003,8 +27054,8 @@ public string SourceMapURL /// /// True, if this script has sourceURL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasSourceURL")] + [JsonInclude] + [JsonPropertyName("hasSourceURL")] public bool? HasSourceURL { get; @@ -27014,8 +27065,8 @@ public bool? HasSourceURL /// /// True, if this script is ES6 module. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isModule")] + [JsonInclude] + [JsonPropertyName("isModule")] public bool? IsModule { get; @@ -27025,8 +27076,8 @@ public bool? IsModule /// /// This script length. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("length")] + [JsonInclude] + [JsonPropertyName("length")] public int? Length { get; @@ -27036,8 +27087,8 @@ public int? Length /// /// JavaScript top stack frame of where the script parsed event was triggered if available. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonInclude] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -27047,8 +27098,8 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// If the scriptLanguage is WebAssembly, the code section offset in the module. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("codeOffset")] + [JsonInclude] + [JsonPropertyName("codeOffset")] public int? CodeOffset { get; @@ -27058,8 +27109,8 @@ public int? CodeOffset /// /// The language of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptLanguage")] + [JsonInclude] + [JsonPropertyName("scriptLanguage")] public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage { get; @@ -27069,8 +27120,8 @@ public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage /// /// The name the embedder supplied for this script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("embedderName")] + [JsonInclude] + [JsonPropertyName("embedderName")] public string EmbedderName { get; @@ -27087,8 +27138,8 @@ public class ScriptParsedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBa /// /// Identifier of the script parsed. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonInclude] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -27099,8 +27150,8 @@ public string ScriptId /// /// URL or name of the script parsed (if any). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -27111,8 +27162,8 @@ public string Url /// /// Line offset of the script within the resource with given URL (for script tags). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")] + [JsonInclude] + [JsonPropertyName("startLine")] public int StartLine { get; @@ -27122,8 +27173,8 @@ public int StartLine /// /// Column offset of the script within the resource with given URL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")] + [JsonInclude] + [JsonPropertyName("startColumn")] public int StartColumn { get; @@ -27133,8 +27184,8 @@ public int StartColumn /// /// Last line of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")] + [JsonInclude] + [JsonPropertyName("endLine")] public int EndLine { get; @@ -27144,8 +27195,8 @@ public int EndLine /// /// Length of the last line of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")] + [JsonInclude] + [JsonPropertyName("endColumn")] public int EndColumn { get; @@ -27155,8 +27206,8 @@ public int EndColumn /// /// Specifies script creation context. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -27166,8 +27217,8 @@ public int ExecutionContextId /// /// Content hash of the script, SHA-256. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hash")] + [JsonInclude] + [JsonPropertyName("hash")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Hash { @@ -27178,8 +27229,8 @@ public string Hash /// /// Embedder-specific auxiliary data. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextAuxData")] + [JsonInclude] + [JsonPropertyName("executionContextAuxData")] public object ExecutionContextAuxData { get; @@ -27189,8 +27240,8 @@ public object ExecutionContextAuxData /// /// True, if this script is generated as a result of the live edit operation. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isLiveEdit")] + [JsonInclude] + [JsonPropertyName("isLiveEdit")] public bool? IsLiveEdit { get; @@ -27200,8 +27251,8 @@ public bool? IsLiveEdit /// /// URL of source map associated with script (if any). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")] + [JsonInclude] + [JsonPropertyName("sourceMapURL")] public string SourceMapURL { get; @@ -27211,8 +27262,8 @@ public string SourceMapURL /// /// True, if this script has sourceURL. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasSourceURL")] + [JsonInclude] + [JsonPropertyName("hasSourceURL")] public bool? HasSourceURL { get; @@ -27222,8 +27273,8 @@ public bool? HasSourceURL /// /// True, if this script is ES6 module. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isModule")] + [JsonInclude] + [JsonPropertyName("isModule")] public bool? IsModule { get; @@ -27233,8 +27284,8 @@ public bool? IsModule /// /// This script length. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("length")] + [JsonInclude] + [JsonPropertyName("length")] public int? Length { get; @@ -27244,8 +27295,8 @@ public int? Length /// /// JavaScript top stack frame of where the script parsed event was triggered if available. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonInclude] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -27255,8 +27306,8 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// If the scriptLanguage is WebAssembly, the code section offset in the module. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("codeOffset")] + [JsonInclude] + [JsonPropertyName("codeOffset")] public int? CodeOffset { get; @@ -27266,8 +27317,8 @@ public int? CodeOffset /// /// The language of the script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptLanguage")] + [JsonInclude] + [JsonPropertyName("scriptLanguage")] public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage { get; @@ -27277,8 +27328,8 @@ public CefSharp.DevTools.Debugger.ScriptLanguage? ScriptLanguage /// /// If the scriptLanguage is WebASsembly, the source of debug symbols for the module. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debugSymbols")] + [JsonInclude] + [JsonPropertyName("debugSymbols")] public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols { get; @@ -27288,8 +27339,8 @@ public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols /// /// The name the embedder supplied for this script. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("embedderName")] + [JsonInclude] + [JsonPropertyName("embedderName")] public string EmbedderName { get; @@ -27308,7 +27359,7 @@ public partial class SamplingHeapProfileNode : CefSharp.DevTools.DevToolsDomainE /// /// Function location. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrame")] + [JsonPropertyName("callFrame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.CallFrame CallFrame { @@ -27319,7 +27370,7 @@ public CefSharp.DevTools.Runtime.CallFrame CallFrame /// /// Allocations size in bytes for the node excluding children. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selfSize")] + [JsonPropertyName("selfSize")] public double SelfSize { get; @@ -27329,7 +27380,7 @@ public double SelfSize /// /// Node id. Ids are unique across all profiles collected between startSampling and stopSampling. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public int Id { get; @@ -27339,7 +27390,7 @@ public int Id /// /// Child nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("children")] + [JsonPropertyName("children")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Children { @@ -27356,7 +27407,7 @@ public partial class SamplingHeapProfileSample : CefSharp.DevTools.DevToolsDomai /// /// Allocation size in bytes attributed to the sample. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] + [JsonPropertyName("size")] public double Size { get; @@ -27366,7 +27417,7 @@ public double Size /// /// Id of the corresponding profile tree node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -27377,7 +27428,7 @@ public int NodeId /// Time-ordered sample ordinal number. It is unique across all profiles retrieved /// between startSampling and stopSampling. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ordinal")] + [JsonPropertyName("ordinal")] public double Ordinal { get; @@ -27393,7 +27444,7 @@ public partial class SamplingHeapProfile : CefSharp.DevTools.DevToolsDomainEntit /// /// Head /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("head")] + [JsonPropertyName("head")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.HeapProfiler.SamplingHeapProfileNode Head { @@ -27404,7 +27455,7 @@ public CefSharp.DevTools.HeapProfiler.SamplingHeapProfileNode Head /// /// Samples /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")] + [JsonPropertyName("samples")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Samples { @@ -27421,8 +27472,8 @@ public class AddHeapSnapshotChunkEventArgs : CefSharp.DevTools.DevToolsDomainEve /// /// Chunk /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("chunk")] + [JsonInclude] + [JsonPropertyName("chunk")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Chunk { @@ -27441,8 +27492,8 @@ public class HeapStatsUpdateEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// index, the second integer is a total count of objects for the fragment, the third integer is /// a total size of the objects for the fragment. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("statsUpdate")] + [JsonInclude] + [JsonPropertyName("statsUpdate")] public int[] StatsUpdate { get; @@ -27460,8 +27511,8 @@ public class LastSeenObjectIdEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// LastSeenObjectId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lastSeenObjectId")] + [JsonInclude] + [JsonPropertyName("lastSeenObjectId")] public int LastSeenObjectId { get; @@ -27471,8 +27522,8 @@ public int LastSeenObjectId /// /// Timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -27488,8 +27539,8 @@ public class ReportHeapSnapshotProgressEventArgs : CefSharp.DevTools.DevToolsDom /// /// Done /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("done")] + [JsonInclude] + [JsonPropertyName("done")] public int Done { get; @@ -27499,8 +27550,8 @@ public int Done /// /// Total /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("total")] + [JsonInclude] + [JsonPropertyName("total")] public int Total { get; @@ -27510,8 +27561,8 @@ public int Total /// /// Finished /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("finished")] + [JsonInclude] + [JsonPropertyName("finished")] public bool? Finished { get; @@ -27530,7 +27581,7 @@ public partial class ProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Unique id of the node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public int Id { get; @@ -27540,7 +27591,7 @@ public int Id /// /// Function location. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrame")] + [JsonPropertyName("callFrame")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.CallFrame CallFrame { @@ -27551,7 +27602,7 @@ public CefSharp.DevTools.Runtime.CallFrame CallFrame /// /// Number of samples where this node was on top of the call stack. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hitCount")] + [JsonPropertyName("hitCount")] public int? HitCount { get; @@ -27561,7 +27612,7 @@ public int? HitCount /// /// Child node ids. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("children")] + [JsonPropertyName("children")] public int[] Children { get; @@ -27572,7 +27623,7 @@ public int[] Children /// The reason of being not optimized. The function may be deoptimized or marked as don't /// optimize. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deoptReason")] + [JsonPropertyName("deoptReason")] public string DeoptReason { get; @@ -27582,7 +27633,7 @@ public string DeoptReason /// /// An array of source position ticks. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("positionTicks")] + [JsonPropertyName("positionTicks")] public System.Collections.Generic.IList PositionTicks { get; @@ -27598,7 +27649,7 @@ public partial class Profile : CefSharp.DevTools.DevToolsDomainEntityBase /// /// The list of profile nodes. First item is the root node. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonPropertyName("nodes")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Nodes { @@ -27609,7 +27660,7 @@ public System.Collections.Generic.IList /// /// Profiling start timestamp in microseconds. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startTime")] + [JsonPropertyName("startTime")] public double StartTime { get; @@ -27619,7 +27670,7 @@ public double StartTime /// /// Profiling end timestamp in microseconds. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endTime")] + [JsonPropertyName("endTime")] public double EndTime { get; @@ -27629,7 +27680,7 @@ public double EndTime /// /// Ids of samples top nodes. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")] + [JsonPropertyName("samples")] public int[] Samples { get; @@ -27640,7 +27691,7 @@ public int[] Samples /// Time intervals between adjacent samples in microseconds. The first delta is relative to the /// profile startTime. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timeDeltas")] + [JsonPropertyName("timeDeltas")] public int[] TimeDeltas { get; @@ -27656,7 +27707,7 @@ public partial class PositionTickInfo : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Source line number (1-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("line")] + [JsonPropertyName("line")] public int Line { get; @@ -27666,7 +27717,7 @@ public int Line /// /// Number of samples attributed to the source line. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ticks")] + [JsonPropertyName("ticks")] public int Ticks { get; @@ -27682,7 +27733,7 @@ public partial class CoverageRange : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript script source offset for the range start. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startOffset")] + [JsonPropertyName("startOffset")] public int StartOffset { get; @@ -27692,7 +27743,7 @@ public int StartOffset /// /// JavaScript script source offset for the range end. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endOffset")] + [JsonPropertyName("endOffset")] public int EndOffset { get; @@ -27702,7 +27753,7 @@ public int EndOffset /// /// Collected execution count of the source range. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("count")] + [JsonPropertyName("count")] public int Count { get; @@ -27718,7 +27769,7 @@ public partial class FunctionCoverage : CefSharp.DevTools.DevToolsDomainEntityBa /// /// JavaScript function name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")] + [JsonPropertyName("functionName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FunctionName { @@ -27729,7 +27780,7 @@ public string FunctionName /// /// Source ranges inside the function with coverage data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ranges")] + [JsonPropertyName("ranges")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Ranges { @@ -27740,7 +27791,7 @@ public System.Collections.Generic.IList /// Whether coverage data for this function has block granularity. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isBlockCoverage")] + [JsonPropertyName("isBlockCoverage")] public bool IsBlockCoverage { get; @@ -27756,7 +27807,7 @@ public partial class ScriptCoverage : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript script id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -27767,7 +27818,7 @@ public string ScriptId /// /// JavaScript script name or url. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -27778,7 +27829,7 @@ public string Url /// /// Functions contained in the script that has coverage data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functions")] + [JsonPropertyName("functions")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Functions { @@ -27795,8 +27846,8 @@ public class ConsoleProfileFinishedEventArgs : CefSharp.DevTools.DevToolsDomainE /// /// Id /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonInclude] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -27807,8 +27858,8 @@ public string Id /// /// Location of console.profileEnd(). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonInclude] + [JsonPropertyName("location")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.Location Location { @@ -27819,8 +27870,8 @@ public CefSharp.DevTools.Debugger.Location Location /// /// Profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Profiler.Profile Profile { @@ -27831,8 +27882,8 @@ public CefSharp.DevTools.Profiler.Profile Profile /// /// Profile title passed as an argument to console.profile(). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonInclude] + [JsonPropertyName("title")] public string Title { get; @@ -27848,8 +27899,8 @@ public class ConsoleProfileStartedEventArgs : CefSharp.DevTools.DevToolsDomainEv /// /// Id /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonInclude] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -27860,8 +27911,8 @@ public string Id /// /// Location of console.profile(). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("location")] + [JsonInclude] + [JsonPropertyName("location")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Debugger.Location Location { @@ -27872,8 +27923,8 @@ public CefSharp.DevTools.Debugger.Location Location /// /// Profile title passed as an argument to console.profile(). /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("title")] + [JsonInclude] + [JsonPropertyName("title")] public string Title { get; @@ -27892,8 +27943,8 @@ public class PreciseCoverageDeltaUpdateEventArgs : CefSharp.DevTools.DevToolsDom /// /// Monotonically increasing time (in seconds) when the coverage update was taken in the backend. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -27903,8 +27954,8 @@ public double Timestamp /// /// Identifier for distinguishing coverage events. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("occasion")] + [JsonInclude] + [JsonPropertyName("occasion")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Occasion { @@ -27915,8 +27966,8 @@ public string Occasion /// /// Coverage data for the current isolate. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Result { @@ -27936,117 +27987,117 @@ public enum WebDriverValueType /// /// undefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("undefined")] + [JsonPropertyName("undefined")] Undefined, /// /// null /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("null")] + [JsonPropertyName("null")] Null, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// boolean /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")] + [JsonPropertyName("boolean")] Boolean, /// /// bigint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bigint")] + [JsonPropertyName("bigint")] Bigint, /// /// regexp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("regexp")] + [JsonPropertyName("regexp")] Regexp, /// /// date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] Date, /// /// symbol /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")] + [JsonPropertyName("symbol")] Symbol, /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array, /// /// object /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonPropertyName("object")] Object, /// /// function /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("function")] + [JsonPropertyName("function")] Function, /// /// map /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("map")] + [JsonPropertyName("map")] Map, /// /// set /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] Set, /// /// weakmap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakmap")] + [JsonPropertyName("weakmap")] Weakmap, /// /// weakset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakset")] + [JsonPropertyName("weakset")] Weakset, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxy")] + [JsonPropertyName("proxy")] Proxy, /// /// promise /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("promise")] + [JsonPropertyName("promise")] Promise, /// /// typedarray /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("typedarray")] + [JsonPropertyName("typedarray")] Typedarray, /// /// arraybuffer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("arraybuffer")] + [JsonPropertyName("arraybuffer")] Arraybuffer, /// /// node /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonPropertyName("node")] Node, /// /// window /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("window")] + [JsonPropertyName("window")] Window } @@ -28059,7 +28110,7 @@ public partial class WebDriverValue : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Type /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Runtime.WebDriverValueType Type { get; @@ -28069,7 +28120,7 @@ public CefSharp.DevTools.Runtime.WebDriverValueType Type /// /// Value /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public object Value { get; @@ -28079,7 +28130,7 @@ public object Value /// /// ObjectId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectId")] + [JsonPropertyName("objectId")] public string ObjectId { get; @@ -28095,42 +28146,42 @@ public enum RemoteObjectType /// /// object /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonPropertyName("object")] Object, /// /// function /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("function")] + [JsonPropertyName("function")] Function, /// /// undefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("undefined")] + [JsonPropertyName("undefined")] Undefined, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// boolean /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")] + [JsonPropertyName("boolean")] Boolean, /// /// symbol /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")] + [JsonPropertyName("symbol")] Symbol, /// /// bigint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bigint")] + [JsonPropertyName("bigint")] Bigint } @@ -28144,97 +28195,97 @@ public enum RemoteObjectSubtype /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array, /// /// null /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("null")] + [JsonPropertyName("null")] Null, /// /// node /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonPropertyName("node")] Node, /// /// regexp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("regexp")] + [JsonPropertyName("regexp")] Regexp, /// /// date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] Date, /// /// map /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("map")] + [JsonPropertyName("map")] Map, /// /// set /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] Set, /// /// weakmap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakmap")] + [JsonPropertyName("weakmap")] Weakmap, /// /// weakset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakset")] + [JsonPropertyName("weakset")] Weakset, /// /// iterator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("iterator")] + [JsonPropertyName("iterator")] Iterator, /// /// generator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("generator")] + [JsonPropertyName("generator")] Generator, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxy")] + [JsonPropertyName("proxy")] Proxy, /// /// promise /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("promise")] + [JsonPropertyName("promise")] Promise, /// /// typedarray /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("typedarray")] + [JsonPropertyName("typedarray")] Typedarray, /// /// arraybuffer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("arraybuffer")] + [JsonPropertyName("arraybuffer")] Arraybuffer, /// /// dataview /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataview")] + [JsonPropertyName("dataview")] Dataview, /// /// webassemblymemory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webassemblymemory")] + [JsonPropertyName("webassemblymemory")] Webassemblymemory, /// /// wasmvalue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasmvalue")] + [JsonPropertyName("wasmvalue")] Wasmvalue } @@ -28246,7 +28297,7 @@ public partial class RemoteObject : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Object type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Runtime.RemoteObjectType Type { get; @@ -28258,7 +28309,7 @@ public CefSharp.DevTools.Runtime.RemoteObjectType Type /// NOTE: If you change anything here, make sure to also update /// `subtype` in `ObjectPreview` and `PropertyPreview` below. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")] + [JsonPropertyName("subtype")] public CefSharp.DevTools.Runtime.RemoteObjectSubtype? Subtype { get; @@ -28268,7 +28319,7 @@ public CefSharp.DevTools.Runtime.RemoteObjectSubtype? Subtype /// /// Object class (constructor) name. Specified for `object` type values only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("className")] + [JsonPropertyName("className")] public string ClassName { get; @@ -28278,7 +28329,7 @@ public string ClassName /// /// Remote object value in case of primitive values or JSON values (if it was requested). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public object Value { get; @@ -28289,7 +28340,7 @@ public object Value /// Primitive value which can not be JSON-stringified does not have `value`, but gets this /// property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unserializableValue")] + [JsonPropertyName("unserializableValue")] public string UnserializableValue { get; @@ -28299,7 +28350,7 @@ public string UnserializableValue /// /// String representation of the object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] public string Description { get; @@ -28309,7 +28360,7 @@ public string Description /// /// WebDriver BiDi representation of the value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webDriverValue")] + [JsonPropertyName("webDriverValue")] public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue { get; @@ -28319,7 +28370,7 @@ public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue /// /// Unique object identifier (for non-primitive values). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectId")] + [JsonPropertyName("objectId")] public string ObjectId { get; @@ -28329,7 +28380,7 @@ public string ObjectId /// /// Preview containing abbreviated property values. Specified for `object` type values only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("preview")] + [JsonPropertyName("preview")] public CefSharp.DevTools.Runtime.ObjectPreview Preview { get; @@ -28339,7 +28390,7 @@ public CefSharp.DevTools.Runtime.ObjectPreview Preview /// /// CustomPreview /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("customPreview")] + [JsonPropertyName("customPreview")] public CefSharp.DevTools.Runtime.CustomPreview CustomPreview { get; @@ -28356,7 +28407,7 @@ public partial class CustomPreview : CefSharp.DevTools.DevToolsDomainEntityBase /// The JSON-stringified result of formatter.header(object, config) call. /// It contains json ML array that represents RemoteObject. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("header")] + [JsonPropertyName("header")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Header { @@ -28369,7 +28420,7 @@ public string Header /// contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. /// The result value is json ML array. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bodyGetterId")] + [JsonPropertyName("bodyGetterId")] public string BodyGetterId { get; @@ -28385,42 +28436,42 @@ public enum ObjectPreviewType /// /// object /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonPropertyName("object")] Object, /// /// function /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("function")] + [JsonPropertyName("function")] Function, /// /// undefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("undefined")] + [JsonPropertyName("undefined")] Undefined, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// boolean /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")] + [JsonPropertyName("boolean")] Boolean, /// /// symbol /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")] + [JsonPropertyName("symbol")] Symbol, /// /// bigint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bigint")] + [JsonPropertyName("bigint")] Bigint } @@ -28432,97 +28483,97 @@ public enum ObjectPreviewSubtype /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array, /// /// null /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("null")] + [JsonPropertyName("null")] Null, /// /// node /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonPropertyName("node")] Node, /// /// regexp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("regexp")] + [JsonPropertyName("regexp")] Regexp, /// /// date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] Date, /// /// map /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("map")] + [JsonPropertyName("map")] Map, /// /// set /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] Set, /// /// weakmap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakmap")] + [JsonPropertyName("weakmap")] Weakmap, /// /// weakset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakset")] + [JsonPropertyName("weakset")] Weakset, /// /// iterator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("iterator")] + [JsonPropertyName("iterator")] Iterator, /// /// generator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("generator")] + [JsonPropertyName("generator")] Generator, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxy")] + [JsonPropertyName("proxy")] Proxy, /// /// promise /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("promise")] + [JsonPropertyName("promise")] Promise, /// /// typedarray /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("typedarray")] + [JsonPropertyName("typedarray")] Typedarray, /// /// arraybuffer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("arraybuffer")] + [JsonPropertyName("arraybuffer")] Arraybuffer, /// /// dataview /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataview")] + [JsonPropertyName("dataview")] Dataview, /// /// webassemblymemory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webassemblymemory")] + [JsonPropertyName("webassemblymemory")] Webassemblymemory, /// /// wasmvalue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasmvalue")] + [JsonPropertyName("wasmvalue")] Wasmvalue } @@ -28534,7 +28585,7 @@ public partial class ObjectPreview : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Object type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Runtime.ObjectPreviewType Type { get; @@ -28544,7 +28595,7 @@ public CefSharp.DevTools.Runtime.ObjectPreviewType Type /// /// Object subtype hint. Specified for `object` type values only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")] + [JsonPropertyName("subtype")] public CefSharp.DevTools.Runtime.ObjectPreviewSubtype? Subtype { get; @@ -28554,7 +28605,7 @@ public CefSharp.DevTools.Runtime.ObjectPreviewSubtype? Subtype /// /// String representation of the object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] public string Description { get; @@ -28564,7 +28615,7 @@ public string Description /// /// True iff some of the properties or entries of the original object did not fit. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("overflow")] + [JsonPropertyName("overflow")] public bool Overflow { get; @@ -28574,7 +28625,7 @@ public bool Overflow /// /// List of the properties. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")] + [JsonPropertyName("properties")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Properties { @@ -28585,7 +28636,7 @@ public System.Collections.Generic.IList /// List of the entries. Specified for `map` and `set` subtype values only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")] + [JsonPropertyName("entries")] public System.Collections.Generic.IList Entries { get; @@ -28601,47 +28652,47 @@ public enum PropertyPreviewType /// /// object /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonPropertyName("object")] Object, /// /// function /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("function")] + [JsonPropertyName("function")] Function, /// /// undefined /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("undefined")] + [JsonPropertyName("undefined")] Undefined, /// /// string /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("string")] + [JsonPropertyName("string")] String, /// /// number /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("number")] + [JsonPropertyName("number")] Number, /// /// boolean /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")] + [JsonPropertyName("boolean")] Boolean, /// /// symbol /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")] + [JsonPropertyName("symbol")] Symbol, /// /// accessor /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("accessor")] + [JsonPropertyName("accessor")] Accessor, /// /// bigint /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bigint")] + [JsonPropertyName("bigint")] Bigint } @@ -28653,97 +28704,97 @@ public enum PropertyPreviewSubtype /// /// array /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("array")] + [JsonPropertyName("array")] Array, /// /// null /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("null")] + [JsonPropertyName("null")] Null, /// /// node /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonPropertyName("node")] Node, /// /// regexp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("regexp")] + [JsonPropertyName("regexp")] Regexp, /// /// date /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("date")] + [JsonPropertyName("date")] Date, /// /// map /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("map")] + [JsonPropertyName("map")] Map, /// /// set /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] Set, /// /// weakmap /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakmap")] + [JsonPropertyName("weakmap")] Weakmap, /// /// weakset /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("weakset")] + [JsonPropertyName("weakset")] Weakset, /// /// iterator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("iterator")] + [JsonPropertyName("iterator")] Iterator, /// /// generator /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("generator")] + [JsonPropertyName("generator")] Generator, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// proxy /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("proxy")] + [JsonPropertyName("proxy")] Proxy, /// /// promise /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("promise")] + [JsonPropertyName("promise")] Promise, /// /// typedarray /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("typedarray")] + [JsonPropertyName("typedarray")] Typedarray, /// /// arraybuffer /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("arraybuffer")] + [JsonPropertyName("arraybuffer")] Arraybuffer, /// /// dataview /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataview")] + [JsonPropertyName("dataview")] Dataview, /// /// webassemblymemory /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webassemblymemory")] + [JsonPropertyName("webassemblymemory")] Webassemblymemory, /// /// wasmvalue /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasmvalue")] + [JsonPropertyName("wasmvalue")] Wasmvalue } @@ -28755,7 +28806,7 @@ public partial class PropertyPreview : CefSharp.DevTools.DevToolsDomainEntityBas /// /// Property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -28766,7 +28817,7 @@ public string Name /// /// Object type. Accessor means that the property itself is an accessor property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonPropertyName("type")] public CefSharp.DevTools.Runtime.PropertyPreviewType Type { get; @@ -28776,7 +28827,7 @@ public CefSharp.DevTools.Runtime.PropertyPreviewType Type /// /// User-friendly property value string. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public string Value { get; @@ -28786,7 +28837,7 @@ public string Value /// /// Nested value preview. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("valuePreview")] + [JsonPropertyName("valuePreview")] public CefSharp.DevTools.Runtime.ObjectPreview ValuePreview { get; @@ -28796,7 +28847,7 @@ public CefSharp.DevTools.Runtime.ObjectPreview ValuePreview /// /// Object subtype hint. Specified for `object` type values only. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")] + [JsonPropertyName("subtype")] public CefSharp.DevTools.Runtime.PropertyPreviewSubtype? Subtype { get; @@ -28812,7 +28863,7 @@ public partial class EntryPreview : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Preview of the key. Specified for map-like collection entries. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("key")] + [JsonPropertyName("key")] public CefSharp.DevTools.Runtime.ObjectPreview Key { get; @@ -28822,7 +28873,7 @@ public CefSharp.DevTools.Runtime.ObjectPreview Key /// /// Preview of the value. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.ObjectPreview Value { @@ -28839,7 +28890,7 @@ public partial class PropertyDescriptor : CefSharp.DevTools.DevToolsDomainEntity /// /// Property name or symbol description. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -28850,7 +28901,7 @@ public string Name /// /// The value associated with the property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -28860,7 +28911,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Value /// /// True if the value associated with the property may be changed (data descriptors only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("writable")] + [JsonPropertyName("writable")] public bool? Writable { get; @@ -28871,7 +28922,7 @@ public bool? Writable /// A function which serves as a getter for the property, or `undefined` if there is no getter /// (accessor descriptors only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("get")] + [JsonPropertyName("get")] public CefSharp.DevTools.Runtime.RemoteObject Get { get; @@ -28882,7 +28933,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Get /// A function which serves as a setter for the property, or `undefined` if there is no setter /// (accessor descriptors only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] public CefSharp.DevTools.Runtime.RemoteObject Set { get; @@ -28893,7 +28944,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Set /// True if the type of this property descriptor may be changed and if the property may be /// deleted from the corresponding object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("configurable")] + [JsonPropertyName("configurable")] public bool Configurable { get; @@ -28904,7 +28955,7 @@ public bool Configurable /// True if this property shows up during enumeration of the properties on the corresponding /// object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("enumerable")] + [JsonPropertyName("enumerable")] public bool Enumerable { get; @@ -28914,7 +28965,7 @@ public bool Enumerable /// /// True if the result was thrown during the evaluation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasThrown")] + [JsonPropertyName("wasThrown")] public bool? WasThrown { get; @@ -28924,7 +28975,7 @@ public bool? WasThrown /// /// True if the property is owned for the object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isOwn")] + [JsonPropertyName("isOwn")] public bool? IsOwn { get; @@ -28934,7 +28985,7 @@ public bool? IsOwn /// /// Property symbol object, if the property is of the `symbol` type. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")] + [JsonPropertyName("symbol")] public CefSharp.DevTools.Runtime.RemoteObject Symbol { get; @@ -28950,7 +29001,7 @@ public partial class InternalPropertyDescriptor : CefSharp.DevTools.DevToolsDoma /// /// Conventional property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -28961,7 +29012,7 @@ public string Name /// /// The value associated with the property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -28977,7 +29028,7 @@ public partial class PrivatePropertyDescriptor : CefSharp.DevTools.DevToolsDomai /// /// Private property name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -28988,7 +29039,7 @@ public string Name /// /// The value associated with the private property. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public CefSharp.DevTools.Runtime.RemoteObject Value { get; @@ -28999,7 +29050,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Value /// A function which serves as a getter for the private property, /// or `undefined` if there is no getter (accessor descriptors only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("get")] + [JsonPropertyName("get")] public CefSharp.DevTools.Runtime.RemoteObject Get { get; @@ -29010,7 +29061,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Get /// A function which serves as a setter for the private property, /// or `undefined` if there is no setter (accessor descriptors only). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("set")] + [JsonPropertyName("set")] public CefSharp.DevTools.Runtime.RemoteObject Set { get; @@ -29027,7 +29078,7 @@ public partial class CallArgument : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Primitive value or serializable javascript object. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("value")] + [JsonPropertyName("value")] public object Value { get; @@ -29037,7 +29088,7 @@ public object Value /// /// Primitive value which can not be JSON-stringified. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("unserializableValue")] + [JsonPropertyName("unserializableValue")] public string UnserializableValue { get; @@ -29047,7 +29098,7 @@ public string UnserializableValue /// /// Remote object handle. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectId")] + [JsonPropertyName("objectId")] public string ObjectId { get; @@ -29064,7 +29115,7 @@ public partial class ExecutionContextDescription : CefSharp.DevTools.DevToolsDom /// Unique id of the execution context. It can be used to specify in which execution context /// script evaluation should be performed. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] public int Id { get; @@ -29074,7 +29125,7 @@ public int Id /// /// Execution context origin. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")] + [JsonPropertyName("origin")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Origin { @@ -29085,7 +29136,7 @@ public string Origin /// /// Human readable name describing given context. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -29098,7 +29149,7 @@ public string Name /// multiple processes, so can be reliably used to identify specific context while backend /// performs a cross-process navigation. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("uniqueId")] + [JsonPropertyName("uniqueId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string UniqueId { @@ -29109,7 +29160,7 @@ public string UniqueId /// /// Embedder-specific auxiliary data. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("auxData")] + [JsonPropertyName("auxData")] public object AuxData { get; @@ -29126,7 +29177,7 @@ public partial class ExceptionDetails : CefSharp.DevTools.DevToolsDomainEntityBa /// /// Exception id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionId")] + [JsonPropertyName("exceptionId")] public int ExceptionId { get; @@ -29136,7 +29187,7 @@ public int ExceptionId /// /// Exception text, which should be used together with exception object when available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonPropertyName("text")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Text { @@ -29147,7 +29198,7 @@ public string Text /// /// Line number of the exception location (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -29157,7 +29208,7 @@ public int LineNumber /// /// Column number of the exception location (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -29167,7 +29218,7 @@ public int ColumnNumber /// /// Script ID of the exception location. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] public string ScriptId { get; @@ -29177,7 +29228,7 @@ public string ScriptId /// /// URL of the exception location, to be used when the script was not reported. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] public string Url { get; @@ -29187,7 +29238,7 @@ public string Url /// /// JavaScript stack trace if available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -29197,7 +29248,7 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// /// Exception object if available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exception")] + [JsonPropertyName("exception")] public CefSharp.DevTools.Runtime.RemoteObject Exception { get; @@ -29207,7 +29258,7 @@ public CefSharp.DevTools.Runtime.RemoteObject Exception /// /// Identifier of the context where exception happened. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonPropertyName("executionContextId")] public int? ExecutionContextId { get; @@ -29219,7 +29270,7 @@ public int? ExecutionContextId /// with this exception, such as information about associated network /// requests, etc. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionMetaData")] + [JsonPropertyName("exceptionMetaData")] public object ExceptionMetaData { get; @@ -29235,7 +29286,7 @@ public partial class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase /// /// JavaScript function name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")] + [JsonPropertyName("functionName")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string FunctionName { @@ -29246,7 +29297,7 @@ public string FunctionName /// /// JavaScript script id. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonPropertyName("scriptId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ScriptId { @@ -29257,7 +29308,7 @@ public string ScriptId /// /// JavaScript script name or url. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonPropertyName("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Url { @@ -29268,7 +29319,7 @@ public string Url /// /// JavaScript script line number (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")] + [JsonPropertyName("lineNumber")] public int LineNumber { get; @@ -29278,7 +29329,7 @@ public int LineNumber /// /// JavaScript script column number (0-based). /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")] + [JsonPropertyName("columnNumber")] public int ColumnNumber { get; @@ -29295,7 +29346,7 @@ public partial class StackTrace : CefSharp.DevTools.DevToolsDomainEntityBase /// String label of this stack trace. For async traces this may be a name of the function that /// initiated the async call. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("description")] + [JsonPropertyName("description")] public string Description { get; @@ -29305,7 +29356,7 @@ public string Description /// /// JavaScript function name. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrames")] + [JsonPropertyName("callFrames")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList CallFrames { @@ -29316,7 +29367,7 @@ public System.Collections.Generic.IList Cal /// /// Asynchronous JavaScript stack trace that preceded this stack, if available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parent")] + [JsonPropertyName("parent")] public CefSharp.DevTools.Runtime.StackTrace Parent { get; @@ -29326,7 +29377,7 @@ public CefSharp.DevTools.Runtime.StackTrace Parent /// /// Asynchronous JavaScript stack trace that preceded this stack, if available. /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")] + [JsonPropertyName("parentId")] public CefSharp.DevTools.Runtime.StackTraceId ParentId { get; @@ -29343,7 +29394,7 @@ public partial class StackTraceId : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Id /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonPropertyName("id")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Id { @@ -29354,7 +29405,7 @@ public string Id /// /// DebuggerId /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debuggerId")] + [JsonPropertyName("debuggerId")] public string DebuggerId { get; @@ -29370,8 +29421,8 @@ public class BindingCalledEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsB /// /// Name /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [JsonInclude] + [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Name { @@ -29382,8 +29433,8 @@ public string Name /// /// Payload /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("payload")] + [JsonInclude] + [JsonPropertyName("payload")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Payload { @@ -29394,8 +29445,8 @@ public string Payload /// /// Identifier of the context where the call was made. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -29411,92 +29462,92 @@ public enum ConsoleAPICalledType /// /// log /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("log")] + [JsonPropertyName("log")] Log, /// /// debug /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debug")] + [JsonPropertyName("debug")] Debug, /// /// info /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("info")] + [JsonPropertyName("info")] Info, /// /// error /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("error")] + [JsonPropertyName("error")] Error, /// /// warning /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("warning")] + [JsonPropertyName("warning")] Warning, /// /// dir /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dir")] + [JsonPropertyName("dir")] Dir, /// /// dirxml /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dirxml")] + [JsonPropertyName("dirxml")] Dirxml, /// /// table /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("table")] + [JsonPropertyName("table")] Table, /// /// trace /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("trace")] + [JsonPropertyName("trace")] Trace, /// /// clear /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("clear")] + [JsonPropertyName("clear")] Clear, /// /// startGroup /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startGroup")] + [JsonPropertyName("startGroup")] StartGroup, /// /// startGroupCollapsed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("startGroupCollapsed")] + [JsonPropertyName("startGroupCollapsed")] StartGroupCollapsed, /// /// endGroup /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("endGroup")] + [JsonPropertyName("endGroup")] EndGroup, /// /// assert /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("assert")] + [JsonPropertyName("assert")] Assert, /// /// profile /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonPropertyName("profile")] Profile, /// /// profileEnd /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profileEnd")] + [JsonPropertyName("profileEnd")] ProfileEnd, /// /// count /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("count")] + [JsonPropertyName("count")] Count, /// /// timeEnd /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timeEnd")] + [JsonPropertyName("timeEnd")] TimeEnd } @@ -29508,8 +29559,8 @@ public class ConsoleAPICalledEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Type of the call. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + [JsonInclude] + [JsonPropertyName("type")] public CefSharp.DevTools.Runtime.ConsoleAPICalledType Type { get; @@ -29519,8 +29570,8 @@ public CefSharp.DevTools.Runtime.ConsoleAPICalledType Type /// /// Call arguments. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("args")] + [JsonInclude] + [JsonPropertyName("args")] [System.Diagnostics.CodeAnalysis.DisallowNull] public System.Collections.Generic.IList Args { @@ -29531,8 +29582,8 @@ public System.Collections.Generic.IList /// /// Identifier of the context where the call was made. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -29542,8 +29593,8 @@ public int ExecutionContextId /// /// Call timestamp. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -29555,8 +29606,8 @@ public double Timestamp /// the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call /// chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonInclude] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -29568,8 +29619,8 @@ public CefSharp.DevTools.Runtime.StackTrace StackTrace /// 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call /// on named context. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("context")] + [JsonInclude] + [JsonPropertyName("context")] public string Context { get; @@ -29585,8 +29636,8 @@ public class ExceptionRevokedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Reason describing why exception was revoked. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")] + [JsonInclude] + [JsonPropertyName("reason")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string Reason { @@ -29597,8 +29648,8 @@ public string Reason /// /// The id of revoked exception, as reported in `exceptionThrown`. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionId")] + [JsonInclude] + [JsonPropertyName("exceptionId")] public int ExceptionId { get; @@ -29614,8 +29665,8 @@ public class ExceptionThrownEventArgs : CefSharp.DevTools.DevToolsDomainEventArg /// /// Timestamp of the exception. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -29625,8 +29676,8 @@ public double Timestamp /// /// ExceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { @@ -29643,8 +29694,8 @@ public class ExecutionContextCreatedEventArgs : CefSharp.DevTools.DevToolsDomain /// /// A newly created execution context. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("context")] + [JsonInclude] + [JsonPropertyName("context")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.ExecutionContextDescription Context { @@ -29661,8 +29712,8 @@ public class ExecutionContextDestroyedEventArgs : CefSharp.DevTools.DevToolsDoma /// /// Id of the destroyed context /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -29672,8 +29723,8 @@ public int ExecutionContextId /// /// Unique Id of the destroyed context /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextUniqueId")] + [JsonInclude] + [JsonPropertyName("executionContextUniqueId")] [System.Diagnostics.CodeAnalysis.DisallowNull] public string ExecutionContextUniqueId { @@ -29691,8 +29742,8 @@ public class InspectRequestedEventArgs : CefSharp.DevTools.DevToolsDomainEventAr /// /// Object /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonInclude] + [JsonPropertyName("object")] [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Runtime.RemoteObject Object { @@ -29703,8 +29754,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Object /// /// Hints /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hints")] + [JsonInclude] + [JsonPropertyName("hints")] [System.Diagnostics.CodeAnalysis.DisallowNull] public object Hints { @@ -29715,8 +29766,8 @@ public object Hints /// /// Identifier of the context where the call was made. /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int? ExecutionContextId { get; @@ -29730,13 +29781,13 @@ namespace CefSharp.DevTools.Accessibility /// /// GetPartialAXTreeResponse /// - public class GetPartialAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPartialAXTreeResponse : DevToolsDomainResponseBase { /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public System.Collections.Generic.IList Nodes { get; @@ -29750,13 +29801,13 @@ namespace CefSharp.DevTools.Accessibility /// /// GetFullAXTreeResponse /// - public class GetFullAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetFullAXTreeResponse : DevToolsDomainResponseBase { /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public System.Collections.Generic.IList Nodes { get; @@ -29770,13 +29821,13 @@ namespace CefSharp.DevTools.Accessibility /// /// GetRootAXNodeResponse /// - public class GetRootAXNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetRootAXNodeResponse : DevToolsDomainResponseBase { /// /// node /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonInclude] + [JsonPropertyName("node")] public CefSharp.DevTools.Accessibility.AXNode Node { get; @@ -29790,13 +29841,13 @@ namespace CefSharp.DevTools.Accessibility /// /// GetAXNodeAndAncestorsResponse /// - public class GetAXNodeAndAncestorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAXNodeAndAncestorsResponse : DevToolsDomainResponseBase { /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public System.Collections.Generic.IList Nodes { get; @@ -29810,13 +29861,13 @@ namespace CefSharp.DevTools.Accessibility /// /// GetChildAXNodesResponse /// - public class GetChildAXNodesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetChildAXNodesResponse : DevToolsDomainResponseBase { /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public System.Collections.Generic.IList Nodes { get; @@ -29830,13 +29881,13 @@ namespace CefSharp.DevTools.Accessibility /// /// QueryAXTreeResponse /// - public class QueryAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class QueryAXTreeResponse : DevToolsDomainResponseBase { /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public System.Collections.Generic.IList Nodes { get; @@ -29925,7 +29976,7 @@ public System.Threading.Tasks.Task EnableAsync() /// Identifier of the node to get the partial accessibility tree for. /// Identifier of the backend node to get the partial accessibility tree for. /// JavaScript object id of the node wrapper to get the partial accessibility tree for. - /// Whether to fetch this nodes ancestors, siblings and children. Defaults to true. + /// Whether to fetch this node's ancestors, siblings and children. Defaults to true. /// returns System.Threading.Tasks.Task<GetPartialAXTreeResponse> public System.Threading.Tasks.Task GetPartialAXTreeAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? fetchRelatives = null) { @@ -30102,13 +30153,13 @@ namespace CefSharp.DevTools.Animation /// /// GetCurrentTimeResponse /// - public class GetCurrentTimeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCurrentTimeResponse : DevToolsDomainResponseBase { /// /// currentTime /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")] + [JsonInclude] + [JsonPropertyName("currentTime")] public double CurrentTime { get; @@ -30122,13 +30173,13 @@ namespace CefSharp.DevTools.Animation /// /// GetPlaybackRateResponse /// - public class GetPlaybackRateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPlaybackRateResponse : DevToolsDomainResponseBase { /// /// playbackRate /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("playbackRate")] + [JsonInclude] + [JsonPropertyName("playbackRate")] public double PlaybackRate { get; @@ -30142,13 +30193,13 @@ namespace CefSharp.DevTools.Animation /// /// ResolveAnimationResponse /// - public class ResolveAnimationResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ResolveAnimationResponse : DevToolsDomainResponseBase { /// /// remoteObject /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("remoteObject")] + [JsonInclude] + [JsonPropertyName("remoteObject")] public CefSharp.DevTools.Runtime.RemoteObject RemoteObject { get; @@ -30367,13 +30418,13 @@ namespace CefSharp.DevTools.Audits /// /// GetEncodedResponseResponse /// - public class GetEncodedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetEncodedResponseResponse : DevToolsDomainResponseBase { /// /// body /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonInclude] + [JsonPropertyName("body")] public byte[] Body { get; @@ -30383,8 +30434,8 @@ public byte[] Body /// /// originalSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originalSize")] + [JsonInclude] + [JsonPropertyName("originalSize")] public int OriginalSize { get; @@ -30394,8 +30445,8 @@ public int OriginalSize /// /// encodedSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedSize")] + [JsonInclude] + [JsonPropertyName("encodedSize")] public int EncodedSize { get; @@ -30416,17 +30467,17 @@ public enum GetEncodedResponseEncoding /// /// webp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] + [JsonPropertyName("webp")] Webp, /// /// jpeg /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")] + [JsonPropertyName("jpeg")] Jpeg, /// /// png /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("png")] + [JsonPropertyName("png")] Png } @@ -30649,13 +30700,13 @@ namespace CefSharp.DevTools.Browser /// /// GetVersionResponse /// - public class GetVersionResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetVersionResponse : DevToolsDomainResponseBase { /// /// protocolVersion /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protocolVersion")] + [JsonInclude] + [JsonPropertyName("protocolVersion")] public string ProtocolVersion { get; @@ -30665,8 +30716,8 @@ public string ProtocolVersion /// /// product /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("product")] + [JsonInclude] + [JsonPropertyName("product")] public string Product { get; @@ -30676,8 +30727,8 @@ public string Product /// /// revision /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("revision")] + [JsonInclude] + [JsonPropertyName("revision")] public string Revision { get; @@ -30687,8 +30738,8 @@ public string Revision /// /// userAgent /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("userAgent")] + [JsonInclude] + [JsonPropertyName("userAgent")] public string UserAgent { get; @@ -30698,8 +30749,8 @@ public string UserAgent /// /// jsVersion /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jsVersion")] + [JsonInclude] + [JsonPropertyName("jsVersion")] public string JsVersion { get; @@ -30713,13 +30764,13 @@ namespace CefSharp.DevTools.Browser /// /// GetBrowserCommandLineResponse /// - public class GetBrowserCommandLineResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBrowserCommandLineResponse : DevToolsDomainResponseBase { /// /// arguments /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("arguments")] + [JsonInclude] + [JsonPropertyName("arguments")] public string[] Arguments { get; @@ -30733,13 +30784,13 @@ namespace CefSharp.DevTools.Browser /// /// GetHistogramsResponse /// - public class GetHistogramsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetHistogramsResponse : DevToolsDomainResponseBase { /// /// histograms /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("histograms")] + [JsonInclude] + [JsonPropertyName("histograms")] public System.Collections.Generic.IList Histograms { get; @@ -30753,13 +30804,13 @@ namespace CefSharp.DevTools.Browser /// /// GetHistogramResponse /// - public class GetHistogramResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetHistogramResponse : DevToolsDomainResponseBase { /// /// histogram /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("histogram")] + [JsonInclude] + [JsonPropertyName("histogram")] public CefSharp.DevTools.Browser.Histogram Histogram { get; @@ -30773,13 +30824,13 @@ namespace CefSharp.DevTools.Browser /// /// GetWindowBoundsResponse /// - public class GetWindowBoundsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetWindowBoundsResponse : DevToolsDomainResponseBase { /// /// bounds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")] + [JsonInclude] + [JsonPropertyName("bounds")] public CefSharp.DevTools.Browser.Bounds Bounds { get; @@ -30793,13 +30844,13 @@ namespace CefSharp.DevTools.Browser /// /// GetWindowForTargetResponse /// - public class GetWindowForTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetWindowForTargetResponse : DevToolsDomainResponseBase { /// /// windowId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("windowId")] + [JsonInclude] + [JsonPropertyName("windowId")] public int WindowId { get; @@ -30809,8 +30860,8 @@ public int WindowId /// /// bounds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")] + [JsonInclude] + [JsonPropertyName("bounds")] public CefSharp.DevTools.Browser.Bounds Bounds { get; @@ -30833,22 +30884,22 @@ public enum SetDownloadBehaviorBehavior /// /// deny /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deny")] + [JsonPropertyName("deny")] Deny, /// /// allow /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("allow")] + [JsonPropertyName("allow")] Allow, /// /// allowAndName /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("allowAndName")] + [JsonPropertyName("allowAndName")] AllowAndName, /// /// default /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("default")] + [JsonPropertyName("default")] Default } @@ -31211,13 +31262,13 @@ namespace CefSharp.DevTools.CSS /// /// AddRuleResponse /// - public class AddRuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AddRuleResponse : DevToolsDomainResponseBase { /// /// rule /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rule")] + [JsonInclude] + [JsonPropertyName("rule")] public CefSharp.DevTools.CSS.CSSRule Rule { get; @@ -31231,13 +31282,13 @@ namespace CefSharp.DevTools.CSS /// /// CollectClassNamesResponse /// - public class CollectClassNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CollectClassNamesResponse : DevToolsDomainResponseBase { /// /// classNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("classNames")] + [JsonInclude] + [JsonPropertyName("classNames")] public string[] ClassNames { get; @@ -31251,13 +31302,13 @@ namespace CefSharp.DevTools.CSS /// /// CreateStyleSheetResponse /// - public class CreateStyleSheetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CreateStyleSheetResponse : DevToolsDomainResponseBase { /// /// styleSheetId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")] + [JsonInclude] + [JsonPropertyName("styleSheetId")] public string StyleSheetId { get; @@ -31271,13 +31322,13 @@ namespace CefSharp.DevTools.CSS /// /// GetBackgroundColorsResponse /// - public class GetBackgroundColorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBackgroundColorsResponse : DevToolsDomainResponseBase { /// /// backgroundColors /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundColors")] + [JsonInclude] + [JsonPropertyName("backgroundColors")] public string[] BackgroundColors { get; @@ -31287,8 +31338,8 @@ public string[] BackgroundColors /// /// computedFontSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("computedFontSize")] + [JsonInclude] + [JsonPropertyName("computedFontSize")] public string ComputedFontSize { get; @@ -31298,8 +31349,8 @@ public string ComputedFontSize /// /// computedFontWeight /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("computedFontWeight")] + [JsonInclude] + [JsonPropertyName("computedFontWeight")] public string ComputedFontWeight { get; @@ -31313,13 +31364,13 @@ namespace CefSharp.DevTools.CSS /// /// GetComputedStyleForNodeResponse /// - public class GetComputedStyleForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetComputedStyleForNodeResponse : DevToolsDomainResponseBase { /// /// computedStyle /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("computedStyle")] + [JsonInclude] + [JsonPropertyName("computedStyle")] public System.Collections.Generic.IList ComputedStyle { get; @@ -31333,13 +31384,13 @@ namespace CefSharp.DevTools.CSS /// /// GetInlineStylesForNodeResponse /// - public class GetInlineStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetInlineStylesForNodeResponse : DevToolsDomainResponseBase { /// /// inlineStyle /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")] + [JsonInclude] + [JsonPropertyName("inlineStyle")] public CefSharp.DevTools.CSS.CSSStyle InlineStyle { get; @@ -31349,8 +31400,8 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle /// /// attributesStyle /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributesStyle")] + [JsonInclude] + [JsonPropertyName("attributesStyle")] public CefSharp.DevTools.CSS.CSSStyle AttributesStyle { get; @@ -31364,13 +31415,13 @@ namespace CefSharp.DevTools.CSS /// /// GetMatchedStylesForNodeResponse /// - public class GetMatchedStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetMatchedStylesForNodeResponse : DevToolsDomainResponseBase { /// /// inlineStyle /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")] + [JsonInclude] + [JsonPropertyName("inlineStyle")] public CefSharp.DevTools.CSS.CSSStyle InlineStyle { get; @@ -31380,8 +31431,8 @@ public CefSharp.DevTools.CSS.CSSStyle InlineStyle /// /// attributesStyle /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributesStyle")] + [JsonInclude] + [JsonPropertyName("attributesStyle")] public CefSharp.DevTools.CSS.CSSStyle AttributesStyle { get; @@ -31391,8 +31442,8 @@ public CefSharp.DevTools.CSS.CSSStyle AttributesStyle /// /// matchedCSSRules /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("matchedCSSRules")] + [JsonInclude] + [JsonPropertyName("matchedCSSRules")] public System.Collections.Generic.IList MatchedCSSRules { get; @@ -31402,8 +31453,8 @@ public System.Collections.Generic.IList Matched /// /// pseudoElements /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElements")] + [JsonInclude] + [JsonPropertyName("pseudoElements")] public System.Collections.Generic.IList PseudoElements { get; @@ -31413,8 +31464,8 @@ public System.Collections.Generic.IList /// inherited /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inherited")] + [JsonInclude] + [JsonPropertyName("inherited")] public System.Collections.Generic.IList Inherited { get; @@ -31424,8 +31475,8 @@ public System.Collections.Generic.IList /// inheritedPseudoElements /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("inheritedPseudoElements")] + [JsonInclude] + [JsonPropertyName("inheritedPseudoElements")] public System.Collections.Generic.IList InheritedPseudoElements { get; @@ -31435,8 +31486,8 @@ public System.Collections.Generic.IList /// cssKeyframesRules /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssKeyframesRules")] + [JsonInclude] + [JsonPropertyName("cssKeyframesRules")] public System.Collections.Generic.IList CssKeyframesRules { get; @@ -31446,8 +31497,8 @@ public System.Collections.Generic.IList /// /// parentLayoutNodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parentLayoutNodeId")] + [JsonInclude] + [JsonPropertyName("parentLayoutNodeId")] public int? ParentLayoutNodeId { get; @@ -31461,13 +31512,13 @@ namespace CefSharp.DevTools.CSS /// /// GetMediaQueriesResponse /// - public class GetMediaQueriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetMediaQueriesResponse : DevToolsDomainResponseBase { /// /// medias /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("medias")] + [JsonInclude] + [JsonPropertyName("medias")] public System.Collections.Generic.IList Medias { get; @@ -31481,13 +31532,13 @@ namespace CefSharp.DevTools.CSS /// /// GetPlatformFontsForNodeResponse /// - public class GetPlatformFontsForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPlatformFontsForNodeResponse : DevToolsDomainResponseBase { /// /// fonts /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("fonts")] + [JsonInclude] + [JsonPropertyName("fonts")] public System.Collections.Generic.IList Fonts { get; @@ -31501,13 +31552,13 @@ namespace CefSharp.DevTools.CSS /// /// GetStyleSheetTextResponse /// - public class GetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetStyleSheetTextResponse : DevToolsDomainResponseBase { /// /// text /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] + [JsonInclude] + [JsonPropertyName("text")] public string Text { get; @@ -31521,13 +31572,13 @@ namespace CefSharp.DevTools.CSS /// /// GetLayersForNodeResponse /// - public class GetLayersForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetLayersForNodeResponse : DevToolsDomainResponseBase { /// /// rootLayer /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rootLayer")] + [JsonInclude] + [JsonPropertyName("rootLayer")] public CefSharp.DevTools.CSS.CSSLayerData RootLayer { get; @@ -31541,13 +31592,13 @@ namespace CefSharp.DevTools.CSS /// /// TakeComputedStyleUpdatesResponse /// - public class TakeComputedStyleUpdatesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class TakeComputedStyleUpdatesResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -31561,13 +31612,13 @@ namespace CefSharp.DevTools.CSS /// /// SetKeyframeKeyResponse /// - public class SetKeyframeKeyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetKeyframeKeyResponse : DevToolsDomainResponseBase { /// /// keyText /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyText")] + [JsonInclude] + [JsonPropertyName("keyText")] public CefSharp.DevTools.CSS.Value KeyText { get; @@ -31581,13 +31632,13 @@ namespace CefSharp.DevTools.CSS /// /// SetMediaTextResponse /// - public class SetMediaTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetMediaTextResponse : DevToolsDomainResponseBase { /// /// media /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("media")] + [JsonInclude] + [JsonPropertyName("media")] public CefSharp.DevTools.CSS.CSSMedia Media { get; @@ -31601,13 +31652,13 @@ namespace CefSharp.DevTools.CSS /// /// SetContainerQueryTextResponse /// - public class SetContainerQueryTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetContainerQueryTextResponse : DevToolsDomainResponseBase { /// /// containerQuery /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQuery")] + [JsonInclude] + [JsonPropertyName("containerQuery")] public CefSharp.DevTools.CSS.CSSContainerQuery ContainerQuery { get; @@ -31621,13 +31672,13 @@ namespace CefSharp.DevTools.CSS /// /// SetSupportsTextResponse /// - public class SetSupportsTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetSupportsTextResponse : DevToolsDomainResponseBase { /// /// supports /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("supports")] + [JsonInclude] + [JsonPropertyName("supports")] public CefSharp.DevTools.CSS.CSSSupports Supports { get; @@ -31641,13 +31692,13 @@ namespace CefSharp.DevTools.CSS /// /// SetScopeTextResponse /// - public class SetScopeTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetScopeTextResponse : DevToolsDomainResponseBase { /// /// scope /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scope")] + [JsonInclude] + [JsonPropertyName("scope")] public CefSharp.DevTools.CSS.CSSScope Scope { get; @@ -31661,13 +31712,13 @@ namespace CefSharp.DevTools.CSS /// /// SetRuleSelectorResponse /// - public class SetRuleSelectorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetRuleSelectorResponse : DevToolsDomainResponseBase { /// /// selectorList /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("selectorList")] + [JsonInclude] + [JsonPropertyName("selectorList")] public CefSharp.DevTools.CSS.SelectorList SelectorList { get; @@ -31681,13 +31732,13 @@ namespace CefSharp.DevTools.CSS /// /// SetStyleSheetTextResponse /// - public class SetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetStyleSheetTextResponse : DevToolsDomainResponseBase { /// /// sourceMapURL /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")] + [JsonInclude] + [JsonPropertyName("sourceMapURL")] public string SourceMapURL { get; @@ -31701,13 +31752,13 @@ namespace CefSharp.DevTools.CSS /// /// SetStyleTextsResponse /// - public class SetStyleTextsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetStyleTextsResponse : DevToolsDomainResponseBase { /// /// styles /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("styles")] + [JsonInclude] + [JsonPropertyName("styles")] public System.Collections.Generic.IList Styles { get; @@ -31721,13 +31772,13 @@ namespace CefSharp.DevTools.CSS /// /// StopRuleUsageTrackingResponse /// - public class StopRuleUsageTrackingResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class StopRuleUsageTrackingResponse : DevToolsDomainResponseBase { /// /// ruleUsage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ruleUsage")] + [JsonInclude] + [JsonPropertyName("ruleUsage")] public System.Collections.Generic.IList RuleUsage { get; @@ -31741,13 +31792,13 @@ namespace CefSharp.DevTools.CSS /// /// TakeCoverageDeltaResponse /// - public class TakeCoverageDeltaResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class TakeCoverageDeltaResponse : DevToolsDomainResponseBase { /// /// coverage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("coverage")] + [JsonInclude] + [JsonPropertyName("coverage")] public System.Collections.Generic.IList Coverage { get; @@ -31757,8 +31808,8 @@ public System.Collections.Generic.IList Coverag /// /// timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -31793,7 +31844,7 @@ public CSSClient(CefSharp.DevTools.IDevToolsClient client) /// /// Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded - /// web font + /// web font. /// public event System.EventHandler FontsUpdated { @@ -32269,7 +32320,7 @@ public System.Threading.Tasks.Task StartRuleUsageTrackin /// /// Stop tracking rule usage and return the list of rules that were used since last call to - /// `takeCoverageDelta` (or since start of coverage instrumentation) + /// `takeCoverageDelta` (or since start of coverage instrumentation). /// /// returns System.Threading.Tasks.Task<StopRuleUsageTrackingResponse> public System.Threading.Tasks.Task StopRuleUsageTrackingAsync() @@ -32280,7 +32331,7 @@ public System.Threading.Tasks.Task StopRuleUsageT /// /// Obtain list of rules that became used since last call to this method (or since start of coverage - /// instrumentation) + /// instrumentation). /// /// returns System.Threading.Tasks.Task<TakeCoverageDeltaResponse> public System.Threading.Tasks.Task TakeCoverageDeltaAsync() @@ -32310,13 +32361,13 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestCacheNamesResponse /// - public class RequestCacheNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestCacheNamesResponse : DevToolsDomainResponseBase { /// /// caches /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("caches")] + [JsonInclude] + [JsonPropertyName("caches")] public System.Collections.Generic.IList Caches { get; @@ -32330,13 +32381,13 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestCachedResponseResponse /// - public class RequestCachedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestCachedResponseResponse : DevToolsDomainResponseBase { /// /// response /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("response")] + [JsonInclude] + [JsonPropertyName("response")] public CefSharp.DevTools.CacheStorage.CachedResponse Response { get; @@ -32350,13 +32401,13 @@ namespace CefSharp.DevTools.CacheStorage /// /// RequestEntriesResponse /// - public class RequestEntriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestEntriesResponse : DevToolsDomainResponseBase { /// /// cacheDataEntries /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheDataEntries")] + [JsonInclude] + [JsonPropertyName("cacheDataEntries")] public System.Collections.Generic.IList CacheDataEntries { get; @@ -32366,8 +32417,8 @@ public System.Collections.Generic.IList /// returnCount /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("returnCount")] + [JsonInclude] + [JsonPropertyName("returnCount")] public double ReturnCount { get; @@ -32651,13 +32702,13 @@ namespace CefSharp.DevTools.DOM /// /// CollectClassNamesFromSubtreeResponse /// - public class CollectClassNamesFromSubtreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CollectClassNamesFromSubtreeResponse : DevToolsDomainResponseBase { /// /// classNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("classNames")] + [JsonInclude] + [JsonPropertyName("classNames")] public string[] ClassNames { get; @@ -32671,13 +32722,13 @@ namespace CefSharp.DevTools.DOM /// /// CopyToResponse /// - public class CopyToResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CopyToResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -32691,13 +32742,13 @@ namespace CefSharp.DevTools.DOM /// /// DescribeNodeResponse /// - public class DescribeNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class DescribeNodeResponse : DevToolsDomainResponseBase { /// /// node /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("node")] + [JsonInclude] + [JsonPropertyName("node")] public CefSharp.DevTools.DOM.Node Node { get; @@ -32711,13 +32762,13 @@ namespace CefSharp.DevTools.DOM /// /// GetAttributesResponse /// - public class GetAttributesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAttributesResponse : DevToolsDomainResponseBase { /// /// attributes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")] + [JsonInclude] + [JsonPropertyName("attributes")] public string[] Attributes { get; @@ -32731,13 +32782,13 @@ namespace CefSharp.DevTools.DOM /// /// GetBoxModelResponse /// - public class GetBoxModelResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBoxModelResponse : DevToolsDomainResponseBase { /// /// model /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("model")] + [JsonInclude] + [JsonPropertyName("model")] public CefSharp.DevTools.DOM.BoxModel Model { get; @@ -32751,13 +32802,13 @@ namespace CefSharp.DevTools.DOM /// /// GetContentQuadsResponse /// - public class GetContentQuadsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetContentQuadsResponse : DevToolsDomainResponseBase { /// /// quads /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("quads")] + [JsonInclude] + [JsonPropertyName("quads")] public double[] Quads { get; @@ -32771,13 +32822,13 @@ namespace CefSharp.DevTools.DOM /// /// GetDocumentResponse /// - public class GetDocumentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetDocumentResponse : DevToolsDomainResponseBase { /// /// root /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("root")] + [JsonInclude] + [JsonPropertyName("root")] public CefSharp.DevTools.DOM.Node Root { get; @@ -32791,13 +32842,13 @@ namespace CefSharp.DevTools.DOM /// /// GetNodesForSubtreeByStyleResponse /// - public class GetNodesForSubtreeByStyleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetNodesForSubtreeByStyleResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -32811,13 +32862,13 @@ namespace CefSharp.DevTools.DOM /// /// GetNodeForLocationResponse /// - public class GetNodeForLocationResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetNodeForLocationResponse : DevToolsDomainResponseBase { /// /// backendNodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonInclude] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -32827,8 +32878,8 @@ public int BackendNodeId /// /// frameId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -32838,8 +32889,8 @@ public string FrameId /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int? NodeId { get; @@ -32853,13 +32904,13 @@ namespace CefSharp.DevTools.DOM /// /// GetOuterHTMLResponse /// - public class GetOuterHTMLResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetOuterHTMLResponse : DevToolsDomainResponseBase { /// /// outerHTML /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("outerHTML")] + [JsonInclude] + [JsonPropertyName("outerHTML")] public string OuterHTML { get; @@ -32873,13 +32924,13 @@ namespace CefSharp.DevTools.DOM /// /// GetRelayoutBoundaryResponse /// - public class GetRelayoutBoundaryResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetRelayoutBoundaryResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -32893,13 +32944,13 @@ namespace CefSharp.DevTools.DOM /// /// GetSearchResultsResponse /// - public class GetSearchResultsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSearchResultsResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -32913,13 +32964,13 @@ namespace CefSharp.DevTools.DOM /// /// MoveToResponse /// - public class MoveToResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class MoveToResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -32933,13 +32984,13 @@ namespace CefSharp.DevTools.DOM /// /// PerformSearchResponse /// - public class PerformSearchResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class PerformSearchResponse : DevToolsDomainResponseBase { /// /// searchId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("searchId")] + [JsonInclude] + [JsonPropertyName("searchId")] public string SearchId { get; @@ -32949,8 +33000,8 @@ public string SearchId /// /// resultCount /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resultCount")] + [JsonInclude] + [JsonPropertyName("resultCount")] public int ResultCount { get; @@ -32964,13 +33015,13 @@ namespace CefSharp.DevTools.DOM /// /// PushNodeByPathToFrontendResponse /// - public class PushNodeByPathToFrontendResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class PushNodeByPathToFrontendResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -32984,13 +33035,13 @@ namespace CefSharp.DevTools.DOM /// /// PushNodesByBackendIdsToFrontendResponse /// - public class PushNodesByBackendIdsToFrontendResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class PushNodesByBackendIdsToFrontendResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -33004,13 +33055,13 @@ namespace CefSharp.DevTools.DOM /// /// QuerySelectorResponse /// - public class QuerySelectorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class QuerySelectorResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -33024,13 +33075,13 @@ namespace CefSharp.DevTools.DOM /// /// QuerySelectorAllResponse /// - public class QuerySelectorAllResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class QuerySelectorAllResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -33044,13 +33095,13 @@ namespace CefSharp.DevTools.DOM /// /// GetTopLayerElementsResponse /// - public class GetTopLayerElementsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetTopLayerElementsResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -33064,13 +33115,13 @@ namespace CefSharp.DevTools.DOM /// /// RequestNodeResponse /// - public class RequestNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestNodeResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -33084,13 +33135,13 @@ namespace CefSharp.DevTools.DOM /// /// ResolveNodeResponse /// - public class ResolveNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ResolveNodeResponse : DevToolsDomainResponseBase { /// /// object /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("object")] + [JsonInclude] + [JsonPropertyName("object")] public CefSharp.DevTools.Runtime.RemoteObject Object { get; @@ -33104,13 +33155,13 @@ namespace CefSharp.DevTools.DOM /// /// GetNodeStackTracesResponse /// - public class GetNodeStackTracesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetNodeStackTracesResponse : DevToolsDomainResponseBase { /// /// creation /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("creation")] + [JsonInclude] + [JsonPropertyName("creation")] public CefSharp.DevTools.Runtime.StackTrace Creation { get; @@ -33124,13 +33175,13 @@ namespace CefSharp.DevTools.DOM /// /// GetFileInfoResponse /// - public class GetFileInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetFileInfoResponse : DevToolsDomainResponseBase { /// /// path /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("path")] + [JsonInclude] + [JsonPropertyName("path")] public string Path { get; @@ -33144,13 +33195,13 @@ namespace CefSharp.DevTools.DOM /// /// SetNodeNameResponse /// - public class SetNodeNameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetNodeNameResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int NodeId { get; @@ -33164,13 +33215,13 @@ namespace CefSharp.DevTools.DOM /// /// GetFrameOwnerResponse /// - public class GetFrameOwnerResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetFrameOwnerResponse : DevToolsDomainResponseBase { /// /// backendNodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")] + [JsonInclude] + [JsonPropertyName("backendNodeId")] public int BackendNodeId { get; @@ -33180,8 +33231,8 @@ public int BackendNodeId /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int? NodeId { get; @@ -33195,13 +33246,13 @@ namespace CefSharp.DevTools.DOM /// /// GetContainerForNodeResponse /// - public class GetContainerForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetContainerForNodeResponse : DevToolsDomainResponseBase { /// /// nodeId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + [JsonInclude] + [JsonPropertyName("nodeId")] public int? NodeId { get; @@ -33215,13 +33266,13 @@ namespace CefSharp.DevTools.DOM /// /// GetQueryingDescendantsForContainerResponse /// - public class GetQueryingDescendantsForContainerResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetQueryingDescendantsForContainerResponse : DevToolsDomainResponseBase { /// /// nodeIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")] + [JsonInclude] + [JsonPropertyName("nodeIds")] public int[] NodeIds { get; @@ -33242,12 +33293,12 @@ public enum EnableIncludeWhitespace /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// all /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("all")] + [JsonPropertyName("all")] All } @@ -33782,6 +33833,7 @@ public System.Threading.Tasks.Task GetContentQuadsAsync partial void ValidateGetDocument(int? depth = null, bool? pierce = null); /// /// Returns the root DOM node (and optionally the subtree) to the caller. + /// Implicitly enables the DOM domain events for the current target. /// /// The maximum depth at which children should be retrieved, defaults to 1. Use -1 for theentire subtree or provide an integer larger than 0. /// Whether or not iframes and shadow roots should be traversed when returning the subtree(default is false). @@ -34452,13 +34504,13 @@ namespace CefSharp.DevTools.DOMDebugger /// /// GetEventListenersResponse /// - public class GetEventListenersResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetEventListenersResponse : DevToolsDomainResponseBase { /// /// listeners /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("listeners")] + [JsonInclude] + [JsonPropertyName("listeners")] public System.Collections.Generic.IList Listeners { get; @@ -34714,13 +34766,13 @@ namespace CefSharp.DevTools.DOMSnapshot /// /// CaptureSnapshotResponse /// - public class CaptureSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CaptureSnapshotResponse : DevToolsDomainResponseBase { /// /// documents /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documents")] + [JsonInclude] + [JsonPropertyName("documents")] public System.Collections.Generic.IList Documents { get; @@ -34730,8 +34782,8 @@ public System.Collections.Generic.IList /// strings /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("strings")] + [JsonInclude] + [JsonPropertyName("strings")] public string[] Strings { get; @@ -34827,13 +34879,13 @@ namespace CefSharp.DevTools.DOMStorage /// /// GetDOMStorageItemsResponse /// - public class GetDOMStorageItemsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetDOMStorageItemsResponse : DevToolsDomainResponseBase { /// /// entries /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")] + [JsonInclude] + [JsonPropertyName("entries")] public string[] Entries { get; @@ -35014,13 +35066,13 @@ namespace CefSharp.DevTools.Database /// /// ExecuteSQLResponse /// - public class ExecuteSQLResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ExecuteSQLResponse : DevToolsDomainResponseBase { /// /// columnNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNames")] + [JsonInclude] + [JsonPropertyName("columnNames")] public string[] ColumnNames { get; @@ -35030,8 +35082,8 @@ public string[] ColumnNames /// /// values /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("values")] + [JsonInclude] + [JsonPropertyName("values")] public object[] Values { get; @@ -35041,8 +35093,8 @@ public object[] Values /// /// sqlError /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sqlError")] + [JsonInclude] + [JsonPropertyName("sqlError")] public CefSharp.DevTools.Database.Error SqlError { get; @@ -35056,13 +35108,13 @@ namespace CefSharp.DevTools.Database /// /// GetDatabaseTableNamesResponse /// - public class GetDatabaseTableNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetDatabaseTableNamesResponse : DevToolsDomainResponseBase { /// /// tableNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tableNames")] + [JsonInclude] + [JsonPropertyName("tableNames")] public string[] TableNames { get; @@ -35212,13 +35264,13 @@ namespace CefSharp.DevTools.Emulation /// /// CanEmulateResponse /// - public class CanEmulateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CanEmulateResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public bool Result { get; @@ -35232,13 +35284,13 @@ namespace CefSharp.DevTools.Emulation /// /// SetVirtualTimePolicyResponse /// - public class SetVirtualTimePolicyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetVirtualTimePolicyResponse : DevToolsDomainResponseBase { /// /// virtualTimeTicksBase /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("virtualTimeTicksBase")] + [JsonInclude] + [JsonPropertyName("virtualTimeTicksBase")] public double VirtualTimeTicksBase { get; @@ -35259,49 +35311,55 @@ public enum SetEmitTouchEventsForMouseConfiguration /// /// mobile /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mobile")] + [JsonPropertyName("mobile")] Mobile, /// /// desktop /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("desktop")] + [JsonPropertyName("desktop")] Desktop } /// - /// Vision deficiency to emulate. + /// Vision deficiency to emulate. Order: best-effort emulations come first, followed by any + /// physiologically accurate emulations for medically recognized color vision deficiencies. /// public enum SetEmulatedVisionDeficiencyType { /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// - /// achromatopsia - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("achromatopsia")] - Achromatopsia, - /// /// blurredVision /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("blurredVision")] + [JsonPropertyName("blurredVision")] BlurredVision, /// + /// reducedContrast + /// + [JsonPropertyName("reducedContrast")] + ReducedContrast, + /// + /// achromatopsia + /// + [JsonPropertyName("achromatopsia")] + Achromatopsia, + /// /// deuteranopia /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deuteranopia")] + [JsonPropertyName("deuteranopia")] Deuteranopia, /// /// protanopia /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("protanopia")] + [JsonPropertyName("protanopia")] Protanopia, /// /// tritanopia /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tritanopia")] + [JsonPropertyName("tritanopia")] Tritanopia } @@ -35593,7 +35651,7 @@ public System.Threading.Tasks.Task SetEmulatedMediaAsync /// /// Emulates the given vision deficiency. /// - /// Vision deficiency to emulate. + /// Vision deficiency to emulate. Order: best-effort emulations come first, followed by anyphysiologically accurate emulations for medically recognized color vision deficiencies. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> public System.Threading.Tasks.Task SetEmulatedVisionDeficiencyAsync(CefSharp.DevTools.Emulation.SetEmulatedVisionDeficiencyType type) { @@ -35854,13 +35912,13 @@ namespace CefSharp.DevTools.HeadlessExperimental /// /// BeginFrameResponse /// - public class BeginFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class BeginFrameResponse : DevToolsDomainResponseBase { /// /// hasDamage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasDamage")] + [JsonInclude] + [JsonPropertyName("hasDamage")] public bool HasDamage { get; @@ -35870,8 +35928,8 @@ public bool HasDamage /// /// screenshotData /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("screenshotData")] + [JsonInclude] + [JsonPropertyName("screenshotData")] public byte[] ScreenshotData { get; @@ -35945,13 +36003,13 @@ namespace CefSharp.DevTools.IO /// /// ReadResponse /// - public class ReadResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ReadResponse : DevToolsDomainResponseBase { /// /// base64Encoded /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("base64Encoded")] + [JsonInclude] + [JsonPropertyName("base64Encoded")] public bool? Base64Encoded { get; @@ -35961,8 +36019,8 @@ public bool? Base64Encoded /// /// data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public string Data { get; @@ -35972,8 +36030,8 @@ public string Data /// /// eof /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("eof")] + [JsonInclude] + [JsonPropertyName("eof")] public bool Eof { get; @@ -35987,13 +36045,13 @@ namespace CefSharp.DevTools.IO /// /// ResolveBlobResponse /// - public class ResolveBlobResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ResolveBlobResponse : DevToolsDomainResponseBase { /// /// uuid /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("uuid")] + [JsonInclude] + [JsonPropertyName("uuid")] public string Uuid { get; @@ -36082,13 +36140,13 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDataResponse /// - public class RequestDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestDataResponse : DevToolsDomainResponseBase { /// /// objectStoreDataEntries /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objectStoreDataEntries")] + [JsonInclude] + [JsonPropertyName("objectStoreDataEntries")] public System.Collections.Generic.IList ObjectStoreDataEntries { get; @@ -36098,8 +36156,8 @@ public System.Collections.Generic.IList O /// /// hasMore /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasMore")] + [JsonInclude] + [JsonPropertyName("hasMore")] public bool HasMore { get; @@ -36113,13 +36171,13 @@ namespace CefSharp.DevTools.IndexedDB /// /// GetMetadataResponse /// - public class GetMetadataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetMetadataResponse : DevToolsDomainResponseBase { /// /// entriesCount /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entriesCount")] + [JsonInclude] + [JsonPropertyName("entriesCount")] public double EntriesCount { get; @@ -36129,8 +36187,8 @@ public double EntriesCount /// /// keyGeneratorValue /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyGeneratorValue")] + [JsonInclude] + [JsonPropertyName("keyGeneratorValue")] public double KeyGeneratorValue { get; @@ -36144,13 +36202,13 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDatabaseResponse /// - public class RequestDatabaseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestDatabaseResponse : DevToolsDomainResponseBase { /// /// databaseWithObjectStores /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("databaseWithObjectStores")] + [JsonInclude] + [JsonPropertyName("databaseWithObjectStores")] public CefSharp.DevTools.IndexedDB.DatabaseWithObjectStores DatabaseWithObjectStores { get; @@ -36164,13 +36222,13 @@ namespace CefSharp.DevTools.IndexedDB /// /// RequestDatabaseNamesResponse /// - public class RequestDatabaseNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestDatabaseNamesResponse : DevToolsDomainResponseBase { /// /// databaseNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("databaseNames")] + [JsonInclude] + [JsonPropertyName("databaseNames")] public string[] DatabaseNames { get; @@ -36344,7 +36402,7 @@ public System.Threading.Tasks.Task RequestDataAsync(string partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); /// - /// Gets metadata of an object store + /// Gets metadata of an object store. /// /// Database name. /// Object store name. @@ -36434,22 +36492,22 @@ public enum DispatchDragEventType /// /// dragEnter /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dragEnter")] + [JsonPropertyName("dragEnter")] DragEnter, /// /// dragOver /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dragOver")] + [JsonPropertyName("dragOver")] DragOver, /// /// drop /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("drop")] + [JsonPropertyName("drop")] Drop, /// /// dragCancel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dragCancel")] + [JsonPropertyName("dragCancel")] DragCancel } @@ -36461,22 +36519,22 @@ public enum DispatchKeyEventType /// /// keyDown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyDown")] + [JsonPropertyName("keyDown")] KeyDown, /// /// keyUp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyUp")] + [JsonPropertyName("keyUp")] KeyUp, /// /// rawKeyDown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("rawKeyDown")] + [JsonPropertyName("rawKeyDown")] RawKeyDown, /// /// char /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("char")] + [JsonPropertyName("char")] Char } @@ -36488,22 +36546,22 @@ public enum DispatchMouseEventType /// /// mousePressed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mousePressed")] + [JsonPropertyName("mousePressed")] MousePressed, /// /// mouseReleased /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseReleased")] + [JsonPropertyName("mouseReleased")] MouseReleased, /// /// mouseMoved /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseMoved")] + [JsonPropertyName("mouseMoved")] MouseMoved, /// /// mouseWheel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseWheel")] + [JsonPropertyName("mouseWheel")] MouseWheel } @@ -36515,12 +36573,12 @@ public enum DispatchMouseEventPointerType /// /// mouse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouse")] + [JsonPropertyName("mouse")] Mouse, /// /// pen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("pen")] + [JsonPropertyName("pen")] Pen } @@ -36533,22 +36591,22 @@ public enum DispatchTouchEventType /// /// touchStart /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("touchStart")] + [JsonPropertyName("touchStart")] TouchStart, /// /// touchEnd /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("touchEnd")] + [JsonPropertyName("touchEnd")] TouchEnd, /// /// touchMove /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("touchMove")] + [JsonPropertyName("touchMove")] TouchMove, /// /// touchCancel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("touchCancel")] + [JsonPropertyName("touchCancel")] TouchCancel } @@ -36560,22 +36618,22 @@ public enum EmulateTouchFromMouseEventType /// /// mousePressed /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mousePressed")] + [JsonPropertyName("mousePressed")] MousePressed, /// /// mouseReleased /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseReleased")] + [JsonPropertyName("mouseReleased")] MouseReleased, /// /// mouseMoved /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseMoved")] + [JsonPropertyName("mouseMoved")] MouseMoved, /// /// mouseWheel /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mouseWheel")] + [JsonPropertyName("mouseWheel")] MouseWheel } @@ -37221,13 +37279,13 @@ namespace CefSharp.DevTools.LayerTree /// /// CompositingReasonsResponse /// - public class CompositingReasonsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CompositingReasonsResponse : DevToolsDomainResponseBase { /// /// compositingReasons /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("compositingReasons")] + [JsonInclude] + [JsonPropertyName("compositingReasons")] public string[] CompositingReasons { get; @@ -37237,8 +37295,8 @@ public string[] CompositingReasons /// /// compositingReasonIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("compositingReasonIds")] + [JsonInclude] + [JsonPropertyName("compositingReasonIds")] public string[] CompositingReasonIds { get; @@ -37252,13 +37310,13 @@ namespace CefSharp.DevTools.LayerTree /// /// LoadSnapshotResponse /// - public class LoadSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class LoadSnapshotResponse : DevToolsDomainResponseBase { /// /// snapshotId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("snapshotId")] + [JsonInclude] + [JsonPropertyName("snapshotId")] public string SnapshotId { get; @@ -37272,13 +37330,13 @@ namespace CefSharp.DevTools.LayerTree /// /// MakeSnapshotResponse /// - public class MakeSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class MakeSnapshotResponse : DevToolsDomainResponseBase { /// /// snapshotId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("snapshotId")] + [JsonInclude] + [JsonPropertyName("snapshotId")] public string SnapshotId { get; @@ -37292,13 +37350,13 @@ namespace CefSharp.DevTools.LayerTree /// /// ProfileSnapshotResponse /// - public class ProfileSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ProfileSnapshotResponse : DevToolsDomainResponseBase { /// /// timings /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timings")] + [JsonInclude] + [JsonPropertyName("timings")] public double[] Timings { get; @@ -37312,13 +37370,13 @@ namespace CefSharp.DevTools.LayerTree /// /// ReplaySnapshotResponse /// - public class ReplaySnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ReplaySnapshotResponse : DevToolsDomainResponseBase { /// /// dataURL /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dataURL")] + [JsonInclude] + [JsonPropertyName("dataURL")] public string DataURL { get; @@ -37332,13 +37390,13 @@ namespace CefSharp.DevTools.LayerTree /// /// SnapshotCommandLogResponse /// - public class SnapshotCommandLogResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SnapshotCommandLogResponse : DevToolsDomainResponseBase { /// /// commandLog /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("commandLog")] + [JsonInclude] + [JsonPropertyName("commandLog")] public System.Collections.Generic.IList CommandLog { get; @@ -37651,13 +37709,13 @@ namespace CefSharp.DevTools.Memory /// /// GetDOMCountersResponse /// - public class GetDOMCountersResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetDOMCountersResponse : DevToolsDomainResponseBase { /// /// documents /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("documents")] + [JsonInclude] + [JsonPropertyName("documents")] public int Documents { get; @@ -37667,8 +37725,8 @@ public int Documents /// /// nodes /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")] + [JsonInclude] + [JsonPropertyName("nodes")] public int Nodes { get; @@ -37678,8 +37736,8 @@ public int Nodes /// /// jsEventListeners /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jsEventListeners")] + [JsonInclude] + [JsonPropertyName("jsEventListeners")] public int JsEventListeners { get; @@ -37693,13 +37751,13 @@ namespace CefSharp.DevTools.Memory /// /// GetAllTimeSamplingProfileResponse /// - public class GetAllTimeSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAllTimeSamplingProfileResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.Memory.SamplingProfile Profile { get; @@ -37713,13 +37771,13 @@ namespace CefSharp.DevTools.Memory /// /// GetBrowserSamplingProfileResponse /// - public class GetBrowserSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBrowserSamplingProfileResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.Memory.SamplingProfile Profile { get; @@ -37733,13 +37791,13 @@ namespace CefSharp.DevTools.Memory /// /// GetSamplingProfileResponse /// - public class GetSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSamplingProfileResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.Memory.SamplingProfile Profile { get; @@ -37899,13 +37957,13 @@ namespace CefSharp.DevTools.Network /// /// GetCertificateResponse /// - public class GetCertificateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCertificateResponse : DevToolsDomainResponseBase { /// /// tableNames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tableNames")] + [JsonInclude] + [JsonPropertyName("tableNames")] public string[] TableNames { get; @@ -37919,13 +37977,13 @@ namespace CefSharp.DevTools.Network /// /// GetCookiesResponse /// - public class GetCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCookiesResponse : DevToolsDomainResponseBase { /// /// cookies /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookies")] + [JsonInclude] + [JsonPropertyName("cookies")] public System.Collections.Generic.IList Cookies { get; @@ -37939,13 +37997,13 @@ namespace CefSharp.DevTools.Network /// /// GetResponseBodyResponse /// - public class GetResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetResponseBodyResponse : DevToolsDomainResponseBase { /// /// body /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonInclude] + [JsonPropertyName("body")] public string Body { get; @@ -37955,8 +38013,8 @@ public string Body /// /// base64Encoded /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("base64Encoded")] + [JsonInclude] + [JsonPropertyName("base64Encoded")] public bool Base64Encoded { get; @@ -37970,13 +38028,13 @@ namespace CefSharp.DevTools.Network /// /// GetRequestPostDataResponse /// - public class GetRequestPostDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetRequestPostDataResponse : DevToolsDomainResponseBase { /// /// postData /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("postData")] + [JsonInclude] + [JsonPropertyName("postData")] public string PostData { get; @@ -37990,13 +38048,13 @@ namespace CefSharp.DevTools.Network /// /// GetResponseBodyForInterceptionResponse /// - public class GetResponseBodyForInterceptionResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetResponseBodyForInterceptionResponse : DevToolsDomainResponseBase { /// /// body /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonInclude] + [JsonPropertyName("body")] public string Body { get; @@ -38006,8 +38064,8 @@ public string Body /// /// base64Encoded /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("base64Encoded")] + [JsonInclude] + [JsonPropertyName("base64Encoded")] public bool Base64Encoded { get; @@ -38021,13 +38079,13 @@ namespace CefSharp.DevTools.Network /// /// TakeResponseBodyForInterceptionAsStreamResponse /// - public class TakeResponseBodyForInterceptionAsStreamResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class TakeResponseBodyForInterceptionAsStreamResponse : DevToolsDomainResponseBase { /// /// stream /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")] + [JsonInclude] + [JsonPropertyName("stream")] public string Stream { get; @@ -38041,13 +38099,13 @@ namespace CefSharp.DevTools.Network /// /// SearchInResponseBodyResponse /// - public class SearchInResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SearchInResponseBodyResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -38061,13 +38119,13 @@ namespace CefSharp.DevTools.Network /// /// SetCookieResponse /// - public class SetCookieResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetCookieResponse : DevToolsDomainResponseBase { /// /// success /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("success")] + [JsonInclude] + [JsonPropertyName("success")] public bool Success { get; @@ -38081,13 +38139,13 @@ namespace CefSharp.DevTools.Network /// /// GetSecurityIsolationStatusResponse /// - public class GetSecurityIsolationStatusResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSecurityIsolationStatusResponse : DevToolsDomainResponseBase { /// /// status /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonInclude] + [JsonPropertyName("status")] public CefSharp.DevTools.Network.SecurityIsolationStatus Status { get; @@ -38101,13 +38159,13 @@ namespace CefSharp.DevTools.Network /// /// LoadNetworkResourceResponse /// - public class LoadNetworkResourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class LoadNetworkResourceResponse : DevToolsDomainResponseBase { /// /// resource /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resource")] + [JsonInclude] + [JsonPropertyName("resource")] public CefSharp.DevTools.Network.LoadNetworkResourcePageResult Resource { get; @@ -39155,13 +39213,13 @@ namespace CefSharp.DevTools.Overlay /// /// GetHighlightObjectForTestResponse /// - public class GetHighlightObjectForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetHighlightObjectForTestResponse : DevToolsDomainResponseBase { /// /// highlight /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("highlight")] + [JsonInclude] + [JsonPropertyName("highlight")] public object Highlight { get; @@ -39175,13 +39233,13 @@ namespace CefSharp.DevTools.Overlay /// /// GetGridHighlightObjectsForTestResponse /// - public class GetGridHighlightObjectsForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetGridHighlightObjectsForTestResponse : DevToolsDomainResponseBase { /// /// highlights /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("highlights")] + [JsonInclude] + [JsonPropertyName("highlights")] public object Highlights { get; @@ -39195,13 +39253,13 @@ namespace CefSharp.DevTools.Overlay /// /// GetSourceOrderHighlightObjectForTestResponse /// - public class GetSourceOrderHighlightObjectForTestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSourceOrderHighlightObjectForTestResponse : DevToolsDomainResponseBase { /// /// highlight /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("highlight")] + [JsonInclude] + [JsonPropertyName("highlight")] public object Highlight { get; @@ -39766,13 +39824,13 @@ namespace CefSharp.DevTools.Page /// /// AddScriptToEvaluateOnNewDocumentResponse /// - public class AddScriptToEvaluateOnNewDocumentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AddScriptToEvaluateOnNewDocumentResponse : DevToolsDomainResponseBase { /// /// identifier /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("identifier")] + [JsonInclude] + [JsonPropertyName("identifier")] public string Identifier { get; @@ -39786,13 +39844,13 @@ namespace CefSharp.DevTools.Page /// /// CaptureScreenshotResponse /// - public class CaptureScreenshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CaptureScreenshotResponse : DevToolsDomainResponseBase { /// /// data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public byte[] Data { get; @@ -39806,13 +39864,13 @@ namespace CefSharp.DevTools.Page /// /// CaptureSnapshotResponse /// - public class CaptureSnapshotResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CaptureSnapshotResponse : DevToolsDomainResponseBase { /// /// data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public string Data { get; @@ -39826,13 +39884,13 @@ namespace CefSharp.DevTools.Page /// /// CreateIsolatedWorldResponse /// - public class CreateIsolatedWorldResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CreateIsolatedWorldResponse : DevToolsDomainResponseBase { /// /// executionContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")] + [JsonInclude] + [JsonPropertyName("executionContextId")] public int ExecutionContextId { get; @@ -39846,13 +39904,13 @@ namespace CefSharp.DevTools.Page /// /// GetAppManifestResponse /// - public class GetAppManifestResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAppManifestResponse : DevToolsDomainResponseBase { /// /// url /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [JsonInclude] + [JsonPropertyName("url")] public string Url { get; @@ -39862,8 +39920,8 @@ public string Url /// /// errors /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errors")] + [JsonInclude] + [JsonPropertyName("errors")] public System.Collections.Generic.IList Errors { get; @@ -39873,8 +39931,8 @@ public System.Collections.Generic.IList /// /// data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public string Data { get; @@ -39884,8 +39942,8 @@ public string Data /// /// parsed /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("parsed")] + [JsonInclude] + [JsonPropertyName("parsed")] public CefSharp.DevTools.Page.AppManifestParsedProperties Parsed { get; @@ -39899,13 +39957,13 @@ namespace CefSharp.DevTools.Page /// /// GetInstallabilityErrorsResponse /// - public class GetInstallabilityErrorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetInstallabilityErrorsResponse : DevToolsDomainResponseBase { /// /// installabilityErrors /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("installabilityErrors")] + [JsonInclude] + [JsonPropertyName("installabilityErrors")] public System.Collections.Generic.IList InstallabilityErrors { get; @@ -39914,38 +39972,18 @@ public System.Collections.Generic.IList - /// GetManifestIconsResponse - /// - public class GetManifestIconsResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// primaryIcon - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("primaryIcon")] - public byte[] PrimaryIcon - { - get; - private set; - } - } -} - namespace CefSharp.DevTools.Page { /// /// GetAppIdResponse /// - public class GetAppIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAppIdResponse : DevToolsDomainResponseBase { /// /// appId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("appId")] + [JsonInclude] + [JsonPropertyName("appId")] public string AppId { get; @@ -39955,8 +39993,8 @@ public string AppId /// /// recommendedId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("recommendedId")] + [JsonInclude] + [JsonPropertyName("recommendedId")] public string RecommendedId { get; @@ -39970,13 +40008,13 @@ namespace CefSharp.DevTools.Page /// /// GetAdScriptIdResponse /// - public class GetAdScriptIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetAdScriptIdResponse : DevToolsDomainResponseBase { /// /// adScriptId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("adScriptId")] + [JsonInclude] + [JsonPropertyName("adScriptId")] public CefSharp.DevTools.Page.AdScriptId AdScriptId { get; @@ -39990,13 +40028,13 @@ namespace CefSharp.DevTools.Page /// /// GetFrameTreeResponse /// - public class GetFrameTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetFrameTreeResponse : DevToolsDomainResponseBase { /// /// frameTree /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameTree")] + [JsonInclude] + [JsonPropertyName("frameTree")] public CefSharp.DevTools.Page.FrameTree FrameTree { get; @@ -40010,13 +40048,13 @@ namespace CefSharp.DevTools.Page /// /// GetLayoutMetricsResponse /// - public class GetLayoutMetricsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetLayoutMetricsResponse : DevToolsDomainResponseBase { /// /// layoutViewport /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutViewport")] + [JsonInclude] + [JsonPropertyName("layoutViewport")] public CefSharp.DevTools.Page.LayoutViewport LayoutViewport { get; @@ -40026,8 +40064,8 @@ public CefSharp.DevTools.Page.LayoutViewport LayoutViewport /// /// visualViewport /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("visualViewport")] + [JsonInclude] + [JsonPropertyName("visualViewport")] public CefSharp.DevTools.Page.VisualViewport VisualViewport { get; @@ -40037,8 +40075,8 @@ public CefSharp.DevTools.Page.VisualViewport VisualViewport /// /// contentSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSize")] + [JsonInclude] + [JsonPropertyName("contentSize")] public CefSharp.DevTools.DOM.Rect ContentSize { get; @@ -40048,8 +40086,8 @@ public CefSharp.DevTools.DOM.Rect ContentSize /// /// cssLayoutViewport /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssLayoutViewport")] + [JsonInclude] + [JsonPropertyName("cssLayoutViewport")] public CefSharp.DevTools.Page.LayoutViewport CssLayoutViewport { get; @@ -40059,8 +40097,8 @@ public CefSharp.DevTools.Page.LayoutViewport CssLayoutViewport /// /// cssVisualViewport /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssVisualViewport")] + [JsonInclude] + [JsonPropertyName("cssVisualViewport")] public CefSharp.DevTools.Page.VisualViewport CssVisualViewport { get; @@ -40070,8 +40108,8 @@ public CefSharp.DevTools.Page.VisualViewport CssVisualViewport /// /// cssContentSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cssContentSize")] + [JsonInclude] + [JsonPropertyName("cssContentSize")] public CefSharp.DevTools.DOM.Rect CssContentSize { get; @@ -40085,13 +40123,13 @@ namespace CefSharp.DevTools.Page /// /// GetNavigationHistoryResponse /// - public class GetNavigationHistoryResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetNavigationHistoryResponse : DevToolsDomainResponseBase { /// /// currentIndex /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("currentIndex")] + [JsonInclude] + [JsonPropertyName("currentIndex")] public int CurrentIndex { get; @@ -40101,8 +40139,8 @@ public int CurrentIndex /// /// entries /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")] + [JsonInclude] + [JsonPropertyName("entries")] public System.Collections.Generic.IList Entries { get; @@ -40116,13 +40154,13 @@ namespace CefSharp.DevTools.Page /// /// GetResourceContentResponse /// - public class GetResourceContentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetResourceContentResponse : DevToolsDomainResponseBase { /// /// content /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("content")] + [JsonInclude] + [JsonPropertyName("content")] public string Content { get; @@ -40132,8 +40170,8 @@ public string Content /// /// base64Encoded /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("base64Encoded")] + [JsonInclude] + [JsonPropertyName("base64Encoded")] public bool Base64Encoded { get; @@ -40147,13 +40185,13 @@ namespace CefSharp.DevTools.Page /// /// GetResourceTreeResponse /// - public class GetResourceTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetResourceTreeResponse : DevToolsDomainResponseBase { /// /// frameTree /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameTree")] + [JsonInclude] + [JsonPropertyName("frameTree")] public CefSharp.DevTools.Page.FrameResourceTree FrameTree { get; @@ -40167,13 +40205,13 @@ namespace CefSharp.DevTools.Page /// /// NavigateResponse /// - public class NavigateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class NavigateResponse : DevToolsDomainResponseBase { /// /// frameId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + [JsonInclude] + [JsonPropertyName("frameId")] public string FrameId { get; @@ -40183,8 +40221,8 @@ public string FrameId /// /// loaderId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")] + [JsonInclude] + [JsonPropertyName("loaderId")] public string LoaderId { get; @@ -40194,8 +40232,8 @@ public string LoaderId /// /// errorText /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorText")] + [JsonInclude] + [JsonPropertyName("errorText")] public string ErrorText { get; @@ -40209,13 +40247,13 @@ namespace CefSharp.DevTools.Page /// /// PrintToPDFResponse /// - public class PrintToPDFResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class PrintToPDFResponse : DevToolsDomainResponseBase { /// /// data /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("data")] + [JsonInclude] + [JsonPropertyName("data")] public byte[] Data { get; @@ -40225,8 +40263,8 @@ public byte[] Data /// /// stream /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")] + [JsonInclude] + [JsonPropertyName("stream")] public string Stream { get; @@ -40240,13 +40278,13 @@ namespace CefSharp.DevTools.Page /// /// SearchInResourceResponse /// - public class SearchInResourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SearchInResourceResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -40260,13 +40298,13 @@ namespace CefSharp.DevTools.Page /// /// GetPermissionsPolicyStateResponse /// - public class GetPermissionsPolicyStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPermissionsPolicyStateResponse : DevToolsDomainResponseBase { /// /// states /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("states")] + [JsonInclude] + [JsonPropertyName("states")] public System.Collections.Generic.IList States { get; @@ -40280,13 +40318,13 @@ namespace CefSharp.DevTools.Page /// /// GetOriginTrialsResponse /// - public class GetOriginTrialsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetOriginTrialsResponse : DevToolsDomainResponseBase { /// /// originTrials /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("originTrials")] + [JsonInclude] + [JsonPropertyName("originTrials")] public System.Collections.Generic.IList OriginTrials { get; @@ -40307,17 +40345,17 @@ public enum CaptureScreenshotFormat /// /// jpeg /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")] + [JsonPropertyName("jpeg")] Jpeg, /// /// png /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("png")] + [JsonPropertyName("png")] Png, /// /// webp /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] + [JsonPropertyName("webp")] Webp } @@ -40329,7 +40367,7 @@ public enum CaptureSnapshotFormat /// /// mhtml /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("mhtml")] + [JsonPropertyName("mhtml")] Mhtml } @@ -40341,12 +40379,12 @@ public enum PrintToPDFTransferMode /// /// ReturnAsBase64 /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ReturnAsBase64")] + [JsonPropertyName("ReturnAsBase64")] ReturnAsBase64, /// /// ReturnAsStream /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ReturnAsStream")] + [JsonPropertyName("ReturnAsStream")] ReturnAsStream } @@ -40358,12 +40396,12 @@ public enum StartScreencastFormat /// /// jpeg /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")] + [JsonPropertyName("jpeg")] Jpeg, /// /// png /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("png")] + [JsonPropertyName("png")] Png } @@ -40375,42 +40413,15 @@ public enum SetWebLifecycleStateState /// /// frozen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frozen")] + [JsonPropertyName("frozen")] Frozen, /// /// active /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("active")] + [JsonPropertyName("active")] Active } - /// - /// SetSPCTransactionModeMode - /// - public enum SetSPCTransactionModeMode - { - /// - /// none - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] - None, - /// - /// autoAccept - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoAccept")] - AutoAccept, - /// - /// autoReject - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoReject")] - AutoReject, - /// - /// autoOptOut - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoOptOut")] - AutoOptOut - } - /// /// Actions and events related to the inspected page belong to the page domain. /// @@ -40704,6 +40715,40 @@ public event System.EventHandler PrerenderAt } } + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prefetch attempt is updated. + /// + public event System.EventHandler PrefetchStatusUpdated + { + add + { + _client.AddEventHandler("Page.prefetchStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Page.prefetchStatusUpdated", value); + } + } + + /// + /// TODO(crbug/1384419): Create a dedicated domain for preloading. + /// Fired when a prerender attempt is updated. + /// + public event System.EventHandler PrerenderStatusUpdated + { + add + { + _client.AddEventHandler("Page.prerenderStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Page.prerenderStatusUpdated", value); + } + } + /// /// LoadEventFired /// @@ -40971,16 +41016,6 @@ public System.Threading.Tasks.Task GetInstallab return _client.ExecuteDevToolsMethodAsync("Page.getInstallabilityErrors", dict); } - /// - /// GetManifestIcons - /// - /// returns System.Threading.Tasks.Task<GetManifestIconsResponse> - public System.Threading.Tasks.Task GetManifestIconsAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Page.getManifestIcons", dict); - } - /// /// Returns the unique (PWA) app id. /// Only returns values if the feature flag 'WebAppEnableManifestId' is enabled @@ -41592,14 +41627,14 @@ public System.Threading.Tasks.Task ClearCompilationCache return _client.ExecuteDevToolsMethodAsync("Page.clearCompilationCache", dict); } - partial void ValidateSetSPCTransactionMode(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode); + partial void ValidateSetSPCTransactionMode(CefSharp.DevTools.Page.AutoResponseMode mode); /// /// Sets the Secure Payment Confirmation transaction mode. /// https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode /// /// mode /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetSPCTransactionModeAsync(CefSharp.DevTools.Page.SetSPCTransactionModeMode mode) + public System.Threading.Tasks.Task SetSPCTransactionModeAsync(CefSharp.DevTools.Page.AutoResponseMode mode) { ValidateSetSPCTransactionMode(mode); var dict = new System.Collections.Generic.Dictionary(); @@ -41607,6 +41642,21 @@ public System.Threading.Tasks.Task SetSPCTransactionMode return _client.ExecuteDevToolsMethodAsync("Page.setSPCTransactionMode", dict); } + partial void ValidateSetRPHRegistrationMode(CefSharp.DevTools.Page.AutoResponseMode mode); + /// + /// Extensions for Custom Handlers API: + /// https://html.spec.whatwg.org/multipage/system-state.html#rph-automation + /// + /// mode + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetRPHRegistrationModeAsync(CefSharp.DevTools.Page.AutoResponseMode mode) + { + ValidateSetRPHRegistrationMode(mode); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("mode", EnumToString(mode)); + return _client.ExecuteDevToolsMethodAsync("Page.setRPHRegistrationMode", dict); + } + partial void ValidateGenerateTestReport(string message, string group = null); /// /// Generates a report for testing. @@ -41660,13 +41710,13 @@ namespace CefSharp.DevTools.Performance /// /// GetMetricsResponse /// - public class GetMetricsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetMetricsResponse : DevToolsDomainResponseBase { /// /// metrics /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metrics")] + [JsonInclude] + [JsonPropertyName("metrics")] public System.Collections.Generic.IList Metrics { get; @@ -41687,12 +41737,12 @@ public enum EnableTimeDomain /// /// timeTicks /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timeTicks")] + [JsonPropertyName("timeTicks")] TimeTicks, /// /// threadTicks /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("threadTicks")] + [JsonPropertyName("threadTicks")] ThreadTicks } @@ -42149,13 +42199,13 @@ namespace CefSharp.DevTools.Storage /// /// GetStorageKeyForFrameResponse /// - public class GetStorageKeyForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetStorageKeyForFrameResponse : DevToolsDomainResponseBase { /// /// storageKey /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [JsonInclude] + [JsonPropertyName("storageKey")] public string StorageKey { get; @@ -42169,13 +42219,13 @@ namespace CefSharp.DevTools.Storage /// /// GetCookiesResponse /// - public class GetCookiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCookiesResponse : DevToolsDomainResponseBase { /// /// cookies /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("cookies")] + [JsonInclude] + [JsonPropertyName("cookies")] public System.Collections.Generic.IList Cookies { get; @@ -42189,13 +42239,13 @@ namespace CefSharp.DevTools.Storage /// /// GetUsageAndQuotaResponse /// - public class GetUsageAndQuotaResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetUsageAndQuotaResponse : DevToolsDomainResponseBase { /// /// usage /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usage")] + [JsonInclude] + [JsonPropertyName("usage")] public double Usage { get; @@ -42205,8 +42255,8 @@ public double Usage /// /// quota /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("quota")] + [JsonInclude] + [JsonPropertyName("quota")] public double Quota { get; @@ -42216,8 +42266,8 @@ public double Quota /// /// overrideActive /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("overrideActive")] + [JsonInclude] + [JsonPropertyName("overrideActive")] public bool OverrideActive { get; @@ -42227,8 +42277,8 @@ public bool OverrideActive /// /// usageBreakdown /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usageBreakdown")] + [JsonInclude] + [JsonPropertyName("usageBreakdown")] public System.Collections.Generic.IList UsageBreakdown { get; @@ -42242,13 +42292,13 @@ namespace CefSharp.DevTools.Storage /// /// GetTrustTokensResponse /// - public class GetTrustTokensResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetTrustTokensResponse : DevToolsDomainResponseBase { /// /// tokens /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("tokens")] + [JsonInclude] + [JsonPropertyName("tokens")] public System.Collections.Generic.IList Tokens { get; @@ -42262,13 +42312,13 @@ namespace CefSharp.DevTools.Storage /// /// ClearTrustTokensResponse /// - public class ClearTrustTokensResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class ClearTrustTokensResponse : DevToolsDomainResponseBase { /// /// didDeleteTokens /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("didDeleteTokens")] + [JsonInclude] + [JsonPropertyName("didDeleteTokens")] public bool DidDeleteTokens { get; @@ -42282,13 +42332,13 @@ namespace CefSharp.DevTools.Storage /// /// GetInterestGroupDetailsResponse /// - public class GetInterestGroupDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetInterestGroupDetailsResponse : DevToolsDomainResponseBase { /// /// details /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("details")] + [JsonInclude] + [JsonPropertyName("details")] public CefSharp.DevTools.Storage.InterestGroupDetails Details { get; @@ -42302,13 +42352,13 @@ namespace CefSharp.DevTools.Storage /// /// GetSharedStorageMetadataResponse /// - public class GetSharedStorageMetadataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSharedStorageMetadataResponse : DevToolsDomainResponseBase { /// /// metadata /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("metadata")] + [JsonInclude] + [JsonPropertyName("metadata")] public CefSharp.DevTools.Storage.SharedStorageMetadata Metadata { get; @@ -42322,13 +42372,13 @@ namespace CefSharp.DevTools.Storage /// /// GetSharedStorageEntriesResponse /// - public class GetSharedStorageEntriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSharedStorageEntriesResponse : DevToolsDomainResponseBase { /// /// entries /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")] + [JsonInclude] + [JsonPropertyName("entries")] public System.Collections.Generic.IList Entries { get; @@ -42874,13 +42924,13 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetInfoResponse /// - public class GetInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetInfoResponse : DevToolsDomainResponseBase { /// /// gpu /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("gpu")] + [JsonInclude] + [JsonPropertyName("gpu")] public CefSharp.DevTools.SystemInfo.GPUInfo Gpu { get; @@ -42890,8 +42940,8 @@ public CefSharp.DevTools.SystemInfo.GPUInfo Gpu /// /// modelName /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("modelName")] + [JsonInclude] + [JsonPropertyName("modelName")] public string ModelName { get; @@ -42901,8 +42951,8 @@ public string ModelName /// /// modelVersion /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("modelVersion")] + [JsonInclude] + [JsonPropertyName("modelVersion")] public string ModelVersion { get; @@ -42912,8 +42962,8 @@ public string ModelVersion /// /// commandLine /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("commandLine")] + [JsonInclude] + [JsonPropertyName("commandLine")] public string CommandLine { get; @@ -42927,13 +42977,13 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetFeatureStateResponse /// - public class GetFeatureStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetFeatureStateResponse : DevToolsDomainResponseBase { /// /// featureEnabled /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("featureEnabled")] + [JsonInclude] + [JsonPropertyName("featureEnabled")] public bool FeatureEnabled { get; @@ -42947,13 +42997,13 @@ namespace CefSharp.DevTools.SystemInfo /// /// GetProcessInfoResponse /// - public class GetProcessInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetProcessInfoResponse : DevToolsDomainResponseBase { /// /// processInfo /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("processInfo")] + [JsonInclude] + [JsonPropertyName("processInfo")] public System.Collections.Generic.IList ProcessInfo { get; @@ -43022,13 +43072,13 @@ namespace CefSharp.DevTools.Target /// /// AttachToTargetResponse /// - public class AttachToTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AttachToTargetResponse : DevToolsDomainResponseBase { /// /// sessionId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] public string SessionId { get; @@ -43042,13 +43092,13 @@ namespace CefSharp.DevTools.Target /// /// AttachToBrowserTargetResponse /// - public class AttachToBrowserTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AttachToBrowserTargetResponse : DevToolsDomainResponseBase { /// /// sessionId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("sessionId")] + [JsonInclude] + [JsonPropertyName("sessionId")] public string SessionId { get; @@ -43062,13 +43112,13 @@ namespace CefSharp.DevTools.Target /// /// CloseTargetResponse /// - public class CloseTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CloseTargetResponse : DevToolsDomainResponseBase { /// /// success /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("success")] + [JsonInclude] + [JsonPropertyName("success")] public bool Success { get; @@ -43082,13 +43132,13 @@ namespace CefSharp.DevTools.Target /// /// CreateBrowserContextResponse /// - public class CreateBrowserContextResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CreateBrowserContextResponse : DevToolsDomainResponseBase { /// /// browserContextId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("browserContextId")] + [JsonInclude] + [JsonPropertyName("browserContextId")] public string BrowserContextId { get; @@ -43102,13 +43152,13 @@ namespace CefSharp.DevTools.Target /// /// GetBrowserContextsResponse /// - public class GetBrowserContextsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBrowserContextsResponse : DevToolsDomainResponseBase { /// /// browserContextIds /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("browserContextIds")] + [JsonInclude] + [JsonPropertyName("browserContextIds")] public string[] BrowserContextIds { get; @@ -43122,13 +43172,13 @@ namespace CefSharp.DevTools.Target /// /// CreateTargetResponse /// - public class CreateTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CreateTargetResponse : DevToolsDomainResponseBase { /// /// targetId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")] + [JsonInclude] + [JsonPropertyName("targetId")] public string TargetId { get; @@ -43142,13 +43192,13 @@ namespace CefSharp.DevTools.Target /// /// GetTargetInfoResponse /// - public class GetTargetInfoResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetTargetInfoResponse : DevToolsDomainResponseBase { /// /// targetInfo /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetInfo")] + [JsonInclude] + [JsonPropertyName("targetInfo")] public CefSharp.DevTools.Target.TargetInfo TargetInfo { get; @@ -43162,13 +43212,13 @@ namespace CefSharp.DevTools.Target /// /// GetTargetsResponse /// - public class GetTargetsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetTargetsResponse : DevToolsDomainResponseBase { /// /// targetInfos /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetInfos")] + [JsonInclude] + [JsonPropertyName("targetInfos")] public System.Collections.Generic.IList TargetInfos { get; @@ -43740,13 +43790,13 @@ namespace CefSharp.DevTools.Tracing /// /// GetCategoriesResponse /// - public class GetCategoriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCategoriesResponse : DevToolsDomainResponseBase { /// /// categories /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("categories")] + [JsonInclude] + [JsonPropertyName("categories")] public string[] Categories { get; @@ -43760,13 +43810,13 @@ namespace CefSharp.DevTools.Tracing /// /// RequestMemoryDumpResponse /// - public class RequestMemoryDumpResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RequestMemoryDumpResponse : DevToolsDomainResponseBase { /// /// dumpGuid /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("dumpGuid")] + [JsonInclude] + [JsonPropertyName("dumpGuid")] public string DumpGuid { get; @@ -43776,8 +43826,8 @@ public string DumpGuid /// /// success /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("success")] + [JsonInclude] + [JsonPropertyName("success")] public bool Success { get; @@ -43799,12 +43849,12 @@ public enum StartTransferMode /// /// ReportEvents /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ReportEvents")] + [JsonPropertyName("ReportEvents")] ReportEvents, /// /// ReturnAsStream /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ReturnAsStream")] + [JsonPropertyName("ReturnAsStream")] ReturnAsStream } @@ -44004,13 +44054,13 @@ namespace CefSharp.DevTools.Fetch /// /// GetResponseBodyResponse /// - public class GetResponseBodyResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetResponseBodyResponse : DevToolsDomainResponseBase { /// /// body /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("body")] + [JsonInclude] + [JsonPropertyName("body")] public string Body { get; @@ -44020,8 +44070,8 @@ public string Body /// /// base64Encoded /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("base64Encoded")] + [JsonInclude] + [JsonPropertyName("base64Encoded")] public bool Base64Encoded { get; @@ -44035,13 +44085,13 @@ namespace CefSharp.DevTools.Fetch /// /// TakeResponseBodyAsStreamResponse /// - public class TakeResponseBodyAsStreamResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class TakeResponseBodyAsStreamResponse : DevToolsDomainResponseBase { /// /// stream /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")] + [JsonInclude] + [JsonPropertyName("stream")] public string Stream { get; @@ -44347,13 +44397,13 @@ namespace CefSharp.DevTools.WebAudio /// /// GetRealtimeDataResponse /// - public class GetRealtimeDataResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetRealtimeDataResponse : DevToolsDomainResponseBase { /// /// realtimeData /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("realtimeData")] + [JsonInclude] + [JsonPropertyName("realtimeData")] public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData { get; @@ -44631,13 +44681,13 @@ namespace CefSharp.DevTools.WebAuthn /// /// AddVirtualAuthenticatorResponse /// - public class AddVirtualAuthenticatorResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AddVirtualAuthenticatorResponse : DevToolsDomainResponseBase { /// /// authenticatorId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("authenticatorId")] + [JsonInclude] + [JsonPropertyName("authenticatorId")] public string AuthenticatorId { get; @@ -44651,13 +44701,13 @@ namespace CefSharp.DevTools.WebAuthn /// /// GetCredentialResponse /// - public class GetCredentialResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCredentialResponse : DevToolsDomainResponseBase { /// /// credential /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("credential")] + [JsonInclude] + [JsonPropertyName("credential")] public CefSharp.DevTools.WebAuthn.Credential Credential { get; @@ -44671,13 +44721,13 @@ namespace CefSharp.DevTools.WebAuthn /// /// GetCredentialsResponse /// - public class GetCredentialsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetCredentialsResponse : DevToolsDomainResponseBase { /// /// credentials /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("credentials")] + [JsonInclude] + [JsonPropertyName("credentials")] public System.Collections.Generic.IList Credentials { get; @@ -45065,18 +45115,179 @@ public System.Threading.Tasks.Task DisableAsync() } } +namespace CefSharp.DevTools.DeviceAccess +{ + using System.Linq; + + /// + /// DeviceAccess + /// + public partial class DeviceAccessClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// DeviceAccess + /// + /// DevToolsClient + public DeviceAccessClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// A device request opened a user prompt to select a device. Respond with the + /// selectPrompt or cancelPrompt command. + /// + public event System.EventHandler DeviceRequestPrompted + { + add + { + _client.AddEventHandler("DeviceAccess.deviceRequestPrompted", value); + } + + remove + { + _client.RemoveEventHandler("DeviceAccess.deviceRequestPrompted", value); + } + } + + /// + /// Enable events in this domain. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.enable", dict); + } + + /// + /// Disable events in this domain. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.disable", dict); + } + + partial void ValidateSelectPrompt(string id, string deviceId); + /// + /// Select a device in response to a DeviceAccess.deviceRequestPrompted event. + /// + /// id + /// deviceId + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SelectPromptAsync(string id, string deviceId) + { + ValidateSelectPrompt(id, deviceId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("id", id); + dict.Add("deviceId", deviceId); + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.selectPrompt", dict); + } + + partial void ValidateCancelPrompt(string id); + /// + /// Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event. + /// + /// id + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task CancelPromptAsync(string id) + { + ValidateCancelPrompt(id); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("id", id); + return _client.ExecuteDevToolsMethodAsync("DeviceAccess.cancelPrompt", dict); + } + } +} + +namespace CefSharp.DevTools.Preload +{ + using System.Linq; + + /// + /// Preload + /// + public partial class PreloadClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// Preload + /// + /// DevToolsClient + public PreloadClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// Upsert. Currently, it is only emitted when a rule set added. + /// + public event System.EventHandler RuleSetUpdated + { + add + { + _client.AddEventHandler("Preload.ruleSetUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.ruleSetUpdated", value); + } + } + + /// + /// RuleSetRemoved + /// + public event System.EventHandler RuleSetRemoved + { + add + { + _client.AddEventHandler("Preload.ruleSetRemoved", value); + } + + remove + { + _client.RemoveEventHandler("Preload.ruleSetRemoved", value); + } + } + + /// + /// Enable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Preload.enable", dict); + } + + /// + /// Disable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Preload.disable", dict); + } + } +} + namespace CefSharp.DevTools.Debugger { /// /// EnableResponse /// - public class EnableResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class EnableResponse : DevToolsDomainResponseBase { /// /// debuggerId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("debuggerId")] + [JsonInclude] + [JsonPropertyName("debuggerId")] public string DebuggerId { get; @@ -45090,13 +45301,13 @@ namespace CefSharp.DevTools.Debugger /// /// EvaluateOnCallFrameResponse /// - public class EvaluateOnCallFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class EvaluateOnCallFrameResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -45106,8 +45317,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Result /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -45121,13 +45332,13 @@ namespace CefSharp.DevTools.Debugger /// /// GetPossibleBreakpointsResponse /// - public class GetPossibleBreakpointsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPossibleBreakpointsResponse : DevToolsDomainResponseBase { /// /// locations /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("locations")] + [JsonInclude] + [JsonPropertyName("locations")] public System.Collections.Generic.IList Locations { get; @@ -45141,13 +45352,13 @@ namespace CefSharp.DevTools.Debugger /// /// GetScriptSourceResponse /// - public class GetScriptSourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetScriptSourceResponse : DevToolsDomainResponseBase { /// /// scriptSource /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptSource")] + [JsonInclude] + [JsonPropertyName("scriptSource")] public string ScriptSource { get; @@ -45157,8 +45368,8 @@ public string ScriptSource /// /// bytecode /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("bytecode")] + [JsonInclude] + [JsonPropertyName("bytecode")] public byte[] Bytecode { get; @@ -45172,13 +45383,13 @@ namespace CefSharp.DevTools.Debugger /// /// DisassembleWasmModuleResponse /// - public class DisassembleWasmModuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class DisassembleWasmModuleResponse : DevToolsDomainResponseBase { /// /// streamId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("streamId")] + [JsonInclude] + [JsonPropertyName("streamId")] public string StreamId { get; @@ -45188,8 +45399,8 @@ public string StreamId /// /// totalNumberOfLines /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("totalNumberOfLines")] + [JsonInclude] + [JsonPropertyName("totalNumberOfLines")] public int TotalNumberOfLines { get; @@ -45199,8 +45410,8 @@ public int TotalNumberOfLines /// /// functionBodyOffsets /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("functionBodyOffsets")] + [JsonInclude] + [JsonPropertyName("functionBodyOffsets")] public int[] FunctionBodyOffsets { get; @@ -45210,8 +45421,8 @@ public int[] FunctionBodyOffsets /// /// chunk /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("chunk")] + [JsonInclude] + [JsonPropertyName("chunk")] public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk { get; @@ -45225,13 +45436,13 @@ namespace CefSharp.DevTools.Debugger /// /// NextWasmDisassemblyChunkResponse /// - public class NextWasmDisassemblyChunkResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class NextWasmDisassemblyChunkResponse : DevToolsDomainResponseBase { /// /// chunk /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("chunk")] + [JsonInclude] + [JsonPropertyName("chunk")] public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk { get; @@ -45245,13 +45456,13 @@ namespace CefSharp.DevTools.Debugger /// /// GetStackTraceResponse /// - public class GetStackTraceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetStackTraceResponse : DevToolsDomainResponseBase { /// /// stackTrace /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")] + [JsonInclude] + [JsonPropertyName("stackTrace")] public CefSharp.DevTools.Runtime.StackTrace StackTrace { get; @@ -45265,13 +45476,13 @@ namespace CefSharp.DevTools.Debugger /// /// RestartFrameResponse /// - public class RestartFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RestartFrameResponse : DevToolsDomainResponseBase { /// /// callFrames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrames")] + [JsonInclude] + [JsonPropertyName("callFrames")] public System.Collections.Generic.IList CallFrames { get; @@ -45281,8 +45492,8 @@ public System.Collections.Generic.IList Ca /// /// asyncStackTrace /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTrace")] + [JsonInclude] + [JsonPropertyName("asyncStackTrace")] public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace { get; @@ -45292,8 +45503,8 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace /// /// asyncStackTraceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTraceId")] + [JsonInclude] + [JsonPropertyName("asyncStackTraceId")] public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId { get; @@ -45307,13 +45518,13 @@ namespace CefSharp.DevTools.Debugger /// /// SearchInContentResponse /// - public class SearchInContentResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SearchInContentResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -45327,13 +45538,13 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointResponse /// - public class SetBreakpointResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetBreakpointResponse : DevToolsDomainResponseBase { /// /// breakpointId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("breakpointId")] + [JsonInclude] + [JsonPropertyName("breakpointId")] public string BreakpointId { get; @@ -45343,8 +45554,8 @@ public string BreakpointId /// /// actualLocation /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("actualLocation")] + [JsonInclude] + [JsonPropertyName("actualLocation")] public CefSharp.DevTools.Debugger.Location ActualLocation { get; @@ -45358,13 +45569,13 @@ namespace CefSharp.DevTools.Debugger /// /// SetInstrumentationBreakpointResponse /// - public class SetInstrumentationBreakpointResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetInstrumentationBreakpointResponse : DevToolsDomainResponseBase { /// /// breakpointId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("breakpointId")] + [JsonInclude] + [JsonPropertyName("breakpointId")] public string BreakpointId { get; @@ -45378,13 +45589,13 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointByUrlResponse /// - public class SetBreakpointByUrlResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetBreakpointByUrlResponse : DevToolsDomainResponseBase { /// /// breakpointId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("breakpointId")] + [JsonInclude] + [JsonPropertyName("breakpointId")] public string BreakpointId { get; @@ -45394,8 +45605,8 @@ public string BreakpointId /// /// locations /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("locations")] + [JsonInclude] + [JsonPropertyName("locations")] public System.Collections.Generic.IList Locations { get; @@ -45409,13 +45620,13 @@ namespace CefSharp.DevTools.Debugger /// /// SetBreakpointOnFunctionCallResponse /// - public class SetBreakpointOnFunctionCallResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetBreakpointOnFunctionCallResponse : DevToolsDomainResponseBase { /// /// breakpointId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("breakpointId")] + [JsonInclude] + [JsonPropertyName("breakpointId")] public string BreakpointId { get; @@ -45429,13 +45640,13 @@ namespace CefSharp.DevTools.Debugger /// /// SetScriptSourceResponse /// - public class SetScriptSourceResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class SetScriptSourceResponse : DevToolsDomainResponseBase { /// /// callFrames /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrames")] + [JsonInclude] + [JsonPropertyName("callFrames")] public System.Collections.Generic.IList CallFrames { get; @@ -45445,8 +45656,8 @@ public System.Collections.Generic.IList Ca /// /// stackChanged /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("stackChanged")] + [JsonInclude] + [JsonPropertyName("stackChanged")] public bool? StackChanged { get; @@ -45456,8 +45667,8 @@ public bool? StackChanged /// /// asyncStackTrace /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTrace")] + [JsonInclude] + [JsonPropertyName("asyncStackTrace")] public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace { get; @@ -45467,8 +45678,8 @@ public CefSharp.DevTools.Runtime.StackTrace AsyncStackTrace /// /// asyncStackTraceId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("asyncStackTraceId")] + [JsonInclude] + [JsonPropertyName("asyncStackTraceId")] public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId { get; @@ -45478,8 +45689,8 @@ public CefSharp.DevTools.Runtime.StackTraceId AsyncStackTraceId /// /// status /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] + [JsonInclude] + [JsonPropertyName("status")] public string Status { get; @@ -45489,8 +45700,8 @@ public string Status /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -45511,12 +45722,12 @@ public enum ContinueToLocationTargetCallFrames /// /// any /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("any")] + [JsonPropertyName("any")] Any, /// /// current /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("current")] + [JsonPropertyName("current")] Current } @@ -45529,7 +45740,7 @@ public enum RestartFrameMode /// /// StepInto /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("StepInto")] + [JsonPropertyName("StepInto")] StepInto } @@ -45541,12 +45752,12 @@ public enum SetInstrumentationBreakpointInstrumentation /// /// beforeScriptExecution /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("beforeScriptExecution")] + [JsonPropertyName("beforeScriptExecution")] BeforeScriptExecution, /// /// beforeScriptWithSourceMapExecution /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("beforeScriptWithSourceMapExecution")] + [JsonPropertyName("beforeScriptWithSourceMapExecution")] BeforeScriptWithSourceMapExecution } @@ -45558,22 +45769,22 @@ public enum SetPauseOnExceptionsState /// /// none /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] + [JsonPropertyName("none")] None, /// /// caught /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("caught")] + [JsonPropertyName("caught")] Caught, /// /// uncaught /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("uncaught")] + [JsonPropertyName("uncaught")] Uncaught, /// /// all /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("all")] + [JsonPropertyName("all")] All } @@ -46292,13 +46503,13 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetHeapObjectIdResponse /// - public class GetHeapObjectIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetHeapObjectIdResponse : DevToolsDomainResponseBase { /// /// heapSnapshotObjectId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("heapSnapshotObjectId")] + [JsonInclude] + [JsonPropertyName("heapSnapshotObjectId")] public string HeapSnapshotObjectId { get; @@ -46312,13 +46523,13 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetObjectByHeapObjectIdResponse /// - public class GetObjectByHeapObjectIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetObjectByHeapObjectIdResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -46332,13 +46543,13 @@ namespace CefSharp.DevTools.HeapProfiler /// /// GetSamplingProfileResponse /// - public class GetSamplingProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetSamplingProfileResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.HeapProfiler.SamplingHeapProfile Profile { get; @@ -46352,13 +46563,13 @@ namespace CefSharp.DevTools.HeapProfiler /// /// StopSamplingResponse /// - public class StopSamplingResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class StopSamplingResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.HeapProfiler.SamplingHeapProfile Profile { get; @@ -46694,13 +46905,13 @@ namespace CefSharp.DevTools.Profiler /// /// GetBestEffortCoverageResponse /// - public class GetBestEffortCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetBestEffortCoverageResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -46714,13 +46925,13 @@ namespace CefSharp.DevTools.Profiler /// /// StartPreciseCoverageResponse /// - public class StartPreciseCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class StartPreciseCoverageResponse : DevToolsDomainResponseBase { /// /// timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -46734,13 +46945,13 @@ namespace CefSharp.DevTools.Profiler /// /// StopResponse /// - public class StopResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class StopResponse : DevToolsDomainResponseBase { /// /// profile /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")] + [JsonInclude] + [JsonPropertyName("profile")] public CefSharp.DevTools.Profiler.Profile Profile { get; @@ -46754,13 +46965,13 @@ namespace CefSharp.DevTools.Profiler /// /// TakePreciseCoverageResponse /// - public class TakePreciseCoverageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class TakePreciseCoverageResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -46770,8 +46981,8 @@ public System.Collections.Generic.IList /// timestamp /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")] + [JsonInclude] + [JsonPropertyName("timestamp")] public double Timestamp { get; @@ -46976,13 +47187,13 @@ namespace CefSharp.DevTools.Runtime /// /// AwaitPromiseResponse /// - public class AwaitPromiseResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class AwaitPromiseResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -46992,8 +47203,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Result /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47007,13 +47218,13 @@ namespace CefSharp.DevTools.Runtime /// /// CallFunctionOnResponse /// - public class CallFunctionOnResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CallFunctionOnResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -47023,8 +47234,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Result /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47038,13 +47249,13 @@ namespace CefSharp.DevTools.Runtime /// /// CompileScriptResponse /// - public class CompileScriptResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class CompileScriptResponse : DevToolsDomainResponseBase { /// /// scriptId /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] + [JsonInclude] + [JsonPropertyName("scriptId")] public string ScriptId { get; @@ -47054,8 +47265,8 @@ public string ScriptId /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47069,13 +47280,13 @@ namespace CefSharp.DevTools.Runtime /// /// EvaluateResponse /// - public class EvaluateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class EvaluateResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -47085,8 +47296,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Result /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47100,13 +47311,13 @@ namespace CefSharp.DevTools.Runtime /// /// GetIsolateIdResponse /// - public class GetIsolateIdResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetIsolateIdResponse : DevToolsDomainResponseBase { /// /// id /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("id")] + [JsonInclude] + [JsonPropertyName("id")] public string Id { get; @@ -47120,13 +47331,13 @@ namespace CefSharp.DevTools.Runtime /// /// GetHeapUsageResponse /// - public class GetHeapUsageResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetHeapUsageResponse : DevToolsDomainResponseBase { /// /// usedSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("usedSize")] + [JsonInclude] + [JsonPropertyName("usedSize")] public double UsedSize { get; @@ -47136,8 +47347,8 @@ public double UsedSize /// /// totalSize /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("totalSize")] + [JsonInclude] + [JsonPropertyName("totalSize")] public double TotalSize { get; @@ -47151,13 +47362,13 @@ namespace CefSharp.DevTools.Runtime /// /// GetPropertiesResponse /// - public class GetPropertiesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetPropertiesResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public System.Collections.Generic.IList Result { get; @@ -47167,8 +47378,8 @@ public System.Collections.Generic.IList /// internalProperties /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("internalProperties")] + [JsonInclude] + [JsonPropertyName("internalProperties")] public System.Collections.Generic.IList InternalProperties { get; @@ -47178,8 +47389,8 @@ public System.Collections.Generic.IList /// privateProperties /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("privateProperties")] + [JsonInclude] + [JsonPropertyName("privateProperties")] public System.Collections.Generic.IList PrivateProperties { get; @@ -47189,8 +47400,8 @@ public System.Collections.Generic.IList /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47204,13 +47415,13 @@ namespace CefSharp.DevTools.Runtime /// /// GlobalLexicalScopeNamesResponse /// - public class GlobalLexicalScopeNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GlobalLexicalScopeNamesResponse : DevToolsDomainResponseBase { /// /// names /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("names")] + [JsonInclude] + [JsonPropertyName("names")] public string[] Names { get; @@ -47224,13 +47435,13 @@ namespace CefSharp.DevTools.Runtime /// /// QueryObjectsResponse /// - public class QueryObjectsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class QueryObjectsResponse : DevToolsDomainResponseBase { /// /// objects /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("objects")] + [JsonInclude] + [JsonPropertyName("objects")] public CefSharp.DevTools.Runtime.RemoteObject Objects { get; @@ -47244,13 +47455,13 @@ namespace CefSharp.DevTools.Runtime /// /// RunScriptResponse /// - public class RunScriptResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class RunScriptResponse : DevToolsDomainResponseBase { /// /// result /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] + [JsonInclude] + [JsonPropertyName("result")] public CefSharp.DevTools.Runtime.RemoteObject Result { get; @@ -47260,8 +47471,8 @@ public CefSharp.DevTools.Runtime.RemoteObject Result /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -47275,13 +47486,13 @@ namespace CefSharp.DevTools.Runtime /// /// GetExceptionDetailsResponse /// - public class GetExceptionDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + public class GetExceptionDetailsResponse : DevToolsDomainResponseBase { /// /// exceptionDetails /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + [JsonInclude] + [JsonPropertyName("exceptionDetails")] public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails { get; @@ -48733,6 +48944,40 @@ public CefSharp.DevTools.Media.MediaClient Media } } + private CefSharp.DevTools.DeviceAccess.DeviceAccessClient _DeviceAccess; + /// + /// DeviceAccess + /// + public CefSharp.DevTools.DeviceAccess.DeviceAccessClient DeviceAccess + { + get + { + if ((_DeviceAccess) == (null)) + { + _DeviceAccess = (new CefSharp.DevTools.DeviceAccess.DeviceAccessClient(this)); + } + + return _DeviceAccess; + } + } + + private CefSharp.DevTools.Preload.PreloadClient _Preload; + /// + /// Preload + /// + public CefSharp.DevTools.Preload.PreloadClient Preload + { + get + { + if ((_Preload) == (null)) + { + _Preload = (new CefSharp.DevTools.Preload.PreloadClient(this)); + } + + return _Preload; + } + } + private CefSharp.DevTools.Debugger.DebuggerClient _Debugger; /// /// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing From 7cc02bec600101cc45837120d006f7cf020cd9e2 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 15 Apr 2023 16:42:46 +1000 Subject: [PATCH 044/275] Upgrade to 112.2.9+g3303e87+chromium-112.0.5615.87 / Chromium 112.0.5615.87 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index f7b9738d1b..94d0fd19d3 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 3265b991e2..3ad98ddcbb 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 2a7b33ab00..f66f7afd12 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,70 - PRODUCTVERSION 112,2,70 + FILEVERSION 112,2,90 + PRODUCTVERSION 112,2,90 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "112.2.70" + VALUE "FileVersion", "112.2.90" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.70" + VALUE "ProductVersion", "112.2.90" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 1d1b32b929..af6bc93bf0 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 47225491ed..460a29d452 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 00cbc2a4e7..208195a61b 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 6003215805..3a2f98a319 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index fa9e9ce53e..060c9d7354 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index a329859461..da445fe372 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,70 - PRODUCTVERSION 112,2,70 + FILEVERSION 112,2,90 + PRODUCTVERSION 112,2,90 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "112.2.70" + VALUE "FileVersion", "112.2.90" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.70" + VALUE "ProductVersion", "112.2.90" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 1d1b32b929..af6bc93bf0 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 47225491ed..460a29d452 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 062bc09c74..900053b748 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index d78da425e2..d43c98ceb7 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 8ac800ae8b..0e31648883 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 732876972f..19e04d8565 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 60078b3b31..5a3a919933 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 9127f0a719..4533eee0fe 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 1452fb86c4..9d67b2f77e 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index dd4f2c1673..56702f7d4c 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 255186de17..5b91c96909 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 1f0ea42c9d..88e7cf7ce3 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index e000b54924..ce2fa5261d 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 09e59d30f6..a02ea16ced 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 112.2.70 + 112.2.90 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 112.2.70 + Version 112.2.90 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 14d2c792ee..936e12bdb2 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "112.2.70"; - public const string AssemblyFileVersion = "112.2.70.0"; + public const string AssemblyVersion = "112.2.90"; + public const string AssemblyFileVersion = "112.2.90.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 83455a1abc..1e2782ff64 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index bbc4cae522..ad1928623c 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 09ca9f1f1e..9b16abda7e 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 5318ccb2a2..981144e0b2 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "112.2.7", + [string] $CefVersion = "112.2.9", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 36a7f006a5..3d88c4b209 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 112.2.70-CI{build} +version: 112.2.90-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 3377fa6fd8..26c6ef1b25 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "112.2.70", + [string] $Version = "112.2.90", [Parameter(Position = 2)] - [string] $AssemblyVersion = "112.2.70", + [string] $AssemblyVersion = "112.2.90", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From a93f6f307e315b4541323bc7f1c0c41912cf55aa Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 19 Apr 2023 18:09:24 +1000 Subject: [PATCH 045/275] Upgrade to 112.2.10+gd000e45+chromium-112.0.5615.121 / Chromium 112.0.5615.121 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 94d0fd19d3..d6050c8772 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 3ad98ddcbb..5a53a950d9 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index f66f7afd12..1289a57116 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,90 - PRODUCTVERSION 112,2,90 + FILEVERSION 112,2,100 + PRODUCTVERSION 112,2,100 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "112.2.90" + VALUE "FileVersion", "112.2.100" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.90" + VALUE "ProductVersion", "112.2.100" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index af6bc93bf0..26b8801a99 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 460a29d452..6f77100f17 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 208195a61b..2239004f0d 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 3a2f98a319..267ce469ed 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 060c9d7354..a26afaee72 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index da445fe372..6222914b94 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,90 - PRODUCTVERSION 112,2,90 + FILEVERSION 112,2,100 + PRODUCTVERSION 112,2,100 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "112.2.90" + VALUE "FileVersion", "112.2.100" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.90" + VALUE "ProductVersion", "112.2.100" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index af6bc93bf0..26b8801a99 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 460a29d452..6f77100f17 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 900053b748..d9c9a36dfb 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index d43c98ceb7..5b8eae24ef 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 0e31648883..0fbb1bbf98 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 19e04d8565..ce0f91c4de 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 5a3a919933..3286319e6d 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 4533eee0fe..979101ffab 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 9d67b2f77e..12c6e4fcd3 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 56702f7d4c..44a8300a6d 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 5b91c96909..6d26d396b7 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 88e7cf7ce3..c37462a93e 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index ce2fa5261d..a7d12058c7 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index a02ea16ced..4e1a34f9bf 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 112.2.90 + 112.2.100 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 112.2.90 + Version 112.2.100 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 936e12bdb2..9daaac4457 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "112.2.90"; - public const string AssemblyFileVersion = "112.2.90.0"; + public const string AssemblyVersion = "112.2.100"; + public const string AssemblyFileVersion = "112.2.100.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 1e2782ff64..44911ef783 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index ad1928623c..a6d2957a07 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 9b16abda7e..107fca8322 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 981144e0b2..a2adfb14ff 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "112.2.9", + [string] $CefVersion = "112.2.10", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 3d88c4b209..308e1ee0a3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 112.2.90-CI{build} +version: 112.2.100-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 26c6ef1b25..40039ab554 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "112.2.90", + [string] $Version = "112.2.100", [Parameter(Position = 2)] - [string] $AssemblyVersion = "112.2.90", + [string] $AssemblyVersion = "112.2.100", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 54b494796b2d5970afd9c9cbd7bbbc16a22b3a24 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 15:34:11 +1000 Subject: [PATCH 046/275] CEF Issue Tracker moved to GitHub Issue #4430 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 38d1f246d6..db9c14559a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -81,4 +81,4 @@ Delete this line and everything above, and then fill in the details below. cefclient.exe --multi-threaded-message-loop --no-sandbox ``` - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED ABOVE** - - If you can reproduce the problem with `cefclient` then please report the issue on https://bitbucket.org/chromiumembedded/cef/overview (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. + - If you can reproduce the problem with `cefclient` then please report the issue on https://github.com/chromiumembedded/cef/issues (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. From 1a752dcf08ef54371c824dfa76b69978137879d7 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 16:09:41 +1000 Subject: [PATCH 047/275] GitHub - Test using new Bug Report Form https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms --- .github/ISSUE_TEMPLATE/01_bug_report.yml | 147 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 84 ------------- 2 files changed, 147 insertions(+), 84 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/01_bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml new file mode 100644 index 0000000000..84e71d4053 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01_bug_report.yml @@ -0,0 +1,147 @@ +name: Bug Report +description: Create a report for a reproducible bug +labels: [] +body: + - type: markdown + attributes: + value: | + Please only open an issue if you have a BUG to report, if you simply have a question or require some assistance then please use [Discussions](https://github.com/cefsharp/CefSharp/discussions). + If you are new to the project then please review the following: + - Start by reading the General Usage guide, it answers all the common questions https://github.com/cefsharp/CefSharp/wiki/General-Usage + - Check out the FAQ, lots of useful information there, specially if your having trouble deploying to a different machine : https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions + - GitHub proves a fantastic search feature, it'll search through past issues and code. So check that out (Search box at the top of this page) : https://github.com/cefsharp/CefSharp + - You can see all the `CefSharp` tagged issues on `Stackoverflow`, some useful stuff there : http://stackoverflow.com/questions/tagged/cefsharp + - type: textarea + id: cefsharp-version + attributes: + label: CefSharp Version + description: What version are you using? Please only open an issue if you can reproduce the problem with version 112.2.70 or later. + placeholder: 112.2.70 + validations: + required: true + - type: dropdown + id: operating-system + attributes: + label: Operating System + multiple: false + options: + - Windows 10 + - Windows 11 + - Windows Server 2016 + - Windows Server 2019 + - Windows Server 2022 + - AnyCPU + validations: + required: true + - type: dropdown + id: architecture + attributes: + label: Architecture + multiple: false + options: + - x64 + - x86 + - arm64 + - AnyCPU + validations: + required: true + - type: textarea + id: dotnet-version + attributes: + label: .Net Version + description: | + What .Net version are you using? + placeholder: e.g. .Net 4.8 or .Net 6.0 + validations: + required: true + - type: dropdown + id: cefsharp-implementation + attributes: + label: Implementation + multiple: false + options: + - WinForms + - WPF + - OffScreen + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: Reproduction Steps + description: | + Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches). + placeholder: Minimal Reproduction + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: | + Provide a description of the expected behavior. + placeholder: Expected behavior + validations: + required: true + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: | + Provide a description of the actual behavior observed. If applicable please include any error messages, exception or stacktraces. + placeholder: Actual behavior + validations: + required: true + - type: textarea + id: regression + attributes: + label: Regression? + description: | + Did this work in a previous build or release of CefSharp? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK. + placeholder: Regression? + validations: + required: false + - type: textarea + id: known-workarounds + attributes: + label: Known Workarounds + description: | + Please provide a description of any known workarounds. + placeholder: Known Workarounds + validations: + required: false + - type: dropdown + id: cefclient-testing + attributes: + label: Does this problem also occur in the `CEF` Sample Application + multiple: false + options: + - Yes + - No + - Not Tested + description: | + To help determine where the problem needs to be fixed please download and test using the `CEF Sample Application(cefclient)`. [cefclient x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [cefclient x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2). [cefclient arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). + If you can reproduce the problem with `cefclient` then please report the issue on [CEF Issue Tracker](https://github.com/chromiumembedded/cef/issues) (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. + - Extract and run cefclient.exe + - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** + - If you are using WPF/OffScreen run + ``` + cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu + ``` + - If you are using WinForms run + ``` + cefclient.exe --multi-threaded-message-loop --no-sandbox + ``` + validations: + required: true + - type: textarea + id: other-info + attributes: + label: Other information + description: | + If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, see https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis for details. + Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory) + Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls? + placeholder: Other information + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index db9c14559a..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -name: Bug report -about: Create a report for a reproducible bug -title: '' -labels: '' -assignees: '' - ---- - -### Please only open an issue if you have a BUG to report, if you simply have a question or require some assistance keep reading for info. If you do have a BUG to report, please use the Bug Report template below. - -So you have a question to ask, where can you look for answers? Read on. Think you've found a bug? Please take the time to fill out the bug report below, provide as much information as you can, make sure you provide information for every heading. Thank you! We'd like to keep issues exclusively for **bug reports**, so please ask your questions in the `Discussions` section (https://github.com/cefsharp/CefSharp/discussions) - -- Start by reading the General Usage guide, it answers all the common questions https://github.com/cefsharp/CefSharp/wiki/General-Usage -- Check out the FAQ, lots of useful information there, specially if your having trouble deploying to a different machine : https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions -- GitHub proves a fantastic search feature, it'll search through past issues and code. So check that out (Search box at the top of this page) : https://github.com/cefsharp/CefSharp -- You can see all the `CefSharp` tagged issues on `Stackoverflow`, some useful stuff there : http://stackoverflow.com/questions/tagged/cefsharp - -Still have a question? Great, ask it on [Discussions](https://github.com/cefsharp/CefSharp/discussions) or [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp). Larger complex questions should be asked on `Discussions` - -**Note: CefSharp is just a wrapper around the Chromium Embedded Project, it's worth searching http://magpcss.org/ceforum/index.php if your problem involves a low level Chromium error message** - -We ask that you put in a reasonable amount of effort in searching through the resources listed above. The developers have full time jobs, they have lives, families, the time they have available to contribute this project is a precious resource, make sure you use it wisely! Remember the more time we spend answering the same questions over and over again, less time goes into writing code, adding new features, actually fixing bugs! - -Still have a question to ask or unsure where to go next? Start with : https://github.com/cefsharp/CefSharp/discussions - -Before posting a bug report please take the time to read https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/ - ---- -### Bug Report -Delete this line and everything above, and then fill in the details below. - -- **What version of the product are you using?** - - Please only create an issue if you can reproduce the problem with version 110.0.280 or greater. - - What version are you using? Nuget? CI Nuget? build from a branch? If so please link to the relevant commit. - - Please include the exact version number you are using e.g. 110.0.280 (no ambiguous statements like `Latest from Nuget`) - -- **What architecture x86 or x64?** - - -- **What version of .Net?** - <.Net 4.x/.Net Core 3.1/.Net 5.0/6.0/7.0> - -- **On what operating system?** - - -- **Are you using `WinForms`, `WPF` or `OffScreen`?** - - -- **What steps will reproduce the problem?** - - Please provide detailed information here, enough for someone else to reproduce your problem. - - Does the problem reproduce using the [MinimalExample](https://github.com/cefsharp/CefSharp.MinimalExample)? - - If code is required to reproduce your problem then please provide one of the following - - Fork the [MinimalExample](https://github.com/cefsharp/CefSharp.MinimalExample) and push your changes to `GitHub` (this is the preferred option). - - Use a code sharing service list `Gist` or `Pastebin` - - Paste your **formatted code as part of this issue** (only do this for small amounts of code and make sure you **format the code so it's readable**) - - Please no binary attachments (zip, 7z, etc), code needs to be easily reviewed in a web browser. - -- **What is the expected output? What do you see instead?** - -- **Please provide any additional information below.** - - A stack trace if available, any Exception information. - - If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, see https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis for details. - - - Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory) - - - Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls? - -- **Does this problem also occur in the `CEF` Sample Application** - - Download one of the following: - - For x86 download https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2 - - Extract and run cefclient.exe - - If you are using WPF/OffScreen run - ``` - cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu - ``` - - If you are using WinForms run - ``` - cefclient.exe --multi-threaded-message-loop --no-sandbox - ``` - - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED ABOVE** - - If you can reproduce the problem with `cefclient` then please report the issue on https://github.com/chromiumembedded/cef/issues (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. From 91fdddd0e5223abac5621d9095a6b786be6effc8 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 16:13:48 +1000 Subject: [PATCH 048/275] GitHub - Rename bug report --- .github/ISSUE_TEMPLATE/{01_bug_report.yml => bug_report.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/ISSUE_TEMPLATE/{01_bug_report.yml => bug_report.yml} (100%) diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/01_bug_report.yml rename to .github/ISSUE_TEMPLATE/bug_report.yml From 457ef18793a3ebfdee6a95b7487a60aaef626eab Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 16:17:24 +1000 Subject: [PATCH 049/275] GitHub - Issue Template body[11]: options must not include booleans. Please wrap values such as 'yes', and 'true' in quotes. Learn more about this error. --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 84e71d4053..42a7bd9319 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -116,7 +116,7 @@ body: label: Does this problem also occur in the `CEF` Sample Application multiple: false options: - - Yes + - 'Yes' - No - Not Tested description: | From ce8bd2ce962721cf1e6ef86996b64cee6a4010de Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:13:05 +1000 Subject: [PATCH 050/275] GitHub - Issue Template tweaks --- .github/ISSUE_TEMPLATE/bug_report.yml | 33 ++++++++++++++------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 42a7bd9319..0db7cfc433 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,11 +6,9 @@ body: attributes: value: | Please only open an issue if you have a BUG to report, if you simply have a question or require some assistance then please use [Discussions](https://github.com/cefsharp/CefSharp/discussions). - If you are new to the project then please review the following: - - Start by reading the General Usage guide, it answers all the common questions https://github.com/cefsharp/CefSharp/wiki/General-Usage - - Check out the FAQ, lots of useful information there, specially if your having trouble deploying to a different machine : https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions - - GitHub proves a fantastic search feature, it'll search through past issues and code. So check that out (Search box at the top of this page) : https://github.com/cefsharp/CefSharp - - You can see all the `CefSharp` tagged issues on `Stackoverflow`, some useful stuff there : http://stackoverflow.com/questions/tagged/cefsharp + If you are new to the project then please review the following [General Usage guide](https://github.com/cefsharp/CefSharp/wiki/General-Usage), it answers all the common questions. + [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. GitHub proves a fantastic search feature, it'll search through past issues and code. So check that out (Search box at the top of this page). + You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), some useful stuff there - type: textarea id: cefsharp-version attributes: @@ -110,18 +108,10 @@ body: placeholder: Known Workarounds validations: required: false - - type: dropdown - id: cefclient-testing + - type: markdown attributes: - label: Does this problem also occur in the `CEF` Sample Application - multiple: false - options: - - 'Yes' - - No - - Not Tested - description: | + value: | To help determine where the problem needs to be fixed please download and test using the `CEF Sample Application(cefclient)`. [cefclient x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [cefclient x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2). [cefclient arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). - If you can reproduce the problem with `cefclient` then please report the issue on [CEF Issue Tracker](https://github.com/chromiumembedded/cef/issues) (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. - Extract and run cefclient.exe - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** - If you are using WPF/OffScreen run @@ -132,6 +122,17 @@ body: ``` cefclient.exe --multi-threaded-message-loop --no-sandbox ``` + - type: dropdown + id: cefclient-testing + attributes: + label: Does this problem also occur in the `CEF` Sample Application + multiple: false + options: + - 'Yes' + - No + - Not Tested + description: | + If you can reproduce the problem with `cefclient` then please report the issue on [CEF Issue Tracker](https://github.com/chromiumembedded/cef/issues) (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. validations: required: true - type: textarea @@ -139,7 +140,7 @@ body: attributes: label: Other information description: | - If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, see https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis for details. + If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, the [FAQ](https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis) for details. Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory) Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls? placeholder: Other information From d490d5ff226873355447699eb8fa43773d05f557 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:30:00 +1000 Subject: [PATCH 051/275] GitHub - Issue Template tweaks --- .github/ISSUE_TEMPLATE/bug_report.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0db7cfc433..ee8798f466 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,10 +5,18 @@ body: - type: markdown attributes: value: | - Please only open an issue if you have a BUG to report, if you simply have a question or require some assistance then please use [Discussions](https://github.com/cefsharp/CefSharp/discussions). + Please only open an issue if you have a **BUG** to report. for questions/assistance use [Discussions](https://github.com/cefsharp/CefSharp/discussions). If you are new to the project then please review the following [General Usage guide](https://github.com/cefsharp/CefSharp/wiki/General-Usage), it answers all the common questions. - [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. GitHub proves a fantastic search feature, it'll search through past issues and code. So check that out (Search box at the top of this page). + [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. + GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), some useful stuff there + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched for existing issues + required: true - type: textarea id: cefsharp-version attributes: @@ -70,6 +78,7 @@ body: description: | Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches). placeholder: Minimal Reproduction + render: markdown validations: required: true - type: textarea @@ -111,7 +120,8 @@ body: - type: markdown attributes: value: | - To help determine where the problem needs to be fixed please download and test using the `CEF Sample Application(cefclient)`. [cefclient x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [cefclient x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2). [cefclient arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). + To help determine where the problem needs to be fixed please download and test using the `CEF Sample Application(cefclient)`. + 1. Download [x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). - Extract and run cefclient.exe - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** - If you are using WPF/OffScreen run @@ -125,11 +135,11 @@ body: - type: dropdown id: cefclient-testing attributes: - label: Does this problem also occur in the `CEF` Sample Application + label: Does this problem also occur in the **CEF** Sample Application multiple: false options: - 'Yes' - - No + - 'No' - Not Tested description: | If you can reproduce the problem with `cefclient` then please report the issue on [CEF Issue Tracker](https://github.com/chromiumembedded/cef/issues) (Make sure you search before opening an issue). If you open an issue here it will most likely be closed as `upstream` as the bug needs to be fixed in `CEF`. From db36c54542fcc02ba12a469d7d1fdf45e784974e Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:31:40 +1000 Subject: [PATCH 052/275] GitHub - Issue Template tweaks - Change some textareas to input --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ee8798f466..eb9bf6b711 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -17,7 +17,7 @@ body: options: - label: I have searched for existing issues required: true - - type: textarea + - type: input id: cefsharp-version attributes: label: CefSharp Version @@ -51,7 +51,7 @@ body: - AnyCPU validations: required: true - - type: textarea + - type: input id: dotnet-version attributes: label: .Net Version From e124ab087f2b675e03c59c26339d7e1042e34eef Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:35:07 +1000 Subject: [PATCH 053/275] GitHub - Issue Template fixes --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index eb9bf6b711..fef3ad8318 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -15,8 +15,8 @@ body: label: Is there an existing issue for this? description: Please search to see if an issue already exists for the bug you encountered. options: - - label: I have searched for existing issues - required: true + - label: I have searched for existing issues + required: true - type: input id: cefsharp-version attributes: From f1a500cf279d5a164a4b927183a56f9a8b70b158 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:37:51 +1000 Subject: [PATCH 054/275] GitHub - Issue Template fix --- .github/ISSUE_TEMPLATE/bug_report.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index fef3ad8318..e1ac28bbf0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -11,12 +11,13 @@ body: GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), some useful stuff there - type: checkboxes + id: new-issue attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. - options: - - label: I have searched for existing issues - required: true + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched for existing issues + required: true - type: input id: cefsharp-version attributes: From 2d457bbde1ac04a42570d49fe692fff72e1471ca Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:42:08 +1000 Subject: [PATCH 055/275] GitHub - Issue Template fix --- .github/ISSUE_TEMPLATE/bug_report.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e1ac28bbf0..8880b7bf81 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -13,11 +13,11 @@ body: - type: checkboxes id: new-issue attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. - options: - - label: I have searched for existing issues - required: true + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true - type: input id: cefsharp-version attributes: From ef0f30d4c0fa336dbf0354573d7c125c4d2c750b Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 17:42:57 +1000 Subject: [PATCH 056/275] GitHub - Issue Template remove checkbox --- .github/ISSUE_TEMPLATE/bug_report.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 8880b7bf81..40640f8556 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -10,14 +10,6 @@ body: [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), some useful stuff there - - type: checkboxes - id: new-issue - attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. - options: - - label: I have searched the existing issues - required: true - type: input id: cefsharp-version attributes: From efd907657cd8df4fbdf70fb4ced0e75a5178bc51 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 18:08:18 +1000 Subject: [PATCH 057/275] GitHub - Issue Template formatting fixes --- .github/ISSUE_TEMPLATE/bug_report.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 40640f8556..71bb1004bd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -114,21 +114,14 @@ 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 [x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). - - Extract and run cefclient.exe - - **MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** - - If you are using WPF/OffScreen run - ``` - cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu - ``` - - If you are using WinForms run - ``` - cefclient.exe --multi-threaded-message-loop --no-sandbox - ``` + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). + 2. Extract tar.bz2 file + 3a. For WPF/OffScreen `cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu` Execute cefclient.exe using the command line args:MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** + 3b. For WinForms `cefclient.exe --multi-threaded-message-loop --no-sandbox - type: dropdown id: cefclient-testing attributes: - label: Does this problem also occur in the **CEF** Sample Application + label: Does this problem also occur in the CEF Sample Application multiple: false options: - 'Yes' From 32b00d1eb6e960c83ab6fff06049ce2892bd578a Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 18:12:49 +1000 Subject: [PATCH 058/275] GitHub - Issue Template formatting fixes --- .github/ISSUE_TEMPLATE/bug_report.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 71bb1004bd..480abfa904 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -114,17 +114,20 @@ 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_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). - 2. Extract tar.bz2 file - 3a. For WPF/OffScreen `cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu` Execute cefclient.exe using the command line args:MAKE SURE TO TEST WITH THE COMMAND LINE ARGS LISTED BELOW** - 3b. For WinForms `cefclient.exe --multi-threaded-message-loop --no-sandbox + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). + 2. Extract tar.bz2 file + 3. Execute cefclient.exe using the **command line args below**: + + For WPF/OffScreen `cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu` + For WinForms `cefclient.exe --multi-threaded-message-loop --no-sandbox` - type: dropdown id: cefclient-testing attributes: label: Does this problem also occur in the CEF Sample Application multiple: false options: - - 'Yes' + - 'Yes using WPF/OffScreen args' + - 'Yes using WinForms args' - 'No' - Not Tested description: | From 7ef2598548c15c5ec14a7543ea6019f19cd01e30 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 18:19:51 +1000 Subject: [PATCH 059/275] GitHub - Issue Template tweaks --- .github/ISSUE_TEMPLATE/bug_report.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 480abfa904..b09e68900d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -29,7 +29,6 @@ body: - Windows Server 2016 - Windows Server 2019 - Windows Server 2022 - - AnyCPU validations: required: true - type: dropdown @@ -69,7 +68,7 @@ body: attributes: label: Reproduction Steps description: | - Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches). + Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text/code as text rather than screenshots (so it shows up in searches and can copy/paste). placeholder: Minimal Reproduction render: markdown validations: @@ -126,8 +125,8 @@ body: label: Does this problem also occur in the CEF Sample Application multiple: false options: - - 'Yes using WPF/OffScreen args' - - 'Yes using WinForms args' + - 'Yes using WPF/OffScreen command line args' + - 'Yes using WinForms command line args' - 'No' - Not Tested description: | @@ -139,7 +138,7 @@ body: attributes: label: Other information description: | - If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, the [FAQ](https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis) for details. + If you are seeing a crash in `libcef.dll` then please download `libcef.dll.pdb` and place it next to `libcef.dll` to obtain a detailed stack trace, see [FAQ](https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#loading-native-symbols-for-easier-diagnosis) for details. Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory) Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls? placeholder: Other information From eceff84025160b429555e898efff643d3ca30cac Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 18:37:21 +1000 Subject: [PATCH 060/275] GitHub - Issue Template tweaks --- .github/ISSUE_TEMPLATE/bug_report.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b09e68900d..85783951de 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,11 +5,11 @@ body: - type: markdown attributes: value: | - Please only open an issue if you have a **BUG** to report. for questions/assistance use [Discussions](https://github.com/cefsharp/CefSharp/discussions). - If you are new to the project then please review the following [General Usage guide](https://github.com/cefsharp/CefSharp/wiki/General-Usage), it answers all the common questions. - [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. - GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). - You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), some useful stuff there + Please only open an issue if you have a **BUG** to report. for questions/assistance use [Discussions](https://github.com/cefsharp/CefSharp/discussions). If you are new to the project then please review the following: + 1. [General Usage guide](https://github.com/cefsharp/CefSharp/wiki/General-Usage) includes examples and details of many common questions. + 2. [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. + 3. GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). + 4. You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), lots of questions/answers. - type: input id: cefsharp-version attributes: From 49753c4b28c5553db0896a5813999955ce336231 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 20 Apr 2023 18:44:45 +1000 Subject: [PATCH 061/275] GitHub - Issue Template existing issues --- .github/ISSUE_TEMPLATE/bug_report.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 85783951de..949db3435e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -10,6 +10,13 @@ body: 2. [Frequently Asked Questions](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions), lots of useful information there, specially if your having trouble deploying to a different machine. 3. GitHub has a fantastic search feature, it'll search through past issues/code. Use the Search box at the top of this page). 4. You can see all the `CefSharp` tagged issues on [Stackoverflow](http://stackoverflow.com/questions/tagged/cefsharp), lots of questions/answers. + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched both open and closed issues + required: true - type: input id: cefsharp-version attributes: From 52816cafa21f5ca92cdf397a5950ec69c7086faf Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 21 Apr 2023 05:43:38 +1000 Subject: [PATCH 062/275] GitHub - Issue Template fix - Remove markdown formatting from repo steps --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 949db3435e..1013dae93f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -77,7 +77,6 @@ body: description: | Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text/code as text rather than screenshots (so it shows up in searches and can copy/paste). placeholder: Minimal Reproduction - render: markdown validations: required: true - type: textarea From 6d33757a169a0af196df8580e9808ad3da0aee6e Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 21 Apr 2023 06:19:39 +1000 Subject: [PATCH 063/275] GitHub - Issue Template tweaks - Add MinimalExample reference --- .github/ISSUE_TEMPLATE/bug_report.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1013dae93f..d87f3037eb 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -15,7 +15,7 @@ body: label: Is there an existing issue for this? description: Please search to see if an issue already exists for the bug you encountered. options: - - label: I have searched both open and closed issues + - label: I have searched both open/closed issues, no issue already exists. required: true - type: input id: cefsharp-version @@ -75,7 +75,8 @@ body: attributes: label: Reproduction Steps description: | - Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. If possible include text/code as text rather than screenshots (so it shows up in searches and can copy/paste). + Please include minimal steps to reproduce the problem. E.g.: the smallest possible code snippet; or a small example project here on GitHub, with steps to run it. Include text/code as text rather than screenshots (so it shows up in searches and can copy/paste). + Does the problem reproduce using the [MinimalExample](https://github.com/cefsharp/CefSharp.MinimalExample)? You can fork the MinimalExample and use this as a base for your example. placeholder: Minimal Reproduction validations: required: true From eadeec8a59b612f8b5b232861a83499d9693215b Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 27 Apr 2023 05:37:41 +1000 Subject: [PATCH 064/275] README.md - Update to M112 --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++--- CONTRIBUTING.md | 6 +++--- README.md | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d87f3037eb..1ce6e7a017 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -21,8 +21,8 @@ body: id: cefsharp-version attributes: label: CefSharp Version - description: What version are you using? Please only open an issue if you can reproduce the problem with version 112.2.70 or later. - placeholder: 112.2.70 + description: What version are you using? Please only open an issue if you can reproduce the problem with version 112.3.0 or later. + placeholder: 112.3.0 validations: required: true - type: dropdown @@ -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_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2). + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windowsarm64_client.tar.bz2). 2. Extract tar.bz2 file 3. Execute cefclient.exe using the **command line args below**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8293fe648c..5c427fe074 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_111.2.7%2Bgebf5d6a%2Bchromium-111.0.5563.148_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` diff --git a/README.md b/README.md index 752511f0a5..46a081f39e 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,8 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| | [master](https://github.com/cefsharp/CefSharp/) | 5615 | 2019* | 4.5.2** | Development | -| [cefsharp/111](https://github.com/cefsharp/CefSharp/tree/cefsharp/111)| 5563 | 2019* | 4.5.2** | **Release** | +| [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | **Release** | +| [cefsharp/111](https://github.com/cefsharp/CefSharp/tree/cefsharp/111)| 5563 | 2019* | 4.5.2** | Unsupported | | [cefsharp/110](https://github.com/cefsharp/CefSharp/tree/cefsharp/110)| 5481 | 2019* | 4.5.2** | Unsupported | | [cefsharp/109](https://github.com/cefsharp/CefSharp/tree/cefsharp/109)| 5414 | 2019* | 4.5.2** | Unsupported | | [cefsharp/108](https://github.com/cefsharp/CefSharp/tree/cefsharp/108)| 5359 | 2019* | 4.5.2** | Unsupported | From 3bd71bbc894fe5cbac2baee2fed1dc95bac61466 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 29 Apr 2023 12:03:31 +1000 Subject: [PATCH 065/275] Upgrade to 113.1.1+gfef20aa+chromium-113.0.5672.63 / Chromium 113.0.5672.63 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index d6050c8772..8abc572dfe 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 5a53a950d9..b39248db13 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 1289a57116..29ee7f7507 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,100 - PRODUCTVERSION 112,2,100 + FILEVERSION 113,1,10 + PRODUCTVERSION 113,1,10 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "112.2.100" + VALUE "FileVersion", "113.1.10" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.100" + VALUE "ProductVersion", "113.1.10" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 26b8801a99..2d1c7c9bb1 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 6f77100f17..884266935b 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 2239004f0d..dd5adc3645 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 267ce469ed..8bab14e412 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index a26afaee72..b3d98c2642 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 6222914b94..19178d3cab 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 112,2,100 - PRODUCTVERSION 112,2,100 + FILEVERSION 113,1,10 + PRODUCTVERSION 113,1,10 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "112.2.100" + VALUE "FileVersion", "113.1.10" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "112.2.100" + VALUE "ProductVersion", "113.1.10" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 26b8801a99..2d1c7c9bb1 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 6f77100f17..884266935b 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index d9c9a36dfb..baff362d37 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 5b8eae24ef..d46252b414 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 0fbb1bbf98..d41c5cc253 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index ce0f91c4de..a9552e18f4 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 3286319e6d..f148f07a8c 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 979101ffab..90358e9473 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 12c6e4fcd3..03fc0f1a1a 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 44a8300a6d..787b81a62a 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 6d26d396b7..b68d42b9ef 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index c37462a93e..265500b8c4 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index a7d12058c7..920ea2a939 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 4e1a34f9bf..230c83b75a 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 112.2.100 + 113.1.10 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 112.2.100 + Version 113.1.10 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 9daaac4457..23772ce3b7 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "112.2.100"; - public const string AssemblyFileVersion = "112.2.100.0"; + public const string AssemblyVersion = "113.1.10"; + public const string AssemblyFileVersion = "113.1.10.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 44911ef783..a49f8f7483 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index a6d2957a07..30f740ac3c 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 107fca8322..127ac48596 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index a2adfb14ff..aaadb39a04 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "112.2.10", + [string] $CefVersion = "113.1.1", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 308e1ee0a3..19288301ce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 112.2.100-CI{build} +version: 113.1.10-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 40039ab554..5899c2d033 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "112.2.100", + [string] $Version = "113.1.10", [Parameter(Position = 2)] - [string] $AssemblyVersion = "112.2.100", + [string] $AssemblyVersion = "113.1.10", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 4699eb5e0e6ba71c4f06442c5abfce5e20012c72 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 30 Apr 2023 10:29:39 +1000 Subject: [PATCH 066/275] DevTools Client - Update to 113.0.5672.63 --- .../DevTools/DevToolsClient.Generated.cs | 1984 ++++++++++----- .../DevToolsClient.Generated.netcore.cs | 2162 ++++++++++++----- 2 files changed, 2916 insertions(+), 1230 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 574be16553..05fbf8505f 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 112.0.5615.49 +// CHROMIUM VERSION 113.0.5672.63 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2556,11 +2556,6 @@ public enum AttributionReportingIssueType [EnumMember(Value = ("PermissionPolicyDisabled"))] PermissionPolicyDisabled, /// - /// PermissionPolicyNotDelegated - /// - [EnumMember(Value = ("PermissionPolicyNotDelegated"))] - PermissionPolicyNotDelegated, - /// /// UntrustworthyReportingOrigin /// [EnumMember(Value = ("UntrustworthyReportingOrigin"))] @@ -2604,7 +2599,32 @@ public enum AttributionReportingIssueType /// TriggerIgnored /// [EnumMember(Value = ("TriggerIgnored"))] - TriggerIgnored + TriggerIgnored, + /// + /// OsSourceIgnored + /// + [EnumMember(Value = ("OsSourceIgnored"))] + OsSourceIgnored, + /// + /// OsTriggerIgnored + /// + [EnumMember(Value = ("OsTriggerIgnored"))] + OsTriggerIgnored, + /// + /// InvalidRegisterOsSourceHeader + /// + [EnumMember(Value = ("InvalidRegisterOsSourceHeader"))] + InvalidRegisterOsSourceHeader, + /// + /// InvalidRegisterOsTriggerHeader + /// + [EnumMember(Value = ("InvalidRegisterOsTriggerHeader"))] + InvalidRegisterOsTriggerHeader, + /// + /// WebAndOsHeaders + /// + [EnumMember(Value = ("WebAndOsHeaders"))] + WebAndOsHeaders } /// @@ -2813,10 +2833,10 @@ public enum GenericIssueErrorType [EnumMember(Value = ("FormLabelForMatchesNonExistingIdError"))] FormLabelForMatchesNonExistingIdError, /// - /// FormHasPasswordFieldWithoutUsernameFieldError + /// FormInputHasWrongButWellIntendedAutocompleteValueError /// - [EnumMember(Value = ("FormHasPasswordFieldWithoutUsernameFieldError"))] - FormHasPasswordFieldWithoutUsernameFieldError + [EnumMember(Value = ("FormInputHasWrongButWellIntendedAutocompleteValueError"))] + FormInputHasWrongButWellIntendedAutocompleteValueError } /// @@ -4713,6 +4733,16 @@ public CefSharp.DevTools.CSS.SelectorList SelectorList set; } + /// + /// Array of selectors from ancestor style rules, sorted by distance from the current rule. + /// + [DataMember(Name = ("nestingSelectors"), IsRequired = (false))] + public string[] NestingSelectors + { + get; + set; + } + /// /// Parent stylesheet's origin. /// @@ -20850,331 +20880,6 @@ public System.Collections.Generic.IList - /// List of FinalStatus reasons for Prerender2. - /// - public enum PrerenderFinalStatus - { - /// - /// Activated - /// - [EnumMember(Value = ("Activated"))] - Activated, - /// - /// Destroyed - /// - [EnumMember(Value = ("Destroyed"))] - Destroyed, - /// - /// LowEndDevice - /// - [EnumMember(Value = ("LowEndDevice"))] - LowEndDevice, - /// - /// InvalidSchemeRedirect - /// - [EnumMember(Value = ("InvalidSchemeRedirect"))] - InvalidSchemeRedirect, - /// - /// InvalidSchemeNavigation - /// - [EnumMember(Value = ("InvalidSchemeNavigation"))] - InvalidSchemeNavigation, - /// - /// InProgressNavigation - /// - [EnumMember(Value = ("InProgressNavigation"))] - InProgressNavigation, - /// - /// NavigationRequestBlockedByCsp - /// - [EnumMember(Value = ("NavigationRequestBlockedByCsp"))] - NavigationRequestBlockedByCsp, - /// - /// MainFrameNavigation - /// - [EnumMember(Value = ("MainFrameNavigation"))] - MainFrameNavigation, - /// - /// MojoBinderPolicy - /// - [EnumMember(Value = ("MojoBinderPolicy"))] - MojoBinderPolicy, - /// - /// RendererProcessCrashed - /// - [EnumMember(Value = ("RendererProcessCrashed"))] - RendererProcessCrashed, - /// - /// RendererProcessKilled - /// - [EnumMember(Value = ("RendererProcessKilled"))] - RendererProcessKilled, - /// - /// Download - /// - [EnumMember(Value = ("Download"))] - Download, - /// - /// TriggerDestroyed - /// - [EnumMember(Value = ("TriggerDestroyed"))] - TriggerDestroyed, - /// - /// NavigationNotCommitted - /// - [EnumMember(Value = ("NavigationNotCommitted"))] - NavigationNotCommitted, - /// - /// NavigationBadHttpStatus - /// - [EnumMember(Value = ("NavigationBadHttpStatus"))] - NavigationBadHttpStatus, - /// - /// ClientCertRequested - /// - [EnumMember(Value = ("ClientCertRequested"))] - ClientCertRequested, - /// - /// NavigationRequestNetworkError - /// - [EnumMember(Value = ("NavigationRequestNetworkError"))] - NavigationRequestNetworkError, - /// - /// MaxNumOfRunningPrerendersExceeded - /// - [EnumMember(Value = ("MaxNumOfRunningPrerendersExceeded"))] - MaxNumOfRunningPrerendersExceeded, - /// - /// CancelAllHostsForTesting - /// - [EnumMember(Value = ("CancelAllHostsForTesting"))] - CancelAllHostsForTesting, - /// - /// DidFailLoad - /// - [EnumMember(Value = ("DidFailLoad"))] - DidFailLoad, - /// - /// Stop - /// - [EnumMember(Value = ("Stop"))] - Stop, - /// - /// SslCertificateError - /// - [EnumMember(Value = ("SslCertificateError"))] - SslCertificateError, - /// - /// LoginAuthRequested - /// - [EnumMember(Value = ("LoginAuthRequested"))] - LoginAuthRequested, - /// - /// UaChangeRequiresReload - /// - [EnumMember(Value = ("UaChangeRequiresReload"))] - UaChangeRequiresReload, - /// - /// BlockedByClient - /// - [EnumMember(Value = ("BlockedByClient"))] - BlockedByClient, - /// - /// AudioOutputDeviceRequested - /// - [EnumMember(Value = ("AudioOutputDeviceRequested"))] - AudioOutputDeviceRequested, - /// - /// MixedContent - /// - [EnumMember(Value = ("MixedContent"))] - MixedContent, - /// - /// TriggerBackgrounded - /// - [EnumMember(Value = ("TriggerBackgrounded"))] - TriggerBackgrounded, - /// - /// EmbedderTriggeredAndCrossOriginRedirected - /// - [EnumMember(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] - EmbedderTriggeredAndCrossOriginRedirected, - /// - /// MemoryLimitExceeded - /// - [EnumMember(Value = ("MemoryLimitExceeded"))] - MemoryLimitExceeded, - /// - /// FailToGetMemoryUsage - /// - [EnumMember(Value = ("FailToGetMemoryUsage"))] - FailToGetMemoryUsage, - /// - /// DataSaverEnabled - /// - [EnumMember(Value = ("DataSaverEnabled"))] - DataSaverEnabled, - /// - /// HasEffectiveUrl - /// - [EnumMember(Value = ("HasEffectiveUrl"))] - HasEffectiveUrl, - /// - /// ActivatedBeforeStarted - /// - [EnumMember(Value = ("ActivatedBeforeStarted"))] - ActivatedBeforeStarted, - /// - /// InactivePageRestriction - /// - [EnumMember(Value = ("InactivePageRestriction"))] - InactivePageRestriction, - /// - /// StartFailed - /// - [EnumMember(Value = ("StartFailed"))] - StartFailed, - /// - /// TimeoutBackgrounded - /// - [EnumMember(Value = ("TimeoutBackgrounded"))] - TimeoutBackgrounded, - /// - /// CrossSiteRedirect - /// - [EnumMember(Value = ("CrossSiteRedirect"))] - CrossSiteRedirect, - /// - /// CrossSiteNavigation - /// - [EnumMember(Value = ("CrossSiteNavigation"))] - CrossSiteNavigation, - /// - /// SameSiteCrossOriginRedirect - /// - [EnumMember(Value = ("SameSiteCrossOriginRedirect"))] - SameSiteCrossOriginRedirect, - /// - /// SameSiteCrossOriginNavigation - /// - [EnumMember(Value = ("SameSiteCrossOriginNavigation"))] - SameSiteCrossOriginNavigation, - /// - /// SameSiteCrossOriginRedirectNotOptIn - /// - [EnumMember(Value = ("SameSiteCrossOriginRedirectNotOptIn"))] - SameSiteCrossOriginRedirectNotOptIn, - /// - /// SameSiteCrossOriginNavigationNotOptIn - /// - [EnumMember(Value = ("SameSiteCrossOriginNavigationNotOptIn"))] - SameSiteCrossOriginNavigationNotOptIn, - /// - /// ActivationNavigationParameterMismatch - /// - [EnumMember(Value = ("ActivationNavigationParameterMismatch"))] - ActivationNavigationParameterMismatch, - /// - /// ActivatedInBackground - /// - [EnumMember(Value = ("ActivatedInBackground"))] - ActivatedInBackground, - /// - /// EmbedderHostDisallowed - /// - [EnumMember(Value = ("EmbedderHostDisallowed"))] - EmbedderHostDisallowed, - /// - /// ActivationNavigationDestroyedBeforeSuccess - /// - [EnumMember(Value = ("ActivationNavigationDestroyedBeforeSuccess"))] - ActivationNavigationDestroyedBeforeSuccess, - /// - /// TabClosedByUserGesture - /// - [EnumMember(Value = ("TabClosedByUserGesture"))] - TabClosedByUserGesture, - /// - /// TabClosedWithoutUserGesture - /// - [EnumMember(Value = ("TabClosedWithoutUserGesture"))] - TabClosedWithoutUserGesture, - /// - /// PrimaryMainFrameRendererProcessCrashed - /// - [EnumMember(Value = ("PrimaryMainFrameRendererProcessCrashed"))] - PrimaryMainFrameRendererProcessCrashed, - /// - /// PrimaryMainFrameRendererProcessKilled - /// - [EnumMember(Value = ("PrimaryMainFrameRendererProcessKilled"))] - PrimaryMainFrameRendererProcessKilled, - /// - /// ActivationFramePolicyNotCompatible - /// - [EnumMember(Value = ("ActivationFramePolicyNotCompatible"))] - ActivationFramePolicyNotCompatible, - /// - /// PreloadingDisabled - /// - [EnumMember(Value = ("PreloadingDisabled"))] - PreloadingDisabled, - /// - /// BatterySaverEnabled - /// - [EnumMember(Value = ("BatterySaverEnabled"))] - BatterySaverEnabled, - /// - /// ActivatedDuringMainFrameNavigation - /// - [EnumMember(Value = ("ActivatedDuringMainFrameNavigation"))] - ActivatedDuringMainFrameNavigation, - /// - /// PreloadingUnsupportedByWebContents - /// - [EnumMember(Value = ("PreloadingUnsupportedByWebContents"))] - PreloadingUnsupportedByWebContents - } - - /// - /// Preloading status values, see also PreloadingTriggeringOutcome. This - /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. - /// - public enum PreloadingStatus - { - /// - /// Pending - /// - [EnumMember(Value = ("Pending"))] - Pending, - /// - /// Running - /// - [EnumMember(Value = ("Running"))] - Running, - /// - /// Ready - /// - [EnumMember(Value = ("Ready"))] - Ready, - /// - /// Success - /// - [EnumMember(Value = ("Success"))] - Success, - /// - /// Failure - /// - [EnumMember(Value = ("Failure"))] - Failure, - /// - /// NotSupported - /// - [EnumMember(Value = ("NotSupported"))] - NotSupported - } - /// /// domContentEventFired /// @@ -21949,178 +21654,6 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRest } } - /// - /// Fired when a prerender attempt is completed. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prerendering. - /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - public CefSharp.DevTools.Page.PrerenderFinalStatus FinalStatus - { - get - { - return (CefSharp.DevTools.Page.PrerenderFinalStatus)(StringToEnum(typeof(CefSharp.DevTools.Page.PrerenderFinalStatus), finalStatus)); - } - - set - { - this.finalStatus = (EnumToString(value)); - } - } - - /// - /// FinalStatus - /// - [DataMember(Name = ("finalStatus"), IsRequired = (true))] - internal string finalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [DataMember(Name = ("disallowedApiMethod"), IsRequired = (false))] - public string DisallowedApiMethod - { - get; - private set; - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prefetch attempt is updated. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prefetch. - /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrefetchUrl - /// - [DataMember(Name = ("prefetchUrl"), IsRequired = (true))] - public string PrefetchUrl - { - get; - private set; - } - - /// - /// Status - /// - public CefSharp.DevTools.Page.PreloadingStatus Status - { - get - { - return (CefSharp.DevTools.Page.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Page.PreloadingStatus), status)); - } - - set - { - this.status = (EnumToString(value)); - } - } - - /// - /// Status - /// - [DataMember(Name = ("status"), IsRequired = (true))] - internal string status - { - get; - private set; - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prerender attempt is updated. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prerender. - /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// Status - /// - public CefSharp.DevTools.Page.PreloadingStatus Status - { - get - { - return (CefSharp.DevTools.Page.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Page.PreloadingStatus), status)); - } - - set - { - this.status = (EnumToString(value)); - } - } - - /// - /// Status - /// - [DataMember(Name = ("status"), IsRequired = (true))] - internal string status - { - get; - private set; - } - } - /// /// loadEventFired /// @@ -23757,6 +23290,11 @@ public enum StorageType [EnumMember(Value = ("shared_storage"))] SharedStorage, /// + /// storage_buckets + /// + [EnumMember(Value = ("storage_buckets"))] + StorageBuckets, + /// /// all /// [EnumMember(Value = ("all"))] @@ -24332,6 +23870,126 @@ public bool? IgnoreIfPresent } } + /// + /// StorageBucketsDurability + /// + public enum StorageBucketsDurability + { + /// + /// relaxed + /// + [EnumMember(Value = ("relaxed"))] + Relaxed, + /// + /// strict + /// + [EnumMember(Value = ("strict"))] + Strict + } + + /// + /// StorageBucketInfo + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// StorageKey + /// + [DataMember(Name = ("storageKey"), IsRequired = (true))] + public string StorageKey + { + get; + set; + } + + /// + /// Id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + set; + } + + /// + /// Name + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// IsDefault + /// + [DataMember(Name = ("isDefault"), IsRequired = (true))] + public bool IsDefault + { + get; + set; + } + + /// + /// Expiration + /// + [DataMember(Name = ("expiration"), IsRequired = (true))] + public double Expiration + { + get; + set; + } + + /// + /// Storage quota (bytes). + /// + [DataMember(Name = ("quota"), IsRequired = (true))] + public double Quota + { + get; + set; + } + + /// + /// Persistent + /// + [DataMember(Name = ("persistent"), IsRequired = (true))] + public bool Persistent + { + get; + set; + } + + /// + /// Durability + /// + public CefSharp.DevTools.Storage.StorageBucketsDurability Durability + { + get + { + return (CefSharp.DevTools.Storage.StorageBucketsDurability)(StringToEnum(typeof(CefSharp.DevTools.Storage.StorageBucketsDurability), durability)); + } + + set + { + this.durability = (EnumToString(value)); + } + } + + /// + /// Durability + /// + [DataMember(Name = ("durability"), IsRequired = (true))] + internal string durability + { + get; + set; + } + } + /// /// A cache's contents have been modified. /// @@ -24607,6 +24265,40 @@ public CefSharp.DevTools.Storage.SharedStorageAccessParams Params private set; } } + + /// + /// storageBucketCreatedOrUpdated + /// + [System.Runtime.Serialization.DataContractAttribute] + public class StorageBucketCreatedOrUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Bucket + /// + [DataMember(Name = ("bucket"), IsRequired = (true))] + public CefSharp.DevTools.Storage.StorageBucketInfo Bucket + { + get; + private set; + } + } + + /// + /// storageBucketDeleted + /// + [System.Runtime.Serialization.DataContractAttribute] + public class StorageBucketDeletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// BucketId + /// + [DataMember(Name = ("bucketId"), IsRequired = (true))] + public string BucketId + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -28066,6 +27758,558 @@ public string SourceText get; set; } + + /// + /// Error information + /// `errorMessage` is null iff `errorType` is null. + /// + public CefSharp.DevTools.Preload.RuleSetErrorType? ErrorType + { + get + { + return (CefSharp.DevTools.Preload.RuleSetErrorType? )(StringToEnum(typeof(CefSharp.DevTools.Preload.RuleSetErrorType? ), errorType)); + } + + set + { + this.errorType = (EnumToString(value)); + } + } + + /// + /// Error information + /// `errorMessage` is null iff `errorType` is null. + /// + [DataMember(Name = ("errorType"), IsRequired = (false))] + internal string errorType + { + get; + set; + } + + /// + /// TODO(https://crbug.com/1425354): Replace this property with structured error. + /// + [DataMember(Name = ("errorMessage"), IsRequired = (false))] + public string ErrorMessage + { + get; + set; + } + } + + /// + /// RuleSetErrorType + /// + public enum RuleSetErrorType + { + /// + /// SourceIsNotJsonObject + /// + [EnumMember(Value = ("SourceIsNotJsonObject"))] + SourceIsNotJsonObject, + /// + /// InvalidRulesSkipped + /// + [EnumMember(Value = ("InvalidRulesSkipped"))] + InvalidRulesSkipped + } + + /// + /// The type of preloading attempted. It corresponds to + /// mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it + /// isn't being used by clients). + /// + public enum SpeculationAction + { + /// + /// Prefetch + /// + [EnumMember(Value = ("Prefetch"))] + Prefetch, + /// + /// Prerender + /// + [EnumMember(Value = ("Prerender"))] + Prerender + } + + /// + /// Corresponds to mojom::SpeculationTargetHint. + /// See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints + /// + public enum SpeculationTargetHint + { + /// + /// Blank + /// + [EnumMember(Value = ("Blank"))] + Blank, + /// + /// Self + /// + [EnumMember(Value = ("Self"))] + Self + } + + /// + /// A key that identifies a preloading attempt. + /// + /// The url used is the url specified by the trigger (i.e. the initial URL), and + /// not the final url that is navigated to. For example, prerendering allows + /// same-origin main frame navigations during the attempt, but the attempt is + /// still keyed with the initial URL. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PreloadingAttemptKey : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// LoaderId + /// + [DataMember(Name = ("loaderId"), IsRequired = (true))] + public string LoaderId + { + get; + set; + } + + /// + /// Action + /// + public CefSharp.DevTools.Preload.SpeculationAction Action + { + get + { + return (CefSharp.DevTools.Preload.SpeculationAction)(StringToEnum(typeof(CefSharp.DevTools.Preload.SpeculationAction), action)); + } + + set + { + this.action = (EnumToString(value)); + } + } + + /// + /// Action + /// + [DataMember(Name = ("action"), IsRequired = (true))] + internal string action + { + get; + set; + } + + /// + /// Url + /// + [DataMember(Name = ("url"), IsRequired = (true))] + public string Url + { + get; + set; + } + + /// + /// TargetHint + /// + public CefSharp.DevTools.Preload.SpeculationTargetHint? TargetHint + { + get + { + return (CefSharp.DevTools.Preload.SpeculationTargetHint? )(StringToEnum(typeof(CefSharp.DevTools.Preload.SpeculationTargetHint? ), targetHint)); + } + + set + { + this.targetHint = (EnumToString(value)); + } + } + + /// + /// TargetHint + /// + [DataMember(Name = ("targetHint"), IsRequired = (false))] + internal string targetHint + { + get; + set; + } + } + + /// + /// Lists sources for a preloading attempt, specifically the ids of rule sets + /// that had a speculation rule that triggered the attempt, and the + /// BackendNodeIds of <a href> or <area href> elements that triggered the + /// attempt (in the case of attempts triggered by a document rule). It is + /// possible for mulitple rule sets and links to trigger a single attempt. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PreloadingAttemptSource : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key + { + get; + set; + } + + /// + /// RuleSetIds + /// + [DataMember(Name = ("ruleSetIds"), IsRequired = (true))] + public string[] RuleSetIds + { + get; + set; + } + + /// + /// NodeIds + /// + [DataMember(Name = ("nodeIds"), IsRequired = (true))] + public int[] NodeIds + { + get; + set; + } + } + + /// + /// List of FinalStatus reasons for Prerender2. + /// + public enum PrerenderFinalStatus + { + /// + /// Activated + /// + [EnumMember(Value = ("Activated"))] + Activated, + /// + /// Destroyed + /// + [EnumMember(Value = ("Destroyed"))] + Destroyed, + /// + /// LowEndDevice + /// + [EnumMember(Value = ("LowEndDevice"))] + LowEndDevice, + /// + /// InvalidSchemeRedirect + /// + [EnumMember(Value = ("InvalidSchemeRedirect"))] + InvalidSchemeRedirect, + /// + /// InvalidSchemeNavigation + /// + [EnumMember(Value = ("InvalidSchemeNavigation"))] + InvalidSchemeNavigation, + /// + /// InProgressNavigation + /// + [EnumMember(Value = ("InProgressNavigation"))] + InProgressNavigation, + /// + /// NavigationRequestBlockedByCsp + /// + [EnumMember(Value = ("NavigationRequestBlockedByCsp"))] + NavigationRequestBlockedByCsp, + /// + /// MainFrameNavigation + /// + [EnumMember(Value = ("MainFrameNavigation"))] + MainFrameNavigation, + /// + /// MojoBinderPolicy + /// + [EnumMember(Value = ("MojoBinderPolicy"))] + MojoBinderPolicy, + /// + /// RendererProcessCrashed + /// + [EnumMember(Value = ("RendererProcessCrashed"))] + RendererProcessCrashed, + /// + /// RendererProcessKilled + /// + [EnumMember(Value = ("RendererProcessKilled"))] + RendererProcessKilled, + /// + /// Download + /// + [EnumMember(Value = ("Download"))] + Download, + /// + /// TriggerDestroyed + /// + [EnumMember(Value = ("TriggerDestroyed"))] + TriggerDestroyed, + /// + /// NavigationNotCommitted + /// + [EnumMember(Value = ("NavigationNotCommitted"))] + NavigationNotCommitted, + /// + /// NavigationBadHttpStatus + /// + [EnumMember(Value = ("NavigationBadHttpStatus"))] + NavigationBadHttpStatus, + /// + /// ClientCertRequested + /// + [EnumMember(Value = ("ClientCertRequested"))] + ClientCertRequested, + /// + /// NavigationRequestNetworkError + /// + [EnumMember(Value = ("NavigationRequestNetworkError"))] + NavigationRequestNetworkError, + /// + /// MaxNumOfRunningPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningPrerendersExceeded"))] + MaxNumOfRunningPrerendersExceeded, + /// + /// CancelAllHostsForTesting + /// + [EnumMember(Value = ("CancelAllHostsForTesting"))] + CancelAllHostsForTesting, + /// + /// DidFailLoad + /// + [EnumMember(Value = ("DidFailLoad"))] + DidFailLoad, + /// + /// Stop + /// + [EnumMember(Value = ("Stop"))] + Stop, + /// + /// SslCertificateError + /// + [EnumMember(Value = ("SslCertificateError"))] + SslCertificateError, + /// + /// LoginAuthRequested + /// + [EnumMember(Value = ("LoginAuthRequested"))] + LoginAuthRequested, + /// + /// UaChangeRequiresReload + /// + [EnumMember(Value = ("UaChangeRequiresReload"))] + UaChangeRequiresReload, + /// + /// BlockedByClient + /// + [EnumMember(Value = ("BlockedByClient"))] + BlockedByClient, + /// + /// AudioOutputDeviceRequested + /// + [EnumMember(Value = ("AudioOutputDeviceRequested"))] + AudioOutputDeviceRequested, + /// + /// MixedContent + /// + [EnumMember(Value = ("MixedContent"))] + MixedContent, + /// + /// TriggerBackgrounded + /// + [EnumMember(Value = ("TriggerBackgrounded"))] + TriggerBackgrounded, + /// + /// EmbedderTriggeredAndCrossOriginRedirected + /// + [EnumMember(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] + EmbedderTriggeredAndCrossOriginRedirected, + /// + /// MemoryLimitExceeded + /// + [EnumMember(Value = ("MemoryLimitExceeded"))] + MemoryLimitExceeded, + /// + /// FailToGetMemoryUsage + /// + [EnumMember(Value = ("FailToGetMemoryUsage"))] + FailToGetMemoryUsage, + /// + /// DataSaverEnabled + /// + [EnumMember(Value = ("DataSaverEnabled"))] + DataSaverEnabled, + /// + /// HasEffectiveUrl + /// + [EnumMember(Value = ("HasEffectiveUrl"))] + HasEffectiveUrl, + /// + /// ActivatedBeforeStarted + /// + [EnumMember(Value = ("ActivatedBeforeStarted"))] + ActivatedBeforeStarted, + /// + /// InactivePageRestriction + /// + [EnumMember(Value = ("InactivePageRestriction"))] + InactivePageRestriction, + /// + /// StartFailed + /// + [EnumMember(Value = ("StartFailed"))] + StartFailed, + /// + /// TimeoutBackgrounded + /// + [EnumMember(Value = ("TimeoutBackgrounded"))] + TimeoutBackgrounded, + /// + /// CrossSiteRedirectInInitialNavigation + /// + [EnumMember(Value = ("CrossSiteRedirectInInitialNavigation"))] + CrossSiteRedirectInInitialNavigation, + /// + /// CrossSiteNavigationInInitialNavigation + /// + [EnumMember(Value = ("CrossSiteNavigationInInitialNavigation"))] + CrossSiteNavigationInInitialNavigation, + /// + /// SameSiteCrossOriginRedirectNotOptInInInitialNavigation + /// + [EnumMember(Value = ("SameSiteCrossOriginRedirectNotOptInInInitialNavigation"))] + SameSiteCrossOriginRedirectNotOptInInInitialNavigation, + /// + /// SameSiteCrossOriginNavigationNotOptInInInitialNavigation + /// + [EnumMember(Value = ("SameSiteCrossOriginNavigationNotOptInInInitialNavigation"))] + SameSiteCrossOriginNavigationNotOptInInInitialNavigation, + /// + /// ActivationNavigationParameterMismatch + /// + [EnumMember(Value = ("ActivationNavigationParameterMismatch"))] + ActivationNavigationParameterMismatch, + /// + /// ActivatedInBackground + /// + [EnumMember(Value = ("ActivatedInBackground"))] + ActivatedInBackground, + /// + /// EmbedderHostDisallowed + /// + [EnumMember(Value = ("EmbedderHostDisallowed"))] + EmbedderHostDisallowed, + /// + /// ActivationNavigationDestroyedBeforeSuccess + /// + [EnumMember(Value = ("ActivationNavigationDestroyedBeforeSuccess"))] + ActivationNavigationDestroyedBeforeSuccess, + /// + /// TabClosedByUserGesture + /// + [EnumMember(Value = ("TabClosedByUserGesture"))] + TabClosedByUserGesture, + /// + /// TabClosedWithoutUserGesture + /// + [EnumMember(Value = ("TabClosedWithoutUserGesture"))] + TabClosedWithoutUserGesture, + /// + /// PrimaryMainFrameRendererProcessCrashed + /// + [EnumMember(Value = ("PrimaryMainFrameRendererProcessCrashed"))] + PrimaryMainFrameRendererProcessCrashed, + /// + /// PrimaryMainFrameRendererProcessKilled + /// + [EnumMember(Value = ("PrimaryMainFrameRendererProcessKilled"))] + PrimaryMainFrameRendererProcessKilled, + /// + /// ActivationFramePolicyNotCompatible + /// + [EnumMember(Value = ("ActivationFramePolicyNotCompatible"))] + ActivationFramePolicyNotCompatible, + /// + /// PreloadingDisabled + /// + [EnumMember(Value = ("PreloadingDisabled"))] + PreloadingDisabled, + /// + /// BatterySaverEnabled + /// + [EnumMember(Value = ("BatterySaverEnabled"))] + BatterySaverEnabled, + /// + /// ActivatedDuringMainFrameNavigation + /// + [EnumMember(Value = ("ActivatedDuringMainFrameNavigation"))] + ActivatedDuringMainFrameNavigation, + /// + /// PreloadingUnsupportedByWebContents + /// + [EnumMember(Value = ("PreloadingUnsupportedByWebContents"))] + PreloadingUnsupportedByWebContents, + /// + /// CrossSiteRedirectInMainFrameNavigation + /// + [EnumMember(Value = ("CrossSiteRedirectInMainFrameNavigation"))] + CrossSiteRedirectInMainFrameNavigation, + /// + /// CrossSiteNavigationInMainFrameNavigation + /// + [EnumMember(Value = ("CrossSiteNavigationInMainFrameNavigation"))] + CrossSiteNavigationInMainFrameNavigation, + /// + /// SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation + /// + [EnumMember(Value = ("SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"))] + SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation, + /// + /// SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + /// + [EnumMember(Value = ("SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"))] + SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + } + + /// + /// Preloading status values, see also PreloadingTriggeringOutcome. This + /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. + /// + public enum PreloadingStatus + { + /// + /// Pending + /// + [EnumMember(Value = ("Pending"))] + Pending, + /// + /// Running + /// + [EnumMember(Value = ("Running"))] + Running, + /// + /// Ready + /// + [EnumMember(Value = ("Ready"))] + Ready, + /// + /// Success + /// + [EnumMember(Value = ("Success"))] + Success, + /// + /// Failure + /// + [EnumMember(Value = ("Failure"))] + Failure, + /// + /// NotSupported + /// + [EnumMember(Value = ("NotSupported"))] + NotSupported } /// @@ -28101,6 +28345,425 @@ public string Id private set; } } + + /// + /// Fired when a prerender attempt is completed. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key + { + get; + private set; + } + + /// + /// The frame id of the frame initiating prerendering. + /// + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrerenderingUrl + /// + [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] + public string PrerenderingUrl + { + get; + private set; + } + + /// + /// FinalStatus + /// + public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus + { + get + { + return (CefSharp.DevTools.Preload.PrerenderFinalStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PrerenderFinalStatus), finalStatus)); + } + + set + { + this.finalStatus = (EnumToString(value)); + } + } + + /// + /// FinalStatus + /// + [DataMember(Name = ("finalStatus"), IsRequired = (true))] + internal string finalStatus + { + get; + private set; + } + + /// + /// This is used to give users more information about the name of the API call + /// that is incompatible with prerender and has caused the cancellation of the attempt + /// + [DataMember(Name = ("disallowedApiMethod"), IsRequired = (false))] + public string DisallowedApiMethod + { + get; + private set; + } + } + + /// + /// Fired when a prefetch attempt is updated. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key + { + get; + private set; + } + + /// + /// The frame id of the frame initiating prefetch. + /// + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrefetchUrl + /// + [DataMember(Name = ("prefetchUrl"), IsRequired = (true))] + public string PrefetchUrl + { + get; + private set; + } + + /// + /// Status + /// + public CefSharp.DevTools.Preload.PreloadingStatus Status + { + get + { + return (CefSharp.DevTools.Preload.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadingStatus), status)); + } + + set + { + this.status = (EnumToString(value)); + } + } + + /// + /// Status + /// + [DataMember(Name = ("status"), IsRequired = (true))] + internal string status + { + get; + private set; + } + } + + /// + /// Fired when a prerender attempt is updated. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key + { + get; + private set; + } + + /// + /// The frame id of the frame initiating prerender. + /// + [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] + public string InitiatingFrameId + { + get; + private set; + } + + /// + /// PrerenderingUrl + /// + [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] + public string PrerenderingUrl + { + get; + private set; + } + + /// + /// Status + /// + public CefSharp.DevTools.Preload.PreloadingStatus Status + { + get + { + return (CefSharp.DevTools.Preload.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadingStatus), status)); + } + + set + { + this.status = (EnumToString(value)); + } + } + + /// + /// Status + /// + [DataMember(Name = ("status"), IsRequired = (true))] + internal string status + { + get; + private set; + } + } + + /// + /// Send a list of sources for all preloading attempts in a document. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PreloadingAttemptSourcesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// LoaderId + /// + [DataMember(Name = ("loaderId"), IsRequired = (true))] + public string LoaderId + { + get; + private set; + } + + /// + /// PreloadingAttemptSources + /// + [DataMember(Name = ("preloadingAttemptSources"), IsRequired = (true))] + public System.Collections.Generic.IList PreloadingAttemptSources + { + get; + private set; + } + } +} + +namespace CefSharp.DevTools.FedCm +{ + /// + /// Whether this is a sign-up or sign-in action for this account, i.e. + /// whether this account has ever been used to sign in to this RP before. + /// + public enum LoginState + { + /// + /// SignIn + /// + [EnumMember(Value = ("SignIn"))] + SignIn, + /// + /// SignUp + /// + [EnumMember(Value = ("SignUp"))] + SignUp + } + + /// + /// Corresponds to IdentityRequestAccount + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class Account : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// AccountId + /// + [DataMember(Name = ("accountId"), IsRequired = (true))] + public string AccountId + { + get; + set; + } + + /// + /// Email + /// + [DataMember(Name = ("email"), IsRequired = (true))] + public string Email + { + get; + set; + } + + /// + /// Name + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// GivenName + /// + [DataMember(Name = ("givenName"), IsRequired = (true))] + public string GivenName + { + get; + set; + } + + /// + /// PictureUrl + /// + [DataMember(Name = ("pictureUrl"), IsRequired = (true))] + public string PictureUrl + { + get; + set; + } + + /// + /// IdpConfigUrl + /// + [DataMember(Name = ("idpConfigUrl"), IsRequired = (true))] + public string IdpConfigUrl + { + get; + set; + } + + /// + /// IdpSigninUrl + /// + [DataMember(Name = ("idpSigninUrl"), IsRequired = (true))] + public string IdpSigninUrl + { + get; + set; + } + + /// + /// LoginState + /// + public CefSharp.DevTools.FedCm.LoginState LoginState + { + get + { + return (CefSharp.DevTools.FedCm.LoginState)(StringToEnum(typeof(CefSharp.DevTools.FedCm.LoginState), loginState)); + } + + set + { + this.loginState = (EnumToString(value)); + } + } + + /// + /// LoginState + /// + [DataMember(Name = ("loginState"), IsRequired = (true))] + internal string loginState + { + get; + set; + } + + /// + /// These two are only set if the loginState is signUp + /// + [DataMember(Name = ("termsOfServiceUrl"), IsRequired = (false))] + public string TermsOfServiceUrl + { + get; + set; + } + + /// + /// PrivacyPolicyUrl + /// + [DataMember(Name = ("privacyPolicyUrl"), IsRequired = (false))] + public string PrivacyPolicyUrl + { + get; + set; + } + } + + /// + /// dialogShown + /// + [System.Runtime.Serialization.DataContractAttribute] + public class DialogShownEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// DialogId + /// + [DataMember(Name = ("dialogId"), IsRequired = (true))] + public string DialogId + { + get; + private set; + } + + /// + /// Accounts + /// + [DataMember(Name = ("accounts"), IsRequired = (true))] + public System.Collections.Generic.IList Accounts + { + get; + private set; + } + + /// + /// These exist primarily so that the caller can verify the + /// RP context was used appropriately. + /// + [DataMember(Name = ("title"), IsRequired = (true))] + public string Title + { + get; + private set; + } + + /// + /// Subtitle + /// + [DataMember(Name = ("subtitle"), IsRequired = (false))] + public string Subtitle + { + get; + private set; + } + } } namespace CefSharp.DevTools.Debugger @@ -44033,56 +44696,6 @@ public event System.EventHandler BackForwardCa } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Page.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Page.prerenderAttemptCompleted", value); - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prefetch attempt is updated. - /// - public event System.EventHandler PrefetchStatusUpdated - { - add - { - _client.AddEventHandler("Page.prefetchStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("Page.prefetchStatusUpdated", value); - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prerender attempt is updated. - /// - public event System.EventHandler PrerenderStatusUpdated - { - add - { - _client.AddEventHandler("Page.prerenderStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("Page.prerenderStatusUpdated", value); - } - } - /// /// LoadEventFired /// @@ -45930,6 +46543,38 @@ public event System.EventHandler SharedStorageAc } } + /// + /// StorageBucketCreatedOrUpdated + /// + public event System.EventHandler StorageBucketCreatedOrUpdated + { + add + { + _client.AddEventHandler("Storage.storageBucketCreatedOrUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Storage.storageBucketCreatedOrUpdated", value); + } + } + + /// + /// StorageBucketDeleted + /// + public event System.EventHandler StorageBucketDeleted + { + add + { + _client.AddEventHandler("Storage.storageBucketDeleted", value); + } + + remove + { + _client.RemoveEventHandler("Storage.storageBucketDeleted", value); + } + } + partial void ValidateGetStorageKeyForFrame(string frameId); /// /// Returns a storage key given a frame id. @@ -46343,6 +46988,38 @@ public System.Threading.Tasks.Task SetSharedStorageTrack dict.Add("enable", enable); return _client.ExecuteDevToolsMethodAsync("Storage.setSharedStorageTracking", dict); } + + partial void ValidateSetStorageBucketTracking(string storageKey, bool enable); + /// + /// Set tracking for a storage key's buckets. + /// + /// storageKey + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetStorageBucketTrackingAsync(string storageKey, bool enable) + { + ValidateSetStorageBucketTracking(storageKey, enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setStorageBucketTracking", dict); + } + + partial void ValidateDeleteStorageBucket(string storageKey, string bucketName); + /// + /// Deletes the Storage Bucket with the given storage key and bucket name. + /// + /// storageKey + /// bucketName + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DeleteStorageBucketAsync(string storageKey, string bucketName) + { + ValidateDeleteStorageBucket(storageKey, bucketName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + dict.Add("bucketName", bucketName); + return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); + } } } @@ -48868,6 +49545,70 @@ public event System.EventHandler RuleSetRemoved } } + /// + /// Fired when a prerender attempt is completed. + /// + public event System.EventHandler PrerenderAttemptCompleted + { + add + { + _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); + } + } + + /// + /// Fired when a prefetch attempt is updated. + /// + public event System.EventHandler PrefetchStatusUpdated + { + add + { + _client.AddEventHandler("Preload.prefetchStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prefetchStatusUpdated", value); + } + } + + /// + /// Fired when a prerender attempt is updated. + /// + public event System.EventHandler PrerenderStatusUpdated + { + add + { + _client.AddEventHandler("Preload.prerenderStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prerenderStatusUpdated", value); + } + } + + /// + /// Send a list of sources for all preloading attempts in a document. + /// + public event System.EventHandler PreloadingAttemptSourcesUpdated + { + add + { + _client.AddEventHandler("Preload.preloadingAttemptSourcesUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.preloadingAttemptSourcesUpdated", value); + } + } + /// /// Enable /// @@ -48890,6 +49631,118 @@ public System.Threading.Tasks.Task DisableAsync() } } +namespace CefSharp.DevTools.FedCm +{ + using System.Linq; + + /// + /// This domain allows interacting with the FedCM dialog. + /// + public partial class FedCmClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// FedCm + /// + /// DevToolsClient + public FedCmClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// DialogShown + /// + public event System.EventHandler DialogShown + { + add + { + _client.AddEventHandler("FedCm.dialogShown", value); + } + + remove + { + _client.RemoveEventHandler("FedCm.dialogShown", value); + } + } + + partial void ValidateEnable(bool? disableRejectionDelay = null); + /// + /// Enable + /// + /// Allows callers to disable the promise rejection delay that wouldnormally happen, if this is unimportant to what's being tested.(step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in) + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync(bool? disableRejectionDelay = null) + { + ValidateEnable(disableRejectionDelay); + var dict = new System.Collections.Generic.Dictionary(); + if (disableRejectionDelay.HasValue) + { + dict.Add("disableRejectionDelay", disableRejectionDelay.Value); + } + + return _client.ExecuteDevToolsMethodAsync("FedCm.enable", dict); + } + + /// + /// Disable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("FedCm.disable", dict); + } + + partial void ValidateSelectAccount(string dialogId, int accountIndex); + /// + /// SelectAccount + /// + /// dialogId + /// accountIndex + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SelectAccountAsync(string dialogId, int accountIndex) + { + ValidateSelectAccount(dialogId, accountIndex); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + dict.Add("accountIndex", accountIndex); + return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); + } + + partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); + /// + /// DismissDialog + /// + /// dialogId + /// triggerCooldown + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DismissDialogAsync(string dialogId, bool? triggerCooldown = null) + { + ValidateDismissDialog(dialogId, triggerCooldown); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + if (triggerCooldown.HasValue) + { + dict.Add("triggerCooldown", triggerCooldown.Value); + } + + return _client.ExecuteDevToolsMethodAsync("FedCm.dismissDialog", dict); + } + + /// + /// Resets the cooldown time, if any, to allow the next FedCM call to show + /// a dialog even if one was recently dismissed by the user. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ResetCooldownAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("FedCm.resetCooldown", dict); + } + } +} + namespace CefSharp.DevTools.Debugger { /// @@ -53024,6 +53877,23 @@ public CefSharp.DevTools.Preload.PreloadClient Preload } } + private CefSharp.DevTools.FedCm.FedCmClient _FedCm; + /// + /// This domain allows interacting with the FedCM dialog. + /// + public CefSharp.DevTools.FedCm.FedCmClient FedCm + { + get + { + if ((_FedCm) == (null)) + { + _FedCm = (new CefSharp.DevTools.FedCm.FedCmClient(this)); + } + + return _FedCm; + } + } + private CefSharp.DevTools.Debugger.DebuggerClient _Debugger; /// /// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 8729e921aa..b8905ace42 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 112.0.5615.49 +// CHROMIUM VERSION 113.0.5672.63 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2292,11 +2292,6 @@ public enum AttributionReportingIssueType [JsonPropertyName("PermissionPolicyDisabled")] PermissionPolicyDisabled, /// - /// PermissionPolicyNotDelegated - /// - [JsonPropertyName("PermissionPolicyNotDelegated")] - PermissionPolicyNotDelegated, - /// /// UntrustworthyReportingOrigin /// [JsonPropertyName("UntrustworthyReportingOrigin")] @@ -2340,7 +2335,32 @@ public enum AttributionReportingIssueType /// TriggerIgnored /// [JsonPropertyName("TriggerIgnored")] - TriggerIgnored + TriggerIgnored, + /// + /// OsSourceIgnored + /// + [JsonPropertyName("OsSourceIgnored")] + OsSourceIgnored, + /// + /// OsTriggerIgnored + /// + [JsonPropertyName("OsTriggerIgnored")] + OsTriggerIgnored, + /// + /// InvalidRegisterOsSourceHeader + /// + [JsonPropertyName("InvalidRegisterOsSourceHeader")] + InvalidRegisterOsSourceHeader, + /// + /// InvalidRegisterOsTriggerHeader + /// + [JsonPropertyName("InvalidRegisterOsTriggerHeader")] + InvalidRegisterOsTriggerHeader, + /// + /// WebAndOsHeaders + /// + [JsonPropertyName("WebAndOsHeaders")] + WebAndOsHeaders } /// @@ -2534,10 +2554,10 @@ public enum GenericIssueErrorType [JsonPropertyName("FormLabelForMatchesNonExistingIdError")] FormLabelForMatchesNonExistingIdError, /// - /// FormHasPasswordFieldWithoutUsernameFieldError + /// FormInputHasWrongButWellIntendedAutocompleteValueError /// - [JsonPropertyName("FormHasPasswordFieldWithoutUsernameFieldError")] - FormHasPasswordFieldWithoutUsernameFieldError + [JsonPropertyName("FormInputHasWrongButWellIntendedAutocompleteValueError")] + FormInputHasWrongButWellIntendedAutocompleteValueError } /// @@ -4295,6 +4315,16 @@ public CefSharp.DevTools.CSS.SelectorList SelectorList set; } + /// + /// Array of selectors from ancestor style rules, sorted by distance from the current rule. + /// + [JsonPropertyName("nestingSelectors")] + public string[] NestingSelectors + { + get; + set; + } + /// /// Parent stylesheet's origin. /// @@ -19405,331 +19435,6 @@ public System.Collections.Generic.IList - /// List of FinalStatus reasons for Prerender2. - /// - public enum PrerenderFinalStatus - { - /// - /// Activated - /// - [JsonPropertyName("Activated")] - Activated, - /// - /// Destroyed - /// - [JsonPropertyName("Destroyed")] - Destroyed, - /// - /// LowEndDevice - /// - [JsonPropertyName("LowEndDevice")] - LowEndDevice, - /// - /// InvalidSchemeRedirect - /// - [JsonPropertyName("InvalidSchemeRedirect")] - InvalidSchemeRedirect, - /// - /// InvalidSchemeNavigation - /// - [JsonPropertyName("InvalidSchemeNavigation")] - InvalidSchemeNavigation, - /// - /// InProgressNavigation - /// - [JsonPropertyName("InProgressNavigation")] - InProgressNavigation, - /// - /// NavigationRequestBlockedByCsp - /// - [JsonPropertyName("NavigationRequestBlockedByCsp")] - NavigationRequestBlockedByCsp, - /// - /// MainFrameNavigation - /// - [JsonPropertyName("MainFrameNavigation")] - MainFrameNavigation, - /// - /// MojoBinderPolicy - /// - [JsonPropertyName("MojoBinderPolicy")] - MojoBinderPolicy, - /// - /// RendererProcessCrashed - /// - [JsonPropertyName("RendererProcessCrashed")] - RendererProcessCrashed, - /// - /// RendererProcessKilled - /// - [JsonPropertyName("RendererProcessKilled")] - RendererProcessKilled, - /// - /// Download - /// - [JsonPropertyName("Download")] - Download, - /// - /// TriggerDestroyed - /// - [JsonPropertyName("TriggerDestroyed")] - TriggerDestroyed, - /// - /// NavigationNotCommitted - /// - [JsonPropertyName("NavigationNotCommitted")] - NavigationNotCommitted, - /// - /// NavigationBadHttpStatus - /// - [JsonPropertyName("NavigationBadHttpStatus")] - NavigationBadHttpStatus, - /// - /// ClientCertRequested - /// - [JsonPropertyName("ClientCertRequested")] - ClientCertRequested, - /// - /// NavigationRequestNetworkError - /// - [JsonPropertyName("NavigationRequestNetworkError")] - NavigationRequestNetworkError, - /// - /// MaxNumOfRunningPrerendersExceeded - /// - [JsonPropertyName("MaxNumOfRunningPrerendersExceeded")] - MaxNumOfRunningPrerendersExceeded, - /// - /// CancelAllHostsForTesting - /// - [JsonPropertyName("CancelAllHostsForTesting")] - CancelAllHostsForTesting, - /// - /// DidFailLoad - /// - [JsonPropertyName("DidFailLoad")] - DidFailLoad, - /// - /// Stop - /// - [JsonPropertyName("Stop")] - Stop, - /// - /// SslCertificateError - /// - [JsonPropertyName("SslCertificateError")] - SslCertificateError, - /// - /// LoginAuthRequested - /// - [JsonPropertyName("LoginAuthRequested")] - LoginAuthRequested, - /// - /// UaChangeRequiresReload - /// - [JsonPropertyName("UaChangeRequiresReload")] - UaChangeRequiresReload, - /// - /// BlockedByClient - /// - [JsonPropertyName("BlockedByClient")] - BlockedByClient, - /// - /// AudioOutputDeviceRequested - /// - [JsonPropertyName("AudioOutputDeviceRequested")] - AudioOutputDeviceRequested, - /// - /// MixedContent - /// - [JsonPropertyName("MixedContent")] - MixedContent, - /// - /// TriggerBackgrounded - /// - [JsonPropertyName("TriggerBackgrounded")] - TriggerBackgrounded, - /// - /// EmbedderTriggeredAndCrossOriginRedirected - /// - [JsonPropertyName("EmbedderTriggeredAndCrossOriginRedirected")] - EmbedderTriggeredAndCrossOriginRedirected, - /// - /// MemoryLimitExceeded - /// - [JsonPropertyName("MemoryLimitExceeded")] - MemoryLimitExceeded, - /// - /// FailToGetMemoryUsage - /// - [JsonPropertyName("FailToGetMemoryUsage")] - FailToGetMemoryUsage, - /// - /// DataSaverEnabled - /// - [JsonPropertyName("DataSaverEnabled")] - DataSaverEnabled, - /// - /// HasEffectiveUrl - /// - [JsonPropertyName("HasEffectiveUrl")] - HasEffectiveUrl, - /// - /// ActivatedBeforeStarted - /// - [JsonPropertyName("ActivatedBeforeStarted")] - ActivatedBeforeStarted, - /// - /// InactivePageRestriction - /// - [JsonPropertyName("InactivePageRestriction")] - InactivePageRestriction, - /// - /// StartFailed - /// - [JsonPropertyName("StartFailed")] - StartFailed, - /// - /// TimeoutBackgrounded - /// - [JsonPropertyName("TimeoutBackgrounded")] - TimeoutBackgrounded, - /// - /// CrossSiteRedirect - /// - [JsonPropertyName("CrossSiteRedirect")] - CrossSiteRedirect, - /// - /// CrossSiteNavigation - /// - [JsonPropertyName("CrossSiteNavigation")] - CrossSiteNavigation, - /// - /// SameSiteCrossOriginRedirect - /// - [JsonPropertyName("SameSiteCrossOriginRedirect")] - SameSiteCrossOriginRedirect, - /// - /// SameSiteCrossOriginNavigation - /// - [JsonPropertyName("SameSiteCrossOriginNavigation")] - SameSiteCrossOriginNavigation, - /// - /// SameSiteCrossOriginRedirectNotOptIn - /// - [JsonPropertyName("SameSiteCrossOriginRedirectNotOptIn")] - SameSiteCrossOriginRedirectNotOptIn, - /// - /// SameSiteCrossOriginNavigationNotOptIn - /// - [JsonPropertyName("SameSiteCrossOriginNavigationNotOptIn")] - SameSiteCrossOriginNavigationNotOptIn, - /// - /// ActivationNavigationParameterMismatch - /// - [JsonPropertyName("ActivationNavigationParameterMismatch")] - ActivationNavigationParameterMismatch, - /// - /// ActivatedInBackground - /// - [JsonPropertyName("ActivatedInBackground")] - ActivatedInBackground, - /// - /// EmbedderHostDisallowed - /// - [JsonPropertyName("EmbedderHostDisallowed")] - EmbedderHostDisallowed, - /// - /// ActivationNavigationDestroyedBeforeSuccess - /// - [JsonPropertyName("ActivationNavigationDestroyedBeforeSuccess")] - ActivationNavigationDestroyedBeforeSuccess, - /// - /// TabClosedByUserGesture - /// - [JsonPropertyName("TabClosedByUserGesture")] - TabClosedByUserGesture, - /// - /// TabClosedWithoutUserGesture - /// - [JsonPropertyName("TabClosedWithoutUserGesture")] - TabClosedWithoutUserGesture, - /// - /// PrimaryMainFrameRendererProcessCrashed - /// - [JsonPropertyName("PrimaryMainFrameRendererProcessCrashed")] - PrimaryMainFrameRendererProcessCrashed, - /// - /// PrimaryMainFrameRendererProcessKilled - /// - [JsonPropertyName("PrimaryMainFrameRendererProcessKilled")] - PrimaryMainFrameRendererProcessKilled, - /// - /// ActivationFramePolicyNotCompatible - /// - [JsonPropertyName("ActivationFramePolicyNotCompatible")] - ActivationFramePolicyNotCompatible, - /// - /// PreloadingDisabled - /// - [JsonPropertyName("PreloadingDisabled")] - PreloadingDisabled, - /// - /// BatterySaverEnabled - /// - [JsonPropertyName("BatterySaverEnabled")] - BatterySaverEnabled, - /// - /// ActivatedDuringMainFrameNavigation - /// - [JsonPropertyName("ActivatedDuringMainFrameNavigation")] - ActivatedDuringMainFrameNavigation, - /// - /// PreloadingUnsupportedByWebContents - /// - [JsonPropertyName("PreloadingUnsupportedByWebContents")] - PreloadingUnsupportedByWebContents - } - - /// - /// Preloading status values, see also PreloadingTriggeringOutcome. This - /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. - /// - public enum PreloadingStatus - { - /// - /// Pending - /// - [JsonPropertyName("Pending")] - Pending, - /// - /// Running - /// - [JsonPropertyName("Running")] - Running, - /// - /// Ready - /// - [JsonPropertyName("Ready")] - Ready, - /// - /// Success - /// - [JsonPropertyName("Success")] - Success, - /// - /// Failure - /// - [JsonPropertyName("Failure")] - Failure, - /// - /// NotSupported - /// - [JsonPropertyName("NotSupported")] - NotSupported - } - /// /// domContentEventFired /// @@ -20432,143 +20137,6 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRest } } - /// - /// Fired when a prerender attempt is completed. - /// - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prerendering. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [JsonInclude] - [JsonPropertyName("prerenderingUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - [JsonInclude] - [JsonPropertyName("finalStatus")] - public CefSharp.DevTools.Page.PrerenderFinalStatus FinalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [JsonInclude] - [JsonPropertyName("disallowedApiMethod")] - public string DisallowedApiMethod - { - get; - private set; - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prefetch attempt is updated. - /// - public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prefetch. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrefetchUrl - /// - [JsonInclude] - [JsonPropertyName("prefetchUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrefetchUrl - { - get; - private set; - } - - /// - /// Status - /// - [JsonInclude] - [JsonPropertyName("status")] - public CefSharp.DevTools.Page.PreloadingStatus Status - { - get; - private set; - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prerender attempt is updated. - /// - public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// The frame id of the frame initiating prerender. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [JsonInclude] - [JsonPropertyName("prerenderingUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// Status - /// - [JsonInclude] - [JsonPropertyName("status")] - public CefSharp.DevTools.Page.PreloadingStatus Status - { - get; - private set; - } - } - /// /// loadEventFired /// @@ -22109,6 +21677,11 @@ public enum StorageType [JsonPropertyName("shared_storage")] SharedStorage, /// + /// storage_buckets + /// + [JsonPropertyName("storage_buckets")] + StorageBuckets, + /// /// all /// [JsonPropertyName("all")] @@ -22673,6 +22246,112 @@ public bool? IgnoreIfPresent } } + /// + /// StorageBucketsDurability + /// + public enum StorageBucketsDurability + { + /// + /// relaxed + /// + [JsonPropertyName("relaxed")] + Relaxed, + /// + /// strict + /// + [JsonPropertyName("strict")] + Strict + } + + /// + /// StorageBucketInfo + /// + public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// StorageKey + /// + [JsonPropertyName("storageKey")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string StorageKey + { + get; + set; + } + + /// + /// Id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// Name + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + + /// + /// IsDefault + /// + [JsonPropertyName("isDefault")] + public bool IsDefault + { + get; + set; + } + + /// + /// Expiration + /// + [JsonPropertyName("expiration")] + public double Expiration + { + get; + set; + } + + /// + /// Storage quota (bytes). + /// + [JsonPropertyName("quota")] + public double Quota + { + get; + set; + } + + /// + /// Persistent + /// + [JsonPropertyName("persistent")] + public bool Persistent + { + get; + set; + } + + /// + /// Durability + /// + [JsonPropertyName("durability")] + public CefSharp.DevTools.Storage.StorageBucketsDurability Durability + { + get; + set; + } + } + /// /// A cache's contents have been modified. /// @@ -22946,6 +22625,42 @@ public CefSharp.DevTools.Storage.SharedStorageAccessParams Params private set; } } + + /// + /// storageBucketCreatedOrUpdated + /// + public class StorageBucketCreatedOrUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Bucket + /// + [JsonInclude] + [JsonPropertyName("bucket")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Storage.StorageBucketInfo Bucket + { + get; + private set; + } + } + + /// + /// storageBucketDeleted + /// + public class StorageBucketDeletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// BucketId + /// + [JsonInclude] + [JsonPropertyName("bucketId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string BucketId + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -25854,151 +25569,1000 @@ public string Value } /// - /// Represents logged source line numbers reported in an error. - /// NOTE: file and line are from chromium c++ implementation code, not js. + /// Represents logged source line numbers reported in an error. + /// NOTE: file and line are from chromium c++ implementation code, not js. + /// + public partial class PlayerErrorSourceLocation : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// File + /// + [JsonPropertyName("file")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string File + { + get; + set; + } + + /// + /// Line + /// + [JsonPropertyName("line")] + public int Line + { + get; + set; + } + } + + /// + /// Corresponds to kMediaError + /// + public partial class PlayerError : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// ErrorType + /// + [JsonPropertyName("errorType")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ErrorType + { + get; + set; + } + + /// + /// Code is the numeric enum entry for a specific set of error codes, such + /// as PipelineStatusCodes in media/base/pipeline_status.h + /// + [JsonPropertyName("code")] + public int Code + { + get; + set; + } + + /// + /// A trace of where this error was caused / where it passed through. + /// + [JsonPropertyName("stack")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Stack + { + get; + set; + } + + /// + /// Errors potentially have a root cause error, ie, a DecoderError might be + /// caused by an WindowsError + /// + [JsonPropertyName("cause")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Cause + { + get; + set; + } + + /// + /// Extra data attached to an error, such as an HRESULT, Video Codec, etc. + /// + [JsonPropertyName("data")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public object Data + { + get; + set; + } + } + + /// + /// This can be called multiple times, and can be used to set / override / + /// remove player properties. A null propValue indicates removal. + /// + public class PlayerPropertiesChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// PlayerId + /// + [JsonInclude] + [JsonPropertyName("playerId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PlayerId + { + get; + private set; + } + + /// + /// Properties + /// + [JsonInclude] + [JsonPropertyName("properties")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Properties + { + get; + private set; + } + } + + /// + /// Send events as a list, allowing them to be batched on the browser for less + /// congestion. If batched, events must ALWAYS be in chronological order. + /// + public class PlayerEventsAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// PlayerId + /// + [JsonInclude] + [JsonPropertyName("playerId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PlayerId + { + get; + private set; + } + + /// + /// Events + /// + [JsonInclude] + [JsonPropertyName("events")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Events + { + get; + private set; + } + } + + /// + /// Send a list of any messages that need to be delivered. + /// + public class PlayerMessagesLoggedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// PlayerId + /// + [JsonInclude] + [JsonPropertyName("playerId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PlayerId + { + get; + private set; + } + + /// + /// Messages + /// + [JsonInclude] + [JsonPropertyName("messages")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Messages + { + get; + private set; + } + } + + /// + /// Send a list of any errors that need to be delivered. + /// + public class PlayerErrorsRaisedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// PlayerId + /// + [JsonInclude] + [JsonPropertyName("playerId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PlayerId + { + get; + private set; + } + + /// + /// Errors + /// + [JsonInclude] + [JsonPropertyName("errors")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Errors + { + get; + private set; + } + } + + /// + /// Called whenever a player is created, or when a new agent joins and receives + /// a list of active players. If an agent is restored, it will receive the full + /// list of player ids and all events again. + /// + public class PlayersCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Players + /// + [JsonInclude] + [JsonPropertyName("players")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] Players + { + get; + private set; + } + } +} + +namespace CefSharp.DevTools.DeviceAccess +{ + /// + /// Device information displayed in a user prompt to select a device. + /// + public partial class PromptDevice : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// Display name as it appears in a device request user prompt. + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + } + + /// + /// A device request opened a user prompt to select a device. Respond with the + /// selectPrompt or cancelPrompt command. + /// + public class DeviceRequestPromptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Id + /// + [JsonInclude] + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + private set; + } + + /// + /// Devices + /// + [JsonInclude] + [JsonPropertyName("devices")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Devices + { + get; + private set; + } + } +} + +namespace CefSharp.DevTools.Preload +{ + /// + /// Corresponds to SpeculationRuleSet + /// + public partial class RuleSet : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// Identifies a document which the rule set is associated with. + /// + [JsonPropertyName("loaderId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string LoaderId + { + get; + set; + } + + /// + /// Source text of JSON representing the rule set. If it comes from + /// <script> tag, it is the textContent of the node. Note that it is + /// a JSON for valid case. + /// + /// See also: + /// - https://wicg.github.io/nav-speculation/speculation-rules.html + /// - https://github.com/WICG/nav-speculation/blob/main/triggers.md + /// + [JsonPropertyName("sourceText")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string SourceText + { + get; + set; + } + + /// + /// Error information + /// `errorMessage` is null iff `errorType` is null. + /// + [JsonPropertyName("errorType")] + public CefSharp.DevTools.Preload.RuleSetErrorType? ErrorType + { + get; + set; + } + + /// + /// TODO(https://crbug.com/1425354): Replace this property with structured error. + /// + [JsonPropertyName("errorMessage")] + public string ErrorMessage + { + get; + set; + } + } + + /// + /// RuleSetErrorType + /// + public enum RuleSetErrorType + { + /// + /// SourceIsNotJsonObject + /// + [JsonPropertyName("SourceIsNotJsonObject")] + SourceIsNotJsonObject, + /// + /// InvalidRulesSkipped + /// + [JsonPropertyName("InvalidRulesSkipped")] + InvalidRulesSkipped + } + + /// + /// The type of preloading attempted. It corresponds to + /// mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it + /// isn't being used by clients). + /// + public enum SpeculationAction + { + /// + /// Prefetch + /// + [JsonPropertyName("Prefetch")] + Prefetch, + /// + /// Prerender + /// + [JsonPropertyName("Prerender")] + Prerender + } + + /// + /// Corresponds to mojom::SpeculationTargetHint. + /// See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints + /// + public enum SpeculationTargetHint + { + /// + /// Blank + /// + [JsonPropertyName("Blank")] + Blank, + /// + /// Self + /// + [JsonPropertyName("Self")] + Self + } + + /// + /// A key that identifies a preloading attempt. + /// + /// The url used is the url specified by the trigger (i.e. the initial URL), and + /// not the final url that is navigated to. For example, prerendering allows + /// same-origin main frame navigations during the attempt, but the attempt is + /// still keyed with the initial URL. + /// + public partial class PreloadingAttemptKey : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// LoaderId + /// + [JsonPropertyName("loaderId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string LoaderId + { + get; + set; + } + + /// + /// Action + /// + [JsonPropertyName("action")] + public CefSharp.DevTools.Preload.SpeculationAction Action + { + get; + set; + } + + /// + /// Url + /// + [JsonPropertyName("url")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Url + { + get; + set; + } + + /// + /// TargetHint + /// + [JsonPropertyName("targetHint")] + public CefSharp.DevTools.Preload.SpeculationTargetHint? TargetHint + { + get; + set; + } + } + + /// + /// Lists sources for a preloading attempt, specifically the ids of rule sets + /// that had a speculation rule that triggered the attempt, and the + /// BackendNodeIds of <a href> or <area href> elements that triggered the + /// attempt (in the case of attempts triggered by a document rule). It is + /// possible for mulitple rule sets and links to trigger a single attempt. + /// + public partial class PreloadingAttemptSource : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [JsonPropertyName("key")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key + { + get; + set; + } + + /// + /// RuleSetIds + /// + [JsonPropertyName("ruleSetIds")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] RuleSetIds + { + get; + set; + } + + /// + /// NodeIds + /// + [JsonPropertyName("nodeIds")] + public int[] NodeIds + { + get; + set; + } + } + + /// + /// List of FinalStatus reasons for Prerender2. + /// + public enum PrerenderFinalStatus + { + /// + /// Activated + /// + [JsonPropertyName("Activated")] + Activated, + /// + /// Destroyed + /// + [JsonPropertyName("Destroyed")] + Destroyed, + /// + /// LowEndDevice + /// + [JsonPropertyName("LowEndDevice")] + LowEndDevice, + /// + /// InvalidSchemeRedirect + /// + [JsonPropertyName("InvalidSchemeRedirect")] + InvalidSchemeRedirect, + /// + /// InvalidSchemeNavigation + /// + [JsonPropertyName("InvalidSchemeNavigation")] + InvalidSchemeNavigation, + /// + /// InProgressNavigation + /// + [JsonPropertyName("InProgressNavigation")] + InProgressNavigation, + /// + /// NavigationRequestBlockedByCsp + /// + [JsonPropertyName("NavigationRequestBlockedByCsp")] + NavigationRequestBlockedByCsp, + /// + /// MainFrameNavigation + /// + [JsonPropertyName("MainFrameNavigation")] + MainFrameNavigation, + /// + /// MojoBinderPolicy + /// + [JsonPropertyName("MojoBinderPolicy")] + MojoBinderPolicy, + /// + /// RendererProcessCrashed + /// + [JsonPropertyName("RendererProcessCrashed")] + RendererProcessCrashed, + /// + /// RendererProcessKilled + /// + [JsonPropertyName("RendererProcessKilled")] + RendererProcessKilled, + /// + /// Download + /// + [JsonPropertyName("Download")] + Download, + /// + /// TriggerDestroyed + /// + [JsonPropertyName("TriggerDestroyed")] + TriggerDestroyed, + /// + /// NavigationNotCommitted + /// + [JsonPropertyName("NavigationNotCommitted")] + NavigationNotCommitted, + /// + /// NavigationBadHttpStatus + /// + [JsonPropertyName("NavigationBadHttpStatus")] + NavigationBadHttpStatus, + /// + /// ClientCertRequested + /// + [JsonPropertyName("ClientCertRequested")] + ClientCertRequested, + /// + /// NavigationRequestNetworkError + /// + [JsonPropertyName("NavigationRequestNetworkError")] + NavigationRequestNetworkError, + /// + /// MaxNumOfRunningPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningPrerendersExceeded")] + MaxNumOfRunningPrerendersExceeded, + /// + /// CancelAllHostsForTesting + /// + [JsonPropertyName("CancelAllHostsForTesting")] + CancelAllHostsForTesting, + /// + /// DidFailLoad + /// + [JsonPropertyName("DidFailLoad")] + DidFailLoad, + /// + /// Stop + /// + [JsonPropertyName("Stop")] + Stop, + /// + /// SslCertificateError + /// + [JsonPropertyName("SslCertificateError")] + SslCertificateError, + /// + /// LoginAuthRequested + /// + [JsonPropertyName("LoginAuthRequested")] + LoginAuthRequested, + /// + /// UaChangeRequiresReload + /// + [JsonPropertyName("UaChangeRequiresReload")] + UaChangeRequiresReload, + /// + /// BlockedByClient + /// + [JsonPropertyName("BlockedByClient")] + BlockedByClient, + /// + /// AudioOutputDeviceRequested + /// + [JsonPropertyName("AudioOutputDeviceRequested")] + AudioOutputDeviceRequested, + /// + /// MixedContent + /// + [JsonPropertyName("MixedContent")] + MixedContent, + /// + /// TriggerBackgrounded + /// + [JsonPropertyName("TriggerBackgrounded")] + TriggerBackgrounded, + /// + /// EmbedderTriggeredAndCrossOriginRedirected + /// + [JsonPropertyName("EmbedderTriggeredAndCrossOriginRedirected")] + EmbedderTriggeredAndCrossOriginRedirected, + /// + /// MemoryLimitExceeded + /// + [JsonPropertyName("MemoryLimitExceeded")] + MemoryLimitExceeded, + /// + /// FailToGetMemoryUsage + /// + [JsonPropertyName("FailToGetMemoryUsage")] + FailToGetMemoryUsage, + /// + /// DataSaverEnabled + /// + [JsonPropertyName("DataSaverEnabled")] + DataSaverEnabled, + /// + /// HasEffectiveUrl + /// + [JsonPropertyName("HasEffectiveUrl")] + HasEffectiveUrl, + /// + /// ActivatedBeforeStarted + /// + [JsonPropertyName("ActivatedBeforeStarted")] + ActivatedBeforeStarted, + /// + /// InactivePageRestriction + /// + [JsonPropertyName("InactivePageRestriction")] + InactivePageRestriction, + /// + /// StartFailed + /// + [JsonPropertyName("StartFailed")] + StartFailed, + /// + /// TimeoutBackgrounded + /// + [JsonPropertyName("TimeoutBackgrounded")] + TimeoutBackgrounded, + /// + /// CrossSiteRedirectInInitialNavigation + /// + [JsonPropertyName("CrossSiteRedirectInInitialNavigation")] + CrossSiteRedirectInInitialNavigation, + /// + /// CrossSiteNavigationInInitialNavigation + /// + [JsonPropertyName("CrossSiteNavigationInInitialNavigation")] + CrossSiteNavigationInInitialNavigation, + /// + /// SameSiteCrossOriginRedirectNotOptInInInitialNavigation + /// + [JsonPropertyName("SameSiteCrossOriginRedirectNotOptInInInitialNavigation")] + SameSiteCrossOriginRedirectNotOptInInInitialNavigation, + /// + /// SameSiteCrossOriginNavigationNotOptInInInitialNavigation + /// + [JsonPropertyName("SameSiteCrossOriginNavigationNotOptInInInitialNavigation")] + SameSiteCrossOriginNavigationNotOptInInInitialNavigation, + /// + /// ActivationNavigationParameterMismatch + /// + [JsonPropertyName("ActivationNavigationParameterMismatch")] + ActivationNavigationParameterMismatch, + /// + /// ActivatedInBackground + /// + [JsonPropertyName("ActivatedInBackground")] + ActivatedInBackground, + /// + /// EmbedderHostDisallowed + /// + [JsonPropertyName("EmbedderHostDisallowed")] + EmbedderHostDisallowed, + /// + /// ActivationNavigationDestroyedBeforeSuccess + /// + [JsonPropertyName("ActivationNavigationDestroyedBeforeSuccess")] + ActivationNavigationDestroyedBeforeSuccess, + /// + /// TabClosedByUserGesture + /// + [JsonPropertyName("TabClosedByUserGesture")] + TabClosedByUserGesture, + /// + /// TabClosedWithoutUserGesture + /// + [JsonPropertyName("TabClosedWithoutUserGesture")] + TabClosedWithoutUserGesture, + /// + /// PrimaryMainFrameRendererProcessCrashed + /// + [JsonPropertyName("PrimaryMainFrameRendererProcessCrashed")] + PrimaryMainFrameRendererProcessCrashed, + /// + /// PrimaryMainFrameRendererProcessKilled + /// + [JsonPropertyName("PrimaryMainFrameRendererProcessKilled")] + PrimaryMainFrameRendererProcessKilled, + /// + /// ActivationFramePolicyNotCompatible + /// + [JsonPropertyName("ActivationFramePolicyNotCompatible")] + ActivationFramePolicyNotCompatible, + /// + /// PreloadingDisabled + /// + [JsonPropertyName("PreloadingDisabled")] + PreloadingDisabled, + /// + /// BatterySaverEnabled + /// + [JsonPropertyName("BatterySaverEnabled")] + BatterySaverEnabled, + /// + /// ActivatedDuringMainFrameNavigation + /// + [JsonPropertyName("ActivatedDuringMainFrameNavigation")] + ActivatedDuringMainFrameNavigation, + /// + /// PreloadingUnsupportedByWebContents + /// + [JsonPropertyName("PreloadingUnsupportedByWebContents")] + PreloadingUnsupportedByWebContents, + /// + /// CrossSiteRedirectInMainFrameNavigation + /// + [JsonPropertyName("CrossSiteRedirectInMainFrameNavigation")] + CrossSiteRedirectInMainFrameNavigation, + /// + /// CrossSiteNavigationInMainFrameNavigation + /// + [JsonPropertyName("CrossSiteNavigationInMainFrameNavigation")] + CrossSiteNavigationInMainFrameNavigation, + /// + /// SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation + /// + [JsonPropertyName("SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation")] + SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation, + /// + /// SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + /// + [JsonPropertyName("SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation")] + SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + } + + /// + /// Preloading status values, see also PreloadingTriggeringOutcome. This + /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. + /// + public enum PreloadingStatus + { + /// + /// Pending + /// + [JsonPropertyName("Pending")] + Pending, + /// + /// Running + /// + [JsonPropertyName("Running")] + Running, + /// + /// Ready + /// + [JsonPropertyName("Ready")] + Ready, + /// + /// Success + /// + [JsonPropertyName("Success")] + Success, + /// + /// Failure + /// + [JsonPropertyName("Failure")] + Failure, + /// + /// NotSupported + /// + [JsonPropertyName("NotSupported")] + NotSupported + } + + /// + /// Upsert. Currently, it is only emitted when a rule set added. /// - public partial class PlayerErrorSourceLocation : CefSharp.DevTools.DevToolsDomainEntityBase + public class RuleSetUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// File + /// RuleSet /// - [JsonPropertyName("file")] + [JsonInclude] + [JsonPropertyName("ruleSet")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string File + public CefSharp.DevTools.Preload.RuleSet RuleSet { get; - set; + private set; } + } + /// + /// ruleSetRemoved + /// + public class RuleSetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { /// - /// Line + /// Id /// - [JsonPropertyName("line")] - public int Line + [JsonInclude] + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id { get; - set; + private set; } } /// - /// Corresponds to kMediaError + /// Fired when a prerender attempt is completed. /// - public partial class PlayerError : CefSharp.DevTools.DevToolsDomainEntityBase + public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// ErrorType + /// Key /// - [JsonPropertyName("errorType")] + [JsonInclude] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string ErrorType + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key { get; - set; + private set; } /// - /// Code is the numeric enum entry for a specific set of error codes, such - /// as PipelineStatusCodes in media/base/pipeline_status.h + /// The frame id of the frame initiating prerendering. /// - [JsonPropertyName("code")] - public int Code + [JsonInclude] + [JsonPropertyName("initiatingFrameId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string InitiatingFrameId { get; - set; + private set; } /// - /// A trace of where this error was caused / where it passed through. + /// PrerenderingUrl /// - [JsonPropertyName("stack")] + [JsonInclude] + [JsonPropertyName("prerenderingUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Stack + public string PrerenderingUrl { get; - set; + private set; } /// - /// Errors potentially have a root cause error, ie, a DecoderError might be - /// caused by an WindowsError + /// FinalStatus /// - [JsonPropertyName("cause")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Cause + [JsonInclude] + [JsonPropertyName("finalStatus")] + public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus { get; - set; + private set; } /// - /// Extra data attached to an error, such as an HRESULT, Video Codec, etc. + /// This is used to give users more information about the name of the API call + /// that is incompatible with prerender and has caused the cancellation of the attempt /// - [JsonPropertyName("data")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public object Data + [JsonInclude] + [JsonPropertyName("disallowedApiMethod")] + public string DisallowedApiMethod { get; - set; + private set; } } /// - /// This can be called multiple times, and can be used to set / override / - /// remove player properties. A null propValue indicates removal. + /// Fired when a prefetch attempt is updated. /// - public class PlayerPropertiesChangedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + public class PrefetchStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// PlayerId + /// Key /// [JsonInclude] - [JsonPropertyName("playerId")] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PlayerId + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key { get; private set; } /// - /// Properties + /// The frame id of the frame initiating prefetch. /// [JsonInclude] - [JsonPropertyName("properties")] + [JsonPropertyName("initiatingFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Properties + public string InitiatingFrameId { get; private set; } - } - /// - /// Send events as a list, allowing them to be batched on the browser for less - /// congestion. If batched, events must ALWAYS be in chronological order. - /// - public class PlayerEventsAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { /// - /// PlayerId + /// PrefetchUrl /// [JsonInclude] - [JsonPropertyName("playerId")] + [JsonPropertyName("prefetchUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PlayerId + public string PrefetchUrl { get; private set; } /// - /// Events + /// Status /// [JsonInclude] - [JsonPropertyName("events")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Events + [JsonPropertyName("status")] + public CefSharp.DevTools.Preload.PreloadingStatus Status { get; private set; @@ -26006,59 +26570,52 @@ public System.Collections.Generic.IList Eve } /// - /// Send a list of any messages that need to be delivered. + /// Fired when a prerender attempt is updated. /// - public class PlayerMessagesLoggedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + public class PrerenderStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// PlayerId + /// Key /// [JsonInclude] - [JsonPropertyName("playerId")] + [JsonPropertyName("key")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PlayerId + public CefSharp.DevTools.Preload.PreloadingAttemptKey Key { get; private set; } /// - /// Messages + /// The frame id of the frame initiating prerender. /// [JsonInclude] - [JsonPropertyName("messages")] + [JsonPropertyName("initiatingFrameId")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Messages + public string InitiatingFrameId { get; private set; } - } - /// - /// Send a list of any errors that need to be delivered. - /// - public class PlayerErrorsRaisedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { /// - /// PlayerId + /// PrerenderingUrl /// [JsonInclude] - [JsonPropertyName("playerId")] + [JsonPropertyName("prerenderingUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PlayerId + public string PrerenderingUrl { get; private set; } /// - /// Errors + /// Status /// [JsonInclude] - [JsonPropertyName("errors")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Errors + [JsonPropertyName("status")] + public CefSharp.DevTools.Preload.PreloadingStatus Status { get; private set; @@ -26066,19 +26623,29 @@ public System.Collections.Generic.IList Err } /// - /// Called whenever a player is created, or when a new agent joins and receives - /// a list of active players. If an agent is restored, it will receive the full - /// list of player ids and all events again. + /// Send a list of sources for all preloading attempts in a document. /// - public class PlayersCreatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + public class PreloadingAttemptSourcesUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// Players + /// LoaderId /// [JsonInclude] - [JsonPropertyName("players")] + [JsonPropertyName("loaderId")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string[] Players + public string LoaderId + { + get; + private set; + } + + /// + /// PreloadingAttemptSources + /// + [JsonInclude] + [JsonPropertyName("preloadingAttemptSources")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList PreloadingAttemptSources { get; private set; @@ -26086,26 +26653,55 @@ public string[] Players } } -namespace CefSharp.DevTools.DeviceAccess +namespace CefSharp.DevTools.FedCm { /// - /// Device information displayed in a user prompt to select a device. + /// Whether this is a sign-up or sign-in action for this account, i.e. + /// whether this account has ever been used to sign in to this RP before. /// - public partial class PromptDevice : CefSharp.DevTools.DevToolsDomainEntityBase + public enum LoginState { /// - /// Id + /// SignIn /// - [JsonPropertyName("id")] + [JsonPropertyName("SignIn")] + SignIn, + /// + /// SignUp + /// + [JsonPropertyName("SignUp")] + SignUp + } + + /// + /// Corresponds to IdentityRequestAccount + /// + public partial class Account : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// AccountId + /// + [JsonPropertyName("accountId")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Id + public string AccountId { get; set; } /// - /// Display name as it appears in a device request user prompt. + /// Email + /// + [JsonPropertyName("email")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Email + { + get; + set; + } + + /// + /// Name /// [JsonPropertyName("name")] [System.Diagnostics.CodeAnalysis.DisallowNull] @@ -26114,81 +26710,76 @@ public string Name get; set; } - } - /// - /// A device request opened a user prompt to select a device. Respond with the - /// selectPrompt or cancelPrompt command. - /// - public class DeviceRequestPromptedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { /// - /// Id + /// GivenName /// - [JsonInclude] - [JsonPropertyName("id")] + [JsonPropertyName("givenName")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Id + public string GivenName { get; - private set; + set; } /// - /// Devices + /// PictureUrl /// - [JsonInclude] - [JsonPropertyName("devices")] + [JsonPropertyName("pictureUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Devices + public string PictureUrl { get; - private set; + set; } - } -} -namespace CefSharp.DevTools.Preload -{ - /// - /// Corresponds to SpeculationRuleSet - /// - public partial class RuleSet : CefSharp.DevTools.DevToolsDomainEntityBase - { /// - /// Id + /// IdpConfigUrl /// - [JsonPropertyName("id")] + [JsonPropertyName("idpConfigUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Id + public string IdpConfigUrl { get; set; } /// - /// Identifies a document which the rule set is associated with. + /// IdpSigninUrl /// - [JsonPropertyName("loaderId")] + [JsonPropertyName("idpSigninUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string LoaderId + public string IdpSigninUrl { get; set; } /// - /// Source text of JSON representing the rule set. If it comes from - /// <script> tag, it is the textContent of the node. Note that it is - /// a JSON for valid case. - /// - /// See also: - /// - https://wicg.github.io/nav-speculation/speculation-rules.html - /// - https://github.com/WICG/nav-speculation/blob/main/triggers.md + /// LoginState /// - [JsonPropertyName("sourceText")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string SourceText + [JsonPropertyName("loginState")] + public CefSharp.DevTools.FedCm.LoginState LoginState + { + get; + set; + } + + /// + /// These two are only set if the loginState is signUp + /// + [JsonPropertyName("termsOfServiceUrl")] + public string TermsOfServiceUrl + { + get; + set; + } + + /// + /// PrivacyPolicyUrl + /// + [JsonPropertyName("privacyPolicyUrl")] + public string PrivacyPolicyUrl { get; set; @@ -26196,35 +26787,53 @@ public string SourceText } /// - /// Upsert. Currently, it is only emitted when a rule set added. + /// dialogShown /// - public class RuleSetUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + public class DialogShownEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// RuleSet + /// DialogId /// [JsonInclude] - [JsonPropertyName("ruleSet")] + [JsonPropertyName("dialogId")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public CefSharp.DevTools.Preload.RuleSet RuleSet + public string DialogId { get; private set; } - } - /// - /// ruleSetRemoved - /// - public class RuleSetRemovedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { /// - /// Id + /// Accounts /// [JsonInclude] - [JsonPropertyName("id")] + [JsonPropertyName("accounts")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Id + public System.Collections.Generic.IList Accounts + { + get; + private set; + } + + /// + /// These exist primarily so that the caller can verify the + /// RP context was used appropriately. + /// + [JsonInclude] + [JsonPropertyName("title")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Title + { + get; + private set; + } + + /// + /// Subtitle + /// + [JsonInclude] + [JsonPropertyName("subtitle")] + public string Subtitle { get; private set; @@ -40699,56 +41308,6 @@ public event System.EventHandler BackForwardCa } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Page.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Page.prerenderAttemptCompleted", value); - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prefetch attempt is updated. - /// - public event System.EventHandler PrefetchStatusUpdated - { - add - { - _client.AddEventHandler("Page.prefetchStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("Page.prefetchStatusUpdated", value); - } - } - - /// - /// TODO(crbug/1384419): Create a dedicated domain for preloading. - /// Fired when a prerender attempt is updated. - /// - public event System.EventHandler PrerenderStatusUpdated - { - add - { - _client.AddEventHandler("Page.prerenderStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("Page.prerenderStatusUpdated", value); - } - } - /// /// LoadEventFired /// @@ -42503,6 +43062,38 @@ public event System.EventHandler SharedStorageAc } } + /// + /// StorageBucketCreatedOrUpdated + /// + public event System.EventHandler StorageBucketCreatedOrUpdated + { + add + { + _client.AddEventHandler("Storage.storageBucketCreatedOrUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Storage.storageBucketCreatedOrUpdated", value); + } + } + + /// + /// StorageBucketDeleted + /// + public event System.EventHandler StorageBucketDeleted + { + add + { + _client.AddEventHandler("Storage.storageBucketDeleted", value); + } + + remove + { + _client.RemoveEventHandler("Storage.storageBucketDeleted", value); + } + } + partial void ValidateGetStorageKeyForFrame(string frameId); /// /// Returns a storage key given a frame id. @@ -42916,6 +43507,38 @@ public System.Threading.Tasks.Task SetSharedStorageTrack dict.Add("enable", enable); return _client.ExecuteDevToolsMethodAsync("Storage.setSharedStorageTracking", dict); } + + partial void ValidateSetStorageBucketTracking(string storageKey, bool enable); + /// + /// Set tracking for a storage key's buckets. + /// + /// storageKey + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetStorageBucketTrackingAsync(string storageKey, bool enable) + { + ValidateSetStorageBucketTracking(storageKey, enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setStorageBucketTracking", dict); + } + + partial void ValidateDeleteStorageBucket(string storageKey, string bucketName); + /// + /// Deletes the Storage Bucket with the given storage key and bucket name. + /// + /// storageKey + /// bucketName + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DeleteStorageBucketAsync(string storageKey, string bucketName) + { + ValidateDeleteStorageBucket(storageKey, bucketName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + dict.Add("bucketName", bucketName); + return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); + } } } @@ -45254,6 +45877,70 @@ public event System.EventHandler RuleSetRemoved } } + /// + /// Fired when a prerender attempt is completed. + /// + public event System.EventHandler PrerenderAttemptCompleted + { + add + { + _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); + } + } + + /// + /// Fired when a prefetch attempt is updated. + /// + public event System.EventHandler PrefetchStatusUpdated + { + add + { + _client.AddEventHandler("Preload.prefetchStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prefetchStatusUpdated", value); + } + } + + /// + /// Fired when a prerender attempt is updated. + /// + public event System.EventHandler PrerenderStatusUpdated + { + add + { + _client.AddEventHandler("Preload.prerenderStatusUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.prerenderStatusUpdated", value); + } + } + + /// + /// Send a list of sources for all preloading attempts in a document. + /// + public event System.EventHandler PreloadingAttemptSourcesUpdated + { + add + { + _client.AddEventHandler("Preload.preloadingAttemptSourcesUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.preloadingAttemptSourcesUpdated", value); + } + } + /// /// Enable /// @@ -45276,6 +45963,118 @@ public System.Threading.Tasks.Task DisableAsync() } } +namespace CefSharp.DevTools.FedCm +{ + using System.Linq; + + /// + /// This domain allows interacting with the FedCM dialog. + /// + public partial class FedCmClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// FedCm + /// + /// DevToolsClient + public FedCmClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + /// + /// DialogShown + /// + public event System.EventHandler DialogShown + { + add + { + _client.AddEventHandler("FedCm.dialogShown", value); + } + + remove + { + _client.RemoveEventHandler("FedCm.dialogShown", value); + } + } + + partial void ValidateEnable(bool? disableRejectionDelay = null); + /// + /// Enable + /// + /// Allows callers to disable the promise rejection delay that wouldnormally happen, if this is unimportant to what's being tested.(step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in) + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync(bool? disableRejectionDelay = null) + { + ValidateEnable(disableRejectionDelay); + var dict = new System.Collections.Generic.Dictionary(); + if (disableRejectionDelay.HasValue) + { + dict.Add("disableRejectionDelay", disableRejectionDelay.Value); + } + + return _client.ExecuteDevToolsMethodAsync("FedCm.enable", dict); + } + + /// + /// Disable + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("FedCm.disable", dict); + } + + partial void ValidateSelectAccount(string dialogId, int accountIndex); + /// + /// SelectAccount + /// + /// dialogId + /// accountIndex + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SelectAccountAsync(string dialogId, int accountIndex) + { + ValidateSelectAccount(dialogId, accountIndex); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + dict.Add("accountIndex", accountIndex); + return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); + } + + partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); + /// + /// DismissDialog + /// + /// dialogId + /// triggerCooldown + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DismissDialogAsync(string dialogId, bool? triggerCooldown = null) + { + ValidateDismissDialog(dialogId, triggerCooldown); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + if (triggerCooldown.HasValue) + { + dict.Add("triggerCooldown", triggerCooldown.Value); + } + + return _client.ExecuteDevToolsMethodAsync("FedCm.dismissDialog", dict); + } + + /// + /// Resets the cooldown time, if any, to allow the next FedCM call to show + /// a dialog even if one was recently dismissed by the user. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ResetCooldownAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("FedCm.resetCooldown", dict); + } + } +} + namespace CefSharp.DevTools.Debugger { /// @@ -48978,6 +49777,23 @@ public CefSharp.DevTools.Preload.PreloadClient Preload } } + private CefSharp.DevTools.FedCm.FedCmClient _FedCm; + /// + /// This domain allows interacting with the FedCM dialog. + /// + public CefSharp.DevTools.FedCm.FedCmClient FedCm + { + get + { + if ((_FedCm) == (null)) + { + _FedCm = (new CefSharp.DevTools.FedCm.FedCmClient(this)); + } + + return _FedCm; + } + } + private CefSharp.DevTools.Debugger.DebuggerClient _Debugger; /// /// Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing From 026288439f60b7f1624b326aba899a1eefcadbd8 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 7 May 2023 05:52:28 +1000 Subject: [PATCH 067/275] Core - Update CefErrorCode (113.0.5672.63) --- CefSharp/Enums/CefErrorCode.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/CefSharp/Enums/CefErrorCode.cs b/CefSharp/Enums/CefErrorCode.cs index 1aa23348d4..bd4ea2a15e 100644 --- a/CefSharp/Enums/CefErrorCode.cs +++ b/CefSharp/Enums/CefErrorCode.cs @@ -151,12 +151,7 @@ public enum CefErrorCode /// SocketIsConnected = -23, - /// - /// The request was blocked because the forced reenrollment check is still - /// pending. This error can only occur on ChromeOS. - /// The error can be emitted by code in chrome/browser/policy/policy_helpers.cc. - /// - BlockedEnrollmentCheckPending = -24, + // Error -24 was removed (BLOCKED_ENROLLMENT_CHECK_PENDING) /// /// The upload failed because the upload stream needed to be re-read, due to a @@ -1196,10 +1191,10 @@ public enum CefErrorCode InconsistentIpAddressSpace = -383, /// - /// The IP address space of the cached remote endpoint is blocked by private + /// The IP address space of the cached remote endpoint is blocked by local /// network access check. /// - CachedIpAddressSpaceBlockedByPrivateNetworkAccessPolicy = -384, + CachedIpAddressSpaceBlockedByLocalNetworkAccessPolicy = -384, /// /// The cache does not have the requested entry. @@ -1512,6 +1507,6 @@ public enum CefErrorCode /// The hostname resolution of HTTPS record was expected to be resolved with /// alpn values of supported protocols, but did not. /// - DnsNoMachingSupportedAlpn = -811, + DnsNoMatchingSupportedAlpn = -811, }; } From e171feecb23df6ea5b02f883f9ff1ffaee88ac04 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 7 May 2023 06:02:00 +1000 Subject: [PATCH 068/275] Update README.md as M113 release imminent --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 46a081f39e..019c95fa06 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,8 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| | [master](https://github.com/cefsharp/CefSharp/) | 5615 | 2019* | 4.5.2** | Development | -| [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | **Release** | +| [cefsharp/113](https://github.com/cefsharp/CefSharp/tree/cefsharp/113)| 5615 | 2019* | 4.5.2** | **Release** | +| [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | Unsupported | | [cefsharp/111](https://github.com/cefsharp/CefSharp/tree/cefsharp/111)| 5563 | 2019* | 4.5.2** | Unsupported | | [cefsharp/110](https://github.com/cefsharp/CefSharp/tree/cefsharp/110)| 5481 | 2019* | 4.5.2** | Unsupported | | [cefsharp/109](https://github.com/cefsharp/CefSharp/tree/cefsharp/109)| 5414 | 2019* | 4.5.2** | Unsupported | From 252105271f11c0402d1f283cb09f04907a510c27 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 8 Jun 2023 19:53:16 +1000 Subject: [PATCH 069/275] Upgrade to 114.2.10+g398e3c3+chromium-114.0.5735.110 / Chromium 114.0.5735.110 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 8abc572dfe..336d3cdb25 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index b39248db13..f36309c269 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 29ee7f7507..5a32ae91ec 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 113,1,10 - PRODUCTVERSION 113,1,10 + FILEVERSION 114,2,100 + PRODUCTVERSION 114,2,100 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "113.1.10" + VALUE "FileVersion", "114.2.100" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "113.1.10" + VALUE "ProductVersion", "114.2.100" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 2d1c7c9bb1..c0e7a040d7 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 884266935b..bc500a55d4 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index dd5adc3645..cbdd163800 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 8bab14e412..b8afbac7e6 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index b3d98c2642..535fc76a14 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 19178d3cab..6d10c45a7c 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 113,1,10 - PRODUCTVERSION 113,1,10 + FILEVERSION 114,2,100 + PRODUCTVERSION 114,2,100 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "113.1.10" + VALUE "FileVersion", "114.2.100" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "113.1.10" + VALUE "ProductVersion", "114.2.100" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 2d1c7c9bb1..c0e7a040d7 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 884266935b..bc500a55d4 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index baff362d37..69e685bd20 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index d46252b414..36a278569f 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index d41c5cc253..5b207ec480 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index a9552e18f4..1ae7b3c249 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index f148f07a8c..c3ebdcce3f 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 90358e9473..08e53fd8ad 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 03fc0f1a1a..9eb6147dff 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 787b81a62a..f0f283e410 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index b68d42b9ef..15e8a3fd81 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 265500b8c4..48194df2f6 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 920ea2a939..cd7c7a7979 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 230c83b75a..915008613a 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 113.1.10 + 114.2.100 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 113.1.10 + Version 114.2.100 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 23772ce3b7..311a62f25e 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "113.1.10"; - public const string AssemblyFileVersion = "113.1.10.0"; + public const string AssemblyVersion = "114.2.100"; + public const string AssemblyFileVersion = "114.2.100.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index a49f8f7483..d4a1a4d03f 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 30f740ac3c..e9767a225e 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 127ac48596..e863603232 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index aaadb39a04..5c36d12166 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "113.1.1", + [string] $CefVersion = "114.2.10", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 19288301ce..06d8216e76 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 113.1.10-CI{build} +version: 114.2.100-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 5899c2d033..226e8c8903 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "113.1.10", + [string] $Version = "114.2.100", [Parameter(Position = 2)] - [string] $AssemblyVersion = "113.1.10", + [string] $AssemblyVersion = "114.2.100", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 1def8a7937dce48e6f6264ae147cd63bdfd8c598 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 10 Jun 2023 07:33:20 +1000 Subject: [PATCH 070/275] Upgrade to .Net 4.6.2 (#4482) * Upgrade minimum .Net version to 4.6.2 #4433 * Use TaskCreationOptions.RunContinuationsAsynchronously - Now that min version is .Net 4.6.2 we can use RunContinuationsAsynchronously - Remove some unused code --- .../CefSharp.BrowserSubprocess.Core.vcxproj | 6 +- .../CefSharp.BrowserSubprocess.csproj | 2 +- CefSharp.BrowserSubprocess/app.config | 2 +- .../CefSharp.Core.Runtime.vcxproj | 6 +- .../Internals/CefBrowserHostWrapper.cpp | 5 +- .../Internals/ClientAdapter.cpp | 2 +- CefSharp.Core/CefSharp.Core.csproj | 2 +- CefSharp.Core/DevTools/DevToolsClient.cs | 8 +- CefSharp.Core/WebBrowserExtensionsEx.cs | 10 +- CefSharp.OffScreen/CefSharp.OffScreen.csproj | 2 +- CefSharp.OffScreen/ChromiumWebBrowser.cs | 18 ++-- CefSharp.WinForms/CefSharp.WinForms.csproj | 2 +- CefSharp.Wpf/CefSharp.Wpf.csproj | 2 +- CefSharp.Wpf/ChromiumWebBrowser.cs | 6 -- CefSharp/Callback/TaskCompletionCallback.cs | 10 +- .../Callback/TaskDeleteCookiesCallback.cs | 9 +- CefSharp/Callback/TaskPrintToPdfCallback.cs | 9 +- CefSharp/Callback/TaskResolveCallback.cs | 9 +- CefSharp/Callback/TaskSetCookieCallback.cs | 9 +- CefSharp/CefSharp.csproj | 2 +- .../Partial/ChromiumWebBrowser.Partial.cs | 6 +- CefSharp/Internals/PendingTaskRepository.cs | 4 +- CefSharp/Internals/TaskExtensions.cs | 102 ------------------ .../JavascriptBindingExtensions.cs | 6 +- CefSharp/Visitor/TaskCookieVisitor.cs | 9 +- .../Visitor/TaskNavigationEntryVisitor.cs | 5 +- CefSharp/Visitor/TaskStringVisitor.cs | 4 +- CefSharp/WebBrowserExtensions.cs | 12 +-- NuGet/CefSharp.Common.nuspec | 18 ++-- NuGet/CefSharp.Common.props | 4 +- NuGet/CefSharp.Common.targets | 6 +- NuGet/CefSharp.OffScreen.nuspec | 11 +- NuGet/CefSharp.WinForms.nuspec | 11 +- NuGet/CefSharp.Wpf.nuspec | 11 +- NuGet/Readme.txt | 4 +- README.md | 2 +- 36 files changed, 96 insertions(+), 240 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index f36309c269..c041017870 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,4 +1,4 @@ - + @@ -26,7 +26,7 @@ {6C4BB501-2F8E-48AC-9AB5-8CFB2D74185C} ManagedCProj CefSharpBrowserSubprocessCore - v4.5.2 + v4.6.2 10.0 @@ -261,4 +261,4 @@ - \ No newline at end of file + diff --git a/CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.csproj b/CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.csproj index 30ba63279c..03728ee014 100644 --- a/CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.csproj +++ b/CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.csproj @@ -1,6 +1,6 @@ - net452 + net462 WinExe x86;x64 false diff --git a/CefSharp.BrowserSubprocess/app.config b/CefSharp.BrowserSubprocess/app.config index de82893200..ac5aa757cc 100644 --- a/CefSharp.BrowserSubprocess/app.config +++ b/CefSharp.BrowserSubprocess/app.config @@ -1,3 +1,3 @@ - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 535fc76a14..8e5c031f5d 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,4 +1,4 @@ - + @@ -26,7 +26,7 @@ {7B495581-2271-4F41-9476-ACB86E8C864F} CefSharp ManagedCProj - v4.5.2 + v4.6.2 @@ -368,4 +368,4 @@ - \ No newline at end of file + diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp b/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp index 143f278c37..c85427d4fb 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp +++ b/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp @@ -134,10 +134,7 @@ Task^ CefBrowserHostWrapper::GetZoomLevelAsync() if (CefCurrentlyOn(TID_UI)) { - auto taskSource = gcnew TaskCompletionSource(); - - CefSharp::Internals::TaskExtensions::TrySetResultAsync(taskSource, GetZoomLevelOnUI()); - return taskSource->Task; + return Task::FromResult(GetZoomLevelOnUI()); } return Cef::UIThreadTaskFactory->StartNew(gcnew Func(this, &CefBrowserHostWrapper::GetZoomLevelOnUI)); } diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp index 0cc7c31cf6..a5b9948560 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp @@ -1489,7 +1489,7 @@ namespace CefSharp response->Message = StringUtils::ToClr(argList->GetString(2)); } - CefSharp::Internals::TaskExtensions::TrySetResultAsync(pendingTask, response); + pendingTask->TrySetResult(response); } handled = true; diff --git a/CefSharp.Core/CefSharp.Core.csproj b/CefSharp.Core/CefSharp.Core.csproj index 03f22f3fc4..1f7efab953 100644 --- a/CefSharp.Core/CefSharp.Core.csproj +++ b/CefSharp.Core/CefSharp.Core.csproj @@ -1,6 +1,6 @@ - net452 + net462 Library CefSharp false diff --git a/CefSharp.Core/DevTools/DevToolsClient.cs b/CefSharp.Core/DevTools/DevToolsClient.cs index 805cb82fde..a88fad2145 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.cs @@ -138,7 +138,7 @@ public Task ExecuteDevToolsMethodAsync(string method, IDictionary(); + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); var methodResultContext = new DevToolsMethodResponseContext( type: typeof(T), @@ -332,7 +332,7 @@ void IDevToolsMessageObserver.OnDevToolsMethodResult(IBrowser browser, int messa /// /// Deserialize the JSON stream into a .Net object. /// For .Net Core/.Net 5.0 uses System.Text.Json - /// for .Net 4.5.2 uses System.Runtime.Serialization.Json + /// for .Net 4.6.2 uses System.Runtime.Serialization.Json /// /// Object type /// event Name @@ -359,7 +359,7 @@ private static T DeserializeJsonEvent(string eventName, Stream stream) where /// /// Deserialize the JSON stream into a .Net object. /// For .Net Core/.Net 5.0 uses System.Text.Json - /// for .Net 4.5.2 uses System.Runtime.Serialization.Json + /// for .Net 4.6.2 uses System.Runtime.Serialization.Json /// /// Object type /// JSON stream @@ -372,7 +372,7 @@ private static T DeserializeJson(Stream stream) /// /// Deserialize the JSON stream into a .Net object. /// For .Net Core/.Net 5.0 uses System.Text.Json - /// for .Net 4.5.2 uses System.Runtime.Serialization.Json + /// for .Net 4.6.2 uses System.Runtime.Serialization.Json /// /// Object type /// JSON stream diff --git a/CefSharp.Core/WebBrowserExtensionsEx.cs b/CefSharp.Core/WebBrowserExtensionsEx.cs index 9892ff52a9..537f7cba33 100644 --- a/CefSharp.Core/WebBrowserExtensionsEx.cs +++ b/CefSharp.Core/WebBrowserExtensionsEx.cs @@ -39,13 +39,13 @@ public static Task GetVisibleNavigationEntryAsync(this IChromiu return Task.FromResult(entry); } - var tcs = new TaskCompletionSource(); + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); Cef.UIThreadTaskFactory.StartNew(delegate { var entry = host.GetVisibleNavigationEntry(); - tcs.TrySetResultAsync(entry); + tcs.TrySetResult(entry); }); return tcs.Task; @@ -107,7 +107,7 @@ public static Task DownloadUrlAsync(this IFrame frame, string url) throw new Exception("Frame is invalid, unable to continue."); } - var taskCompletionSource = new TaskCompletionSource(); + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); //Can be created on any valid CEF Thread, here we'll use the CEF UI Thread Cef.UIThreadTaskFactory.StartNew(delegate @@ -129,11 +129,11 @@ public static Task DownloadUrlAsync(this IFrame frame, string url) { if (req.RequestStatus == UrlRequestStatus.Success) { - taskCompletionSource.TrySetResultAsync(memoryStream.ToArray()); + taskCompletionSource.TrySetResult(memoryStream.ToArray()); } else { - taskCompletionSource.TrySetExceptionAsync(new Exception("RequestStatus:" + req.RequestStatus + ";StatusCode:" + req.Response.StatusCode)); + taskCompletionSource.TrySetException(new Exception("RequestStatus:" + req.RequestStatus + ";StatusCode:" + req.Response.StatusCode)); } }) .Build(); diff --git a/CefSharp.OffScreen/CefSharp.OffScreen.csproj b/CefSharp.OffScreen/CefSharp.OffScreen.csproj index 249e94b631..aff0664b74 100644 --- a/CefSharp.OffScreen/CefSharp.OffScreen.csproj +++ b/CefSharp.OffScreen/CefSharp.OffScreen.csproj @@ -1,6 +1,6 @@ - net452;net462 + net462 Library true ..\CefSharp.snk diff --git a/CefSharp.OffScreen/ChromiumWebBrowser.cs b/CefSharp.OffScreen/ChromiumWebBrowser.cs index 1144c64fbf..8d0d17644f 100644 --- a/CefSharp.OffScreen/ChromiumWebBrowser.cs +++ b/CefSharp.OffScreen/ChromiumWebBrowser.cs @@ -389,11 +389,11 @@ public void CreateBrowser(IWindowInfo windowInfo = null, IBrowserSettings browse /// public Task CreateBrowserAsync(IWindowInfo windowInfo = null, IBrowserSettings browserSettings = null) { - var tcs = new TaskCompletionSource(); + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); onAfterBrowserCreatedDelegate += new Action(b => { - tcs.TrySetResultAsync(b); + tcs.TrySetResult(b); }); try @@ -402,7 +402,7 @@ public Task CreateBrowserAsync(IWindowInfo windowInfo = null, IBrowser } catch(Exception ex) { - tcs.TrySetExceptionAsync(ex); + tcs.TrySetException(ex); } return tcs.Task; @@ -520,7 +520,7 @@ public Task ScreenshotAsync(bool ignoreExistingScreenshot = false, Popup // Try our luck and see if there is already a screenshot, to save us creating a new thread for nothing. var screenshot = ScreenshotOrNull(blend); - var completionSource = new TaskCompletionSource(); + var completionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); if (screenshot == null || ignoreExistingScreenshot) { @@ -539,7 +539,7 @@ public Task ScreenshotAsync(bool ignoreExistingScreenshot = false, Popup } else { - completionSource.TrySetResultAsync(ScreenshotOrNull(blend)); + completionSource.TrySetResult(ScreenshotOrNull(blend)); } }; @@ -547,7 +547,7 @@ public Task ScreenshotAsync(bool ignoreExistingScreenshot = false, Popup } else { - completionSource.TrySetResultAsync(screenshot); + completionSource.TrySetResult(screenshot); } return completionSource.Task; @@ -640,7 +640,7 @@ public Task ResizeAsync(int width, int height, float? deviceScaleFactor = null) var scaledWidth = (int)(width * DeviceScaleFactor); var scaledHeight = (int)(height * DeviceScaleFactor); - var tcs = new TaskCompletionSource(); + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); EventHandler handler = null; handler = (s, e) => @@ -649,7 +649,7 @@ public Task ResizeAsync(int width, int height, float? deviceScaleFactor = null) { AfterPaint -= handler; - tcs.TrySetResultAsync(true); + tcs.TrySetResult(true); } }; @@ -692,7 +692,6 @@ public void Load(string url) } } -#if NETCOREAPP || NET462 /// /// Waits for the page rendering to be idle for . /// Rendering is considered to be idle when no events have occured @@ -750,7 +749,6 @@ public async Task WaitForRenderIdleAsync(int idleTimeInMs = 500, TimeSpan? timeo throw; } } -#endif /// /// The javascript object repository, one repository per ChromiumWebBrowser instance. diff --git a/CefSharp.WinForms/CefSharp.WinForms.csproj b/CefSharp.WinForms/CefSharp.WinForms.csproj index 2320898019..93318b0924 100644 --- a/CefSharp.WinForms/CefSharp.WinForms.csproj +++ b/CefSharp.WinForms/CefSharp.WinForms.csproj @@ -1,6 +1,6 @@ - net452;net462 + net462 Library true ..\CefSharp.snk diff --git a/CefSharp.Wpf/CefSharp.Wpf.csproj b/CefSharp.Wpf/CefSharp.Wpf.csproj index ee02dfa5ec..4599b47699 100644 --- a/CefSharp.Wpf/CefSharp.Wpf.csproj +++ b/CefSharp.Wpf/CefSharp.Wpf.csproj @@ -1,6 +1,6 @@ - net452;net462 + net462 Library false true diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs index 16973f9e2f..ea8151c2c7 100644 --- a/CefSharp.Wpf/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf/ChromiumWebBrowser.cs @@ -1776,7 +1776,6 @@ private void PresentationSourceChangedHandler(object sender, SourceChangedEventA } } -#if NETCOREAPP || NET462 /// protected override void OnDpiChanged(DpiScale oldDpi, DpiScale newDpi) { @@ -1784,7 +1783,6 @@ protected override void OnDpiChanged(DpiScale oldDpi, DpiScale newDpi) base.OnDpiChanged(oldDpi, newDpi); } -#endif private void OnWindowStateChanged(object sender, EventArgs e) { @@ -2638,8 +2636,6 @@ private void ZoomReset() /// correspond to 96, 120, 144, 192 DPI (referred to as 100%, 125%, 150%, 200% in the Windows GUI). /// /// new DPI - /// .Net 4.6.2 adds HwndSource.DpiChanged which could be used to automatically - /// handle DPI change, unfortunately we still target .Net 4.5.2 public virtual void NotifyDpiChange(float newDpi) { //Do nothing @@ -2680,7 +2676,6 @@ public virtual void NotifyDpiChange(float newDpi) } } -#if NETCOREAPP || NET462 /// /// Waits for the page rendering to be idle for . /// Rendering is considered to be idle when no events have occured @@ -2738,7 +2733,6 @@ public async Task WaitForRenderIdleAsync(int idleTimeInMs = 500, TimeSpan? timeo throw; } } -#endif /// /// Legacy keyboard handler uses WindowProc callback interceptor to forward keypress events diff --git a/CefSharp/Callback/TaskCompletionCallback.cs b/CefSharp/Callback/TaskCompletionCallback.cs index 56428f4ce7..c930749daf 100644 --- a/CefSharp/Callback/TaskCompletionCallback.cs +++ b/CefSharp/Callback/TaskCompletionCallback.cs @@ -4,7 +4,6 @@ using System; using System.Threading.Tasks; -using CefSharp.Internals; namespace CefSharp { @@ -22,14 +21,14 @@ public sealed class TaskCompletionCallback : ICompletionCallback /// public TaskCompletionCallback() { - taskCompletionSource = new TaskCompletionSource(); + taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); } void ICompletionCallback.OnComplete() { onComplete = true; - taskCompletionSource.TrySetResultAsync(true); + taskCompletionSource.TrySetResult(true); } /// @@ -50,11 +49,10 @@ void IDisposable.Dispose() var task = taskCompletionSource.Task; //If onComplete is false then ICompletionCallback.OnComplete was never called, - //so we'll set the result to false. Calling TrySetResultAsync multiple times - //can result in the issue outlined in https://github.com/cefsharp/CefSharp/pull/2349 + //so we'll set the result to false. if (onComplete == false && task.IsCompleted == false) { - taskCompletionSource.TrySetResultAsync(false); + taskCompletionSource.TrySetResult(false); } isDisposed = true; diff --git a/CefSharp/Callback/TaskDeleteCookiesCallback.cs b/CefSharp/Callback/TaskDeleteCookiesCallback.cs index 13545fdf9a..cc7fc12011 100644 --- a/CefSharp/Callback/TaskDeleteCookiesCallback.cs +++ b/CefSharp/Callback/TaskDeleteCookiesCallback.cs @@ -27,14 +27,14 @@ public class TaskDeleteCookiesCallback : IDeleteCookiesCallback /// public TaskDeleteCookiesCallback() { - taskCompletionSource = new TaskCompletionSource(); + taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); } void IDeleteCookiesCallback.OnComplete(int numDeleted) { onComplete = true; - taskCompletionSource.TrySetResultAsync(numDeleted); + taskCompletionSource.TrySetResult(numDeleted); } /// @@ -54,11 +54,10 @@ void IDisposable.Dispose() var task = taskCompletionSource.Task; //If onComplete is false then IDeleteCookiesCallback.OnComplete was never called, - //so we'll set the result to false. Calling TrySetResultAsync multiple times - //can result in the issue outlined in https://github.com/cefsharp/CefSharp/pull/2349 + //so we'll set the result to false. if (onComplete == false && task.IsCompleted == false) { - taskCompletionSource.TrySetResultAsync(InvalidNoOfCookiesDeleted); + taskCompletionSource.TrySetResult(InvalidNoOfCookiesDeleted); } isDisposed = true; diff --git a/CefSharp/Callback/TaskPrintToPdfCallback.cs b/CefSharp/Callback/TaskPrintToPdfCallback.cs index dcf1d1a5f6..18bc66ac2c 100644 --- a/CefSharp/Callback/TaskPrintToPdfCallback.cs +++ b/CefSharp/Callback/TaskPrintToPdfCallback.cs @@ -13,7 +13,7 @@ namespace CefSharp /// public sealed class TaskPrintToPdfCallback : IPrintToPdfCallback { - private readonly TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); + private readonly TaskCompletionSource taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); private volatile bool isDisposed; private bool onComplete; //Only ever accessed on the same CEF thread, so no need for thread safety @@ -29,7 +29,7 @@ void IPrintToPdfCallback.OnPdfPrintFinished(string path, bool ok) { onComplete = true; - taskCompletionSource.TrySetResultAsync(ok); + taskCompletionSource.TrySetResult(ok); } bool IPrintToPdfCallback.IsDisposed @@ -42,11 +42,10 @@ void IDisposable.Dispose() var task = taskCompletionSource.Task; //If onComplete is false then IPrintToPdfCallback.OnPdfPrintFinished was never called, - //so we'll set the result to false. Calling TrySetResultAsync multiple times - //can result in the issue outlined in https://github.com/cefsharp/CefSharp/pull/2349 + //so we'll set the result to false. if (onComplete == false && task.IsCompleted == false) { - taskCompletionSource.TrySetResultAsync(false); + taskCompletionSource.TrySetResult(false); } isDisposed = true; diff --git a/CefSharp/Callback/TaskResolveCallback.cs b/CefSharp/Callback/TaskResolveCallback.cs index 1ea00e2c8c..ccbf0e1467 100644 --- a/CefSharp/Callback/TaskResolveCallback.cs +++ b/CefSharp/Callback/TaskResolveCallback.cs @@ -23,14 +23,14 @@ public sealed class TaskResolveCallback : IResolveCallback /// public TaskResolveCallback() { - taskCompletionSource = new TaskCompletionSource(); + taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); } void IResolveCallback.OnResolveCompleted(CefErrorCode result, IList resolvedIpAddresses) { onComplete = true; - taskCompletionSource.TrySetResultAsync(new ResolveCallbackResult(result, resolvedIpAddresses)); + taskCompletionSource.TrySetResult(new ResolveCallbackResult(result, resolvedIpAddresses)); } bool IResolveCallback.IsDisposed @@ -51,11 +51,10 @@ void IDisposable.Dispose() var task = taskCompletionSource.Task; //If onComplete is false then IResolveCallback.OnResolveCompleted was never called, - //so we'll set the result to false. Calling TrySetResultAsync multiple times - //can result in the issue outlined in https://github.com/cefsharp/CefSharp/pull/2349 + //so we'll set the result to false. if (onComplete == false && task.IsCompleted == false) { - taskCompletionSource.TrySetResultAsync(new ResolveCallbackResult(CefErrorCode.Unexpected, null)); + taskCompletionSource.TrySetResult(new ResolveCallbackResult(CefErrorCode.Unexpected, null)); } isDisposed = true; diff --git a/CefSharp/Callback/TaskSetCookieCallback.cs b/CefSharp/Callback/TaskSetCookieCallback.cs index dffcaaae6d..28126ca502 100644 --- a/CefSharp/Callback/TaskSetCookieCallback.cs +++ b/CefSharp/Callback/TaskSetCookieCallback.cs @@ -22,14 +22,14 @@ public sealed class TaskSetCookieCallback : ISetCookieCallback /// public TaskSetCookieCallback() { - taskCompletionSource = new TaskCompletionSource(); + taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); } void ISetCookieCallback.OnComplete(bool success) { onComplete = true; - taskCompletionSource.TrySetResultAsync(success); + taskCompletionSource.TrySetResult(success); } /// @@ -50,11 +50,10 @@ void IDisposable.Dispose() var task = taskCompletionSource.Task; //If onComplete is false then ISetCookieCallback.OnComplete was never called, - //so we'll set the result to false. Calling TrySetResultAsync multiple times - //can result in the issue outlined in https://github.com/cefsharp/CefSharp/pull/2349 + //so we'll set the result to false. if (onComplete == false && task.IsCompleted == false) { - taskCompletionSource.TrySetResultAsync(false); + taskCompletionSource.TrySetResult(false); } isDisposed = true; diff --git a/CefSharp/CefSharp.csproj b/CefSharp/CefSharp.csproj index 900b025ca2..1d14689dae 100644 --- a/CefSharp/CefSharp.csproj +++ b/CefSharp/CefSharp.csproj @@ -1,6 +1,6 @@ - net452 + net462 Library false true diff --git a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs index 50f4c2d6de..c9c00ef559 100644 --- a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs +++ b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs @@ -51,7 +51,7 @@ public partial class ChromiumWebBrowser /// /// Initial browser load task complection source /// - private TaskCompletionSource initialLoadTaskCompletionSource = new TaskCompletionSource(); + private TaskCompletionSource initialLoadTaskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); /// /// Initial browser load action @@ -458,7 +458,7 @@ private void InitialLoad(bool? isLoading, CefErrorCode? errorCode) statusCode = -1; } - initialLoadTaskCompletionSource.TrySetResultAsync(new LoadUrlAsyncResponse(CefErrorCode.None, statusCode)); + initialLoadTaskCompletionSource.TrySetResult(new LoadUrlAsyncResponse(CefErrorCode.None, statusCode)); } else if (errorCode.HasValue) { @@ -471,7 +471,7 @@ private void InitialLoad(bool? isLoading, CefErrorCode? errorCode) initialLoadAction = null; - initialLoadTaskCompletionSource.TrySetResultAsync(new LoadUrlAsyncResponse(errorCode.Value, -1)); + initialLoadTaskCompletionSource.TrySetResult(new LoadUrlAsyncResponse(errorCode.Value, -1)); } } diff --git a/CefSharp/Internals/PendingTaskRepository.cs b/CefSharp/Internals/PendingTaskRepository.cs index 3dae39c5eb..3a867c9a7a 100644 --- a/CefSharp/Internals/PendingTaskRepository.cs +++ b/CefSharp/Internals/PendingTaskRepository.cs @@ -33,7 +33,7 @@ public sealed class PendingTaskRepository /// The unique id of the newly created pending task and the newly created . public KeyValuePair> CreatePendingTask(TimeSpan? timeout = null) { - var taskCompletionSource = new TaskCompletionSource(); + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); var id = Interlocked.Increment(ref lastId); pendingTasks.TryAdd(id, taskCompletionSource); @@ -54,7 +54,7 @@ public KeyValuePair> CreatePendingTask(TimeS /// The unique id of the newly created pending task and the newly created . public KeyValuePair> CreateJavascriptCallbackPendingTask(long id, TimeSpan? timeout = null) { - var taskCompletionSource = new TaskCompletionSource(); + var taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); callbackPendingTasks.TryAdd(id, taskCompletionSource); diff --git a/CefSharp/Internals/TaskExtensions.cs b/CefSharp/Internals/TaskExtensions.cs index 6b9e830ae2..6b64d0d4d7 100644 --- a/CefSharp/Internals/TaskExtensions.cs +++ b/CefSharp/Internals/TaskExtensions.cs @@ -15,64 +15,6 @@ namespace CefSharp.Internals /// public static class TaskExtensions { - /// Creates a new Task that mirrors the supplied task but that will be canceled after the specified timeout. - /// Specifies the type of data contained in the task. - /// The task. - /// The timeout. - /// The new Task that may time out. - public static Task WithTimeout(this Task task, TimeSpan timeout) - { - var result = new TaskCompletionSource(task.AsyncState); - var timer = new Timer(state => ((TaskCompletionSource)state).TrySetCanceled(), result, timeout, TimeSpan.FromMilliseconds(-1)); - task.ContinueWith(t => - { - timer.Dispose(); - result.TrySetFromTask(t); - }, TaskContinuationOptions.ExecuteSynchronously); - return result.Task; - } - - /// Attempts to transfer the result of a Task to the TaskCompletionSource. - /// Specifies the type of the result. - /// The TaskCompletionSource. - /// The task whose completion results should be transfered. - /// Whether the transfer could be completed. - public static bool TrySetFromTask(this TaskCompletionSource resultSetter, Task task) - { - switch (task.Status) - { - case TaskStatus.RanToCompletion: - return resultSetter.TrySetResult(task is Task ? ((Task)task).Result : default(TResult)); - case TaskStatus.Faulted: - return resultSetter.TrySetException(task.Exception.InnerExceptions); - case TaskStatus.Canceled: - return resultSetter.TrySetCanceled(); - default: - throw new InvalidOperationException("The task was not completed."); - } - } - /// Attempts to transfer the result of a Task to the TaskCompletionSource. - /// Specifies the type of the result. - /// The TaskCompletionSource. - /// The task whose completion results should be transfered. - /// Whether the transfer could be completed. - public static bool TrySetFromTask(this TaskCompletionSource resultSetter, Task task) - { - return TrySetFromTask(resultSetter, (Task)task); - } - - public static Task FromResult(T value) - { - var tcs = new TaskCompletionSource(); - tcs.SetResult(value); - return tcs.Task; - } - - public static TaskCompletionSource WithTimeout(this TaskCompletionSource taskCompletionSource, TimeSpan timeout) - { - return WithTimeout(taskCompletionSource, timeout, null); - } - public static TaskCompletionSource WithTimeout(this TaskCompletionSource taskCompletionSource, TimeSpan timeout, Action cancelled) { Timer timer = null; @@ -91,49 +33,5 @@ public static TaskCompletionSource WithTimeout(this TaskComple return taskCompletionSource; } - - /// - /// Set the TaskCompletionSource in an async fashion. This prevents the Task Continuation being executed sync on the same thread - /// This is required otherwise continuations will happen on CEF UI threads - /// - /// Generic param - /// tcs - /// result - public static void TrySetResultAsync(this TaskCompletionSource taskCompletionSource, TResult result) - { - Task.Factory.StartNew(delegate - { - taskCompletionSource.TrySetResult(result); - }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Calls in an async fashion. This prevents the Task Continuation being executed sync on the same thread - /// This is required otherwise continuations will happen on CEF UI threads - /// - /// Generic param - /// tcs - /// exception - public static void TrySetExceptionAsync(this TaskCompletionSource taskCompletionSource, Exception ex) - { - Task.Factory.StartNew(delegate - { - taskCompletionSource.TrySetException(ex); - }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - /// - /// Calls in an async fashion. This prevents the Task Continuation being executed sync on the same thread - /// This is required otherwise continuations will happen on CEF UI threads - /// - /// Generic param - /// tcs - public static void TrySetCanceledAsync(this TaskCompletionSource taskCompletionSource) - { - Task.Factory.StartNew(delegate - { - taskCompletionSource.TrySetCanceled(); - }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } } } diff --git a/CefSharp/JavascriptBinding/JavascriptBindingExtensions.cs b/CefSharp/JavascriptBinding/JavascriptBindingExtensions.cs index 536a1f48c7..88721922a4 100644 --- a/CefSharp/JavascriptBinding/JavascriptBindingExtensions.cs +++ b/CefSharp/JavascriptBinding/JavascriptBindingExtensions.cs @@ -23,7 +23,7 @@ public static class JavascriptBindingExtensions /// List of objects that were bound public static Task> EnsureObjectBoundAsync(this IWebBrowser browser, params string[] names) { - var objBoundTasks = new TaskCompletionSource>(); + var objBoundTasks = new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); EventHandler handler = null; handler = (sender, args) => @@ -34,11 +34,11 @@ public static Task> EnsureObjectBoundAsync(this IWebBrowser browse var allObjectsBound = names.ToList().SequenceEqual(args.ObjectNames); if (allObjectsBound) { - objBoundTasks.SetResult(args.ObjectNames); + objBoundTasks.TrySetResult(args.ObjectNames); } else { - objBoundTasks.SetException(new Exception("Not all objects were bound successfully, bound objects were " + string.Join(",", args.ObjectNames))); + objBoundTasks.TrySetException(new Exception("Not all objects were bound successfully, bound objects were " + string.Join(",", args.ObjectNames))); } }; diff --git a/CefSharp/Visitor/TaskCookieVisitor.cs b/CefSharp/Visitor/TaskCookieVisitor.cs index f1bd9cb8b8..7ff6881e4e 100644 --- a/CefSharp/Visitor/TaskCookieVisitor.cs +++ b/CefSharp/Visitor/TaskCookieVisitor.cs @@ -5,7 +5,6 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using CefSharp.Internals; namespace CefSharp { @@ -23,7 +22,7 @@ public class TaskCookieVisitor : ICookieVisitor /// public TaskCookieVisitor() { - taskCompletionSource = new TaskCompletionSource>(); + taskCompletionSource = new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); list = new List(); } @@ -34,8 +33,7 @@ bool ICookieVisitor.Visit(Cookie cookie, int count, int total, ref bool deleteCo if (count == (total - 1)) { - //Set the result on the ThreadPool so the Task continuation is not run on the CEF UI Thread - taskCompletionSource.TrySetResultAsync(list); + taskCompletionSource.TrySetResult(list); } return true; @@ -46,8 +44,7 @@ void IDisposable.Dispose() { if (list != null && list.Count == 0) { - //Set the result on the ThreadPool so the Task continuation is not run on the CEF UI Thread - taskCompletionSource.TrySetResultAsync(list); + taskCompletionSource.TrySetResult(list); } list = null; diff --git a/CefSharp/Visitor/TaskNavigationEntryVisitor.cs b/CefSharp/Visitor/TaskNavigationEntryVisitor.cs index c8088b8d35..8c10d2403b 100644 --- a/CefSharp/Visitor/TaskNavigationEntryVisitor.cs +++ b/CefSharp/Visitor/TaskNavigationEntryVisitor.cs @@ -23,7 +23,7 @@ public class TaskNavigationEntryVisitor : INavigationEntryVisitor /// public TaskNavigationEntryVisitor() { - taskCompletionSource = new TaskCompletionSource>(); + taskCompletionSource = new TaskCompletionSource>(TaskCreationOptions.RunContinuationsAsynchronously); list = new List(); } @@ -40,8 +40,7 @@ void IDisposable.Dispose() { if (list != null) { - //Set the result on the ThreadPool so the Task continuation is not run on the CEF UI Thread - taskCompletionSource.TrySetResultAsync(list); + taskCompletionSource.TrySetResult(list); } list = null; diff --git a/CefSharp/Visitor/TaskStringVisitor.cs b/CefSharp/Visitor/TaskStringVisitor.cs index b82e565213..c8a0fc8fc7 100644 --- a/CefSharp/Visitor/TaskStringVisitor.cs +++ b/CefSharp/Visitor/TaskStringVisitor.cs @@ -21,7 +21,7 @@ public class TaskStringVisitor : IStringVisitor /// public TaskStringVisitor() { - taskCompletionSource = new TaskCompletionSource(); + taskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); } /// @@ -30,7 +30,7 @@ public TaskStringVisitor() /// string (result of async execution) void IStringVisitor.Visit(string str) { - taskCompletionSource.TrySetResultAsync(str); + taskCompletionSource.TrySetResult(str); } /// diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs index 4ca10dd4e3..a17bb9a32e 100644 --- a/CefSharp/WebBrowserExtensions.cs +++ b/CefSharp/WebBrowserExtensions.cs @@ -424,7 +424,7 @@ public static Task LoadUrlAsync(IChromiumWebBrowserBase ch throw new ArgumentNullException(nameof(url)); } - var tcs = new TaskCompletionSource(); + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); EventHandler loadErrorHandler = null; EventHandler loadingStateChangeHandler = null; @@ -447,7 +447,7 @@ public static Task LoadUrlAsync(IChromiumWebBrowserBase ch //Ensure our continuation is executed on the ThreadPool //For the .Net Core implementation we could use //TaskCreationOptions.RunContinuationsAsynchronously - tcs.TrySetResultAsync(new LoadUrlAsyncResponse(args.ErrorCode, -1)); + tcs.TrySetResult(new LoadUrlAsyncResponse(args.ErrorCode, -1)); }; loadingStateChangeHandler = (sender, args) => @@ -478,7 +478,7 @@ public static Task LoadUrlAsync(IChromiumWebBrowserBase ch //Ensure our continuation is executed on the ThreadPool //For the .Net Core implementation we could use //TaskCreationOptions.RunContinuationsAsynchronously - tcs.TrySetResultAsync(new LoadUrlAsyncResponse(statusCode == -1 ? CefErrorCode.Failed : CefErrorCode.None, statusCode)); + tcs.TrySetResult(new LoadUrlAsyncResponse(statusCode == -1 ? CefErrorCode.Failed : CefErrorCode.None, statusCode)); } }; @@ -520,7 +520,7 @@ public static async Task WaitForNavigationAsync( { ThrowExceptionIfChromiumWebBrowserDisposed(chromiumWebBrowser); - var tcs = new TaskCompletionSource(); + var tcs = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); EventHandler loadErrorHandler = null; EventHandler loadingStateChangeHandler = null; @@ -543,7 +543,7 @@ public static async Task WaitForNavigationAsync( //Ensure our continuation is executed on the ThreadPool //For the .Net Core implementation we could use //TaskCreationOptions.RunContinuationsAsynchronously - tcs.TrySetResultAsync(new WaitForNavigationAsyncResponse(args.ErrorCode, -1)); + tcs.TrySetResult(new WaitForNavigationAsyncResponse(args.ErrorCode, -1)); }; loadingStateChangeHandler = (sender, args) => @@ -574,7 +574,7 @@ public static async Task WaitForNavigationAsync( //Ensure our continuation is executed on the ThreadPool //For the .Net Core implementation we could use //TaskCreationOptions.RunContinuationsAsynchronously - tcs.TrySetResultAsync(new WaitForNavigationAsyncResponse(statusCode == -1 ? CefErrorCode.Failed : CefErrorCode.None, statusCode)); + tcs.TrySetResult(new WaitForNavigationAsyncResponse(statusCode == -1 ? CefErrorCode.Failed : CefErrorCode.None, statusCode)); } }; diff --git a/NuGet/CefSharp.Common.nuspec b/NuGet/CefSharp.Common.nuspec index de89adceff..80fe0e3c59 100644 --- a/NuGet/CefSharp.Common.nuspec +++ b/NuGet/CefSharp.Common.nuspec @@ -12,21 +12,21 @@ chrome browser Copyright © The CefSharp Authors - + - + - - - - - - + + + + + + - diff --git a/NuGet/CefSharp.Common.props b/NuGet/CefSharp.Common.props index 580605831e..60d131fbb4 100644 --- a/NuGet/CefSharp.Common.props +++ b/NuGet/CefSharp.Common.props @@ -5,9 +5,9 @@ - + - + diff --git a/NuGet/CefSharp.Common.targets b/NuGet/CefSharp.Common.targets index 7347aa7248..203ba21424 100644 --- a/NuGet/CefSharp.Common.targets +++ b/NuGet/CefSharp.Common.targets @@ -397,7 +397,7 @@ - + @@ -408,7 +408,7 @@ - + @@ -427,7 +427,7 @@ $(CefRedist64TargetDir)x64\ - <_CefSharpCommonManagedDll Include="$(MSBuildThisFileDirectory)..\lib\net452\CefSharp.dll" /> + <_CefSharpCommonManagedDll Include="$(MSBuildThisFileDirectory)..\lib\net462\CefSharp.dll" /> <_CefSharpCommonBinaries32 Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\*.*" /> <_CefSharpCommonBinaries64 Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\*.*" /> diff --git a/NuGet/CefSharp.OffScreen.nuspec b/NuGet/CefSharp.OffScreen.nuspec index 4a0c1c3f2d..6854ff636f 100644 --- a/NuGet/CefSharp.OffScreen.nuspec +++ b/NuGet/CefSharp.OffScreen.nuspec @@ -12,10 +12,7 @@ osr chrome browser chromium-embedded cefsharp Copyright © The CefSharp Authors - - - - + @@ -27,11 +24,7 @@ - - - - - + diff --git a/NuGet/CefSharp.WinForms.nuspec b/NuGet/CefSharp.WinForms.nuspec index ee8d068eec..8606d10272 100644 --- a/NuGet/CefSharp.WinForms.nuspec +++ b/NuGet/CefSharp.WinForms.nuspec @@ -12,10 +12,7 @@ winforms chrome browser chromium-embedded cefsharp Copyright © The CefSharp Authors - - - - + @@ -27,11 +24,7 @@ - - - - - + diff --git a/NuGet/CefSharp.Wpf.nuspec b/NuGet/CefSharp.Wpf.nuspec index 22421d581e..dabad3b010 100644 --- a/NuGet/CefSharp.Wpf.nuspec +++ b/NuGet/CefSharp.Wpf.nuspec @@ -12,10 +12,7 @@ wpf chrome browser chromium-embedded cefsharp Copyright © The CefSharp Authors - - - - + @@ -27,11 +24,7 @@ - - - - - + diff --git a/NuGet/Readme.txt b/NuGet/Readme.txt index 3d6c0effa8..e72766a549 100644 --- a/NuGet/Readme.txt +++ b/NuGet/Readme.txt @@ -18,11 +18,11 @@ Deployment: What's New: See https://github.com/cefsharp/CefSharp/releases IMPORTANT NOTE - Visual C++ 2019 or greater is required - IMPORTANT NOTE - .NET Framework 4.5.2 or greater is required. + IMPORTANT NOTE - .NET Framework 4.6.2 or greater is required. IMPORTANT NOTE - Chromium support for Windows 7/8/8.1 ends with version 109, starting with version 110 a minimum of Windows 10 is required. Basic Troubleshooting: - - Minimum of .Net 4.5.2 + - Minimum of .Net 4.6.2 - Minimum of `Visual C++ 2019 Redist` is installed (either `x86` or `x64` depending on your application). - Please ensure your binaries directory contains these required dependencies: * libcef.dll (Chromium Embedded Framework Core library) diff --git a/README.md b/README.md index 019c95fa06..6dc208e105 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| -| [master](https://github.com/cefsharp/CefSharp/) | 5615 | 2019* | 4.5.2** | Development | +| [master](https://github.com/cefsharp/CefSharp/) | 5615 | 2019* | 4.6.2** | Development | | [cefsharp/113](https://github.com/cefsharp/CefSharp/tree/cefsharp/113)| 5615 | 2019* | 4.5.2** | **Release** | | [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | Unsupported | | [cefsharp/111](https://github.com/cefsharp/CefSharp/tree/cefsharp/111)| 5563 | 2019* | 4.5.2** | Unsupported | From b79c7c8f79e73953f7c3d1cbb19800bf93e0573d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 9 Jun 2023 05:48:21 +1000 Subject: [PATCH 071/275] DevTools Client - Update to 114.0.5735.110 --- .../DevTools/DevToolsClient.Generated.cs | 355 +++++++++++++++++- .../DevToolsClient.Generated.netcore.cs | 309 ++++++++++++++- 2 files changed, 628 insertions(+), 36 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 05fbf8505f..e7138c39cb 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 113.0.5672.63 +// CHROMIUM VERSION 114.0.5735.110 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2581,11 +2581,6 @@ public enum AttributionReportingIssueType [EnumMember(Value = ("InvalidEligibleHeader"))] InvalidEligibleHeader, /// - /// TooManyConcurrentRequests - /// - [EnumMember(Value = ("TooManyConcurrentRequests"))] - TooManyConcurrentRequests, - /// /// SourceAndTriggerHeaders /// [EnumMember(Value = ("SourceAndTriggerHeaders"))] @@ -2624,7 +2619,12 @@ public enum AttributionReportingIssueType /// WebAndOsHeaders /// [EnumMember(Value = ("WebAndOsHeaders"))] - WebAndOsHeaders + WebAndOsHeaders, + /// + /// NoWebOrOsSupport + /// + [EnumMember(Value = ("NoWebOrOsSupport"))] + NoWebOrOsSupport } /// @@ -2890,6 +2890,16 @@ public int? ViolatingNodeId get; set; } + + /// + /// ViolatingNodeAttribute + /// + [DataMember(Name = ("violatingNodeAttribute"), IsRequired = (false))] + public string ViolatingNodeAttribute + { + get; + set; + } } /// @@ -2930,6 +2940,27 @@ public string Type } } + /// + /// This issue warns about sites in the redirect chain of a finished navigation + /// that may be flagged as trackers and have their state cleared if they don't + /// receive a user interaction. Note that in this context 'site' means eTLD+1. + /// For example, if the URL `https://example.test:80/bounce` was in the + /// redirect chain, the site reported would be `example.test`. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class BounceTrackingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// TrackingSites + /// + [DataMember(Name = ("trackingSites"), IsRequired = (true))] + public string[] TrackingSites + { + get; + set; + } + } + /// /// ClientHintIssueReason /// @@ -3019,6 +3050,11 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("WellKnownListEmpty"))] WellKnownListEmpty, /// + /// WellKnownInvalidContentType + /// + [EnumMember(Value = ("WellKnownInvalidContentType"))] + WellKnownInvalidContentType, + /// /// ConfigNotInWellKnown /// [EnumMember(Value = ("ConfigNotInWellKnown"))] @@ -3044,6 +3080,11 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("ConfigInvalidResponse"))] ConfigInvalidResponse, /// + /// ConfigInvalidContentType + /// + [EnumMember(Value = ("ConfigInvalidContentType"))] + ConfigInvalidContentType, + /// /// ClientMetadataHttpNotFound /// [EnumMember(Value = ("ClientMetadataHttpNotFound"))] @@ -3059,6 +3100,11 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("ClientMetadataInvalidResponse"))] ClientMetadataInvalidResponse, /// + /// ClientMetadataInvalidContentType + /// + [EnumMember(Value = ("ClientMetadataInvalidContentType"))] + ClientMetadataInvalidContentType, + /// /// DisabledInSettings /// [EnumMember(Value = ("DisabledInSettings"))] @@ -3094,6 +3140,11 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("AccountsListEmpty"))] AccountsListEmpty, /// + /// AccountsInvalidContentType + /// + [EnumMember(Value = ("AccountsInvalidContentType"))] + AccountsInvalidContentType, + /// /// IdTokenHttpNotFound /// [EnumMember(Value = ("IdTokenHttpNotFound"))] @@ -3114,6 +3165,11 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("IdTokenInvalidRequest"))] IdTokenInvalidRequest, /// + /// IdTokenInvalidContentType + /// + [EnumMember(Value = ("IdTokenInvalidContentType"))] + IdTokenInvalidContentType, + /// /// ErrorIdToken /// [EnumMember(Value = ("ErrorIdToken"))] @@ -3260,7 +3316,12 @@ public enum InspectorIssueCode /// FederatedAuthRequestIssue /// [EnumMember(Value = ("FederatedAuthRequestIssue"))] - FederatedAuthRequestIssue + FederatedAuthRequestIssue, + /// + /// BounceTrackingIssue + /// + [EnumMember(Value = ("BounceTrackingIssue"))] + BounceTrackingIssue } /// @@ -3430,6 +3491,16 @@ public CefSharp.DevTools.Audits.FederatedAuthRequestIssueDetails FederatedAuthRe get; set; } + + /// + /// BounceTrackingIssueDetails + /// + [DataMember(Name = ("bounceTrackingIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDetails + { + get; + set; + } } /// @@ -4704,6 +4775,16 @@ public double EndColumn get; set; } + + /// + /// If the style sheet was loaded from a network resource, this indicates when the resource failed to load + /// + [DataMember(Name = ("loadingFailed"), IsRequired = (false))] + public bool? LoadingFailed + { + get; + set; + } } /// @@ -5818,6 +5899,87 @@ public System.Collections.Generic.IList } } + /// + /// CSS try rule representation. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CSSTryRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get + { + return (CefSharp.DevTools.CSS.StyleSheetOrigin)(StringToEnum(typeof(CefSharp.DevTools.CSS.StyleSheetOrigin), origin)); + } + + set + { + this.origin = (EnumToString(value)); + } + } + + /// + /// Parent stylesheet's origin. + /// + [DataMember(Name = ("origin"), IsRequired = (true))] + internal string origin + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [DataMember(Name = ("style"), IsRequired = (true))] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + + /// + /// CSS position-fallback rule representation. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CSSPositionFallbackRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Name + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public CefSharp.DevTools.CSS.Value Name + { + get; + set; + } + + /// + /// List of keyframes. + /// + [DataMember(Name = ("tryRules"), IsRequired = (true))] + public System.Collections.Generic.IList TryRules + { + get; + set; + } + } + /// /// CSS keyframes rule representation. /// @@ -18370,6 +18532,16 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("private-aggregation"))] PrivateAggregation, /// + /// private-state-token-issuance + /// + [EnumMember(Value = ("private-state-token-issuance"))] + PrivateStateTokenIssuance, + /// + /// private-state-token-redemption + /// + [EnumMember(Value = ("private-state-token-redemption"))] + PrivateStateTokenRedemption, + /// /// publickey-credentials-get /// [EnumMember(Value = ("publickey-credentials-get"))] @@ -18420,11 +18592,6 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("sync-xhr"))] SyncXhr, /// - /// trust-token-redemption - /// - [EnumMember(Value = ("trust-token-redemption"))] - TrustTokenRedemption, - /// /// unload /// [EnumMember(Value = ("unload"))] @@ -28271,7 +28438,49 @@ public enum PrerenderFinalStatus /// SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation /// [EnumMember(Value = ("SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"))] - SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation, + /// + /// MemoryPressureOnTrigger + /// + [EnumMember(Value = ("MemoryPressureOnTrigger"))] + MemoryPressureOnTrigger, + /// + /// MemoryPressureAfterTriggered + /// + [EnumMember(Value = ("MemoryPressureAfterTriggered"))] + MemoryPressureAfterTriggered + } + + /// + /// PreloadEnabledState + /// + public enum PreloadEnabledState + { + /// + /// Enabled + /// + [EnumMember(Value = ("Enabled"))] + Enabled, + /// + /// DisabledByDataSaver + /// + [EnumMember(Value = ("DisabledByDataSaver"))] + DisabledByDataSaver, + /// + /// DisabledByBatterySaver + /// + [EnumMember(Value = ("DisabledByBatterySaver"))] + DisabledByBatterySaver, + /// + /// DisabledByPreference + /// + [EnumMember(Value = ("DisabledByPreference"))] + DisabledByPreference, + /// + /// NotSupported + /// + [EnumMember(Value = ("NotSupported"))] + NotSupported } /// @@ -28420,6 +28629,39 @@ public string DisallowedApiMethod } } + /// + /// Fired when a preload enabled state is updated. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class PreloadEnabledStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// State + /// + public CefSharp.DevTools.Preload.PreloadEnabledState State + { + get + { + return (CefSharp.DevTools.Preload.PreloadEnabledState)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadEnabledState), state)); + } + + set + { + this.state = (EnumToString(value)); + } + } + + /// + /// State + /// + [DataMember(Name = ("state"), IsRequired = (true))] + internal string state + { + get; + private set; + } + } + /// /// Fired when a prefetch attempt is updated. /// @@ -29420,7 +29662,12 @@ public enum PausedReason /// XHR /// [EnumMember(Value = ("XHR"))] - XHR + XHR, + /// + /// step + /// + [EnumMember(Value = ("step"))] + Step } /// @@ -29603,7 +29850,7 @@ public string Hash } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [DataMember(Name = ("executionContextAuxData"), IsRequired = (false))] public object ExecutionContextAuxData @@ -29797,7 +30044,7 @@ public string Hash } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [DataMember(Name = ("executionContextAuxData"), IsRequired = (false))] public object ExecutionContextAuxData @@ -31828,7 +32075,7 @@ public string UniqueId } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [DataMember(Name = ("auxData"), IsRequired = (false))] public object AuxData @@ -34453,6 +34700,24 @@ public System.Collections.Generic.IList } } + [DataMember] + internal System.Collections.Generic.IList cssPositionFallbackRules + { + get; + set; + } + + /// + /// cssPositionFallbackRules + /// + public System.Collections.Generic.IList CssPositionFallbackRules + { + get + { + return cssPositionFallbackRules; + } + } + [DataMember] internal int? parentLayoutNodeId { @@ -46427,6 +46692,34 @@ public System.Collections.Generic.IList + /// RunBounceTrackingMitigationsResponse + /// + [DataContract] + public class RunBounceTrackingMitigationsResponse : DevToolsDomainResponseBase + { + [DataMember] + internal string[] deletedSites + { + get; + set; + } + + /// + /// deletedSites + /// + public string[] DeletedSites + { + get + { + return deletedSites; + } + } + } +} + namespace CefSharp.DevTools.Storage { using System.Linq; @@ -47020,6 +47313,16 @@ public System.Threading.Tasks.Task DeleteStorageBucketAs dict.Add("bucketName", bucketName); return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); } + + /// + /// Deletes state for sites identified as potential bounce trackers, immediately. + /// + /// returns System.Threading.Tasks.Task<RunBounceTrackingMitigationsResponse> + public System.Threading.Tasks.Task RunBounceTrackingMitigationsAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Storage.runBounceTrackingMitigations", dict); + } } } @@ -49561,6 +49864,22 @@ public event System.EventHandler PrerenderAt } } + /// + /// Fired when a preload enabled state is updated. + /// + public event System.EventHandler PreloadEnabledStateUpdated + { + add + { + _client.AddEventHandler("Preload.preloadEnabledStateUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.preloadEnabledStateUpdated", value); + } + } + /// /// Fired when a prefetch attempt is updated. /// diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index b8905ace42..24e67b3cbc 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 113.0.5672.63 +// CHROMIUM VERSION 114.0.5735.110 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2317,11 +2317,6 @@ public enum AttributionReportingIssueType [JsonPropertyName("InvalidEligibleHeader")] InvalidEligibleHeader, /// - /// TooManyConcurrentRequests - /// - [JsonPropertyName("TooManyConcurrentRequests")] - TooManyConcurrentRequests, - /// /// SourceAndTriggerHeaders /// [JsonPropertyName("SourceAndTriggerHeaders")] @@ -2360,7 +2355,12 @@ public enum AttributionReportingIssueType /// WebAndOsHeaders /// [JsonPropertyName("WebAndOsHeaders")] - WebAndOsHeaders + WebAndOsHeaders, + /// + /// NoWebOrOsSupport + /// + [JsonPropertyName("NoWebOrOsSupport")] + NoWebOrOsSupport } /// @@ -2594,6 +2594,16 @@ public int? ViolatingNodeId get; set; } + + /// + /// ViolatingNodeAttribute + /// + [JsonPropertyName("violatingNodeAttribute")] + public string ViolatingNodeAttribute + { + get; + set; + } } /// @@ -2635,6 +2645,27 @@ public string Type } } + /// + /// This issue warns about sites in the redirect chain of a finished navigation + /// that may be flagged as trackers and have their state cleared if they don't + /// receive a user interaction. Note that in this context 'site' means eTLD+1. + /// For example, if the URL `https://example.test:80/bounce` was in the + /// redirect chain, the site reported would be `example.test`. + /// + public partial class BounceTrackingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// TrackingSites + /// + [JsonPropertyName("trackingSites")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] TrackingSites + { + get; + set; + } + } + /// /// ClientHintIssueReason /// @@ -2707,6 +2738,11 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("WellKnownListEmpty")] WellKnownListEmpty, /// + /// WellKnownInvalidContentType + /// + [JsonPropertyName("WellKnownInvalidContentType")] + WellKnownInvalidContentType, + /// /// ConfigNotInWellKnown /// [JsonPropertyName("ConfigNotInWellKnown")] @@ -2732,6 +2768,11 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("ConfigInvalidResponse")] ConfigInvalidResponse, /// + /// ConfigInvalidContentType + /// + [JsonPropertyName("ConfigInvalidContentType")] + ConfigInvalidContentType, + /// /// ClientMetadataHttpNotFound /// [JsonPropertyName("ClientMetadataHttpNotFound")] @@ -2747,6 +2788,11 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("ClientMetadataInvalidResponse")] ClientMetadataInvalidResponse, /// + /// ClientMetadataInvalidContentType + /// + [JsonPropertyName("ClientMetadataInvalidContentType")] + ClientMetadataInvalidContentType, + /// /// DisabledInSettings /// [JsonPropertyName("DisabledInSettings")] @@ -2782,6 +2828,11 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("AccountsListEmpty")] AccountsListEmpty, /// + /// AccountsInvalidContentType + /// + [JsonPropertyName("AccountsInvalidContentType")] + AccountsInvalidContentType, + /// /// IdTokenHttpNotFound /// [JsonPropertyName("IdTokenHttpNotFound")] @@ -2802,6 +2853,11 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("IdTokenInvalidRequest")] IdTokenInvalidRequest, /// + /// IdTokenInvalidContentType + /// + [JsonPropertyName("IdTokenInvalidContentType")] + IdTokenInvalidContentType, + /// /// ErrorIdToken /// [JsonPropertyName("ErrorIdToken")] @@ -2932,7 +2988,12 @@ public enum InspectorIssueCode /// FederatedAuthRequestIssue /// [JsonPropertyName("FederatedAuthRequestIssue")] - FederatedAuthRequestIssue + FederatedAuthRequestIssue, + /// + /// BounceTrackingIssue + /// + [JsonPropertyName("BounceTrackingIssue")] + BounceTrackingIssue } /// @@ -3101,6 +3162,16 @@ public CefSharp.DevTools.Audits.FederatedAuthRequestIssueDetails FederatedAuthRe get; set; } + + /// + /// BounceTrackingIssueDetails + /// + [JsonPropertyName("bounceTrackingIssueDetails")] + public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDetails + { + get; + set; + } } /// @@ -4286,6 +4357,16 @@ public double EndColumn get; set; } + + /// + /// If the style sheet was loaded from a network resource, this indicates when the resource failed to load + /// + [JsonPropertyName("loadingFailed")] + public bool? LoadingFailed + { + get; + set; + } } /// @@ -5347,6 +5428,72 @@ public System.Collections.Generic.IList } } + /// + /// CSS try rule representation. + /// + public partial class CSSTryRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [JsonPropertyName("styleSheetId")] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + [JsonPropertyName("origin")] + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [JsonPropertyName("style")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + + /// + /// CSS position-fallback rule representation. + /// + public partial class CSSPositionFallbackRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Name + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.Value Name + { + get; + set; + } + + /// + /// List of keyframes. + /// + [JsonPropertyName("tryRules")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList TryRules + { + get; + set; + } + } + /// /// CSS keyframes rule representation. /// @@ -17109,6 +17256,16 @@ public enum PermissionsPolicyFeature [JsonPropertyName("private-aggregation")] PrivateAggregation, /// + /// private-state-token-issuance + /// + [JsonPropertyName("private-state-token-issuance")] + PrivateStateTokenIssuance, + /// + /// private-state-token-redemption + /// + [JsonPropertyName("private-state-token-redemption")] + PrivateStateTokenRedemption, + /// /// publickey-credentials-get /// [JsonPropertyName("publickey-credentials-get")] @@ -17159,11 +17316,6 @@ public enum PermissionsPolicyFeature [JsonPropertyName("sync-xhr")] SyncXhr, /// - /// trust-token-redemption - /// - [JsonPropertyName("trust-token-redemption")] - TrustTokenRedemption, - /// /// unload /// [JsonPropertyName("unload")] @@ -26374,7 +26526,49 @@ public enum PrerenderFinalStatus /// SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation /// [JsonPropertyName("SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation")] - SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation + SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation, + /// + /// MemoryPressureOnTrigger + /// + [JsonPropertyName("MemoryPressureOnTrigger")] + MemoryPressureOnTrigger, + /// + /// MemoryPressureAfterTriggered + /// + [JsonPropertyName("MemoryPressureAfterTriggered")] + MemoryPressureAfterTriggered + } + + /// + /// PreloadEnabledState + /// + public enum PreloadEnabledState + { + /// + /// Enabled + /// + [JsonPropertyName("Enabled")] + Enabled, + /// + /// DisabledByDataSaver + /// + [JsonPropertyName("DisabledByDataSaver")] + DisabledByDataSaver, + /// + /// DisabledByBatterySaver + /// + [JsonPropertyName("DisabledByBatterySaver")] + DisabledByBatterySaver, + /// + /// DisabledByPreference + /// + [JsonPropertyName("DisabledByPreference")] + DisabledByPreference, + /// + /// NotSupported + /// + [JsonPropertyName("NotSupported")] + NotSupported } /// @@ -26516,6 +26710,23 @@ public string DisallowedApiMethod } } + /// + /// Fired when a preload enabled state is updated. + /// + public class PreloadEnabledStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// State + /// + [JsonInclude] + [JsonPropertyName("state")] + public CefSharp.DevTools.Preload.PreloadEnabledState State + { + get; + private set; + } + } + /// /// Fired when a prefetch attempt is updated. /// @@ -27455,7 +27666,12 @@ public enum PausedReason /// XHR /// [JsonPropertyName("XHR")] - XHR + XHR, + /// + /// step + /// + [JsonPropertyName("step")] + Step } /// @@ -27639,7 +27855,7 @@ public string Hash } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [JsonInclude] [JsonPropertyName("executionContextAuxData")] @@ -27836,7 +28052,7 @@ public string Hash } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [JsonInclude] [JsonPropertyName("executionContextAuxData")] @@ -29767,7 +29983,7 @@ public string UniqueId } /// - /// Embedder-specific auxiliary data. + /// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string} /// [JsonPropertyName("auxData")] public object AuxData @@ -32103,6 +32319,17 @@ public System.Collections.Generic.IList private set; } + /// + /// cssPositionFallbackRules + /// + [JsonInclude] + [JsonPropertyName("cssPositionFallbackRules")] + public System.Collections.Generic.IList CssPositionFallbackRules + { + get; + private set; + } + /// /// parentLayoutNodeId /// @@ -42946,6 +43173,26 @@ public System.Collections.Generic.IList + /// RunBounceTrackingMitigationsResponse + /// + public class RunBounceTrackingMitigationsResponse : DevToolsDomainResponseBase + { + /// + /// deletedSites + /// + [JsonInclude] + [JsonPropertyName("deletedSites")] + public string[] DeletedSites + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Storage { using System.Linq; @@ -43539,6 +43786,16 @@ public System.Threading.Tasks.Task DeleteStorageBucketAs dict.Add("bucketName", bucketName); return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); } + + /// + /// Deletes state for sites identified as potential bounce trackers, immediately. + /// + /// returns System.Threading.Tasks.Task<RunBounceTrackingMitigationsResponse> + public System.Threading.Tasks.Task RunBounceTrackingMitigationsAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Storage.runBounceTrackingMitigations", dict); + } } } @@ -45893,6 +46150,22 @@ public event System.EventHandler PrerenderAt } } + /// + /// Fired when a preload enabled state is updated. + /// + public event System.EventHandler PreloadEnabledStateUpdated + { + add + { + _client.AddEventHandler("Preload.preloadEnabledStateUpdated", value); + } + + remove + { + _client.RemoveEventHandler("Preload.preloadEnabledStateUpdated", value); + } + } + /// /// Fired when a prefetch attempt is updated. /// From 2a9b50640f14bf43588ae754b26b42c035559dc1 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 16 Jul 2023 06:32:58 +1000 Subject: [PATCH 072/275] Core - Change from cef type defs to C++11 defs https://bitbucket.org/chromiumembedded/cef/commits/5042d7140822cd13b80990f61ce2d3865864a3d8 --- .../Async/JavascriptAsyncMethodHandler.h | 6 ++-- .../Async/JavascriptAsyncMethodWrapper.h | 2 +- .../Async/JavascriptAsyncObjectWrapper.h | 4 +-- .../CefAppUnmanagedWrapper.cpp | 4 +-- .../CefAppUnmanagedWrapper.h | 2 +- .../CefBrowserWrapper.h | 6 ++-- .../JavascriptCallbackRegistry.cpp | 2 +- .../JavascriptCallbackRegistry.h | 2 +- .../JavascriptMethodWrapper.h | 4 +-- .../JavascriptObjectWrapper.h | 2 +- .../JavascriptPromiseResolverCatch.h | 4 +-- .../JavascriptPromiseResolverThen.h | 4 +-- .../JavascriptPropertyWrapper.h | 4 +-- .../JavascriptRootObjectWrapper.cpp | 6 ++-- .../JavascriptRootObjectWrapper.h | 10 +++--- .../RegisterBoundObjectRegistry.h | 10 +++--- CefSharp.Core.Runtime/BrowserSettings.h | 6 ++-- CefSharp.Core.Runtime/Cef.h | 2 +- CefSharp.Core.Runtime/CefSettingsBase.h | 6 ++-- .../Internals/CefBrowserHostWrapper.cpp | 12 +++---- .../Internals/CefResourceHandlerAdapter.cpp | 4 +-- .../Internals/CefResourceHandlerAdapter.h | 4 +-- .../CefResourceRequestHandlerAdapter.h | 2 +- CefSharp.Core.Runtime/Internals/CefSharpApp.h | 2 +- .../Internals/CefUrlRequestClientAdapter.cpp | 4 +-- .../Internals/CefUrlRequestClientAdapter.h | 8 ++--- .../Internals/CefWriteHandlerWrapper.h | 6 ++-- .../Internals/ClientAdapter.cpp | 12 +++---- .../Internals/ClientAdapter.h | 10 +++--- .../Internals/Serialization/Primitives.cpp | 34 +++++++++---------- .../Internals/Serialization/Primitives.h | 24 ++++++------- 31 files changed, 104 insertions(+), 104 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodHandler.h b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodHandler.h index c98a4baa29..aa315f69c9 100644 --- a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodHandler.h +++ b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodHandler.h @@ -18,11 +18,11 @@ namespace CefSharp { private: gcroot _callbackRegistry; - gcroot^> _methodCallbackSave; - int64 _objectId; + gcroot^> _methodCallbackSave; + int64_t _objectId; public: - JavascriptAsyncMethodHandler(int64 objectId, JavascriptCallbackRegistry^ callbackRegistry, Func^ methodCallbackSave) + JavascriptAsyncMethodHandler(int64_t objectId, JavascriptCallbackRegistry^ callbackRegistry, Func^ methodCallbackSave) :_callbackRegistry(callbackRegistry), _objectId(objectId), _methodCallbackSave(methodCallbackSave) { diff --git a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodWrapper.h b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodWrapper.h index 0231667583..876aa52026 100644 --- a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncMethodWrapper.h @@ -19,7 +19,7 @@ namespace CefSharp MCefRefPtr _javascriptMethodHandler; public: - JavascriptAsyncMethodWrapper(int64 ownerId, JavascriptCallbackRegistry^ callbackRegistry, Func^ methodCallbackSave) + JavascriptAsyncMethodWrapper(int64_t ownerId, JavascriptCallbackRegistry^ callbackRegistry, Func^ methodCallbackSave) : _javascriptMethodHandler(new JavascriptAsyncMethodHandler(ownerId, callbackRegistry, methodCallbackSave)) { diff --git a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncObjectWrapper.h b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncObjectWrapper.h index 6aa5d00d1b..f42ac60e42 100644 --- a/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncObjectWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/Async/JavascriptAsyncObjectWrapper.h @@ -18,11 +18,11 @@ namespace CefSharp { private: initonly List^ _wrappedMethods; - Func^ _methodCallbackSave; + Func^ _methodCallbackSave; JavascriptCallbackRegistry^ _callbackRegistry; public: - JavascriptAsyncObjectWrapper(JavascriptCallbackRegistry^ callbackRegistry, Func^ saveMethod) + JavascriptAsyncObjectWrapper(JavascriptCallbackRegistry^ callbackRegistry, Func^ saveMethod) : _wrappedMethods(gcnew List()), _methodCallbackSave(saveMethod), _callbackRegistry(callbackRegistry) { diff --git a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp index dfbdb75781..14e4c66b47 100644 --- a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp +++ b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp @@ -292,7 +292,7 @@ namespace CefSharp frame->SendProcessMessage(CefProcessId::PID_BROWSER, uncaughtExceptionMessage); } - JavascriptRootObjectWrapper^ CefAppUnmanagedWrapper::GetJsRootObjectWrapper(int browserId, int64 frameId) + JavascriptRootObjectWrapper^ CefAppUnmanagedWrapper::GetJsRootObjectWrapper(int browserId, int64_t frameId) { auto browserWrapper = FindBrowserWrapper(browserId); @@ -401,7 +401,7 @@ namespace CefSharp //both messages have callbackId stored at index 0 auto frameId = frame->GetIdentifier(); - int64 callbackId = GetInt64(argList, 0); + int64_t callbackId = GetInt64(argList, 0); if (name == kEvaluateJavascriptRequest) { diff --git a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h index b202f31aa8..6ef917ec85 100644 --- a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h @@ -72,7 +72,7 @@ namespace CefSharp } CefBrowserWrapper^ FindBrowserWrapper(int browserId); - JavascriptRootObjectWrapper^ GetJsRootObjectWrapper(int browserId, int64 frameId); + JavascriptRootObjectWrapper^ GetJsRootObjectWrapper(int browserId, int64_t frameId); virtual DECL CefRefPtr GetRenderProcessHandler() override; virtual DECL void OnBrowserCreated(CefRefPtr browser, CefRefPtr extraInfo) override; diff --git a/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h b/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h index 1e32ecea5e..aa299d6106 100644 --- a/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h @@ -31,7 +31,7 @@ namespace CefSharp internal: //Frame Identifier is used as Key - property ConcurrentDictionary^ JavascriptRootObjectWrappers; + property ConcurrentDictionary^ JavascriptRootObjectWrappers; public: CefBrowserWrapper(CefRefPtr cefBrowser) @@ -40,7 +40,7 @@ namespace CefSharp BrowserId = cefBrowser->GetIdentifier(); IsPopup = cefBrowser->IsPopup(); - JavascriptRootObjectWrappers = gcnew ConcurrentDictionary(); + JavascriptRootObjectWrappers = gcnew ConcurrentDictionary(); } !CefBrowserWrapper() @@ -54,7 +54,7 @@ namespace CefSharp if (JavascriptRootObjectWrappers != nullptr) { - for each (KeyValuePair entry in JavascriptRootObjectWrappers) + for each (KeyValuePair entry in JavascriptRootObjectWrappers) { delete entry.Value; } diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp index 0cea75ec00..f704532f77 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp +++ b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp @@ -25,7 +25,7 @@ namespace CefSharp return result; } - JavascriptCallbackWrapper^ JavascriptCallbackRegistry::FindWrapper(int64 id) + JavascriptCallbackWrapper^ JavascriptCallbackRegistry::FindWrapper(int64_t id) { JavascriptCallbackWrapper^ callback; _callbacks->TryGetValue(id, callback); diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.h b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.h index 46db9b23b3..dd0af41f40 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.h @@ -24,7 +24,7 @@ namespace CefSharp ConcurrentDictionary^ _callbacks; internal: - JavascriptCallbackWrapper^ FindWrapper(int64 id); + JavascriptCallbackWrapper^ FindWrapper(int64_t id); public: JavascriptCallbackRegistry(int browserId) : _browserId(browserId) diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.h b/CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.h index 3f402f5f59..ebf980b8cc 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.h @@ -20,12 +20,12 @@ namespace CefSharp { private: MCefRefPtr _javascriptMethodHandler; - int64 _ownerId; + int64_t _ownerId; String^ _javascriptMethodName; IBrowserProcess^ _browserProcess; public: - JavascriptMethodWrapper(int64 ownerId, IBrowserProcess^ browserProcess, JavascriptCallbackRegistry^ callbackRegistry) + JavascriptMethodWrapper(int64_t ownerId, IBrowserProcess^ browserProcess, JavascriptCallbackRegistry^ callbackRegistry) { _ownerId = ownerId; _browserProcess = browserProcess; diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h b/CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h index 785df10d96..28eebd3b55 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h @@ -26,7 +26,7 @@ namespace CefSharp List^ _wrappedProperties; IBrowserProcess^ _browserProcess; MCefRefPtr _jsPropertyHandler; - int64 _objectId; + int64_t _objectId; public: JavascriptObjectWrapper(IBrowserProcess^ browserProcess) diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverCatch.h b/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverCatch.h index c3dbddac2c..68fccd20e0 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverCatch.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverCatch.h @@ -14,11 +14,11 @@ namespace CefSharp { private class JavascriptPromiseResolverCatch : public CefV8Handler { - int64 _callbackId; + int64_t _callbackId; bool _isJsCallback; public: - JavascriptPromiseResolverCatch(int64 callbackId, bool isJsCallback) : _callbackId(callbackId), _isJsCallback(isJsCallback) + JavascriptPromiseResolverCatch(int64_t callbackId, bool isJsCallback) : _callbackId(callbackId), _isJsCallback(isJsCallback) { } diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverThen.h b/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverThen.h index e2fa33721f..49bc984129 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverThen.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptPromiseResolverThen.h @@ -19,11 +19,11 @@ namespace CefSharp { private class JavascriptPromiseResolverThen : public CefV8Handler { - int64 _callbackId; + int64_t _callbackId; bool _isJsCallback; public: - JavascriptPromiseResolverThen(int64 callbackId, bool isJsCallback) : _callbackId(callbackId), _isJsCallback(isJsCallback) + JavascriptPromiseResolverThen(int64_t callbackId, bool isJsCallback) : _callbackId(callbackId), _isJsCallback(isJsCallback) { } diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.h b/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.h index 7b3abdaa1e..d0ac14ae18 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.h @@ -17,13 +17,13 @@ namespace CefSharp private ref class JavascriptPropertyWrapper { private: - int64 _ownerId; + int64_t _ownerId; IBrowserProcess^ _browserProcess; //TODO: Strongly type this variable - currently trying to include JavascriptObjectWrapper.h creates a circular reference, so won't compile Object^ _javascriptObjectWrapper; public: - JavascriptPropertyWrapper(int64 ownerId, IBrowserProcess^ browserProcess) + JavascriptPropertyWrapper(int64_t ownerId, IBrowserProcess^ browserProcess) { _ownerId = ownerId; _browserProcess = browserProcess; diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.cpp b/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.cpp index af73c6e896..6e49c59df4 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.cpp +++ b/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.cpp @@ -18,7 +18,7 @@ namespace CefSharp { if (objects->Count > 0) { - auto saveMethod = gcnew Func(this, &JavascriptRootObjectWrapper::SaveMethodCallback); + auto saveMethod = gcnew Func(this, &JavascriptRootObjectWrapper::SaveMethodCallback); for each (JavascriptObject ^ obj in Enumerable::OfType(objects)) { @@ -54,14 +54,14 @@ namespace CefSharp return _callbackRegistry; } - int64 JavascriptRootObjectWrapper::SaveMethodCallback(JavascriptAsyncMethodCallback^ callback) + int64_t JavascriptRootObjectWrapper::SaveMethodCallback(JavascriptAsyncMethodCallback^ callback) { auto callbackId = Interlocked::Increment(_lastCallback); _methodCallbacks->Add(callbackId, callback); return callbackId; } - bool JavascriptRootObjectWrapper::TryGetAndRemoveMethodCallback(int64 id, JavascriptAsyncMethodCallback^% callback) + bool JavascriptRootObjectWrapper::TryGetAndRemoveMethodCallback(int64_t id, JavascriptAsyncMethodCallback^% callback) { bool result = false; if (result = _methodCallbacks->TryGetValue(id, callback)) diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.h b/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.h index ca2879b242..45b94b8ed4 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.h @@ -33,13 +33,13 @@ namespace CefSharp private: //Only access through Interlocked::Increment - used to generate unique callback Id's //Is static so ids are unique to this process https://github.com/cefsharp/CefSharp/issues/2792 - static int64 _lastCallback; + static int64_t _lastCallback; #ifndef NETCOREAPP initonly List^ _wrappedObjects; #endif initonly List^ _wrappedAsyncObjects; - initonly Dictionary^ _methodCallbacks; + initonly Dictionary^ _methodCallbacks; #ifndef NETCOREAPP IBrowserProcess^ _browserProcess; #endif @@ -47,7 +47,7 @@ namespace CefSharp // call directly into. JavascriptCallbackRegistry^ _callbackRegistry; - int64 SaveMethodCallback(JavascriptAsyncMethodCallback^ callback); + int64_t SaveMethodCallback(JavascriptAsyncMethodCallback^ callback); internal: property JavascriptCallbackRegistry^ CallbackRegistry @@ -68,7 +68,7 @@ namespace CefSharp #endif _wrappedAsyncObjects = gcnew List(); _callbackRegistry = gcnew JavascriptCallbackRegistry(browserId); - _methodCallbacks = gcnew Dictionary(); + _methodCallbacks = gcnew Dictionary(); } ~JavascriptRootObjectWrapper() @@ -101,7 +101,7 @@ namespace CefSharp _methodCallbacks->Clear(); } - bool TryGetAndRemoveMethodCallback(int64 id, JavascriptAsyncMethodCallback^% callback); + bool TryGetAndRemoveMethodCallback(int64_t id, JavascriptAsyncMethodCallback^% callback); void Bind(ICollection^ objects, const CefRefPtr& v8Value); }; diff --git a/CefSharp.BrowserSubprocess.Core/RegisterBoundObjectRegistry.h b/CefSharp.BrowserSubprocess.Core/RegisterBoundObjectRegistry.h index c9602da479..7dd5aaae47 100644 --- a/CefSharp.BrowserSubprocess.Core/RegisterBoundObjectRegistry.h +++ b/CefSharp.BrowserSubprocess.Core/RegisterBoundObjectRegistry.h @@ -24,14 +24,14 @@ namespace CefSharp private: //Only access through Interlocked::Increment - used to generate unique callback Id's //Is static so ids are unique to this process https://github.com/cefsharp/CefSharp/issues/2792 - static int64 _lastCallback; + static int64_t _lastCallback; - initonly Dictionary^ _methodCallbacks; + initonly Dictionary^ _methodCallbacks; public: RegisterBoundObjectRegistry() { - _methodCallbacks = gcnew Dictionary(); + _methodCallbacks = gcnew Dictionary(); } ~RegisterBoundObjectRegistry() @@ -43,14 +43,14 @@ namespace CefSharp _methodCallbacks->Clear(); } - int64 SaveMethodCallback(JavascriptAsyncMethodCallback^ callback) + int64_t SaveMethodCallback(JavascriptAsyncMethodCallback^ callback) { auto callbackId = Interlocked::Increment(_lastCallback); _methodCallbacks->Add(callbackId, callback); return callbackId; } - bool TryGetAndRemoveMethodCallback(int64 id, JavascriptAsyncMethodCallback^% callback) + bool TryGetAndRemoveMethodCallback(int64_t id, JavascriptAsyncMethodCallback^% callback) { bool result = false; if (result = _methodCallbacks->TryGetValue(id, callback)) diff --git a/CefSharp.Core.Runtime/BrowserSettings.h b/CefSharp.Core.Runtime/BrowserSettings.h index 132c714ec4..279f4421b2 100644 --- a/CefSharp.Core.Runtime/BrowserSettings.h +++ b/CefSharp.Core.Runtime/BrowserSettings.h @@ -308,10 +308,10 @@ namespace CefSharp /// CefSettings.BackgroundColor value will be used. If the alpha component is fully transparent /// for a windowless (WPF/OffScreen) browser then transparent painting will be enabled. /// - virtual property uint32 BackgroundColor + virtual property uint32_t BackgroundColor { - uint32 get() { return _browserSettings->background_color; } - void set(uint32 value) { _browserSettings->background_color = value; } + uint32_t get() { return _browserSettings->background_color; } + void set(uint32_t value) { _browserSettings->background_color = value; } } /// diff --git a/CefSharp.Core.Runtime/Cef.h b/CefSharp.Core.Runtime/Cef.h index 1040f1cede..37c86e1993 100644 --- a/CefSharp.Core.Runtime/Cef.h +++ b/CefSharp.Core.Runtime/Cef.h @@ -674,7 +674,7 @@ namespace CefSharp /// Green /// Blue /// Returns the color. - static uint32 ColorSetARGB(uint32 a, uint32 r, uint32 g, uint32 b) + static uint32_t ColorSetARGB(uint32_t a, uint32_t r, uint32_t g, uint32_t b) { return CefColorSetARGB(a, r, g, b); } diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h index b083bdf003..2ab73a54f0 100644 --- a/CefSharp.Core.Runtime/CefSettingsBase.h +++ b/CefSharp.Core.Runtime/CefSettingsBase.h @@ -352,10 +352,10 @@ namespace CefSharp /// default value of opaque white be used. If the alpha component is fully transparent for a windowless (WPF/OffScreen) browser /// then transparent painting will be enabled. /// - property uint32 BackgroundColor + property uint32_t BackgroundColor { - uint32 get() { return _cefSettings->background_color; } - void set(uint32 value) { _cefSettings->background_color = value; } + uint32_t get() { return _cefSettings->background_color; } + void set(uint32_t value) { _cefSettings->background_color = value; } } /// diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp b/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp index c85427d4fb..7068fe988a 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp +++ b/CefSharp.Core.Runtime/Internals/CefBrowserHostWrapper.cpp @@ -347,7 +347,7 @@ void CefBrowserHostWrapper::SendKeyEvent(KeyEvent keyEvent) CefKeyEvent nativeKeyEvent; nativeKeyEvent.focus_on_editable_field = keyEvent.FocusOnEditableField == 1; nativeKeyEvent.is_system_key = keyEvent.IsSystemKey == 1; - nativeKeyEvent.modifiers = (uint32)keyEvent.Modifiers; + nativeKeyEvent.modifiers = (uint32_t)keyEvent.Modifiers; nativeKeyEvent.type = (cef_key_event_type_t)keyEvent.Type; nativeKeyEvent.native_key_code = keyEvent.NativeKeyCode; nativeKeyEvent.windows_key_code = keyEvent.WindowsKeyCode; @@ -433,7 +433,7 @@ void CefBrowserHostWrapper::SendMouseWheelEvent(MouseEvent mouseEvent, int delta CefMouseEvent m; m.x = mouseEvent.X; m.y = mouseEvent.Y; - m.modifiers = (uint32)mouseEvent.Modifiers; + m.modifiers = (uint32_t)mouseEvent.Modifiers; _browserHost->SendMouseWheelEvent(m, deltaX, deltaY); } @@ -447,7 +447,7 @@ void CefBrowserHostWrapper::SendTouchEvent(TouchEvent evt) { CefTouchEvent e; e.id = evt.Id; - e.modifiers = (uint32)evt.Modifiers; + e.modifiers = (uint32_t)evt.Modifiers; e.pointer_type = (cef_pointer_type_t)evt.PointerType; e.pressure = evt.Pressure; e.radius_x = evt.RadiusX; @@ -559,7 +559,7 @@ void CefBrowserHostWrapper::SendMouseClickEvent(MouseEvent mouseEvent, MouseButt CefMouseEvent m; m.x = mouseEvent.X; m.y = mouseEvent.Y; - m.modifiers = (uint32)mouseEvent.Modifiers; + m.modifiers = (uint32_t)mouseEvent.Modifiers; _browserHost->SendMouseClickEvent(m, (CefBrowserHost::MouseButtonType) mouseButtonType, mouseUp, clickCount); } @@ -571,7 +571,7 @@ void CefBrowserHostWrapper::SendMouseMoveEvent(MouseEvent mouseEvent, bool mouse CefMouseEvent m; m.x = mouseEvent.X; m.y = mouseEvent.Y; - m.modifiers = (uint32)mouseEvent.Modifiers; + m.modifiers = (uint32_t)mouseEvent.Modifiers; _browserHost->SendMouseMoveEvent(m, mouseLeave); } @@ -695,7 +695,7 @@ CefMouseEvent CefBrowserHostWrapper::GetCefMouseEvent(MouseEvent mouseEvent) CefMouseEvent cefMouseEvent; cefMouseEvent.x = mouseEvent.X; cefMouseEvent.y = mouseEvent.Y; - cefMouseEvent.modifiers = (uint32)mouseEvent.Modifiers; + cefMouseEvent.modifiers = (uint32_t)mouseEvent.Modifiers; return cefMouseEvent; } diff --git a/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.cpp b/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.cpp index 421e445e77..d814b1f722 100644 --- a/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.cpp @@ -29,7 +29,7 @@ namespace CefSharp return _handler->Open(_request, handleRequest, callbackWrapper); } - void CefResourceHandlerAdapter::GetResponseHeaders(CefRefPtr response, int64& response_length, CefString& redirectUrl) + void CefResourceHandlerAdapter::GetResponseHeaders(CefRefPtr response, int64_t& response_length, CefString& redirectUrl) { String^ newRedirectUrl; @@ -40,7 +40,7 @@ namespace CefSharp redirectUrl = StringUtils::ToNative(newRedirectUrl); } - bool CefResourceHandlerAdapter::Skip(int64 bytesToSkip, int64& bytesSkipped, CefRefPtr callback) + bool CefResourceHandlerAdapter::Skip(int64_t bytesToSkip, int64_t& bytesSkipped, CefRefPtr callback) { auto callbackWrapper = gcnew CefResourceSkipCallbackWrapper(callback); diff --git a/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.h b/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.h index d03d120bc1..6789c69b19 100644 --- a/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.h +++ b/CefSharp.Core.Runtime/Internals/CefResourceHandlerAdapter.h @@ -35,8 +35,8 @@ namespace CefSharp } virtual bool Open(CefRefPtr request, bool& handle_request, CefRefPtr callback) override; - virtual void GetResponseHeaders(CefRefPtr response, int64& response_length, CefString& redirectUrl) override; - virtual bool Skip(int64 bytesToSkip, int64& bytesSkipped, CefRefPtr callback) override; + virtual void GetResponseHeaders(CefRefPtr response, int64_t& response_length, CefString& redirectUrl) override; + virtual bool Skip(int64_t bytesToSkip, int64_t& bytesSkipped, CefRefPtr callback) override; virtual bool Read(void* dataOut, int bytesToRead, int& bytesRead, CefRefPtr callback) override; virtual void Cancel() override; diff --git a/CefSharp.Core.Runtime/Internals/CefResourceRequestHandlerAdapter.h b/CefSharp.Core.Runtime/Internals/CefResourceRequestHandlerAdapter.h index 0cb241977f..fe9f476558 100644 --- a/CefSharp.Core.Runtime/Internals/CefResourceRequestHandlerAdapter.h +++ b/CefSharp.Core.Runtime/Internals/CefResourceRequestHandlerAdapter.h @@ -287,7 +287,7 @@ namespace CefSharp return new CefResponseFilterAdapter(responseFilter); } - void OnResourceLoadComplete(CefRefPtr browser, CefRefPtr frame, CefRefPtr request, CefRefPtr response, URLRequestStatus status, int64 receivedContentLength) override + void OnResourceLoadComplete(CefRefPtr browser, CefRefPtr frame, CefRefPtr request, CefRefPtr response, URLRequestStatus status, int64_t receivedContentLength) override { Request requestWrapper(request); CefResponseWrapper responseWrapper(response); diff --git a/CefSharp.Core.Runtime/Internals/CefSharpApp.h b/CefSharp.Core.Runtime/Internals/CefSharpApp.h index 8a40b3a02c..794f523258 100644 --- a/CefSharp.Core.Runtime/Internals/CefSharpApp.h +++ b/CefSharp.Core.Runtime/Internals/CefSharpApp.h @@ -115,7 +115,7 @@ namespace CefSharp } } - virtual void OnScheduleMessagePumpWork(int64 delay_ms) override + virtual void OnScheduleMessagePumpWork(int64_t delay_ms) override { //We rely on previous checks to make sure _app and _app->BrowserProcessHandler aren't null _app->BrowserProcessHandler->OnScheduleMessagePumpWork(delay_ms); diff --git a/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.cpp index d37a245386..a638e62232 100644 --- a/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.cpp @@ -16,12 +16,12 @@ void CefUrlRequestClientAdapter::OnRequestComplete(CefRefPtr requ _client->OnRequestComplete(gcnew UrlRequest(request)); } -void CefUrlRequestClientAdapter::OnUploadProgress(CefRefPtr request, int64 current, int64 total) +void CefUrlRequestClientAdapter::OnUploadProgress(CefRefPtr request, int64_t current, int64_t total) { _client->OnUploadProgress(gcnew UrlRequest(request), current, total); } -void CefUrlRequestClientAdapter::OnDownloadProgress(CefRefPtr request, int64 current, int64 total) +void CefUrlRequestClientAdapter::OnDownloadProgress(CefRefPtr request, int64_t current, int64_t total) { _client->OnDownloadProgress(gcnew UrlRequest(request), current, total); } diff --git a/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.h b/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.h index 64a8c88336..200dc8a446 100644 --- a/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.h +++ b/CefSharp.Core.Runtime/Internals/CefUrlRequestClientAdapter.h @@ -46,8 +46,8 @@ namespace CefSharp /// /*--cef()--*/ virtual void OnUploadProgress(CefRefPtr request, - int64 current, - int64 total) override; + int64_t current, + int64_t total) override; ///ref // Notifies the client of download progress. |current| denotes the number of @@ -56,8 +56,8 @@ namespace CefSharp /// /*--cef()--*/ virtual void OnDownloadProgress(CefRefPtr request, - int64 current, - int64 total) override; + int64_t current, + int64_t total) override; /// // Called when some part of the response is read. |data| contains the current diff --git a/CefSharp.Core.Runtime/Internals/CefWriteHandlerWrapper.h b/CefSharp.Core.Runtime/Internals/CefWriteHandlerWrapper.h index 9aee3cbd00..3c55085bc8 100644 --- a/CefSharp.Core.Runtime/Internals/CefWriteHandlerWrapper.h +++ b/CefSharp.Core.Runtime/Internals/CefWriteHandlerWrapper.h @@ -49,7 +49,7 @@ namespace CefSharp } } - virtual int Seek(int64 offset, int whence) override + virtual int Seek(int64_t offset, int whence) override { System::IO::SeekOrigin seekOrigin; @@ -93,9 +93,9 @@ namespace CefSharp return 0; } - virtual int64 Tell() override + virtual int64_t Tell() override { - return static_cast(_stream->Position); + return static_cast(_stream->Position); } virtual int Flush() override diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp index a5b9948560..724becec90 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp @@ -1106,7 +1106,7 @@ namespace CefSharp } } - void ClientAdapter::OnAudioStreamPacket(CefRefPtr browser, const float** data, int frames, int64 pts) + void ClientAdapter::OnAudioStreamPacket(CefRefPtr browser, const float** data, int frames, int64_t pts) { auto handler = _browserControl->AudioHandler; @@ -1219,8 +1219,8 @@ namespace CefSharp } } - bool ClientAdapter::OnShowPermissionPrompt(CefRefPtr browser, uint64 prompt_id, - const CefString& requesting_origin, uint32 requested_permissions, + bool ClientAdapter::OnShowPermissionPrompt(CefRefPtr browser, uint64_t prompt_id, + const CefString& requesting_origin, uint32_t requested_permissions, CefRefPtr callback) { auto handler = _browserControl->PermissionHandler; @@ -1235,7 +1235,7 @@ namespace CefSharp return false; } - void ClientAdapter::OnDismissPermissionPrompt(CefRefPtr browser, uint64 prompt_id, + void ClientAdapter::OnDismissPermissionPrompt(CefRefPtr browser, uint64_t prompt_id, cef_permission_request_result_t result) { auto handler = _browserControl->PermissionHandler; @@ -1248,7 +1248,7 @@ namespace CefSharp } bool ClientAdapter::OnRequestMediaAccessPermission(CefRefPtr browser, CefRefPtr frame, - const CefString& requesting_origin, uint32 requested_permissions, + const CefString& requesting_origin, uint32_t requested_permissions, CefRefPtr callback) { auto handler = _browserControl->PermissionHandler; @@ -1518,7 +1518,7 @@ namespace CefSharp auto callbackId = GetInt64(argList, 1); auto methodName = StringUtils::ToClr(argList->GetString(2)); auto arguments = argList->GetList(3); - auto methodInvocation = gcnew MethodInvocation(browser->GetIdentifier(), frameId, objectId, methodName, (callbackId > 0 ? Nullable(callbackId) : Nullable())); + auto methodInvocation = gcnew MethodInvocation(browser->GetIdentifier(), frameId, objectId, methodName, (callbackId > 0 ? Nullable(callbackId) : Nullable())); for (auto i = 0; i < static_cast(arguments->GetSize()); i++) { methodInvocation->Parameters->Add(DeserializeObject(arguments, i, callbackFactory)); diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.h b/CefSharp.Core.Runtime/Internals/ClientAdapter.h index 142c4a7713..c82e12138f 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.h +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.h @@ -201,7 +201,7 @@ namespace CefSharp //CefAudioHandler virtual DECL bool GetAudioParameters(CefRefPtr browser, CefAudioParameters & params) override; virtual DECL void OnAudioStreamStarted(CefRefPtr browser, const CefAudioParameters& params, int channels) override; - virtual DECL void OnAudioStreamPacket(CefRefPtr browser, const float** data, int frames, int64 pts) override; + virtual DECL void OnAudioStreamPacket(CefRefPtr browser, const float** data, int frames, int64_t pts) override; virtual DECL void OnAudioStreamStopped(CefRefPtr browser) override; virtual DECL void OnAudioStreamError(CefRefPtr browser, const CefString& message) override; @@ -214,21 +214,21 @@ namespace CefSharp //CefPermissionHandler virtual DECL bool OnShowPermissionPrompt( CefRefPtr browser, - uint64 prompt_id, + uint64_t prompt_id, const CefString& requesting_origin, - uint32 requested_permissions, + uint32_t requested_permissions, CefRefPtr callback) override; virtual DECL void OnDismissPermissionPrompt( CefRefPtr browser, - uint64 prompt_id, + uint64_t prompt_id, cef_permission_request_result_t result) override; virtual DECL bool OnRequestMediaAccessPermission( CefRefPtr browser, CefRefPtr frame, const CefString& requesting_origin, - uint32 requested_permissions, + uint32_t requested_permissions, CefRefPtr callback) override; IMPLEMENT_REFCOUNTINGM(ClientAdapter); diff --git a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp index 420aec9b39..40adb0e076 100644 --- a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp +++ b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp @@ -37,23 +37,23 @@ namespace CefSharp } template - void SetInt64(const CefRefPtr& list, TIndex index, const int64 &value) + void SetInt64(const CefRefPtr& list, TIndex index, const int64_t&value) { - unsigned char mem[1 + sizeof(int64)]; + unsigned char mem[1 + sizeof(int64_t)]; mem[0] = static_cast(PrimitiveType::INT64); - memcpy(reinterpret_cast(mem + 1), &value, sizeof(int64)); + memcpy(reinterpret_cast(mem + 1), &value, sizeof(int64_t)); auto binaryValue = CefBinaryValue::Create(mem, sizeof(mem)); list->SetBinary(index, binaryValue); } template - int64 GetInt64(const CefRefPtr& list, TIndex index) + int64_t GetInt64(const CefRefPtr& list, TIndex index) { - int64 result; + int64_t result; auto binaryValue = list->GetBinary(index); - binaryValue->GetData(&result, sizeof(int64), 1); + binaryValue->GetData(&result, sizeof(int64_t), 1); return result; } @@ -65,11 +65,11 @@ namespace CefSharp } template - void SetCefTime(const CefRefPtr& list, TIndex index, const int64 &value) + void SetCefTime(const CefRefPtr& list, TIndex index, const int64_t&value) { - unsigned char mem[1 + sizeof(int64)]; + unsigned char mem[1 + sizeof(int64_t)]; mem[0] = static_cast(PrimitiveType::CEFTIME); - memcpy(reinterpret_cast(mem + 1), &value, sizeof(int64)); + memcpy(reinterpret_cast(mem + 1), &value, sizeof(int64_t)); auto binaryValue = CefBinaryValue::Create(mem, sizeof(mem)); list->SetBinary(index, binaryValue); @@ -81,7 +81,7 @@ namespace CefSharp CefBaseTime baseTime; auto binaryValue = list->GetBinary(index); - binaryValue->GetData(&baseTime.val, sizeof(int64), 1); + binaryValue->GetData(&baseTime.val, sizeof(int64_t), 1); return baseTime; } @@ -98,11 +98,11 @@ namespace CefSharp auto browserId = value->BrowserId; auto frameId = value->FrameId; - unsigned char mem[1 + sizeof(int) + sizeof(int64) + sizeof(int64)]; + unsigned char mem[1 + sizeof(int) + sizeof(int64_t) + sizeof(int64_t)]; mem[0] = static_cast(PrimitiveType::JSCALLBACK); memcpy(reinterpret_cast(mem + 1), &browserId, sizeof(int)); - memcpy(reinterpret_cast(mem + 1 + sizeof(int)), &id, sizeof(int64)); - memcpy(reinterpret_cast(mem + 1 + sizeof(int) + sizeof(int64)), &frameId, sizeof(int64)); + memcpy(reinterpret_cast(mem + 1 + sizeof(int)), &id, sizeof(int64_t)); + memcpy(reinterpret_cast(mem + 1 + sizeof(int) + sizeof(int64_t)), &frameId, sizeof(int64_t)); auto binaryValue = CefBinaryValue::Create(mem, sizeof(mem)); list->SetBinary(index, binaryValue); @@ -112,14 +112,14 @@ namespace CefSharp JavascriptCallback^ GetJsCallback(const CefRefPtr& list, TIndex index) { auto result = gcnew JavascriptCallback(); - int64 id; + int64_t id; int browserId; - int64 frameId; + int64_t frameId; auto binaryValue = list->GetBinary(index); binaryValue->GetData(&browserId, sizeof(int), 1); - binaryValue->GetData(&id, sizeof(int64), 1 + sizeof(int)); - binaryValue->GetData(&frameId, sizeof(int64), 1 + sizeof(int) + sizeof(int64)); + binaryValue->GetData(&id, sizeof(int64_t), 1 + sizeof(int)); + binaryValue->GetData(&frameId, sizeof(int64_t), 1 + sizeof(int) + sizeof(int64_t)); result->Id = id; result->BrowserId = browserId; diff --git a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.h b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.h index 7853a47c2a..b160165975 100644 --- a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.h +++ b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.h @@ -13,14 +13,14 @@ namespace CefSharp //Functions to serialize/deserialize specific types into CefBinaryValue template - void SetInt64(const CefRefPtr& list, TIndex index, const int64 &value); + void SetInt64(const CefRefPtr& list, TIndex index, const int64_t&value); template - int64 GetInt64(const CefRefPtr& list, TIndex index); + int64_t GetInt64(const CefRefPtr& list, TIndex index); template bool IsInt64(const CefRefPtr& list, TIndex index); template - void SetCefTime(const CefRefPtr& list, TIndex index, const int64 &value); + void SetCefTime(const CefRefPtr& list, TIndex index, const int64_t&value); template CefBaseTime GetCefTime(const CefRefPtr& list, TIndex index); template @@ -33,19 +33,19 @@ namespace CefSharp template bool IsJsCallback(const CefRefPtr& list, TIndex index); - template void SetInt64(const CefRefPtr& list, int index, const int64 &value); - template void SetInt64(const CefRefPtr& list, size_t index, const int64 &value); - template void SetInt64(const CefRefPtr& list, CefString index, const int64 &value); - template int64 GetInt64(const CefRefPtr& list, int index); - template int64 GetInt64(const CefRefPtr& list, size_t index); - template int64 GetInt64(const CefRefPtr& list, CefString index); + template void SetInt64(const CefRefPtr& list, int index, const int64_t&value); + template void SetInt64(const CefRefPtr& list, size_t index, const int64_t&value); + template void SetInt64(const CefRefPtr& list, CefString index, const int64_t&value); + template int64_t GetInt64(const CefRefPtr& list, int index); + template int64_t GetInt64(const CefRefPtr& list, size_t index); + template int64_t GetInt64(const CefRefPtr& list, CefString index); template bool IsInt64(const CefRefPtr& list, int index); template bool IsInt64(const CefRefPtr& list, size_t index); template bool IsInt64(const CefRefPtr& list, CefString index); - template void SetCefTime(const CefRefPtr& list, int index, const int64 &value); - template void SetCefTime(const CefRefPtr& list, size_t index, const int64 &value); - template void SetCefTime(const CefRefPtr& list, CefString index, const int64 &value); + template void SetCefTime(const CefRefPtr& list, int index, const int64_t&value); + template void SetCefTime(const CefRefPtr& list, size_t index, const int64_t&value); + template void SetCefTime(const CefRefPtr& list, CefString index, const int64_t&value); template CefBaseTime GetCefTime(const CefRefPtr& list, int index); template CefBaseTime GetCefTime(const CefRefPtr& list, size_t index); template CefBaseTime GetCefTime(const CefRefPtr& list, CefString index); From c0d840a6411bbf802946219b78039de8da6acf01 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 16 Jul 2023 09:34:44 +1000 Subject: [PATCH 073/275] Remove CefSettings.UserDataPath Resolves #4518 --- CefSharp.Core.Runtime/CefSettingsBase.h | 11 ----------- CefSharp.Core/CefSettingsBase.cs | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h index 2ab73a54f0..55db47922f 100644 --- a/CefSharp.Core.Runtime/CefSettingsBase.h +++ b/CefSharp.Core.Runtime/CefSettingsBase.h @@ -171,17 +171,6 @@ namespace CefSharp void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->root_cache_path, value); } } - /// - /// The location where user data such as the Widevine CDM module and spell checking dictionary files will be stored on disk. - /// If this value is empty then "Local Settings\Application Data\CEF\User Data" directory under the user profile directory - /// will be used. If this value is non-empty then it must be an absolute path. - /// - property String^ UserDataPath - { - String^ get() { return StringUtils::ToClr(_cefSettings->user_data_path); } - void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->user_data_path, value); } - } - /// /// The locale string that will be passed to WebKit. If empty the default locale of "en-US" will be used. Also configurable using /// the "lang" command-line switch. diff --git a/CefSharp.Core/CefSettingsBase.cs b/CefSharp.Core/CefSettingsBase.cs index 8080a22866..97d129cfd6 100644 --- a/CefSharp.Core/CefSettingsBase.cs +++ b/CefSharp.Core/CefSettingsBase.cs @@ -156,17 +156,6 @@ public string RootCachePath set { settings.RootCachePath = value; } } - /// - /// The location where user data such as the Widevine CDM module and spell checking dictionary files will be stored on disk. - /// If this value is empty then "Local Settings\Application Data\CEF\User Data" directory under the user profile directory - /// will be used. If this value is non-empty then it must be an absolute path. - /// - public string UserDataPath - { - get { return settings.UserDataPath; } - set { settings.UserDataPath = value; } - } - /// /// Set to true in order to completely ignore SSL certificate errors. This is NOT recommended. /// From d318c9b91a93246e3f2fcddb7ee5682935a177a4 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 16 Jul 2023 11:29:18 +1000 Subject: [PATCH 074/275] Upgrade to 115.3.7+ga8d552a+chromium-115.0.5790.40 / Chromium 115.0.5790.40 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 6 +++--- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 6 +++--- CefSharp.Core.Runtime/Internals/StringUtils.h | 12 ++++++++---- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 31 files changed, 56 insertions(+), 52 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 336d3cdb25..549ec5f55c 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index c041017870..f6e9f29e4a 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@ - + - + @@ -261,4 +261,4 @@ - + \ No newline at end of file diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 5a32ae91ec..7e7a611131 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 114,2,100 - PRODUCTVERSION 114,2,100 + FILEVERSION 115,3,70 + PRODUCTVERSION 115,3,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "114.2.100" + VALUE "FileVersion", "115.3.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "114.2.100" + VALUE "ProductVersion", "115.3.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index c0e7a040d7..5065e105e4 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index bc500a55d4..c180478b55 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index cbdd163800..772631b044 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index b8afbac7e6..4c16c2cbaa 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 8e5c031f5d..33c0a6214e 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@ - + - + @@ -368,4 +368,4 @@ - + \ No newline at end of file diff --git a/CefSharp.Core.Runtime/Internals/StringUtils.h b/CefSharp.Core.Runtime/Internals/StringUtils.h index 18342bf8e8..f343758933 100644 --- a/CefSharp.Core.Runtime/Internals/StringUtils.h +++ b/CefSharp.Core.Runtime/Internals/StringUtils.h @@ -28,7 +28,9 @@ namespace CefSharp [DebuggerStepThrough] static String^ StringUtils::ToClr(const cef_string_t& cefStr) { - return gcnew String(cefStr.str); + auto str = reinterpret_cast(cefStr.str); + + return gcnew String(str); } /// @@ -39,7 +41,9 @@ namespace CefSharp [DebuggerStepThrough] static String^ StringUtils::ToClr(const CefString& cefStr) { - return gcnew String(cefStr.c_str()); + auto str = reinterpret_cast(cefStr.c_str()); + + return gcnew String(str); } /// @@ -115,7 +119,7 @@ namespace CefSharp if (str != nullptr) { pin_ptr pStr = PtrToStringChars(str); - cef_string_copy(pStr, str->Length, &cefStr); + cef_string_copy(reinterpret_cast(pStr), str->Length, &cefStr); } } @@ -142,4 +146,4 @@ namespace CefSharp } }; } -} \ No newline at end of file +} diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 6d10c45a7c..9d0b045925 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 114,2,100 - PRODUCTVERSION 114,2,100 + FILEVERSION 115,3,70 + PRODUCTVERSION 115,3,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "114.2.100" + VALUE "FileVersion", "115.3.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "114.2.100" + VALUE "ProductVersion", "115.3.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index c0e7a040d7..5065e105e4 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index bc500a55d4..c180478b55 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 69e685bd20..d52187db38 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 36a278569f..334e746e42 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 5b207ec480..1c76f2402c 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 1ae7b3c249..f1ef4bf244 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index c3ebdcce3f..17b642849f 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 08e53fd8ad..d55d77ce4a 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 9eb6147dff..9bc6c401c0 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index f0f283e410..534fbfdf41 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 15e8a3fd81..62f6be96eb 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 48194df2f6..216a07d2e6 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index cd7c7a7979..f7d4e77300 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 915008613a..32503c4395 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 114.2.100 + 115.3.70 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 114.2.100 + Version 115.3.70 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 311a62f25e..040ee5f74f 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "114.2.100"; - public const string AssemblyFileVersion = "114.2.100.0"; + public const string AssemblyVersion = "115.3.70"; + public const string AssemblyFileVersion = "115.3.70.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index d4a1a4d03f..27204e9787 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index e9767a225e..c3dab1f5ca 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index e863603232..184dde970c 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 5c36d12166..de29ff8a17 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "114.2.10", + [string] $CefVersion = "115.3.7", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 06d8216e76..faff0805e1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 114.2.100-CI{build} +version: 115.3.70-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 226e8c8903..4633c57699 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "114.2.100", + [string] $Version = "115.3.70", [Parameter(Position = 2)] - [string] $AssemblyVersion = "114.2.100", + [string] $AssemblyVersion = "115.3.70", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From fb0c3428d1022f128ede1b2c3cc81d36c96c9cbc Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 30 Jul 2023 09:28:11 +1000 Subject: [PATCH 075/275] Upgrade to 115.3.11+ga61da9b+chromium-115.0.5790.114 / Chromium 115.0.5790.114 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 549ec5f55c..510a722248 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index f6e9f29e4a..a564c561fd 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 7e7a611131..6d6048f202 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,70 - PRODUCTVERSION 115,3,70 + FILEVERSION 115,3,110 + PRODUCTVERSION 115,3,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "115.3.70" + VALUE "FileVersion", "115.3.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.70" + VALUE "ProductVersion", "115.3.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 5065e105e4..b959674017 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index c180478b55..a22a90b047 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 772631b044..afcd9abd48 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 4c16c2cbaa..d5097252f9 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 33c0a6214e..c87c03f5ff 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 9d0b045925..5cc64942f2 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,70 - PRODUCTVERSION 115,3,70 + FILEVERSION 115,3,110 + PRODUCTVERSION 115,3,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "115.3.70" + VALUE "FileVersion", "115.3.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.70" + VALUE "ProductVersion", "115.3.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 5065e105e4..b959674017 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index c180478b55..a22a90b047 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index d52187db38..360e684ab8 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 334e746e42..5b509f244f 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 1c76f2402c..f932dad86f 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index f1ef4bf244..ce096c3d8d 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 17b642849f..7b675820bd 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index d55d77ce4a..0fd359cd71 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 9bc6c401c0..e983702804 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 534fbfdf41..f447bf10b8 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 62f6be96eb..fb419f444a 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 216a07d2e6..06782adcb7 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index f7d4e77300..5f67f40be1 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 32503c4395..e98addc53f 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 115.3.70 + 115.3.110 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 115.3.70 + Version 115.3.110 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 040ee5f74f..df79daf2a1 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "115.3.70"; - public const string AssemblyFileVersion = "115.3.70.0"; + public const string AssemblyVersion = "115.3.110"; + public const string AssemblyFileVersion = "115.3.110.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 27204e9787..881fe1df34 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index c3dab1f5ca..d697ec74ae 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 184dde970c..754617bf4e 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index de29ff8a17..d0ef1ab9be 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "115.3.7", + [string] $CefVersion = "115.3.11", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index faff0805e1..06958072cc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 115.3.70-CI{build} +version: 115.3.110-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 4633c57699..c3c46790fc 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "115.3.70", + [string] $Version = "115.3.110", [Parameter(Position = 2)] - [string] $AssemblyVersion = "115.3.70", + [string] $AssemblyVersion = "115.3.110", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From e65d05e3d33d438701e4841662e4dcc06c07af67 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 30 Jul 2023 18:18:54 +1000 Subject: [PATCH 076/275] DevTools Client - Upgrade to 115.0.5790.114 --- .../DevTools/DevToolsClient.Generated.cs | 1058 +++++++++++++---- .../DevToolsClient.Generated.netcore.cs | 984 +++++++++++---- 2 files changed, 1564 insertions(+), 478 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index e7138c39cb..1b954e9f44 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 114.0.5735.110 +// CHROMIUM VERSION 115.0.5790.114 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2277,103 +2277,6 @@ internal string type } } - /// - /// TwaQualityEnforcementViolationType - /// - public enum TwaQualityEnforcementViolationType - { - /// - /// kHttpError - /// - [EnumMember(Value = ("kHttpError"))] - KHttpError, - /// - /// kUnavailableOffline - /// - [EnumMember(Value = ("kUnavailableOffline"))] - KUnavailableOffline, - /// - /// kDigitalAssetLinks - /// - [EnumMember(Value = ("kDigitalAssetLinks"))] - KDigitalAssetLinks - } - - /// - /// TrustedWebActivityIssueDetails - /// - [System.Runtime.Serialization.DataContractAttribute] - public partial class TrustedWebActivityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// The url that triggers the violation. - /// - [DataMember(Name = ("url"), IsRequired = (true))] - public string Url - { - get; - set; - } - - /// - /// ViolationType - /// - public CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType ViolationType - { - get - { - return (CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType)(StringToEnum(typeof(CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType), violationType)); - } - - set - { - this.violationType = (EnumToString(value)); - } - } - - /// - /// ViolationType - /// - [DataMember(Name = ("violationType"), IsRequired = (true))] - internal string violationType - { - get; - set; - } - - /// - /// HttpStatusCode - /// - [DataMember(Name = ("httpStatusCode"), IsRequired = (false))] - public int? HttpStatusCode - { - get; - set; - } - - /// - /// The package name of the Trusted Web Activity client app. This field is - /// only used when violation type is kDigitalAssetLinks. - /// - [DataMember(Name = ("packageName"), IsRequired = (false))] - public string PackageName - { - get; - set; - } - - /// - /// The signature of the Trusted Web Activity client app. This field is only - /// used when violation type is kDigitalAssetLinks. - /// - [DataMember(Name = ("signature"), IsRequired = (false))] - public string Signature - { - get; - set; - } - } - /// /// LowTextContrastIssueDetails /// @@ -2576,11 +2479,6 @@ public enum AttributionReportingIssueType [EnumMember(Value = ("InvalidRegisterTriggerHeader"))] InvalidRegisterTriggerHeader, /// - /// InvalidEligibleHeader - /// - [EnumMember(Value = ("InvalidEligibleHeader"))] - InvalidEligibleHeader, - /// /// SourceAndTriggerHeaders /// [EnumMember(Value = ("SourceAndTriggerHeaders"))] @@ -3183,7 +3081,12 @@ public enum FederatedAuthRequestIssueReason /// RpPageNotVisible /// [EnumMember(Value = ("RpPageNotVisible"))] - RpPageNotVisible + RpPageNotVisible, + /// + /// SilentMediationFailure + /// + [EnumMember(Value = ("SilentMediationFailure"))] + SilentMediationFailure } /// @@ -3268,11 +3171,6 @@ public enum InspectorIssueCode [EnumMember(Value = ("SharedArrayBufferIssue"))] SharedArrayBufferIssue, /// - /// TrustedWebActivityIssue - /// - [EnumMember(Value = ("TrustedWebActivityIssue"))] - TrustedWebActivityIssue, - /// /// LowTextContrastIssue /// [EnumMember(Value = ("LowTextContrastIssue"))] @@ -3392,16 +3290,6 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferI set; } - /// - /// TwaQualityEnforcementDetails - /// - [DataMember(Name = ("twaQualityEnforcementDetails"), IsRequired = (false))] - public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforcementDetails - { - get; - set; - } - /// /// LowTextContrastIssueDetails /// @@ -3575,6 +3463,66 @@ public CefSharp.DevTools.Audits.InspectorIssue Issue } } +namespace CefSharp.DevTools.Autofill +{ + /// + /// CreditCard + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CreditCard : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// 16-digit credit card number. + /// + [DataMember(Name = ("number"), IsRequired = (true))] + public string Number + { + get; + set; + } + + /// + /// Name of the credit card owner. + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// 2-digit expiry month. + /// + [DataMember(Name = ("expiryMonth"), IsRequired = (true))] + public string ExpiryMonth + { + get; + set; + } + + /// + /// 4-digit expiry year. + /// + [DataMember(Name = ("expiryYear"), IsRequired = (true))] + public string ExpiryYear + { + get; + set; + } + + /// + /// 3-digit card verification code. + /// + [DataMember(Name = ("cvc"), IsRequired = (true))] + public string Cvc + { + get; + set; + } + } +} + namespace CefSharp.DevTools.BackgroundService { /// @@ -4548,6 +4496,55 @@ public CefSharp.DevTools.CSS.SourceRange Range get; set; } + + /// + /// Specificity of the selector. + /// + [DataMember(Name = ("specificity"), IsRequired = (false))] + public CefSharp.DevTools.CSS.Specificity Specificity + { + get; + set; + } + } + + /// + /// Specificity: + /// https://drafts.csswg.org/selectors/#specificity-rules + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class Specificity : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The a component, which represents the number of ID selectors. + /// + [DataMember(Name = ("a"), IsRequired = (true))] + public int A + { + get; + set; + } + + /// + /// The b component, which represents the number of class selectors, attributes selectors, and + /// pseudo-classes. + /// + [DataMember(Name = ("b"), IsRequired = (true))] + public int B + { + get; + set; + } + + /// + /// The c component, which represents the number of type selectors and pseudo-elements. + /// + [DataMember(Name = ("c"), IsRequired = (true))] + public int C + { + get; + set; + } } /// @@ -6356,6 +6353,16 @@ public string StorageKey set; } + /// + /// Storage bucket of the cache. + /// + [DataMember(Name = ("storageBucket"), IsRequired = (false))] + public CefSharp.DevTools.Storage.StorageBucket StorageBucket + { + get; + set; + } + /// /// The name of the cache. /// @@ -24055,10 +24062,10 @@ public enum StorageBucketsDurability } /// - /// StorageBucketInfo + /// StorageBucket /// [System.Runtime.Serialization.DataContractAttribute] - public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + public partial class StorageBucket : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// StorageKey @@ -24071,30 +24078,37 @@ public string StorageKey } /// - /// Id + /// If not specified, it is the default bucket of the storageKey. /// - [DataMember(Name = ("id"), IsRequired = (true))] - public string Id + [DataMember(Name = ("name"), IsRequired = (false))] + public string Name { get; set; } + } + /// + /// StorageBucketInfo + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { /// - /// Name + /// Bucket /// - [DataMember(Name = ("name"), IsRequired = (true))] - public string Name + [DataMember(Name = ("bucket"), IsRequired = (true))] + public CefSharp.DevTools.Storage.StorageBucket Bucket { get; set; } /// - /// IsDefault + /// Id /// - [DataMember(Name = ("isDefault"), IsRequired = (true))] - public bool IsDefault + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id { get; set; @@ -24183,6 +24197,16 @@ public string StorageKey private set; } + /// + /// Storage bucket to update. + /// + [DataMember(Name = ("bucketId"), IsRequired = (true))] + public string BucketId + { + get; + private set; + } + /// /// Name of cache in origin. /// @@ -24219,6 +24243,16 @@ public string StorageKey get; private set; } + + /// + /// Storage bucket to update. + /// + [DataMember(Name = ("bucketId"), IsRequired = (true))] + public string BucketId + { + get; + private set; + } } /// @@ -24247,6 +24281,16 @@ public string StorageKey private set; } + /// + /// Storage bucket to update. + /// + [DataMember(Name = ("bucketId"), IsRequired = (true))] + public string BucketId + { + get; + private set; + } + /// /// Database to update. /// @@ -24293,6 +24337,16 @@ public string StorageKey get; private set; } + + /// + /// Storage bucket to update. + /// + [DataMember(Name = ("bucketId"), IsRequired = (true))] + public string BucketId + { + get; + private set; + } } /// @@ -24440,10 +24494,10 @@ public CefSharp.DevTools.Storage.SharedStorageAccessParams Params public class StorageBucketCreatedOrUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// Bucket + /// BucketInfo /// - [DataMember(Name = ("bucket"), IsRequired = (true))] - public CefSharp.DevTools.Storage.StorageBucketInfo Bucket + [DataMember(Name = ("bucketInfo"), IsRequired = (true))] + public CefSharp.DevTools.Storage.StorageBucketInfo BucketInfo { get; private set; @@ -27926,6 +27980,45 @@ public string SourceText set; } + /// + /// A speculation rule set is either added through an inline + /// <script> tag or through an external resource via the + /// 'Speculation-Rules' HTTP header. For the first case, we include + /// the BackendNodeId of the relevant <script> tag. For the second + /// case, we include the external URL where the rule set was loaded + /// from, and also RequestId if Network domain is enabled. + /// + /// See also: + /// - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script + /// - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header + /// + [DataMember(Name = ("backendNodeId"), IsRequired = (false))] + public int? BackendNodeId + { + get; + set; + } + + /// + /// Url + /// + [DataMember(Name = ("url"), IsRequired = (false))] + public string Url + { + get; + set; + } + + /// + /// RequestId + /// + [DataMember(Name = ("requestId"), IsRequired = (false))] + public string RequestId + { + get; + set; + } + /// /// Error information /// `errorMessage` is null iff `errorType` is null. @@ -28451,38 +28544,6 @@ public enum PrerenderFinalStatus MemoryPressureAfterTriggered } - /// - /// PreloadEnabledState - /// - public enum PreloadEnabledState - { - /// - /// Enabled - /// - [EnumMember(Value = ("Enabled"))] - Enabled, - /// - /// DisabledByDataSaver - /// - [EnumMember(Value = ("DisabledByDataSaver"))] - DisabledByDataSaver, - /// - /// DisabledByBatterySaver - /// - [EnumMember(Value = ("DisabledByBatterySaver"))] - DisabledByBatterySaver, - /// - /// DisabledByPreference - /// - [EnumMember(Value = ("DisabledByPreference"))] - DisabledByPreference, - /// - /// NotSupported - /// - [EnumMember(Value = ("NotSupported"))] - NotSupported - } - /// /// Preloading status values, see also PreloadingTriggeringOutcome. This /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. @@ -28521,6 +28582,164 @@ public enum PreloadingStatus NotSupported } + /// + /// TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and + /// filter out the ones that aren't necessary to the developers. + /// + public enum PrefetchStatus + { + /// + /// PrefetchAllowed + /// + [EnumMember(Value = ("PrefetchAllowed"))] + PrefetchAllowed, + /// + /// PrefetchFailedIneligibleRedirect + /// + [EnumMember(Value = ("PrefetchFailedIneligibleRedirect"))] + PrefetchFailedIneligibleRedirect, + /// + /// PrefetchFailedInvalidRedirect + /// + [EnumMember(Value = ("PrefetchFailedInvalidRedirect"))] + PrefetchFailedInvalidRedirect, + /// + /// PrefetchFailedMIMENotSupported + /// + [EnumMember(Value = ("PrefetchFailedMIMENotSupported"))] + PrefetchFailedMIMENotSupported, + /// + /// PrefetchFailedNetError + /// + [EnumMember(Value = ("PrefetchFailedNetError"))] + PrefetchFailedNetError, + /// + /// PrefetchFailedNon2XX + /// + [EnumMember(Value = ("PrefetchFailedNon2XX"))] + PrefetchFailedNon2XX, + /// + /// PrefetchFailedPerPageLimitExceeded + /// + [EnumMember(Value = ("PrefetchFailedPerPageLimitExceeded"))] + PrefetchFailedPerPageLimitExceeded, + /// + /// PrefetchEvicted + /// + [EnumMember(Value = ("PrefetchEvicted"))] + PrefetchEvicted, + /// + /// PrefetchHeldback + /// + [EnumMember(Value = ("PrefetchHeldback"))] + PrefetchHeldback, + /// + /// PrefetchIneligibleRetryAfter + /// + [EnumMember(Value = ("PrefetchIneligibleRetryAfter"))] + PrefetchIneligibleRetryAfter, + /// + /// PrefetchIsPrivacyDecoy + /// + [EnumMember(Value = ("PrefetchIsPrivacyDecoy"))] + PrefetchIsPrivacyDecoy, + /// + /// PrefetchIsStale + /// + [EnumMember(Value = ("PrefetchIsStale"))] + PrefetchIsStale, + /// + /// PrefetchNotEligibleBrowserContextOffTheRecord + /// + [EnumMember(Value = ("PrefetchNotEligibleBrowserContextOffTheRecord"))] + PrefetchNotEligibleBrowserContextOffTheRecord, + /// + /// PrefetchNotEligibleDataSaverEnabled + /// + [EnumMember(Value = ("PrefetchNotEligibleDataSaverEnabled"))] + PrefetchNotEligibleDataSaverEnabled, + /// + /// PrefetchNotEligibleExistingProxy + /// + [EnumMember(Value = ("PrefetchNotEligibleExistingProxy"))] + PrefetchNotEligibleExistingProxy, + /// + /// PrefetchNotEligibleHostIsNonUnique + /// + [EnumMember(Value = ("PrefetchNotEligibleHostIsNonUnique"))] + PrefetchNotEligibleHostIsNonUnique, + /// + /// PrefetchNotEligibleNonDefaultStoragePartition + /// + [EnumMember(Value = ("PrefetchNotEligibleNonDefaultStoragePartition"))] + PrefetchNotEligibleNonDefaultStoragePartition, + /// + /// PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy + /// + [EnumMember(Value = ("PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"))] + PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy, + /// + /// PrefetchNotEligibleSchemeIsNotHttps + /// + [EnumMember(Value = ("PrefetchNotEligibleSchemeIsNotHttps"))] + PrefetchNotEligibleSchemeIsNotHttps, + /// + /// PrefetchNotEligibleUserHasCookies + /// + [EnumMember(Value = ("PrefetchNotEligibleUserHasCookies"))] + PrefetchNotEligibleUserHasCookies, + /// + /// PrefetchNotEligibleUserHasServiceWorker + /// + [EnumMember(Value = ("PrefetchNotEligibleUserHasServiceWorker"))] + PrefetchNotEligibleUserHasServiceWorker, + /// + /// PrefetchNotEligibleBatterySaverEnabled + /// + [EnumMember(Value = ("PrefetchNotEligibleBatterySaverEnabled"))] + PrefetchNotEligibleBatterySaverEnabled, + /// + /// PrefetchNotEligiblePreloadingDisabled + /// + [EnumMember(Value = ("PrefetchNotEligiblePreloadingDisabled"))] + PrefetchNotEligiblePreloadingDisabled, + /// + /// PrefetchNotFinishedInTime + /// + [EnumMember(Value = ("PrefetchNotFinishedInTime"))] + PrefetchNotFinishedInTime, + /// + /// PrefetchNotStarted + /// + [EnumMember(Value = ("PrefetchNotStarted"))] + PrefetchNotStarted, + /// + /// PrefetchNotUsedCookiesChanged + /// + [EnumMember(Value = ("PrefetchNotUsedCookiesChanged"))] + PrefetchNotUsedCookiesChanged, + /// + /// PrefetchProxyNotAvailable + /// + [EnumMember(Value = ("PrefetchProxyNotAvailable"))] + PrefetchProxyNotAvailable, + /// + /// PrefetchResponseUsed + /// + [EnumMember(Value = ("PrefetchResponseUsed"))] + PrefetchResponseUsed, + /// + /// PrefetchSuccessfulButNotUsed + /// + [EnumMember(Value = ("PrefetchSuccessfulButNotUsed"))] + PrefetchSuccessfulButNotUsed, + /// + /// PrefetchNotUsedProbeFailed + /// + [EnumMember(Value = ("PrefetchNotUsedProbeFailed"))] + PrefetchNotUsedProbeFailed + } + /// /// Upsert. Currently, it is only emitted when a rule set added. /// @@ -28636,26 +28855,30 @@ public string DisallowedApiMethod public class PreloadEnabledStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// State + /// DisabledByPreference /// - public CefSharp.DevTools.Preload.PreloadEnabledState State + [DataMember(Name = ("disabledByPreference"), IsRequired = (true))] + public bool DisabledByPreference { - get - { - return (CefSharp.DevTools.Preload.PreloadEnabledState)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadEnabledState), state)); - } + get; + private set; + } - set - { - this.state = (EnumToString(value)); - } + /// + /// DisabledByDataSaver + /// + [DataMember(Name = ("disabledByDataSaver"), IsRequired = (true))] + public bool DisabledByDataSaver + { + get; + private set; } /// - /// State + /// DisabledByBatterySaver /// - [DataMember(Name = ("state"), IsRequired = (true))] - internal string state + [DataMember(Name = ("disabledByBatterySaver"), IsRequired = (true))] + public bool DisabledByBatterySaver { get; private set; @@ -28723,6 +28946,32 @@ internal string status get; private set; } + + /// + /// PrefetchStatus + /// + public CefSharp.DevTools.Preload.PrefetchStatus PrefetchStatus + { + get + { + return (CefSharp.DevTools.Preload.PrefetchStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PrefetchStatus), prefetchStatus)); + } + + set + { + this.prefetchStatus = (EnumToString(value)); + } + } + + /// + /// PrefetchStatus + /// + [DataMember(Name = ("prefetchStatus"), IsRequired = (true))] + internal string prefetchStatus + { + get; + private set; + } } /// @@ -28742,46 +28991,52 @@ public CefSharp.DevTools.Preload.PreloadingAttemptKey Key } /// - /// The frame id of the frame initiating prerender. + /// Status /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId + public CefSharp.DevTools.Preload.PreloadingStatus Status { - get; - private set; + get + { + return (CefSharp.DevTools.Preload.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadingStatus), status)); + } + + set + { + this.status = (EnumToString(value)); + } } /// - /// PrerenderingUrl + /// Status /// - [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] - public string PrerenderingUrl + [DataMember(Name = ("status"), IsRequired = (true))] + internal string status { get; private set; } /// - /// Status + /// PrerenderStatus /// - public CefSharp.DevTools.Preload.PreloadingStatus Status + public CefSharp.DevTools.Preload.PrerenderFinalStatus? PrerenderStatus { get { - return (CefSharp.DevTools.Preload.PreloadingStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PreloadingStatus), status)); + return (CefSharp.DevTools.Preload.PrerenderFinalStatus? )(StringToEnum(typeof(CefSharp.DevTools.Preload.PrerenderFinalStatus? ), prerenderStatus)); } set { - this.status = (EnumToString(value)); + this.prerenderStatus = (EnumToString(value)); } } /// - /// Status + /// PrerenderStatus /// - [DataMember(Name = ("status"), IsRequired = (true))] - internal string status + [DataMember(Name = ("prerenderStatus"), IsRequired = (false))] + internal string prerenderStatus { get; private set; @@ -28836,6 +29091,23 @@ public enum LoginState SignUp } + /// + /// Whether the dialog shown is an account chooser or an auto re-authentication dialog. + /// + public enum DialogType + { + /// + /// AccountChooser + /// + [EnumMember(Value = ("AccountChooser"))] + AccountChooser, + /// + /// AutoReauthn + /// + [EnumMember(Value = ("AutoReauthn"))] + AutoReauthn + } + /// /// Corresponds to IdentityRequestAccount /// @@ -28975,6 +29247,32 @@ public string DialogId private set; } + /// + /// DialogType + /// + public CefSharp.DevTools.FedCm.DialogType DialogType + { + get + { + return (CefSharp.DevTools.FedCm.DialogType)(StringToEnum(typeof(CefSharp.DevTools.FedCm.DialogType), dialogType)); + } + + set + { + this.dialogType = (EnumToString(value)); + } + } + + /// + /// DialogType + /// + [DataMember(Name = ("dialogType"), IsRequired = (true))] + internal string dialogType + { + get; + private set; + } + /// /// Accounts /// @@ -30782,9 +31080,75 @@ public System.Collections.Generic.IList - /// WebDriverValueType + /// SerializationOptionsSerialization /// - public enum WebDriverValueType + public enum SerializationOptionsSerialization + { + /// + /// deep + /// + [EnumMember(Value = ("deep"))] + Deep, + /// + /// json + /// + [EnumMember(Value = ("json"))] + Json, + /// + /// idOnly + /// + [EnumMember(Value = ("idOnly"))] + IdOnly + } + + /// + /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and + /// `generateWebDriverValue`. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Serialization + /// + public CefSharp.DevTools.Runtime.SerializationOptionsSerialization Serialization + { + get + { + return (CefSharp.DevTools.Runtime.SerializationOptionsSerialization)(StringToEnum(typeof(CefSharp.DevTools.Runtime.SerializationOptionsSerialization), serialization)); + } + + set + { + this.serialization = (EnumToString(value)); + } + } + + /// + /// Serialization + /// + [DataMember(Name = ("serialization"), IsRequired = (true))] + internal string serialization + { + get; + set; + } + + /// + /// Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode. + /// + [DataMember(Name = ("maxDepth"), IsRequired = (false))] + public int? MaxDepth + { + get; + set; + } + } + + /// + /// DeepSerializedValueType + /// + public enum DeepSerializedValueType { /// /// undefined @@ -30904,20 +31268,19 @@ public enum WebDriverValueType } /// - /// Represents the value serialiazed by the WebDriver BiDi specification - /// https://w3c.github.io/webdriver-bidi. + /// Represents deep serialized value. /// [System.Runtime.Serialization.DataContractAttribute] - public partial class WebDriverValue : CefSharp.DevTools.DevToolsDomainEntityBase + public partial class DeepSerializedValue : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Type /// - public CefSharp.DevTools.Runtime.WebDriverValueType Type + public CefSharp.DevTools.Runtime.DeepSerializedValueType Type { get { - return (CefSharp.DevTools.Runtime.WebDriverValueType)(StringToEnum(typeof(CefSharp.DevTools.Runtime.WebDriverValueType), type)); + return (CefSharp.DevTools.Runtime.DeepSerializedValueType)(StringToEnum(typeof(CefSharp.DevTools.Runtime.DeepSerializedValueType), type)); } set @@ -30955,6 +31318,18 @@ public string ObjectId get; set; } + + /// + /// Set if value reference met more then once during serialization. In such + /// case, value is provided only to one of the serialized values. Unique + /// per value in the scope of one CDP call. + /// + [DataMember(Name = ("weakLocalObjectReference"), IsRequired = (false))] + public int? WeakLocalObjectReference + { + get; + set; + } } /// @@ -31212,10 +31587,20 @@ public string Description } /// - /// WebDriver BiDi representation of the value. + /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. /// [DataMember(Name = ("webDriverValue"), IsRequired = (false))] - public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue + public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue + { + get; + set; + } + + /// + /// Deep serialized value. + /// + [DataMember(Name = ("deepSerializedValue"), IsRequired = (false))] + public CefSharp.DevTools.Runtime.DeepSerializedValue DeepSerializedValue { get; set; @@ -33459,6 +33844,34 @@ public int EncodedSize } } +namespace CefSharp.DevTools.Audits +{ + /// + /// CheckFormsIssuesResponse + /// + [DataContract] + public class CheckFormsIssuesResponse : DevToolsDomainResponseBase + { + [DataMember] + internal System.Collections.Generic.IList formIssues + { + get; + set; + } + + /// + /// formIssues + /// + public System.Collections.Generic.IList FormIssues + { + get + { + return formIssues; + } + } + } +} + namespace CefSharp.DevTools.Audits { using System.Linq; @@ -33584,6 +33997,61 @@ public System.Threading.Tasks.Task CheckContrastAsync(bo return _client.ExecuteDevToolsMethodAsync("Audits.checkContrast", dict); } + + /// + /// Runs the form issues check for the target page. Found issues are reported + /// using Audits.issueAdded event. + /// + /// returns System.Threading.Tasks.Task<CheckFormsIssuesResponse> + public System.Threading.Tasks.Task CheckFormsIssuesAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Audits.checkFormsIssues", dict); + } + } +} + +namespace CefSharp.DevTools.Autofill +{ + using System.Linq; + + /// + /// Defines commands and events for Autofill. + /// + public partial class AutofillClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// Autofill + /// + /// DevToolsClient + public AutofillClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + partial void ValidateTrigger(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null); + /// + /// Trigger autofill on a form identified by the fieldId. + /// If the field and related form cannot be autofilled, returns an error. + /// + /// Identifies a field that serves as an anchor for autofill. + /// Credit card information to fill out the form. Credit card data is not saved. + /// Identifies the frame that field belongs to. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task TriggerAsync(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null) + { + ValidateTrigger(fieldId, card, frameId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("fieldId", fieldId); + dict.Add("card", card.ToDictionary()); + if (!(string.IsNullOrEmpty(frameId))) + { + dict.Add("frameId", frameId); + } + + return _client.ExecuteDevToolsMethodAsync("Autofill.trigger", dict); + } } } @@ -34341,6 +34809,21 @@ public System.Threading.Tasks.Task ExecuteBrowserCommand dict.Add("commandId", EnumToString(commandId)); return _client.ExecuteDevToolsMethodAsync("Browser.executeBrowserCommand", dict); } + + partial void ValidateAddPrivacySandboxEnrollmentOverride(string url); + /// + /// Allows a site to use privacy sandbox features that require enrollment + /// without the site actually being enrolled. Only supported on page targets. + /// + /// url + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task AddPrivacySandboxEnrollmentOverrideAsync(string url) + { + ValidateAddPrivacySandboxEnrollmentOverride(url); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("url", url); + return _client.ExecuteDevToolsMethodAsync("Browser.addPrivacySandboxEnrollmentOverride", dict); + } } } @@ -35865,16 +36348,17 @@ public System.Threading.Tasks.Task DeleteEntryAsync(stri return _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteEntry", dict); } - partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null); + partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests cache names. /// - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestCacheNamesResponse> - public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestCacheNames(securityOrigin, storageKey); + ValidateRequestCacheNames(securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); if (!(string.IsNullOrEmpty(securityOrigin))) { @@ -35886,6 +36370,11 @@ public System.Threading.Tasks.Task RequestCacheNamesA dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("CacheStorage.requestCacheNames", dict); } @@ -40057,18 +40546,19 @@ public IndexedDBClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } - partial void ValidateClearObjectStore(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); + partial void ValidateClearObjectStore(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Clears all entries from an object store. /// /// Database name. /// Object store name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ClearObjectStoreAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task ClearObjectStoreAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateClearObjectStore(databaseName, objectStoreName, securityOrigin, storageKey); + ValidateClearObjectStore(databaseName, objectStoreName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -40082,20 +40572,26 @@ public System.Threading.Tasks.Task ClearObjectStoreAsync dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.clearObjectStore", dict); } - partial void ValidateDeleteDatabase(string databaseName, string securityOrigin = null, string storageKey = null); + partial void ValidateDeleteDatabase(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Deletes a database. /// /// Database name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task DeleteDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateDeleteDatabase(databaseName, securityOrigin, storageKey); + ValidateDeleteDatabase(databaseName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); if (!(string.IsNullOrEmpty(securityOrigin))) @@ -40108,22 +40604,28 @@ public System.Threading.Tasks.Task DeleteDatabaseAsync(s dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.deleteDatabase", dict); } - partial void ValidateDeleteObjectStoreEntries(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null); + partial void ValidateDeleteObjectStoreEntries(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Delete a range of entries from an object store /// /// databaseName /// objectStoreName /// Range of entry keys to delete - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteObjectStoreEntriesAsync(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task DeleteObjectStoreEntriesAsync(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateDeleteObjectStoreEntries(databaseName, objectStoreName, keyRange, securityOrigin, storageKey); + ValidateDeleteObjectStoreEntries(databaseName, objectStoreName, keyRange, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -40138,6 +40640,11 @@ public System.Threading.Tasks.Task DeleteObjectStoreEntr dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.deleteObjectStoreEntries", dict); } @@ -40161,7 +40668,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("IndexedDB.enable", dict); } - partial void ValidateRequestData(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null); + partial void ValidateRequestData(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null); /// /// Requests data from object store or index. /// @@ -40170,13 +40677,14 @@ public System.Threading.Tasks.Task EnableAsync() /// Index name, empty string for object store data requests. /// Number of records to skip. /// Number of records to fetch. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// Key range. /// returns System.Threading.Tasks.Task<RequestDataResponse> - public System.Threading.Tasks.Task RequestDataAsync(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null) + public System.Threading.Tasks.Task RequestDataAsync(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null) { - ValidateRequestData(databaseName, objectStoreName, indexName, skipCount, pageSize, securityOrigin, storageKey, keyRange); + ValidateRequestData(databaseName, objectStoreName, indexName, skipCount, pageSize, securityOrigin, storageKey, storageBucket, keyRange); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -40193,6 +40701,11 @@ public System.Threading.Tasks.Task RequestDataAsync(string dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + if ((keyRange) != (null)) { dict.Add("keyRange", keyRange.ToDictionary()); @@ -40201,18 +40714,19 @@ public System.Threading.Tasks.Task RequestDataAsync(string return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestData", dict); } - partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); + partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Gets metadata of an object store. /// /// Database name. /// Object store name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<GetMetadataResponse> - public System.Threading.Tasks.Task GetMetadataAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task GetMetadataAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateGetMetadata(databaseName, objectStoreName, securityOrigin, storageKey); + ValidateGetMetadata(databaseName, objectStoreName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -40226,20 +40740,26 @@ public System.Threading.Tasks.Task GetMetadataAsync(string dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.getMetadata", dict); } - partial void ValidateRequestDatabase(string databaseName, string securityOrigin = null, string storageKey = null); + partial void ValidateRequestDatabase(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests database with given name in given frame. /// /// Database name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestDatabaseResponse> - public System.Threading.Tasks.Task RequestDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestDatabase(databaseName, securityOrigin, storageKey); + ValidateRequestDatabase(databaseName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); if (!(string.IsNullOrEmpty(securityOrigin))) @@ -40252,19 +40772,25 @@ public System.Threading.Tasks.Task RequestDatabaseAsync dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestDatabase", dict); } - partial void ValidateRequestDatabaseNames(string securityOrigin = null, string storageKey = null); + partial void ValidateRequestDatabaseNames(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests database names for given security origin. /// - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestDatabaseNamesResponse> - public System.Threading.Tasks.Task RequestDatabaseNamesAsync(string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestDatabaseNamesAsync(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestDatabaseNames(securityOrigin, storageKey); + ValidateRequestDatabaseNames(securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); if (!(string.IsNullOrEmpty(securityOrigin))) { @@ -40276,6 +40802,11 @@ public System.Threading.Tasks.Task RequestDatabase dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestDatabaseNames", dict); } } @@ -47298,19 +47829,17 @@ public System.Threading.Tasks.Task SetStorageBucketTrack return _client.ExecuteDevToolsMethodAsync("Storage.setStorageBucketTracking", dict); } - partial void ValidateDeleteStorageBucket(string storageKey, string bucketName); + partial void ValidateDeleteStorageBucket(CefSharp.DevTools.Storage.StorageBucket bucket); /// /// Deletes the Storage Bucket with the given storage key and bucket name. /// - /// storageKey - /// bucketName + /// bucket /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteStorageBucketAsync(string storageKey, string bucketName) + public System.Threading.Tasks.Task DeleteStorageBucketAsync(CefSharp.DevTools.Storage.StorageBucket bucket) { - ValidateDeleteStorageBucket(storageKey, bucketName); + ValidateDeleteStorageBucket(bucket); var dict = new System.Collections.Generic.Dictionary(); - dict.Add("storageKey", storageKey); - dict.Add("bucketName", bucketName); + dict.Add("bucket", bucket.ToDictionary()); return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); } @@ -52897,7 +53426,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -52906,7 +53435,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Identifier of the object to call function on. Either objectId or executionContextId shouldbe specified. /// Call arguments. All call arguments must belong to the same JavaScript world as the targetobject. /// In silent mode exceptions thrown during evaluation are not reported and do not pauseexecution. Overrides `setPauseOnException` state. - /// Whether the result is expected to be a JSON object which should be sent by value. + /// Whether the result is expected to be a JSON object which should be sent by value.Can be overriden by `serializationOptions`. /// Whether preview should be generated for the result. /// Whether execution should be treated as initiated by user in the UI. /// Whether execution should `await` for resulting value and return once awaited promise isresolved. @@ -52914,11 +53443,12 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -52981,6 +53511,11 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("generateWebDriverValue", generateWebDriverValue.Value); } + if ((serializationOptions) != (null)) + { + dict.Add("serializationOptions", serializationOptions.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Runtime.callFunctionOn", dict); } @@ -53040,7 +53575,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -53059,11 +53594,12 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi. + /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -53141,6 +53677,11 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("generateWebDriverValue", generateWebDriverValue.Value); } + if ((serializationOptions) != (null)) + { + dict.Add("serializationOptions", serializationOptions.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Runtime.evaluate", dict); } @@ -53513,6 +54054,23 @@ public CefSharp.DevTools.Audits.AuditsClient Audits } } + private CefSharp.DevTools.Autofill.AutofillClient _Autofill; + /// + /// Defines commands and events for Autofill. + /// + public CefSharp.DevTools.Autofill.AutofillClient Autofill + { + get + { + if ((_Autofill) == (null)) + { + _Autofill = (new CefSharp.DevTools.Autofill.AutofillClient(this)); + } + + return _Autofill; + } + } + private CefSharp.DevTools.BackgroundService.BackgroundServiceClient _BackgroundService; /// /// Defines events for background web platform features. diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 24e67b3cbc..6290b07310 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 114.0.5735.110 +// CHROMIUM VERSION 115.0.5790.114 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2042,87 +2042,6 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueType Type } } - /// - /// TwaQualityEnforcementViolationType - /// - public enum TwaQualityEnforcementViolationType - { - /// - /// kHttpError - /// - [JsonPropertyName("kHttpError")] - KHttpError, - /// - /// kUnavailableOffline - /// - [JsonPropertyName("kUnavailableOffline")] - KUnavailableOffline, - /// - /// kDigitalAssetLinks - /// - [JsonPropertyName("kDigitalAssetLinks")] - KDigitalAssetLinks - } - - /// - /// TrustedWebActivityIssueDetails - /// - public partial class TrustedWebActivityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// The url that triggers the violation. - /// - [JsonPropertyName("url")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Url - { - get; - set; - } - - /// - /// ViolationType - /// - [JsonPropertyName("violationType")] - public CefSharp.DevTools.Audits.TwaQualityEnforcementViolationType ViolationType - { - get; - set; - } - - /// - /// HttpStatusCode - /// - [JsonPropertyName("httpStatusCode")] - public int? HttpStatusCode - { - get; - set; - } - - /// - /// The package name of the Trusted Web Activity client app. This field is - /// only used when violation type is kDigitalAssetLinks. - /// - [JsonPropertyName("packageName")] - public string PackageName - { - get; - set; - } - - /// - /// The signature of the Trusted Web Activity client app. This field is only - /// used when violation type is kDigitalAssetLinks. - /// - [JsonPropertyName("signature")] - public string Signature - { - get; - set; - } - } - /// /// LowTextContrastIssueDetails /// @@ -2312,11 +2231,6 @@ public enum AttributionReportingIssueType [JsonPropertyName("InvalidRegisterTriggerHeader")] InvalidRegisterTriggerHeader, /// - /// InvalidEligibleHeader - /// - [JsonPropertyName("InvalidEligibleHeader")] - InvalidEligibleHeader, - /// /// SourceAndTriggerHeaders /// [JsonPropertyName("SourceAndTriggerHeaders")] @@ -2871,7 +2785,12 @@ public enum FederatedAuthRequestIssueReason /// RpPageNotVisible /// [JsonPropertyName("RpPageNotVisible")] - RpPageNotVisible + RpPageNotVisible, + /// + /// SilentMediationFailure + /// + [JsonPropertyName("SilentMediationFailure")] + SilentMediationFailure } /// @@ -2940,11 +2859,6 @@ public enum InspectorIssueCode [JsonPropertyName("SharedArrayBufferIssue")] SharedArrayBufferIssue, /// - /// TrustedWebActivityIssue - /// - [JsonPropertyName("TrustedWebActivityIssue")] - TrustedWebActivityIssue, - /// /// LowTextContrastIssue /// [JsonPropertyName("LowTextContrastIssue")] @@ -3063,16 +2977,6 @@ public CefSharp.DevTools.Audits.SharedArrayBufferIssueDetails SharedArrayBufferI set; } - /// - /// TwaQualityEnforcementDetails - /// - [JsonPropertyName("twaQualityEnforcementDetails")] - public CefSharp.DevTools.Audits.TrustedWebActivityIssueDetails TwaQualityEnforcementDetails - { - get; - set; - } - /// /// LowTextContrastIssueDetails /// @@ -3231,6 +3135,70 @@ public CefSharp.DevTools.Audits.InspectorIssue Issue } } +namespace CefSharp.DevTools.Autofill +{ + /// + /// CreditCard + /// + public partial class CreditCard : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// 16-digit credit card number. + /// + [JsonPropertyName("number")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Number + { + get; + set; + } + + /// + /// Name of the credit card owner. + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + + /// + /// 2-digit expiry month. + /// + [JsonPropertyName("expiryMonth")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ExpiryMonth + { + get; + set; + } + + /// + /// 4-digit expiry year. + /// + [JsonPropertyName("expiryYear")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ExpiryYear + { + get; + set; + } + + /// + /// 3-digit card verification code. + /// + [JsonPropertyName("cvc")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Cvc + { + get; + set; + } + } +} + namespace CefSharp.DevTools.BackgroundService { /// @@ -4142,6 +4110,54 @@ public CefSharp.DevTools.CSS.SourceRange Range get; set; } + + /// + /// Specificity of the selector. + /// + [JsonPropertyName("specificity")] + public CefSharp.DevTools.CSS.Specificity Specificity + { + get; + set; + } + } + + /// + /// Specificity: + /// https://drafts.csswg.org/selectors/#specificity-rules + /// + public partial class Specificity : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The a component, which represents the number of ID selectors. + /// + [JsonPropertyName("a")] + public int A + { + get; + set; + } + + /// + /// The b component, which represents the number of class selectors, attributes selectors, and + /// pseudo-classes. + /// + [JsonPropertyName("b")] + public int B + { + get; + set; + } + + /// + /// The c component, which represents the number of type selectors and pseudo-elements. + /// + [JsonPropertyName("c")] + public int C + { + get; + set; + } } /// @@ -5851,6 +5867,16 @@ public string StorageKey set; } + /// + /// Storage bucket of the cache. + /// + [JsonPropertyName("storageBucket")] + public CefSharp.DevTools.Storage.StorageBucket StorageBucket + { + get; + set; + } + /// /// The name of the cache. /// @@ -22416,9 +22442,9 @@ public enum StorageBucketsDurability } /// - /// StorageBucketInfo + /// StorageBucket /// - public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + public partial class StorageBucket : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// StorageKey @@ -22432,32 +22458,38 @@ public string StorageKey } /// - /// Id + /// If not specified, it is the default bucket of the storageKey. /// - [JsonPropertyName("id")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Id + [JsonPropertyName("name")] + public string Name { get; set; } + } + /// + /// StorageBucketInfo + /// + public partial class StorageBucketInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { /// - /// Name + /// Bucket /// - [JsonPropertyName("name")] + [JsonPropertyName("bucket")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Name + public CefSharp.DevTools.Storage.StorageBucket Bucket { get; set; } /// - /// IsDefault + /// Id /// - [JsonPropertyName("isDefault")] - public bool IsDefault + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id { get; set; @@ -22533,6 +22565,18 @@ public string StorageKey private set; } + /// + /// Storage bucket to update. + /// + [JsonInclude] + [JsonPropertyName("bucketId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string BucketId + { + get; + private set; + } + /// /// Name of cache in origin. /// @@ -22574,6 +22618,18 @@ public string StorageKey get; private set; } + + /// + /// Storage bucket to update. + /// + [JsonInclude] + [JsonPropertyName("bucketId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string BucketId + { + get; + private set; + } } /// @@ -22605,6 +22661,18 @@ public string StorageKey private set; } + /// + /// Storage bucket to update. + /// + [JsonInclude] + [JsonPropertyName("bucketId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string BucketId + { + get; + private set; + } + /// /// Database to update. /// @@ -22658,6 +22726,18 @@ public string StorageKey get; private set; } + + /// + /// Storage bucket to update. + /// + [JsonInclude] + [JsonPropertyName("bucketId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string BucketId + { + get; + private set; + } } /// @@ -22784,12 +22864,12 @@ public CefSharp.DevTools.Storage.SharedStorageAccessParams Params public class StorageBucketCreatedOrUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// Bucket + /// BucketInfo /// [JsonInclude] - [JsonPropertyName("bucket")] + [JsonPropertyName("bucketInfo")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public CefSharp.DevTools.Storage.StorageBucketInfo Bucket + public CefSharp.DevTools.Storage.StorageBucketInfo BucketInfo { get; private set; @@ -26061,6 +26141,45 @@ public string SourceText set; } + /// + /// A speculation rule set is either added through an inline + /// <script> tag or through an external resource via the + /// 'Speculation-Rules' HTTP header. For the first case, we include + /// the BackendNodeId of the relevant <script> tag. For the second + /// case, we include the external URL where the rule set was loaded + /// from, and also RequestId if Network domain is enabled. + /// + /// See also: + /// - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script + /// - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header + /// + [JsonPropertyName("backendNodeId")] + public int? BackendNodeId + { + get; + set; + } + + /// + /// Url + /// + [JsonPropertyName("url")] + public string Url + { + get; + set; + } + + /// + /// RequestId + /// + [JsonPropertyName("requestId")] + public string RequestId + { + get; + set; + } + /// /// Error information /// `errorMessage` is null iff `errorType` is null. @@ -26539,38 +26658,6 @@ public enum PrerenderFinalStatus MemoryPressureAfterTriggered } - /// - /// PreloadEnabledState - /// - public enum PreloadEnabledState - { - /// - /// Enabled - /// - [JsonPropertyName("Enabled")] - Enabled, - /// - /// DisabledByDataSaver - /// - [JsonPropertyName("DisabledByDataSaver")] - DisabledByDataSaver, - /// - /// DisabledByBatterySaver - /// - [JsonPropertyName("DisabledByBatterySaver")] - DisabledByBatterySaver, - /// - /// DisabledByPreference - /// - [JsonPropertyName("DisabledByPreference")] - DisabledByPreference, - /// - /// NotSupported - /// - [JsonPropertyName("NotSupported")] - NotSupported - } - /// /// Preloading status values, see also PreloadingTriggeringOutcome. This /// status is shared by prefetchStatusUpdated and prerenderStatusUpdated. @@ -26609,6 +26696,164 @@ public enum PreloadingStatus NotSupported } + /// + /// TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and + /// filter out the ones that aren't necessary to the developers. + /// + public enum PrefetchStatus + { + /// + /// PrefetchAllowed + /// + [JsonPropertyName("PrefetchAllowed")] + PrefetchAllowed, + /// + /// PrefetchFailedIneligibleRedirect + /// + [JsonPropertyName("PrefetchFailedIneligibleRedirect")] + PrefetchFailedIneligibleRedirect, + /// + /// PrefetchFailedInvalidRedirect + /// + [JsonPropertyName("PrefetchFailedInvalidRedirect")] + PrefetchFailedInvalidRedirect, + /// + /// PrefetchFailedMIMENotSupported + /// + [JsonPropertyName("PrefetchFailedMIMENotSupported")] + PrefetchFailedMIMENotSupported, + /// + /// PrefetchFailedNetError + /// + [JsonPropertyName("PrefetchFailedNetError")] + PrefetchFailedNetError, + /// + /// PrefetchFailedNon2XX + /// + [JsonPropertyName("PrefetchFailedNon2XX")] + PrefetchFailedNon2XX, + /// + /// PrefetchFailedPerPageLimitExceeded + /// + [JsonPropertyName("PrefetchFailedPerPageLimitExceeded")] + PrefetchFailedPerPageLimitExceeded, + /// + /// PrefetchEvicted + /// + [JsonPropertyName("PrefetchEvicted")] + PrefetchEvicted, + /// + /// PrefetchHeldback + /// + [JsonPropertyName("PrefetchHeldback")] + PrefetchHeldback, + /// + /// PrefetchIneligibleRetryAfter + /// + [JsonPropertyName("PrefetchIneligibleRetryAfter")] + PrefetchIneligibleRetryAfter, + /// + /// PrefetchIsPrivacyDecoy + /// + [JsonPropertyName("PrefetchIsPrivacyDecoy")] + PrefetchIsPrivacyDecoy, + /// + /// PrefetchIsStale + /// + [JsonPropertyName("PrefetchIsStale")] + PrefetchIsStale, + /// + /// PrefetchNotEligibleBrowserContextOffTheRecord + /// + [JsonPropertyName("PrefetchNotEligibleBrowserContextOffTheRecord")] + PrefetchNotEligibleBrowserContextOffTheRecord, + /// + /// PrefetchNotEligibleDataSaverEnabled + /// + [JsonPropertyName("PrefetchNotEligibleDataSaverEnabled")] + PrefetchNotEligibleDataSaverEnabled, + /// + /// PrefetchNotEligibleExistingProxy + /// + [JsonPropertyName("PrefetchNotEligibleExistingProxy")] + PrefetchNotEligibleExistingProxy, + /// + /// PrefetchNotEligibleHostIsNonUnique + /// + [JsonPropertyName("PrefetchNotEligibleHostIsNonUnique")] + PrefetchNotEligibleHostIsNonUnique, + /// + /// PrefetchNotEligibleNonDefaultStoragePartition + /// + [JsonPropertyName("PrefetchNotEligibleNonDefaultStoragePartition")] + PrefetchNotEligibleNonDefaultStoragePartition, + /// + /// PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy + /// + [JsonPropertyName("PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy")] + PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy, + /// + /// PrefetchNotEligibleSchemeIsNotHttps + /// + [JsonPropertyName("PrefetchNotEligibleSchemeIsNotHttps")] + PrefetchNotEligibleSchemeIsNotHttps, + /// + /// PrefetchNotEligibleUserHasCookies + /// + [JsonPropertyName("PrefetchNotEligibleUserHasCookies")] + PrefetchNotEligibleUserHasCookies, + /// + /// PrefetchNotEligibleUserHasServiceWorker + /// + [JsonPropertyName("PrefetchNotEligibleUserHasServiceWorker")] + PrefetchNotEligibleUserHasServiceWorker, + /// + /// PrefetchNotEligibleBatterySaverEnabled + /// + [JsonPropertyName("PrefetchNotEligibleBatterySaverEnabled")] + PrefetchNotEligibleBatterySaverEnabled, + /// + /// PrefetchNotEligiblePreloadingDisabled + /// + [JsonPropertyName("PrefetchNotEligiblePreloadingDisabled")] + PrefetchNotEligiblePreloadingDisabled, + /// + /// PrefetchNotFinishedInTime + /// + [JsonPropertyName("PrefetchNotFinishedInTime")] + PrefetchNotFinishedInTime, + /// + /// PrefetchNotStarted + /// + [JsonPropertyName("PrefetchNotStarted")] + PrefetchNotStarted, + /// + /// PrefetchNotUsedCookiesChanged + /// + [JsonPropertyName("PrefetchNotUsedCookiesChanged")] + PrefetchNotUsedCookiesChanged, + /// + /// PrefetchProxyNotAvailable + /// + [JsonPropertyName("PrefetchProxyNotAvailable")] + PrefetchProxyNotAvailable, + /// + /// PrefetchResponseUsed + /// + [JsonPropertyName("PrefetchResponseUsed")] + PrefetchResponseUsed, + /// + /// PrefetchSuccessfulButNotUsed + /// + [JsonPropertyName("PrefetchSuccessfulButNotUsed")] + PrefetchSuccessfulButNotUsed, + /// + /// PrefetchNotUsedProbeFailed + /// + [JsonPropertyName("PrefetchNotUsedProbeFailed")] + PrefetchNotUsedProbeFailed + } + /// /// Upsert. Currently, it is only emitted when a rule set added. /// @@ -26716,11 +26961,33 @@ public string DisallowedApiMethod public class PreloadEnabledStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { /// - /// State + /// DisabledByPreference /// [JsonInclude] - [JsonPropertyName("state")] - public CefSharp.DevTools.Preload.PreloadEnabledState State + [JsonPropertyName("disabledByPreference")] + public bool DisabledByPreference + { + get; + private set; + } + + /// + /// DisabledByDataSaver + /// + [JsonInclude] + [JsonPropertyName("disabledByDataSaver")] + public bool DisabledByDataSaver + { + get; + private set; + } + + /// + /// DisabledByBatterySaver + /// + [JsonInclude] + [JsonPropertyName("disabledByBatterySaver")] + public bool DisabledByBatterySaver { get; private set; @@ -26778,6 +27045,17 @@ public CefSharp.DevTools.Preload.PreloadingStatus Status get; private set; } + + /// + /// PrefetchStatus + /// + [JsonInclude] + [JsonPropertyName("prefetchStatus")] + public CefSharp.DevTools.Preload.PrefetchStatus PrefetchStatus + { + get; + private set; + } } /// @@ -26798,35 +27076,22 @@ public CefSharp.DevTools.Preload.PreloadingAttemptKey Key } /// - /// The frame id of the frame initiating prerender. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl + /// Status /// [JsonInclude] - [JsonPropertyName("prerenderingUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrerenderingUrl + [JsonPropertyName("status")] + public CefSharp.DevTools.Preload.PreloadingStatus Status { get; private set; } /// - /// Status + /// PrerenderStatus /// [JsonInclude] - [JsonPropertyName("status")] - public CefSharp.DevTools.Preload.PreloadingStatus Status + [JsonPropertyName("prerenderStatus")] + public CefSharp.DevTools.Preload.PrerenderFinalStatus? PrerenderStatus { get; private set; @@ -26884,6 +27149,23 @@ public enum LoginState SignUp } + /// + /// Whether the dialog shown is an account chooser or an auto re-authentication dialog. + /// + public enum DialogType + { + /// + /// AccountChooser + /// + [JsonPropertyName("AccountChooser")] + AccountChooser, + /// + /// AutoReauthn + /// + [JsonPropertyName("AutoReauthn")] + AutoReauthn + } + /// /// Corresponds to IdentityRequestAccount /// @@ -27014,6 +27296,17 @@ public string DialogId private set; } + /// + /// DialogType + /// + [JsonInclude] + [JsonPropertyName("dialogType")] + public CefSharp.DevTools.FedCm.DialogType DialogType + { + get; + private set; + } + /// /// Accounts /// @@ -28805,9 +29098,58 @@ public System.Collections.Generic.IList - /// WebDriverValueType + /// SerializationOptionsSerialization + /// + public enum SerializationOptionsSerialization + { + /// + /// deep + /// + [JsonPropertyName("deep")] + Deep, + /// + /// json + /// + [JsonPropertyName("json")] + Json, + /// + /// idOnly + /// + [JsonPropertyName("idOnly")] + IdOnly + } + + /// + /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and + /// `generateWebDriverValue`. + /// + public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Serialization + /// + [JsonPropertyName("serialization")] + public CefSharp.DevTools.Runtime.SerializationOptionsSerialization Serialization + { + get; + set; + } + + /// + /// Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode. + /// + [JsonPropertyName("maxDepth")] + public int? MaxDepth + { + get; + set; + } + } + + /// + /// DeepSerializedValueType /// - public enum WebDriverValueType + public enum DeepSerializedValueType { /// /// undefined @@ -28927,16 +29269,15 @@ public enum WebDriverValueType } /// - /// Represents the value serialiazed by the WebDriver BiDi specification - /// https://w3c.github.io/webdriver-bidi. + /// Represents deep serialized value. /// - public partial class WebDriverValue : CefSharp.DevTools.DevToolsDomainEntityBase + public partial class DeepSerializedValue : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Type /// [JsonPropertyName("type")] - public CefSharp.DevTools.Runtime.WebDriverValueType Type + public CefSharp.DevTools.Runtime.DeepSerializedValueType Type { get; set; @@ -28961,6 +29302,18 @@ public string ObjectId get; set; } + + /// + /// Set if value reference met more then once during serialization. In such + /// case, value is provided only to one of the serialized values. Unique + /// per value in the scope of one CDP call. + /// + [JsonPropertyName("weakLocalObjectReference")] + public int? WeakLocalObjectReference + { + get; + set; + } } /// @@ -29183,10 +29536,20 @@ public string Description } /// - /// WebDriver BiDi representation of the value. + /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. /// [JsonPropertyName("webDriverValue")] - public CefSharp.DevTools.Runtime.WebDriverValue WebDriverValue + public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue + { + get; + set; + } + + /// + /// Deep serialized value. + /// + [JsonPropertyName("deepSerializedValue")] + public CefSharp.DevTools.Runtime.DeepSerializedValue DeepSerializedValue { get; set; @@ -31280,6 +31643,26 @@ public int EncodedSize } } +namespace CefSharp.DevTools.Audits +{ + /// + /// CheckFormsIssuesResponse + /// + public class CheckFormsIssuesResponse : DevToolsDomainResponseBase + { + /// + /// formIssues + /// + [JsonInclude] + [JsonPropertyName("formIssues")] + public System.Collections.Generic.IList FormIssues + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Audits { using System.Linq; @@ -31405,6 +31788,61 @@ public System.Threading.Tasks.Task CheckContrastAsync(bo return _client.ExecuteDevToolsMethodAsync("Audits.checkContrast", dict); } + + /// + /// Runs the form issues check for the target page. Found issues are reported + /// using Audits.issueAdded event. + /// + /// returns System.Threading.Tasks.Task<CheckFormsIssuesResponse> + public System.Threading.Tasks.Task CheckFormsIssuesAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Audits.checkFormsIssues", dict); + } + } +} + +namespace CefSharp.DevTools.Autofill +{ + using System.Linq; + + /// + /// Defines commands and events for Autofill. + /// + public partial class AutofillClient : DevToolsDomainBase + { + private CefSharp.DevTools.IDevToolsClient _client; + /// + /// Autofill + /// + /// DevToolsClient + public AutofillClient(CefSharp.DevTools.IDevToolsClient client) + { + _client = (client); + } + + partial void ValidateTrigger(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null); + /// + /// Trigger autofill on a form identified by the fieldId. + /// If the field and related form cannot be autofilled, returns an error. + /// + /// Identifies a field that serves as an anchor for autofill. + /// Credit card information to fill out the form. Credit card data is not saved. + /// Identifies the frame that field belongs to. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task TriggerAsync(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null) + { + ValidateTrigger(fieldId, card, frameId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("fieldId", fieldId); + dict.Add("card", card.ToDictionary()); + if (!(string.IsNullOrEmpty(frameId))) + { + dict.Add("frameId", frameId); + } + + return _client.ExecuteDevToolsMethodAsync("Autofill.trigger", dict); + } } } @@ -32079,6 +32517,21 @@ public System.Threading.Tasks.Task ExecuteBrowserCommand dict.Add("commandId", EnumToString(commandId)); return _client.ExecuteDevToolsMethodAsync("Browser.executeBrowserCommand", dict); } + + partial void ValidateAddPrivacySandboxEnrollmentOverride(string url); + /// + /// Allows a site to use privacy sandbox features that require enrollment + /// without the site actually being enrolled. Only supported on page targets. + /// + /// url + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task AddPrivacySandboxEnrollmentOverrideAsync(string url) + { + ValidateAddPrivacySandboxEnrollmentOverride(url); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("url", url); + return _client.ExecuteDevToolsMethodAsync("Browser.addPrivacySandboxEnrollmentOverride", dict); + } } } @@ -33312,16 +33765,17 @@ public System.Threading.Tasks.Task DeleteEntryAsync(stri return _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteEntry", dict); } - partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null); + partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests cache names. /// - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestCacheNamesResponse> - public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestCacheNames(securityOrigin, storageKey); + ValidateRequestCacheNames(securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); if (!(string.IsNullOrEmpty(securityOrigin))) { @@ -33333,6 +33787,11 @@ public System.Threading.Tasks.Task RequestCacheNamesA dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("CacheStorage.requestCacheNames", dict); } @@ -37092,18 +37551,19 @@ public IndexedDBClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } - partial void ValidateClearObjectStore(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); + partial void ValidateClearObjectStore(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Clears all entries from an object store. /// /// Database name. /// Object store name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ClearObjectStoreAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task ClearObjectStoreAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateClearObjectStore(databaseName, objectStoreName, securityOrigin, storageKey); + ValidateClearObjectStore(databaseName, objectStoreName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -37117,20 +37577,26 @@ public System.Threading.Tasks.Task ClearObjectStoreAsync dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.clearObjectStore", dict); } - partial void ValidateDeleteDatabase(string databaseName, string securityOrigin = null, string storageKey = null); + partial void ValidateDeleteDatabase(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Deletes a database. /// /// Database name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task DeleteDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateDeleteDatabase(databaseName, securityOrigin, storageKey); + ValidateDeleteDatabase(databaseName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); if (!(string.IsNullOrEmpty(securityOrigin))) @@ -37143,22 +37609,28 @@ public System.Threading.Tasks.Task DeleteDatabaseAsync(s dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.deleteDatabase", dict); } - partial void ValidateDeleteObjectStoreEntries(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null); + partial void ValidateDeleteObjectStoreEntries(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Delete a range of entries from an object store /// /// databaseName /// objectStoreName /// Range of entry keys to delete - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteObjectStoreEntriesAsync(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task DeleteObjectStoreEntriesAsync(string databaseName, string objectStoreName, CefSharp.DevTools.IndexedDB.KeyRange keyRange, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateDeleteObjectStoreEntries(databaseName, objectStoreName, keyRange, securityOrigin, storageKey); + ValidateDeleteObjectStoreEntries(databaseName, objectStoreName, keyRange, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -37173,6 +37645,11 @@ public System.Threading.Tasks.Task DeleteObjectStoreEntr dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.deleteObjectStoreEntries", dict); } @@ -37196,7 +37673,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("IndexedDB.enable", dict); } - partial void ValidateRequestData(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null); + partial void ValidateRequestData(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null); /// /// Requests data from object store or index. /// @@ -37205,13 +37682,14 @@ public System.Threading.Tasks.Task EnableAsync() /// Index name, empty string for object store data requests. /// Number of records to skip. /// Number of records to fetch. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// Key range. /// returns System.Threading.Tasks.Task<RequestDataResponse> - public System.Threading.Tasks.Task RequestDataAsync(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null) + public System.Threading.Tasks.Task RequestDataAsync(string databaseName, string objectStoreName, string indexName, int skipCount, int pageSize, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null, CefSharp.DevTools.IndexedDB.KeyRange keyRange = null) { - ValidateRequestData(databaseName, objectStoreName, indexName, skipCount, pageSize, securityOrigin, storageKey, keyRange); + ValidateRequestData(databaseName, objectStoreName, indexName, skipCount, pageSize, securityOrigin, storageKey, storageBucket, keyRange); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -37228,6 +37706,11 @@ public System.Threading.Tasks.Task RequestDataAsync(string dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + if ((keyRange) != (null)) { dict.Add("keyRange", keyRange.ToDictionary()); @@ -37236,18 +37719,19 @@ public System.Threading.Tasks.Task RequestDataAsync(string return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestData", dict); } - partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null); + partial void ValidateGetMetadata(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Gets metadata of an object store. /// /// Database name. /// Object store name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<GetMetadataResponse> - public System.Threading.Tasks.Task GetMetadataAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task GetMetadataAsync(string databaseName, string objectStoreName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateGetMetadata(databaseName, objectStoreName, securityOrigin, storageKey); + ValidateGetMetadata(databaseName, objectStoreName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); dict.Add("objectStoreName", objectStoreName); @@ -37261,20 +37745,26 @@ public System.Threading.Tasks.Task GetMetadataAsync(string dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.getMetadata", dict); } - partial void ValidateRequestDatabase(string databaseName, string securityOrigin = null, string storageKey = null); + partial void ValidateRequestDatabase(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests database with given name in given frame. /// /// Database name. - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestDatabaseResponse> - public System.Threading.Tasks.Task RequestDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestDatabaseAsync(string databaseName, string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestDatabase(databaseName, securityOrigin, storageKey); + ValidateRequestDatabase(databaseName, securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); dict.Add("databaseName", databaseName); if (!(string.IsNullOrEmpty(securityOrigin))) @@ -37287,19 +37777,25 @@ public System.Threading.Tasks.Task RequestDatabaseAsync dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestDatabase", dict); } - partial void ValidateRequestDatabaseNames(string securityOrigin = null, string storageKey = null); + partial void ValidateRequestDatabaseNames(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null); /// /// Requests database names for given security origin. /// - /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.Security origin. /// Storage key. + /// Storage bucket. If not specified, it uses the default bucket. /// returns System.Threading.Tasks.Task<RequestDatabaseNamesResponse> - public System.Threading.Tasks.Task RequestDatabaseNamesAsync(string securityOrigin = null, string storageKey = null) + public System.Threading.Tasks.Task RequestDatabaseNamesAsync(string securityOrigin = null, string storageKey = null, CefSharp.DevTools.Storage.StorageBucket storageBucket = null) { - ValidateRequestDatabaseNames(securityOrigin, storageKey); + ValidateRequestDatabaseNames(securityOrigin, storageKey, storageBucket); var dict = new System.Collections.Generic.Dictionary(); if (!(string.IsNullOrEmpty(securityOrigin))) { @@ -37311,6 +37807,11 @@ public System.Threading.Tasks.Task RequestDatabase dict.Add("storageKey", storageKey); } + if ((storageBucket) != (null)) + { + dict.Add("storageBucket", storageBucket.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("IndexedDB.requestDatabaseNames", dict); } } @@ -43771,19 +44272,17 @@ public System.Threading.Tasks.Task SetStorageBucketTrack return _client.ExecuteDevToolsMethodAsync("Storage.setStorageBucketTracking", dict); } - partial void ValidateDeleteStorageBucket(string storageKey, string bucketName); + partial void ValidateDeleteStorageBucket(CefSharp.DevTools.Storage.StorageBucket bucket); /// /// Deletes the Storage Bucket with the given storage key and bucket name. /// - /// storageKey - /// bucketName + /// bucket /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DeleteStorageBucketAsync(string storageKey, string bucketName) + public System.Threading.Tasks.Task DeleteStorageBucketAsync(CefSharp.DevTools.Storage.StorageBucket bucket) { - ValidateDeleteStorageBucket(storageKey, bucketName); + ValidateDeleteStorageBucket(bucket); var dict = new System.Collections.Generic.Dictionary(); - dict.Add("storageKey", storageKey); - dict.Add("bucketName", bucketName); + dict.Add("bucket", bucket.ToDictionary()); return _client.ExecuteDevToolsMethodAsync("Storage.deleteStorageBucket", dict); } @@ -48751,7 +49250,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -48760,7 +49259,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Identifier of the object to call function on. Either objectId or executionContextId shouldbe specified. /// Call arguments. All call arguments must belong to the same JavaScript world as the targetobject. /// In silent mode exceptions thrown during evaluation are not reported and do not pauseexecution. Overrides `setPauseOnException` state. - /// Whether the result is expected to be a JSON object which should be sent by value. + /// Whether the result is expected to be a JSON object which should be sent by value.Can be overriden by `serializationOptions`. /// Whether preview should be generated for the result. /// Whether execution should be treated as initiated by user in the UI. /// Whether execution should `await` for resulting value and return once awaited promise isresolved. @@ -48768,11 +49267,12 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -48835,6 +49335,11 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("generateWebDriverValue", generateWebDriverValue.Value); } + if ((serializationOptions) != (null)) + { + dict.Add("serializationOptions", serializationOptions.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Runtime.callFunctionOn", dict); } @@ -48894,7 +49399,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -48913,11 +49418,12 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi. + /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. + /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -48995,6 +49501,11 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("generateWebDriverValue", generateWebDriverValue.Value); } + if ((serializationOptions) != (null)) + { + dict.Add("serializationOptions", serializationOptions.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Runtime.evaluate", dict); } @@ -49367,6 +49878,23 @@ public CefSharp.DevTools.Audits.AuditsClient Audits } } + private CefSharp.DevTools.Autofill.AutofillClient _Autofill; + /// + /// Defines commands and events for Autofill. + /// + public CefSharp.DevTools.Autofill.AutofillClient Autofill + { + get + { + if ((_Autofill) == (null)) + { + _Autofill = (new CefSharp.DevTools.Autofill.AutofillClient(this)); + } + + return _Autofill; + } + } + private CefSharp.DevTools.BackgroundService.BackgroundServiceClient _BackgroundService; /// /// Defines events for background web platform features. From 960c515df119bd2d94b5e61096ab0a4fc99f4eda Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 31 Jul 2023 19:38:20 +1000 Subject: [PATCH 077/275] Test - Remove diagnostic orderer --- CefSharp.Test/Properties/AssemblyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CefSharp.Test/Properties/AssemblyInfo.cs b/CefSharp.Test/Properties/AssemblyInfo.cs index 4d34951997..7948f084c1 100644 --- a/CefSharp.Test/Properties/AssemblyInfo.cs +++ b/CefSharp.Test/Properties/AssemblyInfo.cs @@ -19,4 +19,4 @@ [assembly: CLSCompliant(AssemblyInfo.ClsCompliant)] [assembly: CollectionBehavior(DisableTestParallelization = true, MaxParallelThreads = 1)] -[assembly: TestCaseOrderer("CefSharp.Test.CefSharpTestCaseOrderer", "CefSharp.Test")] +//[assembly: TestCaseOrderer("CefSharp.Test.CefSharpTestCaseOrderer", "CefSharp.Test")] From c26c69a61e1b903b106907b99c878d3bf8de7965 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 1 Aug 2023 05:45:43 +1000 Subject: [PATCH 078/275] Net Core - Update Ref assembly #4518 --- .../CefSharp.Core.Runtime.netcore.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs index 812e7ff1e2..c60c816bfa 100644 --- a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs +++ b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs @@ -123,7 +123,6 @@ public CefSettingsBase() { } public int UncaughtExceptionStackSize { get { throw null; } set { } } public string UserAgent { get { throw null; } set { } } public string UserAgentProduct { get { throw null; } set { } } - public string UserDataPath { get { throw null; } set { } } public bool WindowlessRenderingEnabled { get { throw null; } set { } } public void Dispose() { } protected void Dispose(bool A_0) { } From 8d5790eaafd2c48f016cd9e8e87a72ac83c77416 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 1 Aug 2023 05:46:10 +1000 Subject: [PATCH 079/275] Test - ShouldWorkWhenLoadingRequestWithPostData add extra logging --- CefSharp.Test/OffScreen/OffScreenBrowserTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs b/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs index 93df75d5ba..3766ac2065 100644 --- a/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs +++ b/CefSharp.Test/OffScreen/OffScreenBrowserTests.cs @@ -57,7 +57,7 @@ public async Task ShouldWorkWhenLoadingRequestWithPostData(string url) { var response = await browser.WaitForInitialLoadAsync(); - Assert.True(response.Success); + Assert.True(response.Success, $"Initial Load Error Code: {response.ErrorCode.ToString()} Http Status Code: {response.HttpStatusCode}"); var request = new Request { @@ -80,7 +80,7 @@ public async Task ShouldWorkWhenLoadingRequestWithPostData(string url) var navEntry = await browser.GetVisibleNavigationEntryAsync(); Assert.Equal((int)HttpStatusCode.OK, navEntry.HttpStatusCode); - Assert.True(navEntry.HasPostData); + Assert.True(navEntry.HasPostData, "Has PostData"); var source = await browser.GetTextAsync(); From ab078cfa837f2d5b319d46fd324c9ca7404e1c6d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 1 Aug 2023 06:30:35 +1000 Subject: [PATCH 080/275] README.md - Update in preparation of M115 release --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++--- CONTRIBUTING.md | 6 +++--- README.md | 6 ++++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1ce6e7a017..5969d33c46 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -21,8 +21,8 @@ body: id: cefsharp-version attributes: label: CefSharp Version - description: What version are you using? Please only open an issue if you can reproduce the problem with version 112.3.0 or later. - placeholder: 112.3.0 + description: What version are you using? Please only open an issue if you can reproduce the problem with version 114.2.120 or later. + placeholder: 114.2.120 validations: required: true - type: dropdown @@ -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_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windowsarm64_client.tar.bz2). + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windowsarm64_client.tar.bz2). 2. Extract tar.bz2 file 3. Execute cefclient.exe using the **command line args below**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c427fe074..0085b40992 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_112.3.0%2Bgb09c4ca%2Bchromium-112.0.5615.165_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` diff --git a/README.md b/README.md index 6dc208e105..6203966c34 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,10 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| -| [master](https://github.com/cefsharp/CefSharp/) | 5615 | 2019* | 4.6.2** | Development | -| [cefsharp/113](https://github.com/cefsharp/CefSharp/tree/cefsharp/113)| 5615 | 2019* | 4.5.2** | **Release** | +| [master](https://github.com/cefsharp/CefSharp/) | 5790 | 2019* | 4.6.2** | Development | +| [cefsharp/115](https://github.com/cefsharp/CefSharp/tree/cefsharp/115)| 5790 | 2019* | 4.6.2** | **Release** | +| [cefsharp/114](https://github.com/cefsharp/CefSharp/tree/cefsharp/114)| 5735 | 2019* | 4.5.2** | Unsupported | +| [cefsharp/113](https://github.com/cefsharp/CefSharp/tree/cefsharp/113)| 5615 | 2019* | 4.5.2** | Unsupported | | [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | Unsupported | | [cefsharp/111](https://github.com/cefsharp/CefSharp/tree/cefsharp/111)| 5563 | 2019* | 4.5.2** | Unsupported | | [cefsharp/110](https://github.com/cefsharp/CefSharp/tree/cefsharp/110)| 5481 | 2019* | 4.5.2** | Unsupported | From 124a7822090d8c52bbffc06b2f576c3b04fbddd8 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 3 Aug 2023 06:02:48 +1000 Subject: [PATCH 081/275] Update some 4.5.2 references to 4.6.2 Issue #4433 --- .vsconfig | 2 +- CefSharp.shfbproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vsconfig b/.vsconfig index 8dff979304..52754163d6 100644 --- a/.vsconfig +++ b/.vsconfig @@ -10,7 +10,7 @@ "Microsoft.Net.ComponentGroup.DevelopmentPrerequisites", "Microsoft.Component.MSBuild", "Microsoft.VisualStudio.Component.ManagedDesktop.Core", - "Microsoft.Net.Component.4.5.2.TargetingPack", + "Microsoft.Net.Component.4.6.2.TargetingPack", "Microsoft.VisualStudio.Component.IntelliCode", "Microsoft.Net.ComponentGroup.TargetingPacks.Common", "Microsoft.VisualStudio.Component.Debugger.JustInTime", diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index e98addc53f..c1d8fec4ab 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -13,7 +13,7 @@ Documentation Documentation - .NET Framework 4.5.2 + .NET Framework 4.6.2 .\Help\ Documentation en-US From d9ca0513a386a2e7655a9d5bbbc8c988da92e20f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 3 Aug 2023 06:08:00 +1000 Subject: [PATCH 082/275] Revert "Don't check for presence of "d3dcompiler_47.dll" when running as ARM64, because that file isn't present in the CEF Redist for this architecture. (#3841)" This reverts commit 0812ea938ab8525e9b9d4ec3066b15ff935813fc. Resolves https://github.com/cefsharp/CefSharp/issues/4515 --- CefSharp/DependencyChecker.cs | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/CefSharp/DependencyChecker.cs b/CefSharp/DependencyChecker.cs index 79475ac79b..25e8c09d89 100644 --- a/CefSharp/DependencyChecker.cs +++ b/CefSharp/DependencyChecker.cs @@ -5,13 +5,7 @@ using System; using System.Collections.Generic; using System.IO; -#if NETCOREAPP -using System.Linq; -#endif using System.Reflection; -#if NETCOREAPP -using System.Runtime.InteropServices; -#endif using System.Text; namespace CefSharp @@ -27,11 +21,6 @@ public static class DependencyChecker /// public const string LocalesPackFile = @"locales\en-US.pak"; - /// - /// File name of the Direct3D Compiler DLL. - /// - private const string D3DCompilerDll = "d3dcompiler_47.dll"; - /// /// List of Cef Dependencies /// @@ -71,8 +60,7 @@ public static class DependencyChecker // Note: Without these components HTML5 accelerated content like 2D canvas, 3D CSS and WebGL will not function. "libEGL.dll", "libGLESv2.dll", - // The D3D Compiler isn't included in the win-arm64 redist; we remove it in the static constructor. - D3DCompilerDll, + "d3dcompiler_47.dll", //Crashpad support "chrome_elf.dll" }; @@ -111,17 +99,6 @@ public static class DependencyChecker #endif }; -#if NETCOREAPP - static DependencyChecker() - { - // win-arm64 doesn't ship with a copy of the D3D Compiler, it's included with the OS. - if (RuntimeInformation.ProcessArchitecture is Architecture.Arm64) - { - CefOptionalDependencies = CefOptionalDependencies.Where(x => x != D3DCompilerDll).ToArray(); - } - } -#endif - /// /// CheckDependencies iterates through the list of Cef and CefSharp dependencines /// relative to the path provided and returns a list of missing ones From f75b991898ca0f1602a62e406f451c0675dd70e6 Mon Sep 17 00:00:00 2001 From: developersthinksmartbox Date: Thu, 3 Aug 2023 21:24:59 +0100 Subject: [PATCH 083/275] NetCore - Generate Reference Assemblies building with VS2022 (#4559) * Ensure reference assemblies are copied to output folders The .NET 6.0 SDK introduced a breaking change meaning that reference assemblies are no longer automatically copied from the intermediate build directory to the output directory. An additional MsBuild property is now required. * Specify VS2022 for reference assembly copy condition --------- Co-authored-by: Bernard Mason --- CefSharp.Core/CefSharp.Core.netcore.csproj | 1 + CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj | 1 + CefSharp.WinForms/CefSharp.WinForms.netcore.csproj | 1 + CefSharp.Wpf/CefSharp.Wpf.netcore.csproj | 1 + CefSharp/CefSharp.netcore.csproj | 1 + 5 files changed, 5 insertions(+) diff --git a/CefSharp.Core/CefSharp.Core.netcore.csproj b/CefSharp.Core/CefSharp.Core.netcore.csproj index e3e11764fb..6b470f4e55 100644 --- a/CefSharp.Core/CefSharp.Core.netcore.csproj +++ b/CefSharp.Core/CefSharp.Core.netcore.csproj @@ -24,6 +24,7 @@ true + true True embedded diff --git a/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj b/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj index 3d166dd0d2..d3287d161d 100644 --- a/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj +++ b/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj @@ -24,6 +24,7 @@ true + true True embedded diff --git a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj index c300cebd56..b01dfd882d 100644 --- a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj +++ b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj @@ -25,6 +25,7 @@ true + true True embedded diff --git a/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj b/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj index 0cd3a1056f..1ec37c76c9 100644 --- a/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj +++ b/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj @@ -25,6 +25,7 @@ true + true True embedded diff --git a/CefSharp/CefSharp.netcore.csproj b/CefSharp/CefSharp.netcore.csproj index e898cdf74d..418f4dd326 100644 --- a/CefSharp/CefSharp.netcore.csproj +++ b/CefSharp/CefSharp.netcore.csproj @@ -22,6 +22,7 @@ true + true True embedded From 4d27210cf1f0740e8e6ca64b13f043f2f9547f26 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Wed, 9 Aug 2023 18:51:23 +1000 Subject: [PATCH 084/275] Upgrade to 115.3.13+g749b4d4+chromium-115.0.5790.171 / Chromium 115.0.5790.171 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 510a722248..42491a6ea5 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index a564c561fd..7bfe3696ad 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 6d6048f202..7f80881ebc 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,110 - PRODUCTVERSION 115,3,110 + FILEVERSION 115,3,130 + PRODUCTVERSION 115,3,130 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "115.3.110" + VALUE "FileVersion", "115.3.130" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.110" + VALUE "ProductVersion", "115.3.130" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index b959674017..c81c62c477 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index a22a90b047..c662b67e74 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index afcd9abd48..19c1fe7780 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index d5097252f9..fc547be103 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index c87c03f5ff..08cc1cf319 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 5cc64942f2..284b136e67 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,110 - PRODUCTVERSION 115,3,110 + FILEVERSION 115,3,130 + PRODUCTVERSION 115,3,130 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "115.3.110" + VALUE "FileVersion", "115.3.130" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.110" + VALUE "ProductVersion", "115.3.130" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index b959674017..c81c62c477 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index a22a90b047..c662b67e74 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 360e684ab8..d8a28fdb30 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 5b509f244f..f69c47b911 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index f932dad86f..fad5a5cd7a 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index ce096c3d8d..ed00bd6036 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 7b675820bd..eb0a17b7fe 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 0fd359cd71..f83529a4c4 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index e983702804..ed073d280b 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index f447bf10b8..e1b5ece048 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index fb419f444a..5750c2d6f3 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 06782adcb7..78bfea081a 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 5f67f40be1..357611fca5 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index c1d8fec4ab..0693ed9945 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 115.3.110 + 115.3.130 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 115.3.110 + Version 115.3.130 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index df79daf2a1..815931c0b3 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "115.3.110"; - public const string AssemblyFileVersion = "115.3.110.0"; + public const string AssemblyVersion = "115.3.130"; + public const string AssemblyFileVersion = "115.3.130.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 881fe1df34..1196a3a189 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index d697ec74ae..469dd7f2ef 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 754617bf4e..4635841cf1 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index d0ef1ab9be..5a7dba70b8 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "115.3.11", + [string] $CefVersion = "115.3.13", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 06958072cc..4397dd7cc9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 115.3.110-CI{build} +version: 115.3.130-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index c3c46790fc..fbfbd12d28 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "115.3.110", + [string] $Version = "115.3.130", [Parameter(Position = 2)] - [string] $AssemblyVersion = "115.3.110", + [string] $AssemblyVersion = "115.3.130", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 5bf2303591ee17c6bb50fae67a48f7ca61fb7084 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 17 Aug 2023 06:03:07 +1000 Subject: [PATCH 085/275] Upgrade to 116.0.11+g31fb97a+chromium-116.0.5845.82 / Chromium 116.0.5845.82 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 42491a6ea5..d53ba65d16 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 7bfe3696ad..4a760add09 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 7f80881ebc..9388c12062 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,130 - PRODUCTVERSION 115,3,130 + FILEVERSION 116,0,110 + PRODUCTVERSION 116,0,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "115.3.130" + VALUE "FileVersion", "116.0.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.130" + VALUE "ProductVersion", "116.0.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index c81c62c477..c3ce881213 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index c662b67e74..8d838237ca 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 19c1fe7780..1287022c32 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index fc547be103..8549fa6a06 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 08cc1cf319..1d498ea6e2 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 284b136e67..0f043b1f1f 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 115,3,130 - PRODUCTVERSION 115,3,130 + FILEVERSION 116,0,110 + PRODUCTVERSION 116,0,110 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "115.3.130" + VALUE "FileVersion", "116.0.110" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "115.3.130" + VALUE "ProductVersion", "116.0.110" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index c81c62c477..c3ce881213 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index c662b67e74..8d838237ca 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index d8a28fdb30..f67dab901b 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index f69c47b911..6f017d561d 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index fad5a5cd7a..a6c95ac165 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index ed00bd6036..58d65490c6 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index eb0a17b7fe..95105d2934 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index f83529a4c4..47092962ae 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index ed073d280b..35bd2fbc95 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index e1b5ece048..c0652d7ad3 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 5750c2d6f3..4a68c3aa15 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 78bfea081a..ba9108f759 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 357611fca5..65d00599ad 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 0693ed9945..5aa332d8f6 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 115.3.130 + 116.0.110 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 115.3.130 + Version 116.0.110 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 815931c0b3..59d8bb1584 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "115.3.130"; - public const string AssemblyFileVersion = "115.3.130.0"; + public const string AssemblyVersion = "116.0.110"; + public const string AssemblyFileVersion = "116.0.110.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 1196a3a189..fe30d7ce85 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 469dd7f2ef..0e1a7e4e58 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 4635841cf1..97f54abf66 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 5a7dba70b8..7985cd9800 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "115.3.13", + [string] $CefVersion = "116.0.11", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 4397dd7cc9..53efe1022a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 115.3.130-CI{build} +version: 116.0.110-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index fbfbd12d28..42e13cbd3d 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "115.3.130", + [string] $Version = "116.0.110", [Parameter(Position = 2)] - [string] $AssemblyVersion = "115.3.130", + [string] $AssemblyVersion = "116.0.110", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 1328732a4a7579136c1ce497d6c8217e6165a126 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 20 Aug 2023 05:41:20 +1000 Subject: [PATCH 086/275] Upgrade to 116.0.13+g557a56f+chromium-116.0.5845.97 / Chromium 116.0.5845.97 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index d53ba65d16..0b3ac73e0f 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 4a760add09..13919d4eb3 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 9388c12062..97fabd3c78 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 116,0,110 - PRODUCTVERSION 116,0,110 + FILEVERSION 116,0,130 + PRODUCTVERSION 116,0,130 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "116.0.110" + VALUE "FileVersion", "116.0.130" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "116.0.110" + VALUE "ProductVersion", "116.0.130" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index c3ce881213..9be36eba34 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 8d838237ca..3481ddde25 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 1287022c32..c6031438ff 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 8549fa6a06..5f87debc1f 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 1d498ea6e2..b516213c3e 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 0f043b1f1f..25fff71d0e 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 116,0,110 - PRODUCTVERSION 116,0,110 + FILEVERSION 116,0,130 + PRODUCTVERSION 116,0,130 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "116.0.110" + VALUE "FileVersion", "116.0.130" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "116.0.110" + VALUE "ProductVersion", "116.0.130" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index c3ce881213..9be36eba34 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 8d838237ca..3481ddde25 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index f67dab901b..3f1a80c1ac 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 6f017d561d..b564d59471 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index a6c95ac165..f1826b5542 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 58d65490c6..3138e56ad4 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 95105d2934..3508690786 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 47092962ae..fe43817f3a 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 35bd2fbc95..81b664ff41 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index c0652d7ad3..55328b5b53 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 4a68c3aa15..6cf851177b 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index ba9108f759..62b25f5f39 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 65d00599ad..a85ec3e416 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 5aa332d8f6..d877da4e34 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 116.0.110 + 116.0.130 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 116.0.110 + Version 116.0.130 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 59d8bb1584..49f1f350a2 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "116.0.110"; - public const string AssemblyFileVersion = "116.0.110.0"; + public const string AssemblyVersion = "116.0.130"; + public const string AssemblyFileVersion = "116.0.130.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index fe30d7ce85..4151e9db8e 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 0e1a7e4e58..11e2067043 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 97f54abf66..9554d6f1da 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 7985cd9800..ca7623b3a8 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "116.0.11", + [string] $CefVersion = "116.0.13", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 53efe1022a..0e20f90d04 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 116.0.110-CI{build} +version: 116.0.130-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 42e13cbd3d..04ed3a8851 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "116.0.110", + [string] $Version = "116.0.130", [Parameter(Position = 2)] - [string] $AssemblyVersion = "116.0.110", + [string] $AssemblyVersion = "116.0.130", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 65eef56c58e5bca395e8644ea2b851add6b24c5c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 20 Aug 2023 08:53:22 +1000 Subject: [PATCH 087/275] Add support for Synchronous Bindings when Self Hosting BrowserSubProcess Resolves #4562 --- .../BrowserSubprocessExecutable.h | 3 ++- .../WcfBrowserSubprocessExecutable.h | 18 ++++++++++++++++++ CefSharp.Core/BrowserSubprocess/SelfHost.cs | 5 +++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h index 7d624dc590..f4f9ca45be 100644 --- a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h +++ b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h @@ -28,12 +28,12 @@ namespace CefSharp } +#ifdef NETCOREAPP /// /// This function should be called from the application entry point function (typically Program.Main) /// to execute a secondary process e.g. gpu, renderer, utility /// This overload is specifically used for .Net Core. For hosting your own BrowserSubProcess /// it's preferable to use the Main method provided by this class. - /// - Obtains the command line args via a call to Environment::GetCommandLineArgs /// /// /// If called for the browser process (identified by no "type" command-line value) it will return immediately @@ -45,6 +45,7 @@ namespace CefSharp auto subProcess = gcnew BrowserSubprocessExecutable(); return subProcess->Main(args, nullptr); } +#endif /// /// This function should be called from the application entry point function (typically Program.Main) diff --git a/CefSharp.BrowserSubprocess.Core/WcfBrowserSubprocessExecutable.h b/CefSharp.BrowserSubprocess.Core/WcfBrowserSubprocessExecutable.h index 761e5344f1..18291ddd44 100644 --- a/CefSharp.BrowserSubprocess.Core/WcfBrowserSubprocessExecutable.h +++ b/CefSharp.BrowserSubprocess.Core/WcfBrowserSubprocessExecutable.h @@ -31,6 +31,24 @@ namespace CefSharp { } + + /// + /// This function should be called from the application entry point function (typically Program.Main) + /// to execute a secondary process e.g. gpu, renderer, utility + /// This overload is specifically used for .Net 4.x. For hosting your own BrowserSubProcess + /// it's preferable to use the Main method provided by this class. + /// + /// + /// If called for the browser process (identified by no "type" command-line value) it will return immediately + /// with a value of -1. If called for a recognized secondary process it will block until the process should exit + /// and then return the process exit code. + /// ^ args) + { + auto subProcess = gcnew WcfBrowserSubprocessExecutable(); + return subProcess->Main(args, nullptr); + } + protected: SubProcess^ GetSubprocess(IEnumerable^ args, int parentProcessId, IRenderProcessHandler^ handler) override { diff --git a/CefSharp.Core/BrowserSubprocess/SelfHost.cs b/CefSharp.Core/BrowserSubprocess/SelfHost.cs index 76355bee00..f97c16eafa 100644 --- a/CefSharp.Core/BrowserSubprocess/SelfHost.cs +++ b/CefSharp.Core/BrowserSubprocess/SelfHost.cs @@ -77,12 +77,13 @@ public static int Main(string[] args) browserSubprocessDllPath = Path.Combine(Path.GetDirectoryName(typeof(CefSharp.Core.BrowserSettings).Assembly.Location), "CefSharp.BrowserSubprocess.Core.dll"); } var browserSubprocessDll = System.Runtime.Loader.AssemblyLoadContext.Default.LoadFromAssemblyPath(browserSubprocessDllPath); + var browserSubprocessExecutableType = browserSubprocessDll.GetType("CefSharp.BrowserSubprocess.BrowserSubprocessExecutable"); #else var browserSubprocessDllPath = Path.Combine(Path.GetDirectoryName(typeof(CefSharp.Core.BrowserSettings).Assembly.Location), "CefSharp.BrowserSubprocess.Core.dll"); var browserSubprocessDll = System.Reflection.Assembly.LoadFrom(browserSubprocessDllPath); - + var browserSubprocessExecutableType = browserSubprocessDll.GetType("CefSharp.BrowserSubprocess.WcfBrowserSubprocessExecutable"); #endif - var browserSubprocessExecutableType = browserSubprocessDll.GetType("CefSharp.BrowserSubprocess.BrowserSubprocessExecutable"); + var browserSubprocessExecutable = Activator.CreateInstance(browserSubprocessExecutableType); var mainMethod = browserSubprocessExecutableType.GetMethod("MainSelfHost", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public); From c09f10092d39be4f785b572a97f8e854aa78cf7c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 21 Aug 2023 06:24:17 +1000 Subject: [PATCH 088/275] DevTools Client - Upgrade to 116.0.5845.97 --- .../DevTools/DevToolsClient.Generated.cs | 467 +++++++++++++++++- .../DevToolsClient.Generated.netcore.cs | 420 +++++++++++++++- 2 files changed, 847 insertions(+), 40 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 1b954e9f44..5484db5c4f 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 115.0.5790.114 +// CHROMIUM VERSION 116.0.5845.97 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3086,7 +3086,99 @@ public enum FederatedAuthRequestIssueReason /// SilentMediationFailure /// [EnumMember(Value = ("SilentMediationFailure"))] - SilentMediationFailure + SilentMediationFailure, + /// + /// ThirdPartyCookiesBlocked + /// + [EnumMember(Value = ("ThirdPartyCookiesBlocked"))] + ThirdPartyCookiesBlocked + } + + /// + /// FederatedAuthUserInfoRequestIssueDetails + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class FederatedAuthUserInfoRequestIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// FederatedAuthUserInfoRequestIssueReason + /// + public CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueReason FederatedAuthUserInfoRequestIssueReason + { + get + { + return (CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueReason), federatedAuthUserInfoRequestIssueReason)); + } + + set + { + this.federatedAuthUserInfoRequestIssueReason = (EnumToString(value)); + } + } + + /// + /// FederatedAuthUserInfoRequestIssueReason + /// + [DataMember(Name = ("federatedAuthUserInfoRequestIssueReason"), IsRequired = (true))] + internal string federatedAuthUserInfoRequestIssueReason + { + get; + set; + } + } + + /// + /// Represents the failure reason when a getUserInfo() call fails. + /// Should be updated alongside FederatedAuthUserInfoRequestResult in + /// third_party/blink/public/mojom/devtools/inspector_issue.mojom. + /// + public enum FederatedAuthUserInfoRequestIssueReason + { + /// + /// NotSameOrigin + /// + [EnumMember(Value = ("NotSameOrigin"))] + NotSameOrigin, + /// + /// NotIframe + /// + [EnumMember(Value = ("NotIframe"))] + NotIframe, + /// + /// NotPotentiallyTrustworthy + /// + [EnumMember(Value = ("NotPotentiallyTrustworthy"))] + NotPotentiallyTrustworthy, + /// + /// NoApiPermission + /// + [EnumMember(Value = ("NoApiPermission"))] + NoApiPermission, + /// + /// NotSignedInWithIdp + /// + [EnumMember(Value = ("NotSignedInWithIdp"))] + NotSignedInWithIdp, + /// + /// NoAccountSharingPermission + /// + [EnumMember(Value = ("NoAccountSharingPermission"))] + NoAccountSharingPermission, + /// + /// InvalidConfigOrWellKnown + /// + [EnumMember(Value = ("InvalidConfigOrWellKnown"))] + InvalidConfigOrWellKnown, + /// + /// InvalidAccountsResponse + /// + [EnumMember(Value = ("InvalidAccountsResponse"))] + InvalidAccountsResponse, + /// + /// NoReturningUserFromFetchedAccounts + /// + [EnumMember(Value = ("NoReturningUserFromFetchedAccounts"))] + NoReturningUserFromFetchedAccounts } /// @@ -3133,6 +3225,113 @@ internal string clientHintIssueReason } } + /// + /// FailedRequestInfo + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class FailedRequestInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The URL that failed to load. + /// + [DataMember(Name = ("url"), IsRequired = (true))] + public string Url + { + get; + set; + } + + /// + /// The failure message for the failed request. + /// + [DataMember(Name = ("failureMessage"), IsRequired = (true))] + public string FailureMessage + { + get; + set; + } + + /// + /// RequestId + /// + [DataMember(Name = ("requestId"), IsRequired = (false))] + public string RequestId + { + get; + set; + } + } + + /// + /// StyleSheetLoadingIssueReason + /// + public enum StyleSheetLoadingIssueReason + { + /// + /// LateImportRule + /// + [EnumMember(Value = ("LateImportRule"))] + LateImportRule, + /// + /// RequestFailed + /// + [EnumMember(Value = ("RequestFailed"))] + RequestFailed + } + + /// + /// This issue warns when a referenced stylesheet couldn't be loaded. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class StylesheetLoadingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position that referenced the failing stylesheet. + /// + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the stylesheet couldn't be loaded. + /// + public CefSharp.DevTools.Audits.StyleSheetLoadingIssueReason StyleSheetLoadingIssueReason + { + get + { + return (CefSharp.DevTools.Audits.StyleSheetLoadingIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.StyleSheetLoadingIssueReason), styleSheetLoadingIssueReason)); + } + + set + { + this.styleSheetLoadingIssueReason = (EnumToString(value)); + } + } + + /// + /// Reason why the stylesheet couldn't be loaded. + /// + [DataMember(Name = ("styleSheetLoadingIssueReason"), IsRequired = (true))] + internal string styleSheetLoadingIssueReason + { + get; + set; + } + + /// + /// Contains additional info when the failure was due to a request. + /// + [DataMember(Name = ("failedRequestInfo"), IsRequired = (false))] + public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -3219,7 +3418,17 @@ public enum InspectorIssueCode /// BounceTrackingIssue /// [EnumMember(Value = ("BounceTrackingIssue"))] - BounceTrackingIssue + BounceTrackingIssue, + /// + /// StylesheetLoadingIssue + /// + [EnumMember(Value = ("StylesheetLoadingIssue"))] + StylesheetLoadingIssue, + /// + /// FederatedAuthUserInfoRequestIssue + /// + [EnumMember(Value = ("FederatedAuthUserInfoRequestIssue"))] + FederatedAuthUserInfoRequestIssue } /// @@ -3389,6 +3598,26 @@ public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDe get; set; } + + /// + /// StylesheetLoadingIssueDetails + /// + [DataMember(Name = ("stylesheetLoadingIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingIssueDetails + { + get; + set; + } + + /// + /// FederatedAuthUserInfoRequestIssueDetails + /// + [DataMember(Name = ("federatedAuthUserInfoRequestIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueDetails FederatedAuthUserInfoRequestIssueDetails + { + get; + set; + } } /// @@ -3521,6 +3750,50 @@ public string Cvc set; } } + + /// + /// AddressField + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AddressField : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// address field name, for example GIVEN_NAME. + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// address field name, for example Jon Doe. + /// + [DataMember(Name = ("value"), IsRequired = (true))] + public string Value + { + get; + set; + } + } + + /// + /// Address + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class Address : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// fields and values defining a test address. + /// + [DataMember(Name = ("fields"), IsRequired = (true))] + public System.Collections.Generic.IList Fields + { + get; + set; + } + } } namespace CefSharp.DevTools.BackgroundService @@ -9610,7 +9883,7 @@ internal string format } /// - /// Compression quality from range [0..100] (jpeg only). + /// Compression quality from range [0..100] (jpeg and webp only). /// [DataMember(Name = ("quality"), IsRequired = (false))] public int? Quality @@ -11681,6 +11954,16 @@ public double PushEnd set; } + /// + /// Started receiving response headers. + /// + [DataMember(Name = ("receiveHeadersStart"), IsRequired = (true))] + public double ReceiveHeadersStart + { + get; + set; + } + /// /// Finished receiving response headers. /// @@ -14949,6 +15232,76 @@ public string ReportOnlyReportingEndpoint } } + /// + /// ContentSecurityPolicySource + /// + public enum ContentSecurityPolicySource + { + /// + /// HTTP + /// + [EnumMember(Value = ("HTTP"))] + HTTP, + /// + /// Meta + /// + [EnumMember(Value = ("Meta"))] + Meta + } + + /// + /// ContentSecurityPolicyStatus + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class ContentSecurityPolicyStatus : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// EffectiveDirectives + /// + [DataMember(Name = ("effectiveDirectives"), IsRequired = (true))] + public string EffectiveDirectives + { + get; + set; + } + + /// + /// IsEnforced + /// + [DataMember(Name = ("isEnforced"), IsRequired = (true))] + public bool IsEnforced + { + get; + set; + } + + /// + /// Source + /// + public CefSharp.DevTools.Network.ContentSecurityPolicySource Source + { + get + { + return (CefSharp.DevTools.Network.ContentSecurityPolicySource)(StringToEnum(typeof(CefSharp.DevTools.Network.ContentSecurityPolicySource), source)); + } + + set + { + this.source = (EnumToString(value)); + } + } + + /// + /// Source + /// + [DataMember(Name = ("source"), IsRequired = (true))] + internal string source + { + get; + set; + } + } + /// /// SecurityIsolationStatus /// @@ -14974,6 +15327,16 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyStatus Coep get; set; } + + /// + /// Csp + /// + [DataMember(Name = ("csp"), IsRequired = (false))] + public System.Collections.Generic.IList Csp + { + get; + set; + } } /// @@ -16568,6 +16931,11 @@ public enum TrustTokenOperationDoneStatus [EnumMember(Value = ("InvalidArgument"))] InvalidArgument, /// + /// MissingIssuerKeys + /// + [EnumMember(Value = ("MissingIssuerKeys"))] + MissingIssuerKeys, + /// /// FailedPrecondition /// [EnumMember(Value = ("FailedPrecondition"))] @@ -18344,11 +18712,6 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("ch-ua-mobile"))] ChUaMobile, /// - /// ch-ua-full - /// - [EnumMember(Value = ("ch-ua-full"))] - ChUaFull, - /// /// ch-ua-full-version /// [EnumMember(Value = ("ch-ua-full-version"))] @@ -18364,11 +18727,6 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("ch-ua-platform-version"))] ChUaPlatformVersion, /// - /// ch-ua-reduced - /// - [EnumMember(Value = ("ch-ua-reduced"))] - ChUaReduced, - /// /// ch-ua-wow64 /// [EnumMember(Value = ("ch-ua-wow64"))] @@ -20568,6 +20926,16 @@ public enum BackForwardCacheNotRestoredReason [EnumMember(Value = ("FencedFramesEmbedder"))] FencedFramesEmbedder, /// + /// CookieDisabled + /// + [EnumMember(Value = ("CookieDisabled"))] + CookieDisabled, + /// + /// HTTPAuthRequired + /// + [EnumMember(Value = ("HTTPAuthRequired"))] + HTTPAuthRequired, + /// /// WebSocket /// [EnumMember(Value = ("WebSocket"))] @@ -20793,10 +21161,25 @@ public enum BackForwardCacheNotRestoredReason [EnumMember(Value = ("Dummy"))] Dummy, /// - /// AuthorizationHeader + /// JsNetworkRequestReceivedCacheControlNoStoreResource /// - [EnumMember(Value = ("AuthorizationHeader"))] - AuthorizationHeader, + [EnumMember(Value = ("JsNetworkRequestReceivedCacheControlNoStoreResource"))] + JsNetworkRequestReceivedCacheControlNoStoreResource, + /// + /// WebRTCSticky + /// + [EnumMember(Value = ("WebRTCSticky"))] + WebRTCSticky, + /// + /// WebTransportSticky + /// + [EnumMember(Value = ("WebTransportSticky"))] + WebTransportSticky, + /// + /// WebSocketSticky + /// + [EnumMember(Value = ("WebSocketSticky"))] + WebSocketSticky, /// /// ContentSecurityHandler /// @@ -28541,7 +28924,17 @@ public enum PrerenderFinalStatus /// MemoryPressureAfterTriggered /// [EnumMember(Value = ("MemoryPressureAfterTriggered"))] - MemoryPressureAfterTriggered + MemoryPressureAfterTriggered, + /// + /// PrerenderingDisabledByDevTools + /// + [EnumMember(Value = ("PrerenderingDisabledByDevTools"))] + PrerenderingDisabledByDevTools, + /// + /// ResourceLoadBlockedByClient + /// + [EnumMember(Value = ("ResourceLoadBlockedByClient"))] + ResourceLoadBlockedByClient } /// @@ -34052,6 +34445,20 @@ public System.Threading.Tasks.Task TriggerAsync(int fiel return _client.ExecuteDevToolsMethodAsync("Autofill.trigger", dict); } + + partial void ValidateSetAddresses(System.Collections.Generic.IList addresses); + /// + /// Set addresses so that developers can verify their forms implementation. + /// + /// addresses + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAddressesAsync(System.Collections.Generic.IList addresses) + { + ValidateSetAddresses(addresses); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("addresses", addresses.Select(x => x.ToDictionary())); + return _client.ExecuteDevToolsMethodAsync("Autofill.setAddresses", dict); + } } } @@ -46445,6 +46852,26 @@ public System.Threading.Tasks.Task SetInterceptFileChoos dict.Add("enabled", enabled); return _client.ExecuteDevToolsMethodAsync("Page.setInterceptFileChooserDialog", dict); } + + partial void ValidateSetPrerenderingAllowed(bool isAllowed); + /// + /// Enable/disable prerendering manually. + /// + /// This command is a short-term solution for https://crbug.com/1440085. + /// See https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA + /// for more details. + /// + /// TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets. + /// + /// isAllowed + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetPrerenderingAllowedAsync(bool isAllowed) + { + ValidateSetPrerenderingAllowed(isAllowed); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("isAllowed", isAllowed); + return _client.ExecuteDevToolsMethodAsync("Page.setPrerenderingAllowed", dict); + } } } @@ -53444,7 +53871,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { @@ -53595,7 +54022,7 @@ public System.Threading.Tasks.Task EnableAsync() /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 6290b07310..76e6d71a52 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 115.0.5790.114 +// CHROMIUM VERSION 116.0.5845.97 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -2790,7 +2790,82 @@ public enum FederatedAuthRequestIssueReason /// SilentMediationFailure /// [JsonPropertyName("SilentMediationFailure")] - SilentMediationFailure + SilentMediationFailure, + /// + /// ThirdPartyCookiesBlocked + /// + [JsonPropertyName("ThirdPartyCookiesBlocked")] + ThirdPartyCookiesBlocked + } + + /// + /// FederatedAuthUserInfoRequestIssueDetails + /// + public partial class FederatedAuthUserInfoRequestIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// FederatedAuthUserInfoRequestIssueReason + /// + [JsonPropertyName("federatedAuthUserInfoRequestIssueReason")] + public CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueReason FederatedAuthUserInfoRequestIssueReason + { + get; + set; + } + } + + /// + /// Represents the failure reason when a getUserInfo() call fails. + /// Should be updated alongside FederatedAuthUserInfoRequestResult in + /// third_party/blink/public/mojom/devtools/inspector_issue.mojom. + /// + public enum FederatedAuthUserInfoRequestIssueReason + { + /// + /// NotSameOrigin + /// + [JsonPropertyName("NotSameOrigin")] + NotSameOrigin, + /// + /// NotIframe + /// + [JsonPropertyName("NotIframe")] + NotIframe, + /// + /// NotPotentiallyTrustworthy + /// + [JsonPropertyName("NotPotentiallyTrustworthy")] + NotPotentiallyTrustworthy, + /// + /// NoApiPermission + /// + [JsonPropertyName("NoApiPermission")] + NoApiPermission, + /// + /// NotSignedInWithIdp + /// + [JsonPropertyName("NotSignedInWithIdp")] + NotSignedInWithIdp, + /// + /// NoAccountSharingPermission + /// + [JsonPropertyName("NoAccountSharingPermission")] + NoAccountSharingPermission, + /// + /// InvalidConfigOrWellKnown + /// + [JsonPropertyName("InvalidConfigOrWellKnown")] + InvalidConfigOrWellKnown, + /// + /// InvalidAccountsResponse + /// + [JsonPropertyName("InvalidAccountsResponse")] + InvalidAccountsResponse, + /// + /// NoReturningUserFromFetchedAccounts + /// + [JsonPropertyName("NoReturningUserFromFetchedAccounts")] + NoReturningUserFromFetchedAccounts } /// @@ -2821,6 +2896,98 @@ public CefSharp.DevTools.Audits.ClientHintIssueReason ClientHintIssueReason } } + /// + /// FailedRequestInfo + /// + public partial class FailedRequestInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The URL that failed to load. + /// + [JsonPropertyName("url")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Url + { + get; + set; + } + + /// + /// The failure message for the failed request. + /// + [JsonPropertyName("failureMessage")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string FailureMessage + { + get; + set; + } + + /// + /// RequestId + /// + [JsonPropertyName("requestId")] + public string RequestId + { + get; + set; + } + } + + /// + /// StyleSheetLoadingIssueReason + /// + public enum StyleSheetLoadingIssueReason + { + /// + /// LateImportRule + /// + [JsonPropertyName("LateImportRule")] + LateImportRule, + /// + /// RequestFailed + /// + [JsonPropertyName("RequestFailed")] + RequestFailed + } + + /// + /// This issue warns when a referenced stylesheet couldn't be loaded. + /// + public partial class StylesheetLoadingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position that referenced the failing stylesheet. + /// + [JsonPropertyName("sourceCodeLocation")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the stylesheet couldn't be loaded. + /// + [JsonPropertyName("styleSheetLoadingIssueReason")] + public CefSharp.DevTools.Audits.StyleSheetLoadingIssueReason StyleSheetLoadingIssueReason + { + get; + set; + } + + /// + /// Contains additional info when the failure was due to a request. + /// + [JsonPropertyName("failedRequestInfo")] + public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -2907,7 +3074,17 @@ public enum InspectorIssueCode /// BounceTrackingIssue /// [JsonPropertyName("BounceTrackingIssue")] - BounceTrackingIssue + BounceTrackingIssue, + /// + /// StylesheetLoadingIssue + /// + [JsonPropertyName("StylesheetLoadingIssue")] + StylesheetLoadingIssue, + /// + /// FederatedAuthUserInfoRequestIssue + /// + [JsonPropertyName("FederatedAuthUserInfoRequestIssue")] + FederatedAuthUserInfoRequestIssue } /// @@ -3076,6 +3253,26 @@ public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDe get; set; } + + /// + /// StylesheetLoadingIssueDetails + /// + [JsonPropertyName("stylesheetLoadingIssueDetails")] + public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingIssueDetails + { + get; + set; + } + + /// + /// FederatedAuthUserInfoRequestIssueDetails + /// + [JsonPropertyName("federatedAuthUserInfoRequestIssueDetails")] + public CefSharp.DevTools.Audits.FederatedAuthUserInfoRequestIssueDetails FederatedAuthUserInfoRequestIssueDetails + { + get; + set; + } } /// @@ -3197,6 +3394,51 @@ public string Cvc set; } } + + /// + /// AddressField + /// + public partial class AddressField : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// address field name, for example GIVEN_NAME. + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + + /// + /// address field name, for example Jon Doe. + /// + [JsonPropertyName("value")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Value + { + get; + set; + } + } + + /// + /// Address + /// + public partial class Address : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// fields and values defining a test address. + /// + [JsonPropertyName("fields")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Fields + { + get; + set; + } + } } namespace CefSharp.DevTools.BackgroundService @@ -9046,7 +9288,7 @@ public CefSharp.DevTools.HeadlessExperimental.ScreenshotParamsFormat? Format } /// - /// Compression quality from range [0..100] (jpeg only). + /// Compression quality from range [0..100] (jpeg and webp only). /// [JsonPropertyName("quality")] public int? Quality @@ -11016,6 +11258,16 @@ public double PushEnd set; } + /// + /// Started receiving response headers. + /// + [JsonPropertyName("receiveHeadersStart")] + public double ReceiveHeadersStart + { + get; + set; + } + /// /// Finished receiving response headers. /// @@ -13806,6 +14058,60 @@ public string ReportOnlyReportingEndpoint } } + /// + /// ContentSecurityPolicySource + /// + public enum ContentSecurityPolicySource + { + /// + /// HTTP + /// + [JsonPropertyName("HTTP")] + HTTP, + /// + /// Meta + /// + [JsonPropertyName("Meta")] + Meta + } + + /// + /// ContentSecurityPolicyStatus + /// + public partial class ContentSecurityPolicyStatus : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// EffectiveDirectives + /// + [JsonPropertyName("effectiveDirectives")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string EffectiveDirectives + { + get; + set; + } + + /// + /// IsEnforced + /// + [JsonPropertyName("isEnforced")] + public bool IsEnforced + { + get; + set; + } + + /// + /// Source + /// + [JsonPropertyName("source")] + public CefSharp.DevTools.Network.ContentSecurityPolicySource Source + { + get; + set; + } + } + /// /// SecurityIsolationStatus /// @@ -13830,6 +14136,16 @@ public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyStatus Coep get; set; } + + /// + /// Csp + /// + [JsonPropertyName("csp")] + public System.Collections.Generic.IList Csp + { + get; + set; + } } /// @@ -15406,6 +15722,11 @@ public enum TrustTokenOperationDoneStatus [JsonPropertyName("InvalidArgument")] InvalidArgument, /// + /// MissingIssuerKeys + /// + [JsonPropertyName("MissingIssuerKeys")] + MissingIssuerKeys, + /// /// FailedPrecondition /// [JsonPropertyName("FailedPrecondition")] @@ -17087,11 +17408,6 @@ public enum PermissionsPolicyFeature [JsonPropertyName("ch-ua-mobile")] ChUaMobile, /// - /// ch-ua-full - /// - [JsonPropertyName("ch-ua-full")] - ChUaFull, - /// /// ch-ua-full-version /// [JsonPropertyName("ch-ua-full-version")] @@ -17107,11 +17423,6 @@ public enum PermissionsPolicyFeature [JsonPropertyName("ch-ua-platform-version")] ChUaPlatformVersion, /// - /// ch-ua-reduced - /// - [JsonPropertyName("ch-ua-reduced")] - ChUaReduced, - /// /// ch-ua-wow64 /// [JsonPropertyName("ch-ua-wow64")] @@ -19158,6 +19469,16 @@ public enum BackForwardCacheNotRestoredReason [JsonPropertyName("FencedFramesEmbedder")] FencedFramesEmbedder, /// + /// CookieDisabled + /// + [JsonPropertyName("CookieDisabled")] + CookieDisabled, + /// + /// HTTPAuthRequired + /// + [JsonPropertyName("HTTPAuthRequired")] + HTTPAuthRequired, + /// /// WebSocket /// [JsonPropertyName("WebSocket")] @@ -19383,10 +19704,25 @@ public enum BackForwardCacheNotRestoredReason [JsonPropertyName("Dummy")] Dummy, /// - /// AuthorizationHeader + /// JsNetworkRequestReceivedCacheControlNoStoreResource + /// + [JsonPropertyName("JsNetworkRequestReceivedCacheControlNoStoreResource")] + JsNetworkRequestReceivedCacheControlNoStoreResource, + /// + /// WebRTCSticky + /// + [JsonPropertyName("WebRTCSticky")] + WebRTCSticky, + /// + /// WebTransportSticky /// - [JsonPropertyName("AuthorizationHeader")] - AuthorizationHeader, + [JsonPropertyName("WebTransportSticky")] + WebTransportSticky, + /// + /// WebSocketSticky + /// + [JsonPropertyName("WebSocketSticky")] + WebSocketSticky, /// /// ContentSecurityHandler /// @@ -26655,7 +26991,17 @@ public enum PrerenderFinalStatus /// MemoryPressureAfterTriggered /// [JsonPropertyName("MemoryPressureAfterTriggered")] - MemoryPressureAfterTriggered + MemoryPressureAfterTriggered, + /// + /// PrerenderingDisabledByDevTools + /// + [JsonPropertyName("PrerenderingDisabledByDevTools")] + PrerenderingDisabledByDevTools, + /// + /// ResourceLoadBlockedByClient + /// + [JsonPropertyName("ResourceLoadBlockedByClient")] + ResourceLoadBlockedByClient } /// @@ -31843,6 +32189,20 @@ public System.Threading.Tasks.Task TriggerAsync(int fiel return _client.ExecuteDevToolsMethodAsync("Autofill.trigger", dict); } + + partial void ValidateSetAddresses(System.Collections.Generic.IList addresses); + /// + /// Set addresses so that developers can verify their forms implementation. + /// + /// addresses + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAddressesAsync(System.Collections.Generic.IList addresses) + { + ValidateSetAddresses(addresses); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("addresses", addresses.Select(x => x.ToDictionary())); + return _client.ExecuteDevToolsMethodAsync("Autofill.setAddresses", dict); + } } } @@ -42989,6 +43349,26 @@ public System.Threading.Tasks.Task SetInterceptFileChoos dict.Add("enabled", enabled); return _client.ExecuteDevToolsMethodAsync("Page.setInterceptFileChooserDialog", dict); } + + partial void ValidateSetPrerenderingAllowed(bool isAllowed); + /// + /// Enable/disable prerendering manually. + /// + /// This command is a short-term solution for https://crbug.com/1440085. + /// See https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA + /// for more details. + /// + /// TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets. + /// + /// isAllowed + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetPrerenderingAllowedAsync(bool isAllowed) + { + ValidateSetPrerenderingAllowed(isAllowed); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("isAllowed", isAllowed); + return _client.ExecuteDevToolsMethodAsync("Page.setPrerenderingAllowed", dict); + } } } @@ -49268,7 +49648,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { @@ -49419,7 +49799,7 @@ public System.Threading.Tasks.Task EnableAsync() /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { From 2e2b53f8a1a3ee4839c7d1d18be8fa8b0269139f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 26 Aug 2023 07:46:25 +1000 Subject: [PATCH 089/275] Core - DownloadUrlAsync add optional UrlReqestFlags param Discussion #4578 --- CefSharp.Core/WebBrowserExtensionsEx.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CefSharp.Core/WebBrowserExtensionsEx.cs b/CefSharp.Core/WebBrowserExtensionsEx.cs index 537f7cba33..d6d770f189 100644 --- a/CefSharp.Core/WebBrowserExtensionsEx.cs +++ b/CefSharp.Core/WebBrowserExtensionsEx.cs @@ -99,9 +99,15 @@ public static void DownloadUrl(this IFrame frame, string url, Action /// valid frame /// url to download + /// control caching policy /// A task that can be awaited to get the representing the Url - public static Task DownloadUrlAsync(this IFrame frame, string url) + public static Task DownloadUrlAsync(this IFrame frame, string url, UrlRequestFlags urlRequestFlags = UrlRequestFlags.None) { + if (frame == null) + { + throw new ArgumentNullException(nameof(frame)); + } + if (!frame.IsValid) { throw new Exception("Frame is invalid, unable to continue."); @@ -116,6 +122,7 @@ public static Task DownloadUrlAsync(this IFrame frame, string url) request.Method = "GET"; request.Url = url; + request.Flags = urlRequestFlags; var memoryStream = new MemoryStream(); From becbb9e21d1edda3944c844d2d432c581edd1084 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 2 Sep 2023 19:24:32 +1000 Subject: [PATCH 090/275] WPF - Exception on wakeup from sleep Issue #4426 --- .../Rendering/WritableBitmapRenderHandler.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs b/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs index b0f14f2f63..d914469bbd 100644 --- a/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs +++ b/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs @@ -160,6 +160,14 @@ protected override void CreateOrUpdateBitmap(bool isPopup, Rect dirtyRect, IntPt return; } + var sourceBufferPtr = sourceBuffer.DangerousGetHandle(); + + // Issue https://github.com/cefsharp/CefSharp/issues/4426 + if (sourceBufferPtr == IntPtr.Zero) + { + return; + } + //By default we'll only update the dirty rect, for those that run into a MILERR_WIN32ERROR Exception (#2035) //it's desirably to either upgrade to a newer .Net version (only client runtime needs to be installed, not compiled //against a newer version. Or invalidate the whole bitmap @@ -169,7 +177,7 @@ protected override void CreateOrUpdateBitmap(bool isPopup, Rect dirtyRect, IntPt var sourceRect = new Int32Rect(dirtyRect.X, dirtyRect.Y, dirtyRect.Width, dirtyRect.Height); bitmap.Lock(); - bitmap.WritePixels(sourceRect, sourceBuffer.DangerousGetHandle(), noOfBytes, stride, dirtyRect.X, dirtyRect.Y); + bitmap.WritePixels(sourceRect, sourceBufferPtr, noOfBytes, stride, dirtyRect.X, dirtyRect.Y); bitmap.Unlock(); } else @@ -178,7 +186,7 @@ protected override void CreateOrUpdateBitmap(bool isPopup, Rect dirtyRect, IntPt var sourceRect = new Int32Rect(0, 0, width, height); bitmap.Lock(); - bitmap.WritePixels(sourceRect, sourceBuffer.DangerousGetHandle(), noOfBytes, stride); + bitmap.WritePixels(sourceRect, sourceBufferPtr, noOfBytes, stride); bitmap.Unlock(); } } From 43350c87877064484f8d4863f420de1d9472b7e0 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 23 Sep 2023 07:03:31 +1000 Subject: [PATCH 091/275] Update CONTRIBUTING.md and bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- CONTRIBUTING.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 5969d33c46..59835232f5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windowsarm64_client.tar.bz2). + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windowsarm64_client.tar.bz2). 2. Extract tar.bz2 file 3. Execute cefclient.exe using the **command line args below**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0085b40992..9f3d41088c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` From a2d3b0ae9eeba7a12aa09788bfa0b080d25fc1d3 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 25 Sep 2023 06:15:37 +1000 Subject: [PATCH 092/275] Upgrade to 117.1.4+ga26f38b+chromium-117.0.5938.92 / Chromium 117.0.5938.92 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 0b3ac73e0f..5b31d23f0a 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 13919d4eb3..5e9b1a79f9 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 97fabd3c78..909073b439 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 116,0,130 - PRODUCTVERSION 116,0,130 + FILEVERSION 117,1,40 + PRODUCTVERSION 117,1,40 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "116.0.130" + VALUE "FileVersion", "117.1.40" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "116.0.130" + VALUE "ProductVersion", "117.1.40" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 9be36eba34..d72ef8ad3e 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 3481ddde25..962bc31803 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index c6031438ff..9e8ea36080 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 5f87debc1f..96481e856b 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index b516213c3e..9b32e2b194 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 25fff71d0e..a33b5185a7 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 116,0,130 - PRODUCTVERSION 116,0,130 + FILEVERSION 117,1,40 + PRODUCTVERSION 117,1,40 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "116.0.130" + VALUE "FileVersion", "117.1.40" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "116.0.130" + VALUE "ProductVersion", "117.1.40" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 9be36eba34..d72ef8ad3e 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 3481ddde25..962bc31803 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 3f1a80c1ac..765b3e0a85 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index b564d59471..19b71659a1 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index f1826b5542..f558afe7e5 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 3138e56ad4..7f2701e780 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 3508690786..a189ff2197 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index fe43817f3a..5cc6746404 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 81b664ff41..ab95453d61 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 55328b5b53..eecbee3074 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 6cf851177b..0d004ef07b 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 62b25f5f39..b679ad9075 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index a85ec3e416..73ea615291 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index d877da4e34..d09a8f7105 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 116.0.130 + 117.1.40 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 116.0.130 + Version 117.1.40 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 49f1f350a2..77cb15a93e 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "116.0.130"; - public const string AssemblyFileVersion = "116.0.130.0"; + public const string AssemblyVersion = "117.1.40"; + public const string AssemblyFileVersion = "117.1.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 4151e9db8e..5e3c2ffee9 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 11e2067043..10a375692f 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 9554d6f1da..ba25e6a4e5 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index ca7623b3a8..e96ab6043d 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "116.0.13", + [string] $CefVersion = "117.1.4", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 0e20f90d04..77472af7ba 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 116.0.130-CI{build} +version: 117.1.40-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 04ed3a8851..7a3a792dd7 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "116.0.130", + [string] $Version = "117.1.40", [Parameter(Position = 2)] - [string] $AssemblyVersion = "116.0.130", + [string] $AssemblyVersion = "117.1.40", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 1e371d47acfb6c0d7505712a4df6f51d5228494f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 25 Sep 2023 19:30:32 +1000 Subject: [PATCH 093/275] Upgrade to C++17 - Upstream changes now require C++17 https://github.com/chromiumembedded/cef/commit/57d7d89b53edb233c76b40d93825945c754e9f44#diff-58af91ac84808ba9356ca7821c283cf622d8d67e12751a6781a8465248d10a60 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 6 ++++++ .../CefSharp.BrowserSubprocess.Core.vcxproj | 4 ++++ CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj | 6 ++++++ CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 4 ++++ 4 files changed, 20 insertions(+) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 5b31d23f0a..953c36c37e 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -153,6 +153,7 @@ Use true true + stdcpp17 true @@ -172,6 +173,7 @@ _DEBUG;EXPORT;NETCOREAPP;%(PreprocessorDefinitions) Use true + stdcpp17 true @@ -191,6 +193,7 @@ _DEBUG;EXPORT;NETCOREAPP;%(PreprocessorDefinitions) Use true + stdcpp17 true @@ -210,6 +213,7 @@ Use true true + stdcpp17 true @@ -227,6 +231,7 @@ NDEBUG;EXPORT;NETCOREAPP;%(PreprocessorDefinitions) Use true + stdcpp17 true @@ -244,6 +249,7 @@ NDEBUG;EXPORT;NETCOREAPP;%(PreprocessorDefinitions) Use true + stdcpp17 true diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 5e9b1a79f9..682739d7b5 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -111,6 +111,7 @@ true true true + stdcpp17 true @@ -128,6 +129,7 @@ Use true true + stdcpp17 true @@ -144,6 +146,7 @@ Use true true + stdcpp17 true @@ -158,6 +161,7 @@ WIN32;NDEBUG;EXPORT;%(PreprocessorDefinitions) Use true + stdcpp17 true diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 96481e856b..8dfffb6b92 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -177,6 +177,7 @@ Stdafx.h true true + stdcpp17 false @@ -210,6 +211,7 @@ ProgramDatabase Stdafx.h true + stdcpp17 false @@ -240,6 +242,7 @@ ProgramDatabase Stdafx.h true + stdcpp17 false @@ -269,6 +272,7 @@ true true true + stdcpp17 libcef.lib;libcef_dll_wrapper.lib;%(AdditionalDependencies) @@ -292,6 +296,7 @@ ProgramDatabase true true + stdcpp17 libcef.lib;libcef_dll_wrapper.lib;%(AdditionalDependencies) @@ -313,6 +318,7 @@ ProgramDatabase true true + stdcpp17 libcef.lib;libcef_dll_wrapper.lib;%(AdditionalDependencies) diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 9b32e2b194..ad53be0076 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -130,6 +130,7 @@ Stdafx.h true true + stdcpp17 false @@ -160,6 +161,7 @@ ProgramDatabase Stdafx.h true + stdcpp17 false @@ -186,6 +188,7 @@ true true true + stdcpp17 opengl32.lib;glu32.lib;libcef.lib;libcef_dll_wrapper.lib;%(AdditionalDependencies) @@ -206,6 +209,7 @@ ProgramDatabase true true + stdcpp17 opengl32.lib;glu32.lib;libcef.lib;libcef_dll_wrapper.lib;%(AdditionalDependencies) From 0b388197c9dd62d3cb0d91a8ca64144d1e8068c7 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 28 Sep 2023 05:55:56 +1000 Subject: [PATCH 094/275] DevTools Client - Upgrade to 117.0.5938.92 --- .../DevTools/DevToolsClient.Generated.cs | 693 ++++++++++++++++-- .../DevToolsClient.Generated.netcore.cs | 659 +++++++++++++++-- 2 files changed, 1246 insertions(+), 106 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 5484db5c4f..a2b3cc9a30 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 116.0.5845.97 +// CHROMIUM VERSION 117.0.5938.92 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -267,7 +267,7 @@ public bool? Superseded } /// - /// The native markup source for this value, e.g. a <label> element. + /// The native markup source for this value, e.g. a `<label>` element. /// public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource { @@ -283,7 +283,7 @@ public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource } /// - /// The native markup source for this value, e.g. a <label> element. + /// The native markup source for this value, e.g. a `<label>` element. /// [DataMember(Name = ("nativeSource"), IsRequired = (false))] internal string nativeSource @@ -1334,7 +1334,12 @@ public enum CookieExclusionReason /// ExcludeThirdPartyCookieBlockedInFirstPartySet /// [EnumMember(Value = ("ExcludeThirdPartyCookieBlockedInFirstPartySet"))] - ExcludeThirdPartyCookieBlockedInFirstPartySet + ExcludeThirdPartyCookieBlockedInFirstPartySet, + /// + /// ExcludeThirdPartyPhaseout + /// + [EnumMember(Value = ("ExcludeThirdPartyPhaseout"))] + ExcludeThirdPartyPhaseout } /// @@ -1391,7 +1396,12 @@ public enum CookieWarningReason /// WarnDomainNonASCII /// [EnumMember(Value = ("WarnDomainNonASCII"))] - WarnDomainNonASCII + WarnDomainNonASCII, + /// + /// WarnThirdPartyPhaseout + /// + [EnumMember(Value = ("WarnThirdPartyPhaseout"))] + WarnThirdPartyPhaseout } /// @@ -2522,7 +2532,12 @@ public enum AttributionReportingIssueType /// NoWebOrOsSupport /// [EnumMember(Value = ("NoWebOrOsSupport"))] - NoWebOrOsSupport + NoWebOrOsSupport, + /// + /// NavigationRegistrationWithoutTransientUserActivation + /// + [EnumMember(Value = ("NavigationRegistrationWithoutTransientUserActivation"))] + NavigationRegistrationWithoutTransientUserActivation } /// @@ -2734,7 +2749,12 @@ public enum GenericIssueErrorType /// FormInputHasWrongButWellIntendedAutocompleteValueError /// [EnumMember(Value = ("FormInputHasWrongButWellIntendedAutocompleteValueError"))] - FormInputHasWrongButWellIntendedAutocompleteValueError + FormInputHasWrongButWellIntendedAutocompleteValueError, + /// + /// ResponseWasBlockedByORB + /// + [EnumMember(Value = ("ResponseWasBlockedByORB"))] + ResponseWasBlockedByORB } /// @@ -2798,6 +2818,16 @@ public string ViolatingNodeAttribute get; set; } + + /// + /// Request + /// + [DataMember(Name = ("request"), IsRequired = (false))] + public CefSharp.DevTools.Audits.AffectedRequest Request + { + get; + set; + } } /// @@ -4975,7 +5005,7 @@ public bool IsInline /// /// Whether this stylesheet is mutable. Inline stylesheets become mutable /// after they have been modified via CSSOM API. - /// <link> element's stylesheets become mutable only if DevTools modifies them. + /// `<link>` element's stylesheets become mutable only if DevTools modifies them. /// Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. /// [DataMember(Name = ("isMutable"), IsRequired = (true))] @@ -5184,6 +5214,70 @@ public System.Collections.Generic.IList Scopes get; set; } + + /// + /// The array keeps the types of ancestor CSSRules from the innermost going outwards. + /// + public CefSharp.DevTools.CSS.CSSRuleType[] RuleTypes + { + get + { + return (CefSharp.DevTools.CSS.CSSRuleType[])(StringToEnum(typeof(CefSharp.DevTools.CSS.CSSRuleType[]), ruleTypes)); + } + + set + { + this.ruleTypes = (EnumToString(value)); + } + } + + /// + /// The array keeps the types of ancestor CSSRules from the innermost going outwards. + /// + [DataMember(Name = ("ruleTypes"), IsRequired = (false))] + internal string ruleTypes + { + get; + set; + } + } + + /// + /// Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors. + /// This list only contains rule types that are collected during the ancestor rule collection. + /// + public enum CSSRuleType + { + /// + /// MediaRule + /// + [EnumMember(Value = ("MediaRule"))] + MediaRule, + /// + /// SupportsRule + /// + [EnumMember(Value = ("SupportsRule"))] + SupportsRule, + /// + /// ContainerRule + /// + [EnumMember(Value = ("ContainerRule"))] + ContainerRule, + /// + /// LayerRule + /// + [EnumMember(Value = ("LayerRule"))] + LayerRule, + /// + /// ScopeRule + /// + [EnumMember(Value = ("ScopeRule"))] + ScopeRule, + /// + /// StyleRule + /// + [EnumMember(Value = ("StyleRule"))] + StyleRule } /// @@ -12764,7 +12858,27 @@ public enum CorsError /// NoCorsRedirectModeNotFollow /// [EnumMember(Value = ("NoCorsRedirectModeNotFollow"))] - NoCorsRedirectModeNotFollow + NoCorsRedirectModeNotFollow, + /// + /// PreflightMissingPrivateNetworkAccessId + /// + [EnumMember(Value = ("PreflightMissingPrivateNetworkAccessId"))] + PreflightMissingPrivateNetworkAccessId, + /// + /// PreflightMissingPrivateNetworkAccessName + /// + [EnumMember(Value = ("PreflightMissingPrivateNetworkAccessName"))] + PreflightMissingPrivateNetworkAccessName, + /// + /// PrivateNetworkAccessPermissionUnavailable + /// + [EnumMember(Value = ("PrivateNetworkAccessPermissionUnavailable"))] + PrivateNetworkAccessPermissionUnavailable, + /// + /// PrivateNetworkAccessPermissionDenied + /// + [EnumMember(Value = ("PrivateNetworkAccessPermissionDenied"))] + PrivateNetworkAccessPermissionDenied } /// @@ -13918,7 +14032,12 @@ public enum SetCookieBlockedReason /// NameValuePairExceedsMaxSize /// [EnumMember(Value = ("NameValuePairExceedsMaxSize"))] - NameValuePairExceedsMaxSize + NameValuePairExceedsMaxSize, + /// + /// DisallowedCharacter + /// + [EnumMember(Value = ("DisallowedCharacter"))] + DisallowedCharacter } /// @@ -14699,7 +14818,7 @@ public System.Collections.Generic.IList - /// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value> ". + /// Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`. /// [DataMember(Name = ("headerIntegrity"), IsRequired = (true))] public string HeaderIntegrity @@ -14865,7 +14984,12 @@ public enum ContentEncoding /// br /// [EnumMember(Value = ("br"))] - Br + Br, + /// + /// zstd + /// + [EnumMember(Value = ("zstd"))] + Zstd } /// @@ -15849,17 +15973,6 @@ public double EncodedDataLength get; private set; } - - /// - /// Set when 1) response was blocked by Cross-Origin Read Blocking and also - /// 2) this needs to be reported to the DevTools console. - /// - [DataMember(Name = ("shouldReportCorbBlocking"), IsRequired = (false))] - public bool? ShouldReportCorbBlocking - { - get; - private set; - } } /// @@ -18712,6 +18825,11 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("ch-ua-mobile"))] ChUaMobile, /// + /// ch-ua-form-factor + /// + [EnumMember(Value = ("ch-ua-form-factor"))] + ChUaFormFactor, + /// /// ch-ua-full-version /// [EnumMember(Value = ("ch-ua-full-version"))] @@ -20936,6 +21054,11 @@ public enum BackForwardCacheNotRestoredReason [EnumMember(Value = ("HTTPAuthRequired"))] HTTPAuthRequired, /// + /// CookieFlushed + /// + [EnumMember(Value = ("CookieFlushed"))] + CookieFlushed, + /// /// WebSocket /// [EnumMember(Value = ("WebSocket"))] @@ -20991,11 +21114,6 @@ public enum BackForwardCacheNotRestoredReason [EnumMember(Value = ("OutstandingNetworkRequestOthers"))] OutstandingNetworkRequestOthers, /// - /// OutstandingIndexedDBTransaction - /// - [EnumMember(Value = ("OutstandingIndexedDBTransaction"))] - OutstandingIndexedDBTransaction, - /// /// RequestedMIDIPermission /// [EnumMember(Value = ("RequestedMIDIPermission"))] @@ -21026,11 +21144,6 @@ public enum BackForwardCacheNotRestoredReason [EnumMember(Value = ("BroadcastChannel"))] BroadcastChannel, /// - /// IndexedDBConnection - /// - [EnumMember(Value = ("IndexedDBConnection"))] - IndexedDBConnection, - /// /// WebXR /// [EnumMember(Value = ("WebXR"))] @@ -21514,7 +21627,7 @@ internal string mode } /// - /// Input node id. Only present for file choosers opened via an <input type="file" > element. + /// Input node id. Only present for file choosers opened via an `<input type="file" >` element. /// [DataMember(Name = ("backendNodeId"), IsRequired = (false))] public int? BackendNodeId @@ -24554,6 +24667,297 @@ internal string durability } } + /// + /// AttributionReportingSourceType + /// + public enum AttributionReportingSourceType + { + /// + /// navigation + /// + [EnumMember(Value = ("navigation"))] + Navigation, + /// + /// event + /// + [EnumMember(Value = ("event"))] + Event + } + + /// + /// AttributionReportingFilterDataEntry + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AttributionReportingFilterDataEntry : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public string Key + { + get; + set; + } + + /// + /// Values + /// + [DataMember(Name = ("values"), IsRequired = (true))] + public string[] Values + { + get; + set; + } + } + + /// + /// AttributionReportingAggregationKeysEntry + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AttributionReportingAggregationKeysEntry : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [DataMember(Name = ("key"), IsRequired = (true))] + public string Key + { + get; + set; + } + + /// + /// Value + /// + [DataMember(Name = ("value"), IsRequired = (true))] + public string Value + { + get; + set; + } + } + + /// + /// AttributionReportingSourceRegistration + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AttributionReportingSourceRegistration : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Time + /// + [DataMember(Name = ("time"), IsRequired = (true))] + public double Time + { + get; + set; + } + + /// + /// duration in seconds + /// + [DataMember(Name = ("expiry"), IsRequired = (false))] + public int? Expiry + { + get; + set; + } + + /// + /// duration in seconds + /// + [DataMember(Name = ("eventReportWindow"), IsRequired = (false))] + public int? EventReportWindow + { + get; + set; + } + + /// + /// duration in seconds + /// + [DataMember(Name = ("aggregatableReportWindow"), IsRequired = (false))] + public int? AggregatableReportWindow + { + get; + set; + } + + /// + /// Type + /// + public CefSharp.DevTools.Storage.AttributionReportingSourceType Type + { + get + { + return (CefSharp.DevTools.Storage.AttributionReportingSourceType)(StringToEnum(typeof(CefSharp.DevTools.Storage.AttributionReportingSourceType), type)); + } + + set + { + this.type = (EnumToString(value)); + } + } + + /// + /// Type + /// + [DataMember(Name = ("type"), IsRequired = (true))] + internal string type + { + get; + set; + } + + /// + /// SourceOrigin + /// + [DataMember(Name = ("sourceOrigin"), IsRequired = (true))] + public string SourceOrigin + { + get; + set; + } + + /// + /// ReportingOrigin + /// + [DataMember(Name = ("reportingOrigin"), IsRequired = (true))] + public string ReportingOrigin + { + get; + set; + } + + /// + /// DestinationSites + /// + [DataMember(Name = ("destinationSites"), IsRequired = (true))] + public string[] DestinationSites + { + get; + set; + } + + /// + /// EventId + /// + [DataMember(Name = ("eventId"), IsRequired = (true))] + public string EventId + { + get; + set; + } + + /// + /// Priority + /// + [DataMember(Name = ("priority"), IsRequired = (true))] + public string Priority + { + get; + set; + } + + /// + /// FilterData + /// + [DataMember(Name = ("filterData"), IsRequired = (true))] + public System.Collections.Generic.IList FilterData + { + get; + set; + } + + /// + /// AggregationKeys + /// + [DataMember(Name = ("aggregationKeys"), IsRequired = (true))] + public System.Collections.Generic.IList AggregationKeys + { + get; + set; + } + + /// + /// DebugKey + /// + [DataMember(Name = ("debugKey"), IsRequired = (false))] + public string DebugKey + { + get; + set; + } + } + + /// + /// AttributionReportingSourceRegistrationResult + /// + public enum AttributionReportingSourceRegistrationResult + { + /// + /// success + /// + [EnumMember(Value = ("success"))] + Success, + /// + /// internalError + /// + [EnumMember(Value = ("internalError"))] + InternalError, + /// + /// insufficientSourceCapacity + /// + [EnumMember(Value = ("insufficientSourceCapacity"))] + InsufficientSourceCapacity, + /// + /// insufficientUniqueDestinationCapacity + /// + [EnumMember(Value = ("insufficientUniqueDestinationCapacity"))] + InsufficientUniqueDestinationCapacity, + /// + /// excessiveReportingOrigins + /// + [EnumMember(Value = ("excessiveReportingOrigins"))] + ExcessiveReportingOrigins, + /// + /// prohibitedByBrowserPolicy + /// + [EnumMember(Value = ("prohibitedByBrowserPolicy"))] + ProhibitedByBrowserPolicy, + /// + /// successNoised + /// + [EnumMember(Value = ("successNoised"))] + SuccessNoised, + /// + /// destinationReportingLimitReached + /// + [EnumMember(Value = ("destinationReportingLimitReached"))] + DestinationReportingLimitReached, + /// + /// destinationGlobalLimitReached + /// + [EnumMember(Value = ("destinationGlobalLimitReached"))] + DestinationGlobalLimitReached, + /// + /// destinationBothLimitsReached + /// + [EnumMember(Value = ("destinationBothLimitsReached"))] + DestinationBothLimitsReached, + /// + /// reportingOriginsPerSiteLimitReached + /// + [EnumMember(Value = ("reportingOriginsPerSiteLimitReached"))] + ReportingOriginsPerSiteLimitReached, + /// + /// exceedsMaxChannelCapacity + /// + [EnumMember(Value = ("exceedsMaxChannelCapacity"))] + ExceedsMaxChannelCapacity + } + /// /// A cache's contents have been modified. /// @@ -24903,6 +25307,50 @@ public string BucketId private set; } } + + /// + /// TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g. + /// trigger registration. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class AttributionReportingSourceRegisteredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Registration + /// + [DataMember(Name = ("registration"), IsRequired = (true))] + public CefSharp.DevTools.Storage.AttributionReportingSourceRegistration Registration + { + get; + private set; + } + + /// + /// Result + /// + public CefSharp.DevTools.Storage.AttributionReportingSourceRegistrationResult Result + { + get + { + return (CefSharp.DevTools.Storage.AttributionReportingSourceRegistrationResult)(StringToEnum(typeof(CefSharp.DevTools.Storage.AttributionReportingSourceRegistrationResult), result)); + } + + set + { + this.result = (EnumToString(value)); + } + } + + /// + /// Result + /// + [DataMember(Name = ("result"), IsRequired = (true))] + internal string result + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -26391,6 +26839,11 @@ public string Password /// The stage of the request can be determined by presence of responseErrorReason /// and responseStatusCode -- the request is at the response stage if either /// of these fields is present and in the request stage otherwise. + /// Redirect responses and subsequent requests are reported similarly to regular + /// responses and requests. Redirect responses may be distinguished by the value + /// of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with + /// presence of the `location` header. Requests resulting from a redirect will + /// have `redirectedRequestId` field set. /// [System.Runtime.Serialization.DataContractAttribute] public class RequestPausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase @@ -28349,7 +28802,7 @@ public string LoaderId /// /// Source text of JSON representing the rule set. If it comes from - /// <script> tag, it is the textContent of the node. Note that it is + /// `<script>` tag, it is the textContent of the node. Note that it is /// a JSON for valid case. /// /// See also: @@ -28365,9 +28818,9 @@ public string SourceText /// /// A speculation rule set is either added through an inline - /// <script> tag or through an external resource via the + /// `<script>` tag or through an external resource via the /// 'Speculation-Rules' HTTP header. For the first case, we include - /// the BackendNodeId of the relevant <script> tag. For the second + /// the BackendNodeId of the relevant `<script>` tag. For the second /// case, we include the external URL where the rule set was loaded /// from, and also RequestId if Network domain is enabled. /// @@ -28766,11 +29219,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("TriggerBackgrounded"))] TriggerBackgrounded, /// - /// EmbedderTriggeredAndCrossOriginRedirected - /// - [EnumMember(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] - EmbedderTriggeredAndCrossOriginRedirected, - /// /// MemoryLimitExceeded /// [EnumMember(Value = ("MemoryLimitExceeded"))] @@ -28934,7 +29382,17 @@ public enum PrerenderFinalStatus /// ResourceLoadBlockedByClient /// [EnumMember(Value = ("ResourceLoadBlockedByClient"))] - ResourceLoadBlockedByClient + ResourceLoadBlockedByClient, + /// + /// SpeculationRuleRemoved + /// + [EnumMember(Value = ("SpeculationRuleRemoved"))] + SpeculationRuleRemoved, + /// + /// ActivatedWithAuxiliaryBrowsingContexts + /// + [EnumMember(Value = ("ActivatedWithAuxiliaryBrowsingContexts"))] + ActivatedWithAuxiliaryBrowsingContexts } /// @@ -29276,6 +29734,26 @@ public bool DisabledByBatterySaver get; private set; } + + /// + /// DisabledByHoldbackPrefetchSpeculationRules + /// + [DataMember(Name = ("disabledByHoldbackPrefetchSpeculationRules"), IsRequired = (true))] + public bool DisabledByHoldbackPrefetchSpeculationRules + { + get; + private set; + } + + /// + /// DisabledByHoldbackPrerenderSpeculationRules + /// + [DataMember(Name = ("disabledByHoldbackPrerenderSpeculationRules"), IsRequired = (true))] + public bool DisabledByHoldbackPrerenderSpeculationRules + { + get; + private set; + } } /// @@ -29365,6 +29843,16 @@ internal string prefetchStatus get; private set; } + + /// + /// RequestId + /// + [DataMember(Name = ("requestId"), IsRequired = (true))] + public string RequestId + { + get; + private set; + } } /// @@ -29434,6 +29922,17 @@ internal string prerenderStatus get; private set; } + + /// + /// This is used to give users more information about the name of Mojo interface + /// that is incompatible with prerender and has caused the cancellation of the attempt. + /// + [DataMember(Name = ("disallowedMojoInterface"), IsRequired = (false))] + public string DisallowedMojoInterface + { + get; + private set; + } } /// @@ -31536,6 +32035,18 @@ public int? MaxDepth get; set; } + + /// + /// Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM + /// serialization via `maxNodeDepth: integer` and `includeShadowTree: "none" | "open" | "all"`. + /// Values can be only of type string or integer. + /// + [DataMember(Name = ("additionalParameters"), IsRequired = (false))] + public object AdditionalParameters + { + get; + set; + } } /// @@ -37837,8 +38348,8 @@ public enum EnableIncludeWhitespace /// the JavaScript object wrapper, etc. It is important that client receives DOM events only for the /// nodes that are known to the client. Backend keeps track of the nodes that were sent to the client /// and never sends the same node twice. It is client's responsibility to collect information about - /// the nodes that were sent to the client.<p>Note that `iframe` owner elements will return - /// corresponding document elements as their child nodes.</p> + /// the nodes that were sent to the client. Note that `iframe` owner elements will return + /// corresponding document elements as their child nodes. /// public partial class DOMClient : DevToolsDomainBase { @@ -41703,6 +42214,16 @@ public System.Threading.Tasks.Task DispatchTouchEventAsy return _client.ExecuteDevToolsMethodAsync("Input.dispatchTouchEvent", dict); } + /// + /// Cancels any active dragging in the page. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task CancelDraggingAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Input.cancelDragging", dict); + } + partial void ValidateEmulateTouchFromMouseEvent(CefSharp.DevTools.Input.EmulateTouchFromMouseEventType type, int x, int y, CefSharp.DevTools.Input.MouseButton button, double? timestamp = null, double? deltaX = null, double? deltaY = null, int? modifiers = null, int? clickCount = null); /// /// Emulates touch event from the mouse event parameters. @@ -45997,17 +46518,18 @@ public event System.EventHandler CompilationC } } - partial void ValidateAddScriptToEvaluateOnNewDocument(string source, string worldName = null, bool? includeCommandLineAPI = null); + partial void ValidateAddScriptToEvaluateOnNewDocument(string source, string worldName = null, bool? includeCommandLineAPI = null, bool? runImmediately = null); /// /// Evaluates given script in every frame upon creation (before loading frame's scripts). /// /// source /// If specified, creates an isolated world with the given name and evaluates given script in it.This world name will be used as the ExecutionContextDescription::name when the correspondingevent is emitted. /// Specifies whether command line API should be available to the script, defaultsto false. + /// If true, runs the script immediately on existing execution contexts or worlds.Default: false. /// returns System.Threading.Tasks.Task<AddScriptToEvaluateOnNewDocumentResponse> - public System.Threading.Tasks.Task AddScriptToEvaluateOnNewDocumentAsync(string source, string worldName = null, bool? includeCommandLineAPI = null) + public System.Threading.Tasks.Task AddScriptToEvaluateOnNewDocumentAsync(string source, string worldName = null, bool? includeCommandLineAPI = null, bool? runImmediately = null) { - ValidateAddScriptToEvaluateOnNewDocument(source, worldName, includeCommandLineAPI); + ValidateAddScriptToEvaluateOnNewDocument(source, worldName, includeCommandLineAPI, runImmediately); var dict = new System.Collections.Generic.Dictionary(); dict.Add("source", source); if (!(string.IsNullOrEmpty(worldName))) @@ -46020,6 +46542,11 @@ public System.Threading.Tasks.Task Add dict.Add("includeCommandLineAPI", includeCommandLineAPI.Value); } + if (runImmediately.HasValue) + { + dict.Add("runImmediately", runImmediately.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.addScriptToEvaluateOnNewDocument", dict); } @@ -46329,7 +46856,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null); /// /// Print page as PDF. /// @@ -46348,10 +46875,11 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// HTML template for the print footer. Should use the same format as the `headerTemplate`. /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream + /// Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -46428,6 +46956,11 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("transferMode", EnumToString(transferMode)); } + if (generateTaggedPDF.HasValue) + { + dict.Add("generateTaggedPDF", generateTaggedPDF.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.printToPDF", dict); } @@ -47826,6 +48359,23 @@ public event System.EventHandler StorageBucketDel } } + /// + /// TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g. + /// trigger registration. + /// + public event System.EventHandler AttributionReportingSourceRegistered + { + add + { + _client.AddEventHandler("Storage.attributionReportingSourceRegistered", value); + } + + remove + { + _client.RemoveEventHandler("Storage.attributionReportingSourceRegistered", value); + } + } + partial void ValidateGetStorageKeyForFrame(string frameId); /// /// Returns a storage key given a frame id. @@ -48279,6 +48829,34 @@ public System.Threading.Tasks.Task RunBoun System.Collections.Generic.Dictionary dict = null; return _client.ExecuteDevToolsMethodAsync("Storage.runBounceTrackingMitigations", dict); } + + partial void ValidateSetAttributionReportingLocalTestingMode(bool enabled); + /// + /// https://wicg.github.io/attribution-reporting-api/ + /// + /// If enabled, noise is suppressed and reports are sent immediately. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAttributionReportingLocalTestingModeAsync(bool enabled) + { + ValidateSetAttributionReportingLocalTestingMode(enabled); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enabled", enabled); + return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingLocalTestingMode", dict); + } + + partial void ValidateSetAttributionReportingTracking(bool enable); + /// + /// Enables/disables issuing of Attribution Reporting events. + /// + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAttributionReportingTrackingAsync(bool enable) + { + ValidateSetAttributionReportingTracking(enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingTracking", dict); + } } } @@ -49644,6 +50222,11 @@ public FetchClient(CefSharp.DevTools.IDevToolsClient client) /// The stage of the request can be determined by presence of responseErrorReason /// and responseStatusCode -- the request is at the response stage if either /// of these fields is present and in the request stage otherwise. + /// Redirect responses and subsequent requests are reported similarly to regular + /// responses and requests. Redirect responses may be distinguished by the value + /// of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with + /// presence of the `location` header. Requests resulting from a redirect will + /// have `redirectedRequestId` field set. /// public event System.EventHandler RequestPaused { @@ -49874,6 +50457,10 @@ public System.Threading.Tasks.Task ContinueResponseAsync /// takeResponseBodyForInterceptionAsStream. Calling other methods that /// affect the request or disabling fetch domain before body is received /// results in an undefined behavior. + /// Note that the response body is not available for redirects. Requests + /// paused in the _redirect received_ state may be differentiated by + /// `responseCode` and presence of `location` response header, see + /// comments to `requestPaused` for details. /// /// Identifier for the intercepted request to get body for. /// returns System.Threading.Tasks.Task<GetResponseBodyResponse> @@ -54596,8 +55183,8 @@ public CefSharp.DevTools.Cast.CastClient Cast /// the JavaScript object wrapper, etc. It is important that client receives DOM events only for the /// nodes that are known to the client. Backend keeps track of the nodes that were sent to the client /// and never sends the same node twice. It is client's responsibility to collect information about - /// the nodes that were sent to the client.<p>Note that `iframe` owner elements will return - /// corresponding document elements as their child nodes.</p> + /// the nodes that were sent to the client. Note that `iframe` owner elements will return + /// corresponding document elements as their child nodes. /// public CefSharp.DevTools.DOM.DOMClient DOM { diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 76e6d71a52..062ba72545 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 116.0.5845.97 +// CHROMIUM VERSION 117.0.5938.92 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -250,7 +250,7 @@ public bool? Superseded } /// - /// The native markup source for this value, e.g. a <label> element. + /// The native markup source for this value, e.g. a `<label>` element. /// [JsonPropertyName("nativeSource")] public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource @@ -1263,7 +1263,12 @@ public enum CookieExclusionReason /// ExcludeThirdPartyCookieBlockedInFirstPartySet /// [JsonPropertyName("ExcludeThirdPartyCookieBlockedInFirstPartySet")] - ExcludeThirdPartyCookieBlockedInFirstPartySet + ExcludeThirdPartyCookieBlockedInFirstPartySet, + /// + /// ExcludeThirdPartyPhaseout + /// + [JsonPropertyName("ExcludeThirdPartyPhaseout")] + ExcludeThirdPartyPhaseout } /// @@ -1320,7 +1325,12 @@ public enum CookieWarningReason /// WarnDomainNonASCII /// [JsonPropertyName("WarnDomainNonASCII")] - WarnDomainNonASCII + WarnDomainNonASCII, + /// + /// WarnThirdPartyPhaseout + /// + [JsonPropertyName("WarnThirdPartyPhaseout")] + WarnThirdPartyPhaseout } /// @@ -2274,7 +2284,12 @@ public enum AttributionReportingIssueType /// NoWebOrOsSupport /// [JsonPropertyName("NoWebOrOsSupport")] - NoWebOrOsSupport + NoWebOrOsSupport, + /// + /// NavigationRegistrationWithoutTransientUserActivation + /// + [JsonPropertyName("NavigationRegistrationWithoutTransientUserActivation")] + NavigationRegistrationWithoutTransientUserActivation } /// @@ -2471,7 +2486,12 @@ public enum GenericIssueErrorType /// FormInputHasWrongButWellIntendedAutocompleteValueError /// [JsonPropertyName("FormInputHasWrongButWellIntendedAutocompleteValueError")] - FormInputHasWrongButWellIntendedAutocompleteValueError + FormInputHasWrongButWellIntendedAutocompleteValueError, + /// + /// ResponseWasBlockedByORB + /// + [JsonPropertyName("ResponseWasBlockedByORB")] + ResponseWasBlockedByORB } /// @@ -2518,6 +2538,16 @@ public string ViolatingNodeAttribute get; set; } + + /// + /// Request + /// + [JsonPropertyName("request")] + public CefSharp.DevTools.Audits.AffectedRequest Request + { + get; + set; + } } /// @@ -4545,7 +4575,7 @@ public bool IsInline /// /// Whether this stylesheet is mutable. Inline stylesheets become mutable /// after they have been modified via CSSOM API. - /// <link> element's stylesheets become mutable only if DevTools modifies them. + /// `<link>` element's stylesheets become mutable only if DevTools modifies them. /// Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. /// [JsonPropertyName("isMutable")] @@ -4739,6 +4769,54 @@ public System.Collections.Generic.IList Scopes get; set; } + + /// + /// The array keeps the types of ancestor CSSRules from the innermost going outwards. + /// + [JsonPropertyName("ruleTypes")] + public CefSharp.DevTools.CSS.CSSRuleType[] RuleTypes + { + get; + set; + } + } + + /// + /// Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors. + /// This list only contains rule types that are collected during the ancestor rule collection. + /// + public enum CSSRuleType + { + /// + /// MediaRule + /// + [JsonPropertyName("MediaRule")] + MediaRule, + /// + /// SupportsRule + /// + [JsonPropertyName("SupportsRule")] + SupportsRule, + /// + /// ContainerRule + /// + [JsonPropertyName("ContainerRule")] + ContainerRule, + /// + /// LayerRule + /// + [JsonPropertyName("LayerRule")] + LayerRule, + /// + /// ScopeRule + /// + [JsonPropertyName("ScopeRule")] + ScopeRule, + /// + /// StyleRule + /// + [JsonPropertyName("StyleRule")] + StyleRule } /// @@ -12017,7 +12095,27 @@ public enum CorsError /// NoCorsRedirectModeNotFollow /// [JsonPropertyName("NoCorsRedirectModeNotFollow")] - NoCorsRedirectModeNotFollow + NoCorsRedirectModeNotFollow, + /// + /// PreflightMissingPrivateNetworkAccessId + /// + [JsonPropertyName("PreflightMissingPrivateNetworkAccessId")] + PreflightMissingPrivateNetworkAccessId, + /// + /// PreflightMissingPrivateNetworkAccessName + /// + [JsonPropertyName("PreflightMissingPrivateNetworkAccessName")] + PreflightMissingPrivateNetworkAccessName, + /// + /// PrivateNetworkAccessPermissionUnavailable + /// + [JsonPropertyName("PrivateNetworkAccessPermissionUnavailable")] + PrivateNetworkAccessPermissionUnavailable, + /// + /// PrivateNetworkAccessPermissionDenied + /// + [JsonPropertyName("PrivateNetworkAccessPermissionDenied")] + PrivateNetworkAccessPermissionDenied } /// @@ -12999,7 +13097,12 @@ public enum SetCookieBlockedReason /// NameValuePairExceedsMaxSize /// [JsonPropertyName("NameValuePairExceedsMaxSize")] - NameValuePairExceedsMaxSize + NameValuePairExceedsMaxSize, + /// + /// DisallowedCharacter + /// + [JsonPropertyName("DisallowedCharacter")] + DisallowedCharacter } /// @@ -13640,7 +13743,7 @@ public System.Collections.Generic.IList - /// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value> ". + /// Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`. /// [JsonPropertyName("headerIntegrity")] [System.Diagnostics.CodeAnalysis.DisallowNull] @@ -13791,7 +13894,12 @@ public enum ContentEncoding /// br /// [JsonPropertyName("br")] - Br + Br, + /// + /// zstd + /// + [JsonPropertyName("zstd")] + Zstd } /// @@ -14636,18 +14744,6 @@ public double EncodedDataLength get; private set; } - - /// - /// Set when 1) response was blocked by Cross-Origin Read Blocking and also - /// 2) this needs to be reported to the DevTools console. - /// - [JsonInclude] - [JsonPropertyName("shouldReportCorbBlocking")] - public bool? ShouldReportCorbBlocking - { - get; - private set; - } } /// @@ -17408,6 +17504,11 @@ public enum PermissionsPolicyFeature [JsonPropertyName("ch-ua-mobile")] ChUaMobile, /// + /// ch-ua-form-factor + /// + [JsonPropertyName("ch-ua-form-factor")] + ChUaFormFactor, + /// /// ch-ua-full-version /// [JsonPropertyName("ch-ua-full-version")] @@ -19479,6 +19580,11 @@ public enum BackForwardCacheNotRestoredReason [JsonPropertyName("HTTPAuthRequired")] HTTPAuthRequired, /// + /// CookieFlushed + /// + [JsonPropertyName("CookieFlushed")] + CookieFlushed, + /// /// WebSocket /// [JsonPropertyName("WebSocket")] @@ -19534,11 +19640,6 @@ public enum BackForwardCacheNotRestoredReason [JsonPropertyName("OutstandingNetworkRequestOthers")] OutstandingNetworkRequestOthers, /// - /// OutstandingIndexedDBTransaction - /// - [JsonPropertyName("OutstandingIndexedDBTransaction")] - OutstandingIndexedDBTransaction, - /// /// RequestedMIDIPermission /// [JsonPropertyName("RequestedMIDIPermission")] @@ -19569,11 +19670,6 @@ public enum BackForwardCacheNotRestoredReason [JsonPropertyName("BroadcastChannel")] BroadcastChannel, /// - /// IndexedDBConnection - /// - [JsonPropertyName("IndexedDBConnection")] - IndexedDBConnection, - /// /// WebXR /// [JsonPropertyName("WebXR")] @@ -20012,7 +20108,7 @@ public CefSharp.DevTools.Page.FileChooserOpenedMode Mode } /// - /// Input node id. Only present for file choosers opened via an <input type="file" > element. + /// Input node id. Only present for file choosers opened via an `<input type="file" >` element. /// [JsonInclude] [JsonPropertyName("backendNodeId")] @@ -22872,6 +22968,289 @@ public CefSharp.DevTools.Storage.StorageBucketsDurability Durability } } + /// + /// AttributionReportingSourceType + /// + public enum AttributionReportingSourceType + { + /// + /// navigation + /// + [JsonPropertyName("navigation")] + Navigation, + /// + /// event + /// + [JsonPropertyName("event")] + Event + } + + /// + /// AttributionReportingFilterDataEntry + /// + public partial class AttributionReportingFilterDataEntry : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [JsonPropertyName("key")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Key + { + get; + set; + } + + /// + /// Values + /// + [JsonPropertyName("values")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] Values + { + get; + set; + } + } + + /// + /// AttributionReportingAggregationKeysEntry + /// + public partial class AttributionReportingAggregationKeysEntry : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Key + /// + [JsonPropertyName("key")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Key + { + get; + set; + } + + /// + /// Value + /// + [JsonPropertyName("value")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Value + { + get; + set; + } + } + + /// + /// AttributionReportingSourceRegistration + /// + public partial class AttributionReportingSourceRegistration : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Time + /// + [JsonPropertyName("time")] + public double Time + { + get; + set; + } + + /// + /// duration in seconds + /// + [JsonPropertyName("expiry")] + public int? Expiry + { + get; + set; + } + + /// + /// duration in seconds + /// + [JsonPropertyName("eventReportWindow")] + public int? EventReportWindow + { + get; + set; + } + + /// + /// duration in seconds + /// + [JsonPropertyName("aggregatableReportWindow")] + public int? AggregatableReportWindow + { + get; + set; + } + + /// + /// Type + /// + [JsonPropertyName("type")] + public CefSharp.DevTools.Storage.AttributionReportingSourceType Type + { + get; + set; + } + + /// + /// SourceOrigin + /// + [JsonPropertyName("sourceOrigin")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string SourceOrigin + { + get; + set; + } + + /// + /// ReportingOrigin + /// + [JsonPropertyName("reportingOrigin")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ReportingOrigin + { + get; + set; + } + + /// + /// DestinationSites + /// + [JsonPropertyName("destinationSites")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] DestinationSites + { + get; + set; + } + + /// + /// EventId + /// + [JsonPropertyName("eventId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string EventId + { + get; + set; + } + + /// + /// Priority + /// + [JsonPropertyName("priority")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Priority + { + get; + set; + } + + /// + /// FilterData + /// + [JsonPropertyName("filterData")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList FilterData + { + get; + set; + } + + /// + /// AggregationKeys + /// + [JsonPropertyName("aggregationKeys")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList AggregationKeys + { + get; + set; + } + + /// + /// DebugKey + /// + [JsonPropertyName("debugKey")] + public string DebugKey + { + get; + set; + } + } + + /// + /// AttributionReportingSourceRegistrationResult + /// + public enum AttributionReportingSourceRegistrationResult + { + /// + /// success + /// + [JsonPropertyName("success")] + Success, + /// + /// internalError + /// + [JsonPropertyName("internalError")] + InternalError, + /// + /// insufficientSourceCapacity + /// + [JsonPropertyName("insufficientSourceCapacity")] + InsufficientSourceCapacity, + /// + /// insufficientUniqueDestinationCapacity + /// + [JsonPropertyName("insufficientUniqueDestinationCapacity")] + InsufficientUniqueDestinationCapacity, + /// + /// excessiveReportingOrigins + /// + [JsonPropertyName("excessiveReportingOrigins")] + ExcessiveReportingOrigins, + /// + /// prohibitedByBrowserPolicy + /// + [JsonPropertyName("prohibitedByBrowserPolicy")] + ProhibitedByBrowserPolicy, + /// + /// successNoised + /// + [JsonPropertyName("successNoised")] + SuccessNoised, + /// + /// destinationReportingLimitReached + /// + [JsonPropertyName("destinationReportingLimitReached")] + DestinationReportingLimitReached, + /// + /// destinationGlobalLimitReached + /// + [JsonPropertyName("destinationGlobalLimitReached")] + DestinationGlobalLimitReached, + /// + /// destinationBothLimitsReached + /// + [JsonPropertyName("destinationBothLimitsReached")] + DestinationBothLimitsReached, + /// + /// reportingOriginsPerSiteLimitReached + /// + [JsonPropertyName("reportingOriginsPerSiteLimitReached")] + ReportingOriginsPerSiteLimitReached, + /// + /// exceedsMaxChannelCapacity + /// + [JsonPropertyName("exceedsMaxChannelCapacity")] + ExceedsMaxChannelCapacity + } + /// /// A cache's contents have been modified. /// @@ -23229,6 +23608,36 @@ public string BucketId private set; } } + + /// + /// TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g. + /// trigger registration. + /// + public class AttributionReportingSourceRegisteredEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Registration + /// + [JsonInclude] + [JsonPropertyName("registration")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Storage.AttributionReportingSourceRegistration Registration + { + get; + private set; + } + + /// + /// Result + /// + [JsonInclude] + [JsonPropertyName("result")] + public CefSharp.DevTools.Storage.AttributionReportingSourceRegistrationResult Result + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -24608,6 +25017,11 @@ public string Password /// The stage of the request can be determined by presence of responseErrorReason /// and responseStatusCode -- the request is at the response stage if either /// of these fields is present and in the request stage otherwise. + /// Redirect responses and subsequent requests are reported similarly to regular + /// responses and requests. Redirect responses may be distinguished by the value + /// of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with + /// presence of the `location` header. Requests resulting from a redirect will + /// have `redirectedRequestId` field set. /// public class RequestPausedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { @@ -26462,7 +26876,7 @@ public string LoaderId /// /// Source text of JSON representing the rule set. If it comes from - /// <script> tag, it is the textContent of the node. Note that it is + /// `<script>` tag, it is the textContent of the node. Note that it is /// a JSON for valid case. /// /// See also: @@ -26479,9 +26893,9 @@ public string SourceText /// /// A speculation rule set is either added through an inline - /// <script> tag or through an external resource via the + /// `<script>` tag or through an external resource via the /// 'Speculation-Rules' HTTP header. For the first case, we include - /// the BackendNodeId of the relevant <script> tag. For the second + /// the BackendNodeId of the relevant `<script>` tag. For the second /// case, we include the external URL where the rule set was loaded /// from, and also RequestId if Network domain is enabled. /// @@ -26833,11 +27247,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("TriggerBackgrounded")] TriggerBackgrounded, /// - /// EmbedderTriggeredAndCrossOriginRedirected - /// - [JsonPropertyName("EmbedderTriggeredAndCrossOriginRedirected")] - EmbedderTriggeredAndCrossOriginRedirected, - /// /// MemoryLimitExceeded /// [JsonPropertyName("MemoryLimitExceeded")] @@ -27001,7 +27410,17 @@ public enum PrerenderFinalStatus /// ResourceLoadBlockedByClient /// [JsonPropertyName("ResourceLoadBlockedByClient")] - ResourceLoadBlockedByClient + ResourceLoadBlockedByClient, + /// + /// SpeculationRuleRemoved + /// + [JsonPropertyName("SpeculationRuleRemoved")] + SpeculationRuleRemoved, + /// + /// ActivatedWithAuxiliaryBrowsingContexts + /// + [JsonPropertyName("ActivatedWithAuxiliaryBrowsingContexts")] + ActivatedWithAuxiliaryBrowsingContexts } /// @@ -27338,6 +27757,28 @@ public bool DisabledByBatterySaver get; private set; } + + /// + /// DisabledByHoldbackPrefetchSpeculationRules + /// + [JsonInclude] + [JsonPropertyName("disabledByHoldbackPrefetchSpeculationRules")] + public bool DisabledByHoldbackPrefetchSpeculationRules + { + get; + private set; + } + + /// + /// DisabledByHoldbackPrerenderSpeculationRules + /// + [JsonInclude] + [JsonPropertyName("disabledByHoldbackPrerenderSpeculationRules")] + public bool DisabledByHoldbackPrerenderSpeculationRules + { + get; + private set; + } } /// @@ -27402,6 +27843,18 @@ public CefSharp.DevTools.Preload.PrefetchStatus PrefetchStatus get; private set; } + + /// + /// RequestId + /// + [JsonInclude] + [JsonPropertyName("requestId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string RequestId + { + get; + private set; + } } /// @@ -27442,6 +27895,18 @@ public CefSharp.DevTools.Preload.PrerenderFinalStatus? PrerenderStatus get; private set; } + + /// + /// This is used to give users more information about the name of Mojo interface + /// that is incompatible with prerender and has caused the cancellation of the attempt. + /// + [JsonInclude] + [JsonPropertyName("disallowedMojoInterface")] + public string DisallowedMojoInterface + { + get; + private set; + } } /// @@ -29490,6 +29955,18 @@ public int? MaxDepth get; set; } + + /// + /// Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM + /// serialization via `maxNodeDepth: integer` and `includeShadowTree: "none" | "open" | "all"`. + /// Values can be only of type string or integer. + /// + [JsonPropertyName("additionalParameters")] + public object AdditionalParameters + { + get; + set; + } } /// @@ -34963,8 +35440,8 @@ public enum EnableIncludeWhitespace /// the JavaScript object wrapper, etc. It is important that client receives DOM events only for the /// nodes that are known to the client. Backend keeps track of the nodes that were sent to the client /// and never sends the same node twice. It is client's responsibility to collect information about - /// the nodes that were sent to the client.<p>Note that `iframe` owner elements will return - /// corresponding document elements as their child nodes.</p> + /// the nodes that were sent to the client. Note that `iframe` owner elements will return + /// corresponding document elements as their child nodes. /// public partial class DOMClient : DevToolsDomainBase { @@ -38661,6 +39138,16 @@ public System.Threading.Tasks.Task DispatchTouchEventAsy return _client.ExecuteDevToolsMethodAsync("Input.dispatchTouchEvent", dict); } + /// + /// Cancels any active dragging in the page. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task CancelDraggingAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Input.cancelDragging", dict); + } + partial void ValidateEmulateTouchFromMouseEvent(CefSharp.DevTools.Input.EmulateTouchFromMouseEventType type, int x, int y, CefSharp.DevTools.Input.MouseButton button, double? timestamp = null, double? deltaX = null, double? deltaY = null, int? modifiers = null, int? clickCount = null); /// /// Emulates touch event from the mouse event parameters. @@ -42494,17 +42981,18 @@ public event System.EventHandler CompilationC } } - partial void ValidateAddScriptToEvaluateOnNewDocument(string source, string worldName = null, bool? includeCommandLineAPI = null); + partial void ValidateAddScriptToEvaluateOnNewDocument(string source, string worldName = null, bool? includeCommandLineAPI = null, bool? runImmediately = null); /// /// Evaluates given script in every frame upon creation (before loading frame's scripts). /// /// source /// If specified, creates an isolated world with the given name and evaluates given script in it.This world name will be used as the ExecutionContextDescription::name when the correspondingevent is emitted. /// Specifies whether command line API should be available to the script, defaultsto false. + /// If true, runs the script immediately on existing execution contexts or worlds.Default: false. /// returns System.Threading.Tasks.Task<AddScriptToEvaluateOnNewDocumentResponse> - public System.Threading.Tasks.Task AddScriptToEvaluateOnNewDocumentAsync(string source, string worldName = null, bool? includeCommandLineAPI = null) + public System.Threading.Tasks.Task AddScriptToEvaluateOnNewDocumentAsync(string source, string worldName = null, bool? includeCommandLineAPI = null, bool? runImmediately = null) { - ValidateAddScriptToEvaluateOnNewDocument(source, worldName, includeCommandLineAPI); + ValidateAddScriptToEvaluateOnNewDocument(source, worldName, includeCommandLineAPI, runImmediately); var dict = new System.Collections.Generic.Dictionary(); dict.Add("source", source); if (!(string.IsNullOrEmpty(worldName))) @@ -42517,6 +43005,11 @@ public System.Threading.Tasks.Task Add dict.Add("includeCommandLineAPI", includeCommandLineAPI.Value); } + if (runImmediately.HasValue) + { + dict.Add("runImmediately", runImmediately.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.addScriptToEvaluateOnNewDocument", dict); } @@ -42826,7 +43319,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null); /// /// Print page as PDF. /// @@ -42845,10 +43338,11 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// HTML template for the print footer. Should use the same format as the `headerTemplate`. /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream + /// Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -42925,6 +43419,11 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("transferMode", EnumToString(transferMode)); } + if (generateTaggedPDF.HasValue) + { + dict.Add("generateTaggedPDF", generateTaggedPDF.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.printToPDF", dict); } @@ -44222,6 +44721,23 @@ public event System.EventHandler StorageBucketDel } } + /// + /// TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g. + /// trigger registration. + /// + public event System.EventHandler AttributionReportingSourceRegistered + { + add + { + _client.AddEventHandler("Storage.attributionReportingSourceRegistered", value); + } + + remove + { + _client.RemoveEventHandler("Storage.attributionReportingSourceRegistered", value); + } + } + partial void ValidateGetStorageKeyForFrame(string frameId); /// /// Returns a storage key given a frame id. @@ -44675,6 +45191,34 @@ public System.Threading.Tasks.Task RunBoun System.Collections.Generic.Dictionary dict = null; return _client.ExecuteDevToolsMethodAsync("Storage.runBounceTrackingMitigations", dict); } + + partial void ValidateSetAttributionReportingLocalTestingMode(bool enabled); + /// + /// https://wicg.github.io/attribution-reporting-api/ + /// + /// If enabled, noise is suppressed and reports are sent immediately. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAttributionReportingLocalTestingModeAsync(bool enabled) + { + ValidateSetAttributionReportingLocalTestingMode(enabled); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enabled", enabled); + return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingLocalTestingMode", dict); + } + + partial void ValidateSetAttributionReportingTracking(bool enable); + /// + /// Enables/disables issuing of Attribution Reporting events. + /// + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetAttributionReportingTrackingAsync(bool enable) + { + ValidateSetAttributionReportingTracking(enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setAttributionReportingTracking", dict); + } } } @@ -45885,6 +46429,11 @@ public FetchClient(CefSharp.DevTools.IDevToolsClient client) /// The stage of the request can be determined by presence of responseErrorReason /// and responseStatusCode -- the request is at the response stage if either /// of these fields is present and in the request stage otherwise. + /// Redirect responses and subsequent requests are reported similarly to regular + /// responses and requests. Redirect responses may be distinguished by the value + /// of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with + /// presence of the `location` header. Requests resulting from a redirect will + /// have `redirectedRequestId` field set. /// public event System.EventHandler RequestPaused { @@ -46115,6 +46664,10 @@ public System.Threading.Tasks.Task ContinueResponseAsync /// takeResponseBodyForInterceptionAsStream. Calling other methods that /// affect the request or disabling fetch domain before body is received /// results in an undefined behavior. + /// Note that the response body is not available for redirects. Requests + /// paused in the _redirect received_ state may be differentiated by + /// `responseCode` and presence of `location` response header, see + /// comments to `requestPaused` for details. /// /// Identifier for the intercepted request to get body for. /// returns System.Threading.Tasks.Task<GetResponseBodyResponse> @@ -50373,8 +50926,8 @@ public CefSharp.DevTools.Cast.CastClient Cast /// the JavaScript object wrapper, etc. It is important that client receives DOM events only for the /// nodes that are known to the client. Backend keeps track of the nodes that were sent to the client /// and never sends the same node twice. It is client's responsibility to collect information about - /// the nodes that were sent to the client.<p>Note that `iframe` owner elements will return - /// corresponding document elements as their child nodes.</p> + /// the nodes that were sent to the client. Note that `iframe` owner elements will return + /// corresponding document elements as their child nodes. /// public CefSharp.DevTools.DOM.DOMClient DOM { From 2cb81aa943ed3a9787709bfa1764e91abf2bfbe3 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 7 Oct 2023 15:43:50 +1000 Subject: [PATCH 095/275] Tests - Wpf/WaitForRenderIdleTests lower expected time - Page is now rendered quicker than before. --- CefSharp.Test/Wpf/WaitForRenderIdleTests.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CefSharp.Test/Wpf/WaitForRenderIdleTests.cs b/CefSharp.Test/Wpf/WaitForRenderIdleTests.cs index 8ba04724c7..96c20809cb 100644 --- a/CefSharp.Test/Wpf/WaitForRenderIdleTests.cs +++ b/CefSharp.Test/Wpf/WaitForRenderIdleTests.cs @@ -27,8 +27,6 @@ public WaitForRenderIdleTests(ITestOutputHelper output, CefSharpFixture fixture) [WpfFact] public async Task ShouldWork() { - const int expected = 500; - using (var browser = new ChromiumWebBrowser(null, CefExample.DefaultUrl, new Size(1024, 786))) { var start = DateTime.Now; @@ -39,7 +37,7 @@ public async Task ShouldWork() var time = (end - start).TotalMilliseconds; Assert.True(end > start); - Assert.True(time > expected, $"Executed in {time}ms"); + Assert.True(time > 400, $"Executed in {time}ms"); output.WriteLine("Time {0}ms", time); From deb406f0b79d2f4633c28f882d8a906d08e5a87f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 26 Oct 2023 19:38:35 +1000 Subject: [PATCH 096/275] Upgrade to 118.6.6+g3cffa57+chromium-118.0.5993.96 / Chromium 118.0.5993.96 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 953c36c37e..372c963427 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 682739d7b5..b3b35f4b61 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 909073b439..740a092efb 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 117,1,40 - PRODUCTVERSION 117,1,40 + FILEVERSION 118,6,60 + PRODUCTVERSION 118,6,60 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "117.1.40" + VALUE "FileVersion", "118.6.60" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "117.1.40" + VALUE "ProductVersion", "118.6.60" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index d72ef8ad3e..41b4a6c642 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 962bc31803..e48a3b0bf6 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 9e8ea36080..4e6398963a 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 8dfffb6b92..246002d724 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index ad53be0076..8b8acc8276 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index a33b5185a7..fd7347fc18 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 117,1,40 - PRODUCTVERSION 117,1,40 + FILEVERSION 118,6,60 + PRODUCTVERSION 118,6,60 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "117.1.40" + VALUE "FileVersion", "118.6.60" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "117.1.40" + VALUE "ProductVersion", "118.6.60" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index d72ef8ad3e..41b4a6c642 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 962bc31803..e48a3b0bf6 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 765b3e0a85..549be4dfe8 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 19b71659a1..9e82b5722f 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index f558afe7e5..f6e816bed6 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 7f2701e780..4c219e074c 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index a189ff2197..7651ef8d0a 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 5cc6746404..a60cb1897f 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index ab95453d61..1e599806ed 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index eecbee3074..d2a6f1476d 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 0d004ef07b..7c07a5997f 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index b679ad9075..3c71ac403d 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 73ea615291..55b94f2aa8 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index d09a8f7105..7c523a21c6 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 117.1.40 + 118.6.60 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 117.1.40 + Version 118.6.60 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 77cb15a93e..1e2e1f13d9 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "117.1.40"; - public const string AssemblyFileVersion = "117.1.40.0"; + public const string AssemblyVersion = "118.6.60"; + public const string AssemblyFileVersion = "118.6.60.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 5e3c2ffee9..cd164a8ebd 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 10a375692f..f5d4245107 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index ba25e6a4e5..d1b11a1694 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index e96ab6043d..17fa26ddba 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "117.1.4", + [string] $CefVersion = "118.6.6", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 77472af7ba..44f060a2e5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 117.1.40-CI{build} +version: 118.6.60-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 7a3a792dd7..14dde6ff75 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "117.1.40", + [string] $Version = "118.6.60", [Parameter(Position = 2)] - [string] $AssemblyVersion = "117.1.40", + [string] $AssemblyVersion = "118.6.60", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 30b9a2c4b4b56de269cca871208353a63ce2d163 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 27 Oct 2023 06:31:49 +1000 Subject: [PATCH 097/275] Remove BrowserSettings.AcceptLanguageList Resolves #4614 --- CefSharp.Core.Runtime/BrowserSettings.h | 14 -------------- CefSharp.Core/BrowserSettings.cs | 7 ------- CefSharp/IBrowserSettings.cs | 10 ---------- 3 files changed, 31 deletions(-) diff --git a/CefSharp.Core.Runtime/BrowserSettings.h b/CefSharp.Core.Runtime/BrowserSettings.h index 279f4421b2..2ccb7ac6e9 100644 --- a/CefSharp.Core.Runtime/BrowserSettings.h +++ b/CefSharp.Core.Runtime/BrowserSettings.h @@ -314,20 +314,6 @@ namespace CefSharp void set(uint32_t value) { _browserSettings->background_color = value; } } - /// - /// Comma delimited ordered list of language codes without any whitespace that - /// will be used in the "Accept-Language" HTTP header. May be overridden on a - /// per-browser basis using the CefBrowserSettings.AcceptLanguageList value. - /// If both values are empty then "en-US,en" will be used. Can be overridden - /// for individual RequestContext instances via the - /// RequestContextSettings.AcceptLanguageList value. - /// - virtual property String^ AcceptLanguageList - { - String^ get() { return StringUtils::ToClr(_browserSettings->accept_language_list); } - void set(String^ value) { StringUtils::AssignNativeFromClr(_browserSettings->accept_language_list, value); } - } - /// /// The maximum rate in frames per second (fps) that CefRenderHandler::OnPaint /// will be called for a windowless browser. The actual fps may be lower if diff --git a/CefSharp.Core/BrowserSettings.cs b/CefSharp.Core/BrowserSettings.cs index 8368aecaa1..6308417fef 100644 --- a/CefSharp.Core/BrowserSettings.cs +++ b/CefSharp.Core/BrowserSettings.cs @@ -185,13 +185,6 @@ public uint BackgroundColor set { settings.BackgroundColor = value; } } - /// - public string AcceptLanguageList - { - get { return settings.AcceptLanguageList; } - set { settings.AcceptLanguageList = value; } - } - /// public int WindowlessFrameRate { diff --git a/CefSharp/IBrowserSettings.cs b/CefSharp/IBrowserSettings.cs index 91183b5318..24fa41f588 100644 --- a/CefSharp/IBrowserSettings.cs +++ b/CefSharp/IBrowserSettings.cs @@ -155,16 +155,6 @@ public interface IBrowserSettings : IDisposable /// uint BackgroundColor { get; set; } - /// - /// Comma delimited ordered list of language codes without any whitespace that - /// will be used in the "Accept-Language" HTTP header. May be overridden on a - /// per-browser basis using the CefBrowserSettings.AcceptLanguageList value. - /// If both values are empty then "en-US,en" will be used. Can be overridden - /// for individual RequestContext instances via the - /// RequestContextSettings.AcceptLanguageList value. - /// - string AcceptLanguageList { get; set; } - /// /// The maximum rate in frames per second (fps) that CefRenderHandler::OnPaint /// will be called for a windowless browser. The actual fps may be lower if From eedb2ba507ff5ead904d7b2aa2c90054ae5ab826 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 27 Oct 2023 19:32:38 +1000 Subject: [PATCH 098/275] DevTools Client - Upgrade to 118.0.5993.96 --- .../DevTools/DevToolsClient.Generated.cs | 422 +++++++++++++++++- .../DevToolsClient.Generated.netcore.cs | 384 +++++++++++++++- 2 files changed, 798 insertions(+), 8 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index a2b3cc9a30..077296537a 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 117.0.5938.92 +// CHROMIUM VERSION 118.0.5993.96 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3798,7 +3798,7 @@ public string Name } /// - /// address field name, for example Jon Doe. + /// address field value, for example Jon Doe. /// [DataMember(Name = ("value"), IsRequired = (true))] public string Value @@ -3808,6 +3808,23 @@ public string Value } } + /// + /// A list of address fields. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AddressFields : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Fields + /// + [DataMember(Name = ("fields"), IsRequired = (true))] + public System.Collections.Generic.IList Fields + { + get; + set; + } + } + /// /// Address /// @@ -3815,7 +3832,7 @@ public string Value public partial class Address : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// fields and values defining a test address. + /// fields and values defining an address. /// [DataMember(Name = ("fields"), IsRequired = (true))] public System.Collections.Generic.IList Fields @@ -3824,6 +3841,157 @@ public System.Collections.Generic.IList set; } } + + /// + /// Defines how an address can be displayed like in chrome://settings/addresses. + /// Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such. + /// The following address UI for instance: + /// [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]] + /// should allow the receiver to render: + /// Jon Doe + /// Munich 81456 + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AddressUI : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// A two dimension array containing the repesentation of values from an address profile. + /// + [DataMember(Name = ("addressFields"), IsRequired = (true))] + public System.Collections.Generic.IList AddressFields + { + get; + set; + } + } + + /// + /// Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics. + /// + public enum FillingStrategy + { + /// + /// autocompleteAttribute + /// + [EnumMember(Value = ("autocompleteAttribute"))] + AutocompleteAttribute, + /// + /// autofillInferred + /// + [EnumMember(Value = ("autofillInferred"))] + AutofillInferred + } + + /// + /// FilledField + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class FilledField : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The type of the field, e.g text, password etc. + /// + [DataMember(Name = ("htmlType"), IsRequired = (true))] + public string HtmlType + { + get; + set; + } + + /// + /// the html id + /// + [DataMember(Name = ("id"), IsRequired = (true))] + public string Id + { + get; + set; + } + + /// + /// the html name + /// + [DataMember(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// the field value + /// + [DataMember(Name = ("value"), IsRequired = (true))] + public string Value + { + get; + set; + } + + /// + /// The actual field type, e.g FAMILY_NAME + /// + [DataMember(Name = ("autofillType"), IsRequired = (true))] + public string AutofillType + { + get; + set; + } + + /// + /// The filling strategy + /// + public CefSharp.DevTools.Autofill.FillingStrategy FillingStrategy + { + get + { + return (CefSharp.DevTools.Autofill.FillingStrategy)(StringToEnum(typeof(CefSharp.DevTools.Autofill.FillingStrategy), fillingStrategy)); + } + + set + { + this.fillingStrategy = (EnumToString(value)); + } + } + + /// + /// The filling strategy + /// + [DataMember(Name = ("fillingStrategy"), IsRequired = (true))] + internal string fillingStrategy + { + get; + set; + } + } + + /// + /// Emitted when an address form is filled. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class AddressFormFilledEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Information about the fields that were filled + /// + [DataMember(Name = ("filledFields"), IsRequired = (true))] + public System.Collections.Generic.IList FilledFields + { + get; + private set; + } + + /// + /// An UI representation of the address used to fill the form. + /// Consists of a 2D array where each child represents an address/profile line. + /// + [DataMember(Name = ("addressUi"), IsRequired = (true))] + public CefSharp.DevTools.Autofill.AddressUI AddressUi + { + get; + private set; + } + } } namespace CefSharp.DevTools.BackgroundService @@ -6371,6 +6539,117 @@ public System.Collections.Generic.IList K } } + /// + /// Representation of a custom property registration through CSS.registerProperty + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CSSPropertyRegistration : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// PropertyName + /// + [DataMember(Name = ("propertyName"), IsRequired = (true))] + public string PropertyName + { + get; + set; + } + + /// + /// InitialValue + /// + [DataMember(Name = ("initialValue"), IsRequired = (false))] + public CefSharp.DevTools.CSS.Value InitialValue + { + get; + set; + } + + /// + /// Inherits + /// + [DataMember(Name = ("inherits"), IsRequired = (true))] + public bool Inherits + { + get; + set; + } + + /// + /// Syntax + /// + [DataMember(Name = ("syntax"), IsRequired = (true))] + public string Syntax + { + get; + set; + } + } + + /// + /// CSS property at-rule representation. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CSSPropertyRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get + { + return (CefSharp.DevTools.CSS.StyleSheetOrigin)(StringToEnum(typeof(CefSharp.DevTools.CSS.StyleSheetOrigin), origin)); + } + + set + { + this.origin = (EnumToString(value)); + } + } + + /// + /// Parent stylesheet's origin. + /// + [DataMember(Name = ("origin"), IsRequired = (true))] + internal string origin + { + get; + set; + } + + /// + /// Associated property name. + /// + [DataMember(Name = ("propertyName"), IsRequired = (true))] + public CefSharp.DevTools.CSS.Value PropertyName + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [DataMember(Name = ("style"), IsRequired = (true))] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + /// /// CSS keyframe rule representation. /// @@ -18785,6 +19064,11 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("ch-prefers-reduced-motion"))] ChPrefersReducedMotion, /// + /// ch-prefers-reduced-transparency + /// + [EnumMember(Value = ("ch-prefers-reduced-transparency"))] + ChPrefersReducedTransparency, + /// /// ch-rtt /// [EnumMember(Value = ("ch-rtt"))] @@ -24738,6 +25022,33 @@ public string Value } } + /// + /// AttributionReportingEventReportWindows + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AttributionReportingEventReportWindows : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// duration in seconds + /// + [DataMember(Name = ("start"), IsRequired = (true))] + public int Start + { + get; + set; + } + + /// + /// duration in seconds + /// + [DataMember(Name = ("ends"), IsRequired = (true))] + public int[] Ends + { + get; + set; + } + } + /// /// AttributionReportingSourceRegistration /// @@ -24765,6 +25076,7 @@ public int? Expiry } /// + /// eventReportWindow and eventReportWindows are mutually exclusive /// duration in seconds /// [DataMember(Name = ("eventReportWindow"), IsRequired = (false))] @@ -24774,6 +25086,16 @@ public int? EventReportWindow set; } + /// + /// EventReportWindows + /// + [DataMember(Name = ("eventReportWindows"), IsRequired = (false))] + public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + { + get; + set; + } + /// /// duration in seconds /// @@ -29997,7 +30319,12 @@ public enum DialogType /// AutoReauthn /// [EnumMember(Value = ("AutoReauthn"))] - AutoReauthn + AutoReauthn, + /// + /// ConfirmIdpSignin + /// + [EnumMember(Value = ("ConfirmIdpSignin"))] + ConfirmIdpSignin } /// @@ -34934,6 +35261,22 @@ public AutofillClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } + /// + /// Emitted when an address form is filled. + /// + public event System.EventHandler AddressFormFilled + { + add + { + _client.AddEventHandler("Autofill.addressFormFilled", value); + } + + remove + { + _client.RemoveEventHandler("Autofill.addressFormFilled", value); + } + } + partial void ValidateTrigger(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null); /// /// Trigger autofill on a form identified by the fieldId. @@ -34970,6 +35313,26 @@ public System.Threading.Tasks.Task SetAddressesAsync(Sys dict.Add("addresses", addresses.Select(x => x.ToDictionary())); return _client.ExecuteDevToolsMethodAsync("Autofill.setAddresses", dict); } + + /// + /// Disables autofill domain notifications. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Autofill.disable", dict); + } + + /// + /// Enables autofill domain notifications. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Autofill.enable", dict); + } } } @@ -36119,6 +36482,42 @@ public System.Collections.Generic.IList cssPropertyRules + { + get; + set; + } + + /// + /// cssPropertyRules + /// + public System.Collections.Generic.IList CssPropertyRules + { + get + { + return cssPropertyRules; + } + } + + [DataMember] + internal System.Collections.Generic.IList cssPropertyRegistrations + { + get; + set; + } + + /// + /// cssPropertyRegistrations + /// + public System.Collections.Generic.IList CssPropertyRegistrations + { + get + { + return cssPropertyRegistrations; + } + } + [DataMember] internal int? parentLayoutNodeId { @@ -51572,6 +51971,21 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } + partial void ValidateConfirmIdpSignin(string dialogId); + /// + /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// clicked the continue button. + /// + /// dialogId + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + { + ValidateConfirmIdpSignin(dialogId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + } + partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); /// /// DismissDialog diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 062ba72545..0517ee10a8 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 117.0.5938.92 +// CHROMIUM VERSION 118.0.5993.96 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3442,7 +3442,7 @@ public string Name } /// - /// address field name, for example Jon Doe. + /// address field value, for example Jon Doe. /// [JsonPropertyName("value")] [System.Diagnostics.CodeAnalysis.DisallowNull] @@ -3453,13 +3453,30 @@ public string Value } } + /// + /// A list of address fields. + /// + public partial class AddressFields : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Fields + /// + [JsonPropertyName("fields")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Fields + { + get; + set; + } + } + /// /// Address /// public partial class Address : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// fields and values defining a test address. + /// fields and values defining an address. /// [JsonPropertyName("fields")] [System.Diagnostics.CodeAnalysis.DisallowNull] @@ -3469,6 +3486,148 @@ public System.Collections.Generic.IList set; } } + + /// + /// Defines how an address can be displayed like in chrome://settings/addresses. + /// Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such. + /// The following address UI for instance: + /// [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]] + /// should allow the receiver to render: + /// Jon Doe + /// Munich 81456 + /// + public partial class AddressUI : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// A two dimension array containing the repesentation of values from an address profile. + /// + [JsonPropertyName("addressFields")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList AddressFields + { + get; + set; + } + } + + /// + /// Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics. + /// + public enum FillingStrategy + { + /// + /// autocompleteAttribute + /// + [JsonPropertyName("autocompleteAttribute")] + AutocompleteAttribute, + /// + /// autofillInferred + /// + [JsonPropertyName("autofillInferred")] + AutofillInferred + } + + /// + /// FilledField + /// + public partial class FilledField : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The type of the field, e.g text, password etc. + /// + [JsonPropertyName("htmlType")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string HtmlType + { + get; + set; + } + + /// + /// the html id + /// + [JsonPropertyName("id")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Id + { + get; + set; + } + + /// + /// the html name + /// + [JsonPropertyName("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + + /// + /// the field value + /// + [JsonPropertyName("value")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Value + { + get; + set; + } + + /// + /// The actual field type, e.g FAMILY_NAME + /// + [JsonPropertyName("autofillType")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string AutofillType + { + get; + set; + } + + /// + /// The filling strategy + /// + [JsonPropertyName("fillingStrategy")] + public CefSharp.DevTools.Autofill.FillingStrategy FillingStrategy + { + get; + set; + } + } + + /// + /// Emitted when an address form is filled. + /// + public class AddressFormFilledEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Information about the fields that were filled + /// + [JsonInclude] + [JsonPropertyName("filledFields")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList FilledFields + { + get; + private set; + } + + /// + /// An UI representation of the address used to fill the form. + /// Consists of a 2D array where each child represents an address/profile line. + /// + [JsonInclude] + [JsonPropertyName("addressUi")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Autofill.AddressUI AddressUi + { + get; + private set; + } + } } namespace CefSharp.DevTools.BackgroundService @@ -5858,6 +6017,103 @@ public System.Collections.Generic.IList K } } + /// + /// Representation of a custom property registration through CSS.registerProperty + /// + public partial class CSSPropertyRegistration : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// PropertyName + /// + [JsonPropertyName("propertyName")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PropertyName + { + get; + set; + } + + /// + /// InitialValue + /// + [JsonPropertyName("initialValue")] + public CefSharp.DevTools.CSS.Value InitialValue + { + get; + set; + } + + /// + /// Inherits + /// + [JsonPropertyName("inherits")] + public bool Inherits + { + get; + set; + } + + /// + /// Syntax + /// + [JsonPropertyName("syntax")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Syntax + { + get; + set; + } + } + + /// + /// CSS property at-rule representation. + /// + public partial class CSSPropertyRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [JsonPropertyName("styleSheetId")] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + [JsonPropertyName("origin")] + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get; + set; + } + + /// + /// Associated property name. + /// + [JsonPropertyName("propertyName")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.Value PropertyName + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [JsonPropertyName("style")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + /// /// CSS keyframe rule representation. /// @@ -17464,6 +17720,11 @@ public enum PermissionsPolicyFeature [JsonPropertyName("ch-prefers-reduced-motion")] ChPrefersReducedMotion, /// + /// ch-prefers-reduced-transparency + /// + [JsonPropertyName("ch-prefers-reduced-transparency")] + ChPrefersReducedTransparency, + /// /// ch-rtt /// [JsonPropertyName("ch-rtt")] @@ -23041,6 +23302,32 @@ public string Value } } + /// + /// AttributionReportingEventReportWindows + /// + public partial class AttributionReportingEventReportWindows : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// duration in seconds + /// + [JsonPropertyName("start")] + public int Start + { + get; + set; + } + + /// + /// duration in seconds + /// + [JsonPropertyName("ends")] + public int[] Ends + { + get; + set; + } + } + /// /// AttributionReportingSourceRegistration /// @@ -23067,6 +23354,7 @@ public int? Expiry } /// + /// eventReportWindow and eventReportWindows are mutually exclusive /// duration in seconds /// [JsonPropertyName("eventReportWindow")] @@ -23076,6 +23364,16 @@ public int? EventReportWindow set; } + /// + /// EventReportWindows + /// + [JsonPropertyName("eventReportWindows")] + public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + { + get; + set; + } + /// /// duration in seconds /// @@ -27974,7 +28272,12 @@ public enum DialogType /// AutoReauthn /// [JsonPropertyName("AutoReauthn")] - AutoReauthn + AutoReauthn, + /// + /// ConfirmIdpSignin + /// + [JsonPropertyName("ConfirmIdpSignin")] + ConfirmIdpSignin } /// @@ -32644,6 +32947,22 @@ public AutofillClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } + /// + /// Emitted when an address form is filled. + /// + public event System.EventHandler AddressFormFilled + { + add + { + _client.AddEventHandler("Autofill.addressFormFilled", value); + } + + remove + { + _client.RemoveEventHandler("Autofill.addressFormFilled", value); + } + } + partial void ValidateTrigger(int fieldId, CefSharp.DevTools.Autofill.CreditCard card, string frameId = null); /// /// Trigger autofill on a form identified by the fieldId. @@ -32680,6 +32999,26 @@ public System.Threading.Tasks.Task SetAddressesAsync(Sys dict.Add("addresses", addresses.Select(x => x.ToDictionary())); return _client.ExecuteDevToolsMethodAsync("Autofill.setAddresses", dict); } + + /// + /// Disables autofill domain notifications. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Autofill.disable", dict); + } + + /// + /// Enables autofill domain notifications. + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task EnableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("Autofill.enable", dict); + } } } @@ -33620,6 +33959,28 @@ public System.Collections.Generic.IList + /// cssPropertyRules + /// + [JsonInclude] + [JsonPropertyName("cssPropertyRules")] + public System.Collections.Generic.IList CssPropertyRules + { + get; + private set; + } + + /// + /// cssPropertyRegistrations + /// + [JsonInclude] + [JsonPropertyName("cssPropertyRegistrations")] + public System.Collections.Generic.IList CssPropertyRegistrations + { + get; + private set; + } + /// /// parentLayoutNodeId /// @@ -47747,6 +48108,21 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } + partial void ValidateConfirmIdpSignin(string dialogId); + /// + /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// clicked the continue button. + /// + /// dialogId + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + { + ValidateConfirmIdpSignin(dialogId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("dialogId", dialogId); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + } + partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); /// /// DismissDialog From 0961934eed6e3cdcb62fa0fd37a11a163ae8a80d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 28 Oct 2023 06:58:42 +1000 Subject: [PATCH 099/275] Upgrade to 118.6.8+ge44bee1+chromium-118.0.5993.117 / Chromium 118.0.5993.117 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 372c963427..cfb390c229 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index b3b35f4b61..aa3dff3082 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 740a092efb..8fb26daf4b 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 118,6,60 - PRODUCTVERSION 118,6,60 + FILEVERSION 118,6,80 + PRODUCTVERSION 118,6,80 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "118.6.60" + VALUE "FileVersion", "118.6.80" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "118.6.60" + VALUE "ProductVersion", "118.6.80" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 41b4a6c642..d64bb8c1f8 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index e48a3b0bf6..78e867805b 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 4e6398963a..942d72546a 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 246002d724..2136cc1ac8 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 8b8acc8276..8a621d0885 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index fd7347fc18..7ca590094b 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 118,6,60 - PRODUCTVERSION 118,6,60 + FILEVERSION 118,6,80 + PRODUCTVERSION 118,6,80 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "118.6.60" + VALUE "FileVersion", "118.6.80" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "118.6.60" + VALUE "ProductVersion", "118.6.80" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 41b4a6c642..d64bb8c1f8 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index e48a3b0bf6..78e867805b 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 549be4dfe8..bb500b9690 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 9e82b5722f..43d4e0c2e1 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index f6e816bed6..4f67cc33d6 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 4c219e074c..9deab0efa7 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 7651ef8d0a..0363a59b84 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index a60cb1897f..7568b8273c 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 1e599806ed..7cd3dc5a42 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index d2a6f1476d..564d031739 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 7c07a5997f..80bdd56d81 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 3c71ac403d..10a1f40c55 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 55b94f2aa8..4b8d77613d 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 7c523a21c6..b3978ed2e5 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 118.6.60 + 118.6.80 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 118.6.60 + Version 118.6.80 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 1e2e1f13d9..3906eae1c2 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "118.6.60"; - public const string AssemblyFileVersion = "118.6.60.0"; + public const string AssemblyVersion = "118.6.80"; + public const string AssemblyFileVersion = "118.6.80.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index cd164a8ebd..600c871e53 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index f5d4245107..8e8f5d1f51 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index d1b11a1694..29669e00cb 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 17fa26ddba..1e2020ac64 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "118.6.6", + [string] $CefVersion = "118.6.8", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 44f060a2e5..b33c097ff8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 118.6.60-CI{build} +version: 118.6.80-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 14dde6ff75..d86872d9de 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "118.6.60", + [string] $Version = "118.6.80", [Parameter(Position = 2)] - [string] $AssemblyVersion = "118.6.60", + [string] $AssemblyVersion = "118.6.80", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From b4ee60a77800d9b229a1d2865013a12931598849 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 28 Oct 2023 07:10:44 +1000 Subject: [PATCH 100/275] README.md - Update to M118 --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++--- CONTRIBUTING.md | 6 +++--- README.md | 7 +++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 59835232f5..b60828bf5c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -21,8 +21,8 @@ body: id: cefsharp-version attributes: label: CefSharp Version - description: What version are you using? Please only open an issue if you can reproduce the problem with version 114.2.120 or later. - placeholder: 114.2.120 + description: What version are you using? Please only open an issue if you can reproduce the problem with version 117.2.40 or later. + placeholder: 117.2.40 validations: required: true - type: dropdown @@ -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_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windowsarm64_client.tar.bz2). + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windowsarm64_client.tar.bz2). 2. Extract tar.bz2 file 3. Execute cefclient.exe using the **command line args below**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9f3d41088c..d667dc18ca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_116.0.27%2Bgd8c85ac%2Bchromium-116.0.5845.190_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` diff --git a/README.md b/README.md index 6203966c34..8d0d3257c1 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,11 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| -| [master](https://github.com/cefsharp/CefSharp/) | 5790 | 2019* | 4.6.2** | Development | -| [cefsharp/115](https://github.com/cefsharp/CefSharp/tree/cefsharp/115)| 5790 | 2019* | 4.6.2** | **Release** | +| [master](https://github.com/cefsharp/CefSharp/) | 5993 | 2019* | 4.6.2** | Development | +| [cefsharp/118](https://github.com/cefsharp/CefSharp/tree/cefsharp/118)| 5993 | 2019* | 4.6.2** | **Release** | +| [cefsharp/117](https://github.com/cefsharp/CefSharp/tree/cefsharp/117)| 5938 | 2019* | 4.6.2** | Unsupported | +| [cefsharp/116](https://github.com/cefsharp/CefSharp/tree/cefsharp/116)| 5845 | 2019* | 4.6.2** | Unsupported | +| [cefsharp/115](https://github.com/cefsharp/CefSharp/tree/cefsharp/115)| 5790 | 2019* | 4.6.2** | Unsupported | | [cefsharp/114](https://github.com/cefsharp/CefSharp/tree/cefsharp/114)| 5735 | 2019* | 4.5.2** | Unsupported | | [cefsharp/113](https://github.com/cefsharp/CefSharp/tree/cefsharp/113)| 5615 | 2019* | 4.5.2** | Unsupported | | [cefsharp/112](https://github.com/cefsharp/CefSharp/tree/cefsharp/112)| 5615 | 2019* | 4.5.2** | Unsupported | From cbc89802ef632c62e5c39be96dcaa00a75734ea8 Mon Sep 17 00:00:00 2001 From: Andrew Bushnell Date: Tue, 31 Oct 2023 16:14:36 -0400 Subject: [PATCH 101/275] WPF - WritableBitmapRenderHandler Avoid null bitmap references upon wakeup. (#4619) Force initial bitmap creation upon wakeup when the image.source is null... Happens if sizing etc. rapidly and the UI thread short circuits when CreateNewBitMap is true and the first wake up occurs with it 'false' amd image.Source is still null... --- CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs b/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs index d914469bbd..204e018e8a 100644 --- a/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs +++ b/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs @@ -134,7 +134,7 @@ protected override void CreateOrUpdateBitmap(bool isPopup, Rect dirtyRect, IntPt return; } - if (createNewBitmap) + if (createNewBitmap || image.Source is null) { if (image.Source != null) { From 0bab1b93040d347a99632681cafdb3f6411cff6f Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 3 Nov 2023 19:21:10 +1000 Subject: [PATCH 102/275] Upgrade to 119.1.2+g2677830+chromium-119.0.6045.105 / Chromium 119.0.6045.105 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index cfb390c229..446ecc3fe9 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index aa3dff3082..ca75ca8101 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 8fb26daf4b..d0e70f7407 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 118,6,80 - PRODUCTVERSION 118,6,80 + FILEVERSION 119,1,20 + PRODUCTVERSION 119,1,20 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "118.6.80" + VALUE "FileVersion", "119.1.20" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "118.6.80" + VALUE "ProductVersion", "119.1.20" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index d64bb8c1f8..4430920fb9 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 78e867805b..c4712e7316 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 942d72546a..7143116e93 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 2136cc1ac8..25ef9e725b 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 8a621d0885..ef76816ab3 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 7ca590094b..f9ea444bd4 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 118,6,80 - PRODUCTVERSION 118,6,80 + FILEVERSION 119,1,20 + PRODUCTVERSION 119,1,20 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "118.6.80" + VALUE "FileVersion", "119.1.20" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "118.6.80" + VALUE "ProductVersion", "119.1.20" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index d64bb8c1f8..4430920fb9 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 78e867805b..c4712e7316 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index bb500b9690..0ef493e5e3 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 43d4e0c2e1..db9c15c0cc 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 4f67cc33d6..47cc4e29df 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 9deab0efa7..4b88fb6cbd 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 0363a59b84..01ccd0088b 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 7568b8273c..e513297834 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 7cd3dc5a42..b351739d74 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 564d031739..0db056bf97 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 80bdd56d81..35b73bf175 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index 10a1f40c55..a5d14f26b0 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 4b8d77613d..872ccb24f4 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index b3978ed2e5..3ed0d64f8d 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 118.6.80 + 119.1.20 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 118.6.80 + Version 119.1.20 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 3906eae1c2..b273cb312f 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "118.6.80"; - public const string AssemblyFileVersion = "118.6.80.0"; + public const string AssemblyVersion = "119.1.20"; + public const string AssemblyFileVersion = "119.1.20.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 600c871e53..3f9c5ce6a5 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 8e8f5d1f51..38509f69ad 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 29669e00cb..f512ff5b23 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 1e2020ac64..1deadbfda3 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "118.6.8", + [string] $CefVersion = "119.1.2", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index b33c097ff8..da9c88ddbf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 118.6.80-CI{build} +version: 119.1.20-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index d86872d9de..2f508f0490 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "118.6.80", + [string] $Version = "119.1.20", [Parameter(Position = 2)] - [string] $AssemblyVersion = "118.6.80", + [string] $AssemblyVersion = "119.1.20", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From d5a7084c21c77717a102be5250ade53434d78e31 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 4 Nov 2023 06:33:57 +1000 Subject: [PATCH 103/275] DevTools Client - Upgrade to 119.0.6045.105 --- .../DevTools/DevToolsClient.Generated.cs | 423 +++++++++++------- .../DevToolsClient.Generated.netcore.cs | 390 +++++++++------- 2 files changed, 478 insertions(+), 335 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 077296537a..21b21f936e 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 118.0.5993.96 +// CHROMIUM VERSION 119.0.6045.105 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3362,6 +3362,87 @@ public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo } } + /// + /// PropertyRuleIssueReason + /// + public enum PropertyRuleIssueReason + { + /// + /// InvalidSyntax + /// + [EnumMember(Value = ("InvalidSyntax"))] + InvalidSyntax, + /// + /// InvalidInitialValue + /// + [EnumMember(Value = ("InvalidInitialValue"))] + InvalidInitialValue, + /// + /// InvalidInherits + /// + [EnumMember(Value = ("InvalidInherits"))] + InvalidInherits, + /// + /// InvalidName + /// + [EnumMember(Value = ("InvalidName"))] + InvalidName + } + + /// + /// This issue warns about errors in property rules that lead to property + /// registrations being ignored. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PropertyRuleIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position of the property rule. + /// + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the property rule was discarded. + /// + public CefSharp.DevTools.Audits.PropertyRuleIssueReason PropertyRuleIssueReason + { + get + { + return (CefSharp.DevTools.Audits.PropertyRuleIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.PropertyRuleIssueReason), propertyRuleIssueReason)); + } + + set + { + this.propertyRuleIssueReason = (EnumToString(value)); + } + } + + /// + /// Reason why the property rule was discarded. + /// + [DataMember(Name = ("propertyRuleIssueReason"), IsRequired = (true))] + internal string propertyRuleIssueReason + { + get; + set; + } + + /// + /// The value of the property rule property that failed to parse + /// + [DataMember(Name = ("propertyValue"), IsRequired = (false))] + public string PropertyValue + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -3458,7 +3539,12 @@ public enum InspectorIssueCode /// FederatedAuthUserInfoRequestIssue /// [EnumMember(Value = ("FederatedAuthUserInfoRequestIssue"))] - FederatedAuthUserInfoRequestIssue + FederatedAuthUserInfoRequestIssue, + /// + /// PropertyRuleIssue + /// + [EnumMember(Value = ("PropertyRuleIssue"))] + PropertyRuleIssue } /// @@ -3639,6 +3725,16 @@ public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingI set; } + /// + /// PropertyRuleIssueDetails + /// + [DataMember(Name = ("propertyRuleIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.PropertyRuleIssueDetails PropertyRuleIssueDetails + { + get; + set; + } + /// /// FederatedAuthUserInfoRequestIssueDetails /// @@ -14248,6 +14344,11 @@ public enum SetCookieBlockedReason [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [EnumMember(Value = ("ThirdPartyPhaseout"))] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] @@ -14316,7 +14417,12 @@ public enum SetCookieBlockedReason /// DisallowedCharacter /// [EnumMember(Value = ("DisallowedCharacter"))] - DisallowedCharacter + DisallowedCharacter, + /// + /// NoCookieContent + /// + [EnumMember(Value = ("NoCookieContent"))] + NoCookieContent } /// @@ -14365,6 +14471,11 @@ public enum CookieBlockedReason [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [EnumMember(Value = ("ThirdPartyPhaseout"))] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] @@ -24365,7 +24476,22 @@ public enum InterestGroupAccessType /// win /// [EnumMember(Value = ("win"))] - Win + Win, + /// + /// additionalBid + /// + [EnumMember(Value = ("additionalBid"))] + AdditionalBid, + /// + /// additionalBidWin + /// + [EnumMember(Value = ("additionalBidWin"))] + AdditionalBidWin, + /// + /// clear + /// + [EnumMember(Value = ("clear"))] + Clear } /// @@ -24375,10 +24501,10 @@ public enum InterestGroupAccessType public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// RenderUrl + /// RenderURL /// - [DataMember(Name = ("renderUrl"), IsRequired = (true))] - public string RenderUrl + [DataMember(Name = ("renderURL"), IsRequired = (true))] + public string RenderURL { get; set; @@ -24442,40 +24568,40 @@ public string JoiningOrigin } /// - /// BiddingUrl + /// BiddingLogicURL /// - [DataMember(Name = ("biddingUrl"), IsRequired = (false))] - public string BiddingUrl + [DataMember(Name = ("biddingLogicURL"), IsRequired = (false))] + public string BiddingLogicURL { get; set; } /// - /// BiddingWasmHelperUrl + /// BiddingWasmHelperURL /// - [DataMember(Name = ("biddingWasmHelperUrl"), IsRequired = (false))] - public string BiddingWasmHelperUrl + [DataMember(Name = ("biddingWasmHelperURL"), IsRequired = (false))] + public string BiddingWasmHelperURL { get; set; } /// - /// UpdateUrl + /// UpdateURL /// - [DataMember(Name = ("updateUrl"), IsRequired = (false))] - public string UpdateUrl + [DataMember(Name = ("updateURL"), IsRequired = (false))] + public string UpdateURL { get; set; } /// - /// TrustedBiddingSignalsUrl + /// TrustedBiddingSignalsURL /// - [DataMember(Name = ("trustedBiddingSignalsUrl"), IsRequired = (false))] - public string TrustedBiddingSignalsUrl + [DataMember(Name = ("trustedBiddingSignalsURL"), IsRequired = (false))] + public string TrustedBiddingSignalsURL { get; set; @@ -29426,11 +29552,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("InvalidSchemeNavigation"))] InvalidSchemeNavigation, /// - /// InProgressNavigation - /// - [EnumMember(Value = ("InProgressNavigation"))] - InProgressNavigation, - /// /// NavigationRequestBlockedByCsp /// [EnumMember(Value = ("NavigationRequestBlockedByCsp"))] @@ -29486,11 +29607,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("NavigationRequestNetworkError"))] NavigationRequestNetworkError, /// - /// MaxNumOfRunningPrerendersExceeded - /// - [EnumMember(Value = ("MaxNumOfRunningPrerendersExceeded"))] - MaxNumOfRunningPrerendersExceeded, - /// /// CancelAllHostsForTesting /// [EnumMember(Value = ("CancelAllHostsForTesting"))] @@ -29546,20 +29662,15 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("MemoryLimitExceeded"))] MemoryLimitExceeded, /// - /// FailToGetMemoryUsage - /// - [EnumMember(Value = ("FailToGetMemoryUsage"))] - FailToGetMemoryUsage, - /// /// DataSaverEnabled /// [EnumMember(Value = ("DataSaverEnabled"))] DataSaverEnabled, /// - /// HasEffectiveUrl + /// TriggerUrlHasEffectiveUrl /// - [EnumMember(Value = ("HasEffectiveUrl"))] - HasEffectiveUrl, + [EnumMember(Value = ("TriggerUrlHasEffectiveUrl"))] + TriggerUrlHasEffectiveUrl, /// /// ActivatedBeforeStarted /// @@ -29714,7 +29825,37 @@ public enum PrerenderFinalStatus /// ActivatedWithAuxiliaryBrowsingContexts /// [EnumMember(Value = ("ActivatedWithAuxiliaryBrowsingContexts"))] - ActivatedWithAuxiliaryBrowsingContexts + ActivatedWithAuxiliaryBrowsingContexts, + /// + /// MaxNumOfRunningEagerPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningEagerPrerendersExceeded"))] + MaxNumOfRunningEagerPrerendersExceeded, + /// + /// MaxNumOfRunningNonEagerPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningNonEagerPrerendersExceeded"))] + MaxNumOfRunningNonEagerPrerendersExceeded, + /// + /// MaxNumOfRunningEmbedderPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningEmbedderPrerendersExceeded"))] + MaxNumOfRunningEmbedderPrerendersExceeded, + /// + /// PrerenderingUrlHasEffectiveUrl + /// + [EnumMember(Value = ("PrerenderingUrlHasEffectiveUrl"))] + PrerenderingUrlHasEffectiveUrl, + /// + /// RedirectedPrerenderingUrlHasEffectiveUrl + /// + [EnumMember(Value = ("RedirectedPrerenderingUrlHasEffectiveUrl"))] + RedirectedPrerenderingUrlHasEffectiveUrl, + /// + /// ActivationUrlHasEffectiveUrl + /// + [EnumMember(Value = ("ActivationUrlHasEffectiveUrl"))] + ActivationUrlHasEffectiveUrl } /// @@ -29947,80 +30088,6 @@ public string Id } } - /// - /// Fired when a prerender attempt is completed. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Key - /// - [DataMember(Name = ("key"), IsRequired = (true))] - public CefSharp.DevTools.Preload.PreloadingAttemptKey Key - { - get; - private set; - } - - /// - /// The frame id of the frame initiating prerendering. - /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus - { - get - { - return (CefSharp.DevTools.Preload.PrerenderFinalStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PrerenderFinalStatus), finalStatus)); - } - - set - { - this.finalStatus = (EnumToString(value)); - } - } - - /// - /// FinalStatus - /// - [DataMember(Name = ("finalStatus"), IsRequired = (true))] - internal string finalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [DataMember(Name = ("disallowedApiMethod"), IsRequired = (false))] - public string DisallowedApiMethod - { - get; - private set; - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -30321,10 +30388,10 @@ public enum DialogType [EnumMember(Value = ("AutoReauthn"))] AutoReauthn, /// - /// ConfirmIdpSignin + /// ConfirmIdpLogin /// - [EnumMember(Value = ("ConfirmIdpSignin"))] - ConfirmIdpSignin + [EnumMember(Value = ("ConfirmIdpLogin"))] + ConfirmIdpLogin } /// @@ -30394,10 +30461,10 @@ public string IdpConfigUrl } /// - /// IdpSigninUrl + /// IdpLoginUrl /// - [DataMember(Name = ("idpSigninUrl"), IsRequired = (true))] - public string IdpSigninUrl + [DataMember(Name = ("idpLoginUrl"), IsRequired = (true))] + public string IdpLoginUrl { get; set; @@ -32321,8 +32388,7 @@ public enum SerializationOptionsSerialization } /// - /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and - /// `generateWebDriverValue`. + /// Represents options for serialization. Overrides `generatePreview` and `returnByValue`. /// [System.Runtime.Serialization.DataContractAttribute] public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase @@ -32495,7 +32561,12 @@ public enum DeepSerializedValueType /// window /// [EnumMember(Value = ("window"))] - Window + Window, + /// + /// generator + /// + [EnumMember(Value = ("generator"))] + Generator } /// @@ -32817,16 +32888,6 @@ public string Description set; } - /// - /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. - /// - [DataMember(Name = ("webDriverValue"), IsRequired = (false))] - public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue - { - get; - set; - } - /// /// Deep serialized value. /// @@ -36678,6 +36739,34 @@ public int[] NodeIds } } +namespace CefSharp.DevTools.CSS +{ + /// + /// SetPropertyRulePropertyNameResponse + /// + [DataContract] + public class SetPropertyRulePropertyNameResponse : DevToolsDomainResponseBase + { + [DataMember] + internal CefSharp.DevTools.CSS.Value propertyName + { + get; + set; + } + + /// + /// propertyName + /// + public CefSharp.DevTools.CSS.Value PropertyName + { + get + { + return propertyName; + } + } + } +} + namespace CefSharp.DevTools.CSS { /// @@ -37328,6 +37417,24 @@ public System.Threading.Tasks.Task SetEffectivePropertyV return _client.ExecuteDevToolsMethodAsync("CSS.setEffectivePropertyValueForNode", dict); } + partial void ValidateSetPropertyRulePropertyName(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName); + /// + /// Modifies the property rule property name. + /// + /// styleSheetId + /// range + /// propertyName + /// returns System.Threading.Tasks.Task<SetPropertyRulePropertyNameResponse> + public System.Threading.Tasks.Task SetPropertyRulePropertyNameAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName) + { + ValidateSetPropertyRulePropertyName(styleSheetId, range, propertyName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("styleSheetId", styleSheetId); + dict.Add("range", range.ToDictionary()); + dict.Add("propertyName", propertyName); + return _client.ExecuteDevToolsMethodAsync("CSS.setPropertyRulePropertyName", dict); + } + partial void ValidateSetKeyframeKey(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText); /// /// Modifies the keyframe rule key text. @@ -51790,22 +51897,6 @@ public event System.EventHandler RuleSetRemoved } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -51971,19 +52062,19 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpSignin(string dialogId); + partial void ValidateConfirmIdpLogin(string dialogId); /// - /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had /// clicked the continue button. /// /// dialogId /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) { - ValidateConfirmIdpSignin(dialogId); + ValidateConfirmIdpLogin(dialogId); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); @@ -54854,7 +54945,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -54871,12 +54962,11 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -54934,11 +55024,6 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); @@ -55003,7 +55088,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -55022,12 +55107,11 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -55100,11 +55184,6 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 0517ee10a8..e9f1a23e02 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 118.0.5993.96 +// CHROMIUM VERSION 119.0.6045.105 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3018,6 +3018,71 @@ public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo } } + /// + /// PropertyRuleIssueReason + /// + public enum PropertyRuleIssueReason + { + /// + /// InvalidSyntax + /// + [JsonPropertyName("InvalidSyntax")] + InvalidSyntax, + /// + /// InvalidInitialValue + /// + [JsonPropertyName("InvalidInitialValue")] + InvalidInitialValue, + /// + /// InvalidInherits + /// + [JsonPropertyName("InvalidInherits")] + InvalidInherits, + /// + /// InvalidName + /// + [JsonPropertyName("InvalidName")] + InvalidName + } + + /// + /// This issue warns about errors in property rules that lead to property + /// registrations being ignored. + /// + public partial class PropertyRuleIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position of the property rule. + /// + [JsonPropertyName("sourceCodeLocation")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the property rule was discarded. + /// + [JsonPropertyName("propertyRuleIssueReason")] + public CefSharp.DevTools.Audits.PropertyRuleIssueReason PropertyRuleIssueReason + { + get; + set; + } + + /// + /// The value of the property rule property that failed to parse + /// + [JsonPropertyName("propertyValue")] + public string PropertyValue + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -3114,7 +3179,12 @@ public enum InspectorIssueCode /// FederatedAuthUserInfoRequestIssue /// [JsonPropertyName("FederatedAuthUserInfoRequestIssue")] - FederatedAuthUserInfoRequestIssue + FederatedAuthUserInfoRequestIssue, + /// + /// PropertyRuleIssue + /// + [JsonPropertyName("PropertyRuleIssue")] + PropertyRuleIssue } /// @@ -3294,6 +3364,16 @@ public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingI set; } + /// + /// PropertyRuleIssueDetails + /// + [JsonPropertyName("propertyRuleIssueDetails")] + public CefSharp.DevTools.Audits.PropertyRuleIssueDetails PropertyRuleIssueDetails + { + get; + set; + } + /// /// FederatedAuthUserInfoRequestIssueDetails /// @@ -13290,6 +13370,11 @@ public enum SetCookieBlockedReason [JsonPropertyName("UserPreferences")] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [JsonPropertyName("ThirdPartyPhaseout")] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] @@ -13358,7 +13443,12 @@ public enum SetCookieBlockedReason /// DisallowedCharacter /// [JsonPropertyName("DisallowedCharacter")] - DisallowedCharacter + DisallowedCharacter, + /// + /// NoCookieContent + /// + [JsonPropertyName("NoCookieContent")] + NoCookieContent } /// @@ -13407,6 +13497,11 @@ public enum CookieBlockedReason [JsonPropertyName("UserPreferences")] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [JsonPropertyName("ThirdPartyPhaseout")] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] @@ -22652,7 +22747,22 @@ public enum InterestGroupAccessType /// win /// [JsonPropertyName("win")] - Win + Win, + /// + /// additionalBid + /// + [JsonPropertyName("additionalBid")] + AdditionalBid, + /// + /// additionalBidWin + /// + [JsonPropertyName("additionalBidWin")] + AdditionalBidWin, + /// + /// clear + /// + [JsonPropertyName("clear")] + Clear } /// @@ -22661,11 +22771,11 @@ public enum InterestGroupAccessType public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// RenderUrl + /// RenderURL /// - [JsonPropertyName("renderUrl")] + [JsonPropertyName("renderURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string RenderUrl + public string RenderURL { get; set; @@ -22731,40 +22841,40 @@ public string JoiningOrigin } /// - /// BiddingUrl + /// BiddingLogicURL /// - [JsonPropertyName("biddingUrl")] - public string BiddingUrl + [JsonPropertyName("biddingLogicURL")] + public string BiddingLogicURL { get; set; } /// - /// BiddingWasmHelperUrl + /// BiddingWasmHelperURL /// - [JsonPropertyName("biddingWasmHelperUrl")] - public string BiddingWasmHelperUrl + [JsonPropertyName("biddingWasmHelperURL")] + public string BiddingWasmHelperURL { get; set; } /// - /// UpdateUrl + /// UpdateURL /// - [JsonPropertyName("updateUrl")] - public string UpdateUrl + [JsonPropertyName("updateURL")] + public string UpdateURL { get; set; } /// - /// TrustedBiddingSignalsUrl + /// TrustedBiddingSignalsURL /// - [JsonPropertyName("trustedBiddingSignalsUrl")] - public string TrustedBiddingSignalsUrl + [JsonPropertyName("trustedBiddingSignalsURL")] + public string TrustedBiddingSignalsURL { get; set; @@ -27430,11 +27540,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("InvalidSchemeNavigation")] InvalidSchemeNavigation, /// - /// InProgressNavigation - /// - [JsonPropertyName("InProgressNavigation")] - InProgressNavigation, - /// /// NavigationRequestBlockedByCsp /// [JsonPropertyName("NavigationRequestBlockedByCsp")] @@ -27490,11 +27595,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("NavigationRequestNetworkError")] NavigationRequestNetworkError, /// - /// MaxNumOfRunningPrerendersExceeded - /// - [JsonPropertyName("MaxNumOfRunningPrerendersExceeded")] - MaxNumOfRunningPrerendersExceeded, - /// /// CancelAllHostsForTesting /// [JsonPropertyName("CancelAllHostsForTesting")] @@ -27550,20 +27650,15 @@ public enum PrerenderFinalStatus [JsonPropertyName("MemoryLimitExceeded")] MemoryLimitExceeded, /// - /// FailToGetMemoryUsage - /// - [JsonPropertyName("FailToGetMemoryUsage")] - FailToGetMemoryUsage, - /// /// DataSaverEnabled /// [JsonPropertyName("DataSaverEnabled")] DataSaverEnabled, /// - /// HasEffectiveUrl + /// TriggerUrlHasEffectiveUrl /// - [JsonPropertyName("HasEffectiveUrl")] - HasEffectiveUrl, + [JsonPropertyName("TriggerUrlHasEffectiveUrl")] + TriggerUrlHasEffectiveUrl, /// /// ActivatedBeforeStarted /// @@ -27718,7 +27813,37 @@ public enum PrerenderFinalStatus /// ActivatedWithAuxiliaryBrowsingContexts /// [JsonPropertyName("ActivatedWithAuxiliaryBrowsingContexts")] - ActivatedWithAuxiliaryBrowsingContexts + ActivatedWithAuxiliaryBrowsingContexts, + /// + /// MaxNumOfRunningEagerPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningEagerPrerendersExceeded")] + MaxNumOfRunningEagerPrerendersExceeded, + /// + /// MaxNumOfRunningNonEagerPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningNonEagerPrerendersExceeded")] + MaxNumOfRunningNonEagerPrerendersExceeded, + /// + /// MaxNumOfRunningEmbedderPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningEmbedderPrerendersExceeded")] + MaxNumOfRunningEmbedderPrerendersExceeded, + /// + /// PrerenderingUrlHasEffectiveUrl + /// + [JsonPropertyName("PrerenderingUrlHasEffectiveUrl")] + PrerenderingUrlHasEffectiveUrl, + /// + /// RedirectedPrerenderingUrlHasEffectiveUrl + /// + [JsonPropertyName("RedirectedPrerenderingUrlHasEffectiveUrl")] + RedirectedPrerenderingUrlHasEffectiveUrl, + /// + /// ActivationUrlHasEffectiveUrl + /// + [JsonPropertyName("ActivationUrlHasEffectiveUrl")] + ActivationUrlHasEffectiveUrl } /// @@ -27953,71 +28078,6 @@ public string Id } } - /// - /// Fired when a prerender attempt is completed. - /// - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Key - /// - [JsonInclude] - [JsonPropertyName("key")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public CefSharp.DevTools.Preload.PreloadingAttemptKey Key - { - get; - private set; - } - - /// - /// The frame id of the frame initiating prerendering. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [JsonInclude] - [JsonPropertyName("prerenderingUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - [JsonInclude] - [JsonPropertyName("finalStatus")] - public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [JsonInclude] - [JsonPropertyName("disallowedApiMethod")] - public string DisallowedApiMethod - { - get; - private set; - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -28274,10 +28334,10 @@ public enum DialogType [JsonPropertyName("AutoReauthn")] AutoReauthn, /// - /// ConfirmIdpSignin + /// ConfirmIdpLogin /// - [JsonPropertyName("ConfirmIdpSignin")] - ConfirmIdpSignin + [JsonPropertyName("ConfirmIdpLogin")] + ConfirmIdpLogin } /// @@ -28352,11 +28412,11 @@ public string IdpConfigUrl } /// - /// IdpSigninUrl + /// IdpLoginUrl /// - [JsonPropertyName("idpSigninUrl")] + [JsonPropertyName("idpLoginUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string IdpSigninUrl + public string IdpLoginUrl { get; set; @@ -30234,8 +30294,7 @@ public enum SerializationOptionsSerialization } /// - /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and - /// `generateWebDriverValue`. + /// Represents options for serialization. Overrides `generatePreview` and `returnByValue`. /// public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase { @@ -30391,7 +30450,12 @@ public enum DeepSerializedValueType /// window /// [JsonPropertyName("window")] - Window + Window, + /// + /// generator + /// + [JsonPropertyName("generator")] + Generator } /// @@ -30661,16 +30725,6 @@ public string Description set; } - /// - /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. - /// - [JsonPropertyName("webDriverValue")] - public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue - { - get; - set; - } - /// /// Deep serialized value. /// @@ -34094,6 +34148,26 @@ public int[] NodeIds } } +namespace CefSharp.DevTools.CSS +{ + /// + /// SetPropertyRulePropertyNameResponse + /// + public class SetPropertyRulePropertyNameResponse : DevToolsDomainResponseBase + { + /// + /// propertyName + /// + [JsonInclude] + [JsonPropertyName("propertyName")] + public CefSharp.DevTools.CSS.Value PropertyName + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.CSS { /// @@ -34657,6 +34731,24 @@ public System.Threading.Tasks.Task SetEffectivePropertyV return _client.ExecuteDevToolsMethodAsync("CSS.setEffectivePropertyValueForNode", dict); } + partial void ValidateSetPropertyRulePropertyName(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName); + /// + /// Modifies the property rule property name. + /// + /// styleSheetId + /// range + /// propertyName + /// returns System.Threading.Tasks.Task<SetPropertyRulePropertyNameResponse> + public System.Threading.Tasks.Task SetPropertyRulePropertyNameAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName) + { + ValidateSetPropertyRulePropertyName(styleSheetId, range, propertyName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("styleSheetId", styleSheetId); + dict.Add("range", range.ToDictionary()); + dict.Add("propertyName", propertyName); + return _client.ExecuteDevToolsMethodAsync("CSS.setPropertyRulePropertyName", dict); + } + partial void ValidateSetKeyframeKey(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText); /// /// Modifies the keyframe rule key text. @@ -47927,22 +48019,6 @@ public event System.EventHandler RuleSetRemoved } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -48108,19 +48184,19 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpSignin(string dialogId); + partial void ValidateConfirmIdpLogin(string dialogId); /// - /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had /// clicked the continue button. /// /// dialogId /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) { - ValidateConfirmIdpSignin(dialogId); + ValidateConfirmIdpLogin(dialogId); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); @@ -50559,7 +50635,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -50576,12 +50652,11 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -50639,11 +50714,6 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); @@ -50708,7 +50778,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -50727,12 +50797,11 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -50805,11 +50874,6 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); From e45890a0f991d2f713b166be39d5f6b9eaa43267 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 11 Nov 2023 10:37:23 +1000 Subject: [PATCH 104/275] WPF/OffScreen - WaitForRenderIdleAsync possible ObjectDisposedException - Potentially the call to the Stop/Start the Timer in the Paint event handler may result in an ObjectDisposedException as the Timer was disposed on a different thread. Resolves #4597 --- CefSharp.OffScreen/ChromiumWebBrowser.cs | 13 +++++++++++-- CefSharp.Wpf/ChromiumWebBrowser.cs | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/CefSharp.OffScreen/ChromiumWebBrowser.cs b/CefSharp.OffScreen/ChromiumWebBrowser.cs index 8d0d17644f..50bbbff055 100644 --- a/CefSharp.OffScreen/ChromiumWebBrowser.cs +++ b/CefSharp.OffScreen/ChromiumWebBrowser.cs @@ -727,8 +727,17 @@ public async Task WaitForRenderIdleAsync(int idleTimeInMs = 500, TimeSpan? timeo //Every time Paint is called we reset our timer handler = (s, args) => { - idleTimer.Stop(); - idleTimer.Start(); + try + { + idleTimer?.Stop(); + idleTimer?.Start(); + } + catch (ObjectDisposedException) + { + // NOTE: When the Elapsed (or Timeout) and Paint are fire at almost exactly + // the same time, the timer maybe Disposed on a different thread. + // https://github.com/cefsharp/CefSharp/issues/4597 + } }; idleTimer.Start(); diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs index ea8151c2c7..b93c6642d0 100644 --- a/CefSharp.Wpf/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf/ChromiumWebBrowser.cs @@ -2711,8 +2711,17 @@ public async Task WaitForRenderIdleAsync(int idleTimeInMs = 500, TimeSpan? timeo //Every time Paint is called we reset our timer handler = (s, args) => { - idleTimer.Stop(); - idleTimer.Start(); + try + { + idleTimer?.Stop(); + idleTimer?.Start(); + } + catch (ObjectDisposedException) + { + // NOTE: When the Elapsed (or Timeout) and Paint are fire at almost exactly + // the same time, the timer maybe Disposed on a different thread. + // https://github.com/cefsharp/CefSharp/issues/4597 + } }; idleTimer.Start(); From 42c150406bf69ce07a3ee678173aeef0c0470754 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 21 Nov 2023 19:36:50 +1000 Subject: [PATCH 105/275] Core - EvaluateScriptAsync no longer returns meaningful error messages Resolves #4629 --- CefSharp.Core.Runtime/Internals/StringUtils.h | 4 ++-- CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CefSharp.Core.Runtime/Internals/StringUtils.h b/CefSharp.Core.Runtime/Internals/StringUtils.h index f343758933..3b819c0f80 100644 --- a/CefSharp.Core.Runtime/Internals/StringUtils.h +++ b/CefSharp.Core.Runtime/Internals/StringUtils.h @@ -133,10 +133,10 @@ namespace CefSharp if (exception.get()) { std::wstringstream logMessageBuilder; - logMessageBuilder << exception->GetMessage().c_str() << L"\n@ "; + logMessageBuilder << exception->GetMessage().ToWString() << L"\n@ "; if (!exception->GetScriptResourceName().empty()) { - logMessageBuilder << exception->GetScriptResourceName().c_str(); + logMessageBuilder << exception->GetScriptResourceName().ToWString(); } logMessageBuilder << L":" << exception->GetLineNumber() << L":" << exception->GetStartColumn(); return CefString(logMessageBuilder.str()); diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs index 8e033d9cc3..f8f4cace59 100644 --- a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs +++ b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs @@ -216,6 +216,18 @@ public async Task CanEvaluateScriptAsyncReturnPartiallyEmptyArrays(string javasc Assert.Equal(expected, result.Result); } + [Theory] + [InlineData("return", "Uncaught SyntaxError: Illegal return statement\n@ about:blank:1:0")] + public async Task CanEvaluateScriptAsyncReturnError(string javascript, string expected) + { + AssertInitialLoadComplete(); + + var result = await Browser.EvaluateScriptAsync(javascript); + + Assert.False(result.Success); + Assert.Equal(expected, result.Message); + } + /// /// Use the EvaluateScriptAsync (IWebBrowser, String,Object[]) overload and pass in string params /// that require encoding. Test case for https://github.com/cefsharp/CefSharp/issues/2339 From 081a56fe423b9674f014d102a7c2a621341e229d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 15 Dec 2023 20:02:47 +1000 Subject: [PATCH 106/275] Upgrade to 120.1.8+ge6b45b0+chromium-120.0.6099.109 / Chromium 120.0.6099.109 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 446ecc3fe9..3ebd4c002d 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index ca75ca8101..9e39dffd1d 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index d0e70f7407..3af40bd706 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 119,1,20 - PRODUCTVERSION 119,1,20 + FILEVERSION 120,1,80 + PRODUCTVERSION 120,1,80 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "119.1.20" + VALUE "FileVersion", "120.1.80" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "119.1.20" + VALUE "ProductVersion", "120.1.80" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 4430920fb9..fb5cb6b6ef 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index c4712e7316..01ed35f0c5 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 7143116e93..7dd40dd5cc 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 25ef9e725b..0a8f3da3c8 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index ef76816ab3..d6d8e85a52 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index f9ea444bd4..02b77957ff 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 119,1,20 - PRODUCTVERSION 119,1,20 + FILEVERSION 120,1,80 + PRODUCTVERSION 120,1,80 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "119.1.20" + VALUE "FileVersion", "120.1.80" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "119.1.20" + VALUE "ProductVersion", "120.1.80" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 4430920fb9..fb5cb6b6ef 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index c4712e7316..01ed35f0c5 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 0ef493e5e3..fd436a9063 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index db9c15c0cc..2c1c7ebd57 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 47cc4e29df..1463128171 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 4b88fb6cbd..d2af32f3de 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 01ccd0088b..2f5357be09 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index e513297834..6b6d1c4c25 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index b351739d74..0d0d38d58b 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 0db056bf97..ea08390be3 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 35b73bf175..f915c8b150 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index a5d14f26b0..d859b70c6d 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 872ccb24f4..96cf646899 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 3ed0d64f8d..39b97aa81e 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 119.1.20 + 120.1.80 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 119.1.20 + Version 120.1.80 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index b273cb312f..86fdb7910f 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "119.1.20"; - public const string AssemblyFileVersion = "119.1.20.0"; + public const string AssemblyVersion = "120.1.80"; + public const string AssemblyFileVersion = "120.1.80.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 3f9c5ce6a5..8623b3f351 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 38509f69ad..8e1c18d11f 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index f512ff5b23..19908dbffe 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 1deadbfda3..2ac1fcc3e5 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "119.1.2", + [string] $CefVersion = "120.1.8", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index da9c88ddbf..ad146177f2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 119.1.20-CI{build} +version: 120.1.80-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 2f508f0490..5197610707 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "119.1.20", + [string] $Version = "120.1.80", [Parameter(Position = 2)] - [string] $AssemblyVersion = "119.1.20", + [string] $AssemblyVersion = "120.1.80", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From fed03c32f39bfc1a86a5540c4d5bbb2c080cc9ef Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 15 Dec 2023 20:07:06 +1000 Subject: [PATCH 107/275] Update README.md - Upcoming M120 release --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++--- CONTRIBUTING.md | 6 +++--- README.md | 6 ++++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b60828bf5c..acf35350e3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -21,8 +21,8 @@ body: id: cefsharp-version attributes: label: CefSharp Version - description: What version are you using? Please only open an issue if you can reproduce the problem with version 117.2.40 or later. - placeholder: 117.2.40 + description: What version are you using? Please only open an issue if you can reproduce the problem with version 120.1.80 or later. + placeholder: 120.1.80 validations: required: true - type: dropdown @@ -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_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windowsarm64_client.tar.bz2). + 1. Download for [x86](https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windows32_client.tar.bz2) or [x64](https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windows64_client.tar.bz2) or [arm64](https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windowsarm64_client.tar.bz2). 2. Extract tar.bz2 file 3. Execute cefclient.exe using the **command line args below**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d667dc18ca..c059563e0f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ 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_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows32_client.tar.bz2 - - For x64 download https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windows64_client.tar.bz2 - - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_118.6.8%2Bge44bee1%2Bchromium-118.0.5993.117_windowsarm64_client.tar.bz2 + - For x86 download https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windows32_client.tar.bz2 + - For x64 download https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windows64_client.tar.bz2 + - For arm64 download https://cef-builds.spotifycdn.com/cef_binary_120.1.8%2Bge6b45b0%2Bchromium-120.0.6099.109_windowsarm64_client.tar.bz2 - Extract and run cefclient.exe - If you are using WPF/OffScreen run ``` diff --git a/README.md b/README.md index 8d0d3257c1..a08f39e3d2 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,10 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| -| [master](https://github.com/cefsharp/CefSharp/) | 5993 | 2019* | 4.6.2** | Development | -| [cefsharp/118](https://github.com/cefsharp/CefSharp/tree/cefsharp/118)| 5993 | 2019* | 4.6.2** | **Release** | +| [master](https://github.com/cefsharp/CefSharp/) | 6099 | 2019* | 4.6.2** | Development | +| [cefsharp/120](https://github.com/cefsharp/CefSharp/tree/cefsharp/120)| 6099 | 2019* | 4.6.2** | **Release** | +| [cefsharp/119](https://github.com/cefsharp/CefSharp/tree/cefsharp/119)| 6045 | 2019* | 4.6.2** | Unsupported | +| [cefsharp/118](https://github.com/cefsharp/CefSharp/tree/cefsharp/118)| 5993 | 2019* | 4.6.2** | Unsupported | | [cefsharp/117](https://github.com/cefsharp/CefSharp/tree/cefsharp/117)| 5938 | 2019* | 4.6.2** | Unsupported | | [cefsharp/116](https://github.com/cefsharp/CefSharp/tree/cefsharp/116)| 5845 | 2019* | 4.6.2** | Unsupported | | [cefsharp/115](https://github.com/cefsharp/CefSharp/tree/cefsharp/115)| 5790 | 2019* | 4.6.2** | Unsupported | From 89922587f2438224e7f88d650a26e9dc03e7fccf Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 15 Dec 2023 20:16:17 +1000 Subject: [PATCH 108/275] Update CefErrorCode to https://raw.githubusercontent.com/chromium/chromium/120.0.6099.109/net/base/net_error_list.h --- CefSharp/Enums/CefErrorCode.cs | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/CefSharp/Enums/CefErrorCode.cs b/CefSharp/Enums/CefErrorCode.cs index bd4ea2a15e..113c596b72 100644 --- a/CefSharp/Enums/CefErrorCode.cs +++ b/CefSharp/Enums/CefErrorCode.cs @@ -1121,16 +1121,11 @@ public enum CefErrorCode /// Http2RstStreamNoErrorReceived = -372, - /// - /// The pushed stream claimed by the request is no longer available. - /// - Http2PushedStreamNotAvailable = -373, + // Obsolete. HTTP/2 push is removed. + // NET_ERROR(HTTP2_PUSHED_STREAM_NOT_AVAILABLE, -373) - /// - /// A pushed stream was claimed and later reset by the server. When this happens, - /// the request should be retried. - /// - Http2ClaimedPushedStreamResetByServer = -374, + // Obsolete. HTTP/2 push is removed. + // NET_ERROR(HTTP2_CLAIMED_PUSHED_STREAM_RESET_BY_SERVER, -374) /// /// An HTTP transaction was retried too many times due for authentication or @@ -1145,21 +1140,16 @@ public enum CefErrorCode /// Http2StreamClosed = -376, - /// - /// Client is refusing an HTTP/2 stream. - /// - Http2ClientRefusedStream = -377, + // Obsolete. HTTP/2 push is removed. + // NET_ERROR(HTTP2_CLIENT_REFUSED_STREAM, -377) - /// - /// A pushed HTTP/2 stream was claimed by a request based on matching URL and - /// request headers, but the pushed response headers do not match the request. - /// - Http2PushedResponseDoesNotMatch = -378, + // Obsolete. HTTP/2 push is removed. + // NET_ERROR(HTTP2_PUSHED_RESPONSE_DOES_NOT_MATCH, -378) /// /// The server returned a non-2xx HTTP response code. /// - /// Not that this error is only used by certain APIs that interpret the HTTP + /// Note that this error is only used by certain APIs that interpret the HTTP /// response itself. URLRequest for instance just passes most non-2xx /// response back as success. /// @@ -1191,7 +1181,7 @@ public enum CefErrorCode InconsistentIpAddressSpace = -383, /// - /// The IP address space of the cached remote endpoint is blocked by local + /// The IP address space of the cached remote endpoint is blocked by private /// network access check. /// CachedIpAddressSpaceBlockedByLocalNetworkAccessPolicy = -384, @@ -1436,6 +1426,11 @@ public enum CefErrorCode // Error -715 was removed (CHANNEL_ID_IMPORT_FAILED) + /// + /// The certificate verifier configuration changed in some way. + /// + CertVerifierChanged = -716, + // DNS error codes. /// @@ -1508,5 +1503,10 @@ public enum CefErrorCode /// alpn values of supported protocols, but did not. /// DnsNoMatchingSupportedAlpn = -811, + + /// + /// The compression dictionary cannot be loaded. + /// + DictionaryLoadFailed = -812, }; } From ad2213bbc3cf6d9276188652fa817c9f128e2409 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 16 Dec 2023 10:49:22 +1000 Subject: [PATCH 109/275] DevTools Client - Upgrade to 120.0.6099.109 --- .../DevTools/DevToolsClient.Generated.cs | 616 ++++++++++++++++-- .../DevToolsClient.Generated.netcore.cs | 582 +++++++++++++++-- 2 files changed, 1073 insertions(+), 125 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 21b21f936e..8cc82001d6 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 119.0.6045.105 +// CHROMIUM VERSION 120.0.6099.109 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -1401,7 +1401,12 @@ public enum CookieWarningReason /// WarnThirdPartyPhaseout /// [EnumMember(Value = ("WarnThirdPartyPhaseout"))] - WarnThirdPartyPhaseout + WarnThirdPartyPhaseout, + /// + /// WarnCrossSiteRedirectDowngradeChangesInclusion + /// + [EnumMember(Value = ("WarnCrossSiteRedirectDowngradeChangesInclusion"))] + WarnCrossSiteRedirectDowngradeChangesInclusion } /// @@ -2889,6 +2894,27 @@ public string[] TrackingSites } } + /// + /// This issue warns about third-party sites that are accessing cookies on the + /// current page, and have been permitted due to having a global metadata grant. + /// Note that in this context 'site' means eTLD+1. For example, if the URL + /// `https://example.test:80/web_page` was accessing cookies, the site reported + /// would be `example.test`. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CookieDeprecationMetadataIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// AllowedSites + /// + [DataMember(Name = ("allowedSites"), IsRequired = (true))] + public string[] AllowedSites + { + get; + set; + } + } + /// /// ClientHintIssueReason /// @@ -3088,6 +3114,16 @@ public enum FederatedAuthRequestIssueReason [EnumMember(Value = ("IdTokenInvalidResponse"))] IdTokenInvalidResponse, /// + /// IdTokenIdpErrorResponse + /// + [EnumMember(Value = ("IdTokenIdpErrorResponse"))] + IdTokenIdpErrorResponse, + /// + /// IdTokenCrossSiteIdpErrorResponse + /// + [EnumMember(Value = ("IdTokenCrossSiteIdpErrorResponse"))] + IdTokenCrossSiteIdpErrorResponse, + /// /// IdTokenInvalidRequest /// [EnumMember(Value = ("IdTokenInvalidRequest"))] @@ -3121,7 +3157,12 @@ public enum FederatedAuthRequestIssueReason /// ThirdPartyCookiesBlocked /// [EnumMember(Value = ("ThirdPartyCookiesBlocked"))] - ThirdPartyCookiesBlocked + ThirdPartyCookiesBlocked, + /// + /// NotSignedInWithIdp + /// + [EnumMember(Value = ("NotSignedInWithIdp"))] + NotSignedInWithIdp } /// @@ -3531,6 +3572,11 @@ public enum InspectorIssueCode [EnumMember(Value = ("BounceTrackingIssue"))] BounceTrackingIssue, /// + /// CookieDeprecationMetadataIssue + /// + [EnumMember(Value = ("CookieDeprecationMetadataIssue"))] + CookieDeprecationMetadataIssue, + /// /// StylesheetLoadingIssue /// [EnumMember(Value = ("StylesheetLoadingIssue"))] @@ -3715,6 +3761,16 @@ public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDe set; } + /// + /// CookieDeprecationMetadataIssueDetails + /// + [DataMember(Name = ("cookieDeprecationMetadataIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.CookieDeprecationMetadataIssueDetails CookieDeprecationMetadataIssueDetails + { + get; + set; + } + /// /// StylesheetLoadingIssueDetails /// @@ -10277,6 +10333,234 @@ public bool? Wow64 } } + /// + /// Used to specify sensor types to emulate. + /// See https://w3c.github.io/sensors/#automation for more information. + /// + public enum SensorType + { + /// + /// absolute-orientation + /// + [EnumMember(Value = ("absolute-orientation"))] + AbsoluteOrientation, + /// + /// accelerometer + /// + [EnumMember(Value = ("accelerometer"))] + Accelerometer, + /// + /// ambient-light + /// + [EnumMember(Value = ("ambient-light"))] + AmbientLight, + /// + /// gravity + /// + [EnumMember(Value = ("gravity"))] + Gravity, + /// + /// gyroscope + /// + [EnumMember(Value = ("gyroscope"))] + Gyroscope, + /// + /// linear-acceleration + /// + [EnumMember(Value = ("linear-acceleration"))] + LinearAcceleration, + /// + /// magnetometer + /// + [EnumMember(Value = ("magnetometer"))] + Magnetometer, + /// + /// proximity + /// + [EnumMember(Value = ("proximity"))] + Proximity, + /// + /// relative-orientation + /// + [EnumMember(Value = ("relative-orientation"))] + RelativeOrientation + } + + /// + /// SensorMetadata + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SensorMetadata : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Available + /// + [DataMember(Name = ("available"), IsRequired = (false))] + public bool? Available + { + get; + set; + } + + /// + /// MinimumFrequency + /// + [DataMember(Name = ("minimumFrequency"), IsRequired = (false))] + public double? MinimumFrequency + { + get; + set; + } + + /// + /// MaximumFrequency + /// + [DataMember(Name = ("maximumFrequency"), IsRequired = (false))] + public double? MaximumFrequency + { + get; + set; + } + } + + /// + /// SensorReadingSingle + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SensorReadingSingle : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Value + /// + [DataMember(Name = ("value"), IsRequired = (true))] + public double Value + { + get; + set; + } + } + + /// + /// SensorReadingXYZ + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SensorReadingXYZ : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// X + /// + [DataMember(Name = ("x"), IsRequired = (true))] + public double X + { + get; + set; + } + + /// + /// Y + /// + [DataMember(Name = ("y"), IsRequired = (true))] + public double Y + { + get; + set; + } + + /// + /// Z + /// + [DataMember(Name = ("z"), IsRequired = (true))] + public double Z + { + get; + set; + } + } + + /// + /// SensorReadingQuaternion + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SensorReadingQuaternion : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// X + /// + [DataMember(Name = ("x"), IsRequired = (true))] + public double X + { + get; + set; + } + + /// + /// Y + /// + [DataMember(Name = ("y"), IsRequired = (true))] + public double Y + { + get; + set; + } + + /// + /// Z + /// + [DataMember(Name = ("z"), IsRequired = (true))] + public double Z + { + get; + set; + } + + /// + /// W + /// + [DataMember(Name = ("w"), IsRequired = (true))] + public double W + { + get; + set; + } + } + + /// + /// SensorReading + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class SensorReading : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Single + /// + [DataMember(Name = ("single"), IsRequired = (false))] + public CefSharp.DevTools.Emulation.SensorReadingSingle Single + { + get; + set; + } + + /// + /// Xyz + /// + [DataMember(Name = ("xyz"), IsRequired = (false))] + public CefSharp.DevTools.Emulation.SensorReadingXYZ Xyz + { + get; + set; + } + + /// + /// Quaternion + /// + [DataMember(Name = ("quaternion"), IsRequired = (false))] + public CefSharp.DevTools.Emulation.SensorReadingQuaternion Quaternion + { + get; + set; + } + } + /// /// Enum of image types that can be disabled. /// @@ -10850,7 +11134,7 @@ public double? TangentialPressure /// The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) /// [DataMember(Name = ("tiltX"), IsRequired = (false))] - public int? TiltX + public double? TiltX { get; set; @@ -10860,7 +11144,7 @@ public int? TiltX /// The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). /// [DataMember(Name = ("tiltY"), IsRequired = (false))] - public int? TiltY + public double? TiltY { get; set; @@ -18690,6 +18974,43 @@ public CefSharp.DevTools.DOM.RGBA OutlineColor } } + /// + /// Configuration for Window Controls Overlay + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class WindowControlsOverlayConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Whether the title bar CSS should be shown when emulating the Window Controls Overlay. + /// + [DataMember(Name = ("showCSS"), IsRequired = (true))] + public bool ShowCSS + { + get; + set; + } + + /// + /// Seleted platforms to show the overlay. + /// + [DataMember(Name = ("selectedPlatform"), IsRequired = (true))] + public string SelectedPlatform + { + get; + set; + } + + /// + /// The theme color defined in app manifest. + /// + [DataMember(Name = ("themeColor"), IsRequired = (true))] + public string ThemeColor + { + get; + set; + } + } + /// /// ContainerQueryHighlightConfig /// @@ -21837,6 +22158,53 @@ public enum BackForwardCacheNotRestoredReasonType Circumstantial } + /// + /// BackForwardCacheBlockingDetails + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class BackForwardCacheBlockingDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Url of the file where blockage happened. Optional because of tests. + /// + [DataMember(Name = ("url"), IsRequired = (false))] + public string Url + { + get; + set; + } + + /// + /// Function name where blockage happened. Optional because of anonymous functions and tests. + /// + [DataMember(Name = ("function"), IsRequired = (false))] + public string Function + { + get; + set; + } + + /// + /// Line number in the script (0-based). + /// + [DataMember(Name = ("lineNumber"), IsRequired = (true))] + public int LineNumber + { + get; + set; + } + + /// + /// Column number in the script (0-based). + /// + [DataMember(Name = ("columnNumber"), IsRequired = (true))] + public int ColumnNumber + { + get; + set; + } + } + /// /// BackForwardCacheNotRestoredExplanation /// @@ -21906,6 +22274,16 @@ public string Context get; set; } + + /// + /// Details + /// + [DataMember(Name = ("details"), IsRequired = (false))] + public System.Collections.Generic.IList Details + { + get; + set; + } } /// @@ -25175,6 +25553,23 @@ public int[] Ends } } + /// + /// AttributionReportingTriggerDataMatching + /// + public enum AttributionReportingTriggerDataMatching + { + /// + /// exact + /// + [EnumMember(Value = ("exact"))] + Exact, + /// + /// modulus + /// + [EnumMember(Value = ("modulus"))] + Modulus + } + /// /// AttributionReportingSourceRegistration /// @@ -25194,19 +25589,8 @@ public double Time /// /// duration in seconds /// - [DataMember(Name = ("expiry"), IsRequired = (false))] - public int? Expiry - { - get; - set; - } - - /// - /// eventReportWindow and eventReportWindows are mutually exclusive - /// duration in seconds - /// - [DataMember(Name = ("eventReportWindow"), IsRequired = (false))] - public int? EventReportWindow + [DataMember(Name = ("expiry"), IsRequired = (true))] + public int Expiry { get; set; @@ -25215,7 +25599,7 @@ public int? EventReportWindow /// /// EventReportWindows /// - [DataMember(Name = ("eventReportWindows"), IsRequired = (false))] + [DataMember(Name = ("eventReportWindows"), IsRequired = (true))] public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows { get; @@ -25225,8 +25609,8 @@ public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventRep /// /// duration in seconds /// - [DataMember(Name = ("aggregatableReportWindow"), IsRequired = (false))] - public int? AggregatableReportWindow + [DataMember(Name = ("aggregatableReportWindow"), IsRequired = (true))] + public int AggregatableReportWindow { get; set; @@ -25337,6 +25721,32 @@ public string DebugKey get; set; } + + /// + /// TriggerDataMatching + /// + public CefSharp.DevTools.Storage.AttributionReportingTriggerDataMatching TriggerDataMatching + { + get + { + return (CefSharp.DevTools.Storage.AttributionReportingTriggerDataMatching)(StringToEnum(typeof(CefSharp.DevTools.Storage.AttributionReportingTriggerDataMatching), triggerDataMatching)); + } + + set + { + this.triggerDataMatching = (EnumToString(value)); + } + } + + /// + /// TriggerDataMatching + /// + [DataMember(Name = ("triggerDataMatching"), IsRequired = (true))] + internal string triggerDataMatching + { + get; + set; + } } /// @@ -29812,11 +30222,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("PrerenderingDisabledByDevTools"))] PrerenderingDisabledByDevTools, /// - /// ResourceLoadBlockedByClient - /// - [EnumMember(Value = ("ResourceLoadBlockedByClient"))] - ResourceLoadBlockedByClient, - /// /// SpeculationRuleRemoved /// [EnumMember(Value = ("SpeculationRuleRemoved"))] @@ -40155,20 +40560,6 @@ public System.Threading.Tasks.Task RemoveEventListenerBr return _client.ExecuteDevToolsMethodAsync("DOMDebugger.removeEventListenerBreakpoint", dict); } - partial void ValidateRemoveInstrumentationBreakpoint(string eventName); - /// - /// Removes breakpoint on particular native event. - /// - /// Instrumentation name to stop on. - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task RemoveInstrumentationBreakpointAsync(string eventName) - { - ValidateRemoveInstrumentationBreakpoint(eventName); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("eventName", eventName); - return _client.ExecuteDevToolsMethodAsync("DOMDebugger.removeInstrumentationBreakpoint", dict); - } - partial void ValidateRemoveXHRBreakpoint(string url); /// /// Removes breakpoint from XMLHttpRequest. @@ -40233,20 +40624,6 @@ public System.Threading.Tasks.Task SetEventListenerBreak return _client.ExecuteDevToolsMethodAsync("DOMDebugger.setEventListenerBreakpoint", dict); } - partial void ValidateSetInstrumentationBreakpoint(string eventName); - /// - /// Sets breakpoint on particular native event. - /// - /// Instrumentation name to stop on. - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetInstrumentationBreakpointAsync(string eventName) - { - ValidateSetInstrumentationBreakpoint(eventName); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("eventName", eventName); - return _client.ExecuteDevToolsMethodAsync("DOMDebugger.setInstrumentationBreakpoint", dict); - } - partial void ValidateSetXHRBreakpoint(string url); /// /// Sets breakpoint on XMLHttpRequest. @@ -40268,10 +40645,9 @@ namespace CefSharp.DevTools.EventBreakpoints using System.Linq; /// - /// EventBreakpoints permits setting breakpoints on particular operations and - /// events in targets that run JavaScript but do not have a DOM. - /// JavaScript execution will stop on these operations as if there was a regular - /// breakpoint set. + /// EventBreakpoints permits setting JavaScript breakpoints on operations and events + /// occurring in native code invoked from JavaScript. Once breakpoint is hit, it is + /// reported through Debugger domain, similarly to regular breakpoints being hit. /// public partial class EventBreakpointsClient : DevToolsDomainBase { @@ -40312,6 +40688,16 @@ public System.Threading.Tasks.Task RemoveInstrumentation dict.Add("eventName", eventName); return _client.ExecuteDevToolsMethodAsync("EventBreakpoints.removeInstrumentationBreakpoint", dict); } + + /// + /// Removes all breakpoints + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("EventBreakpoints.disable", dict); + } } } @@ -40894,6 +41280,34 @@ public bool Result } } +namespace CefSharp.DevTools.Emulation +{ + /// + /// GetOverriddenSensorInformationResponse + /// + [DataContract] + public class GetOverriddenSensorInformationResponse : DevToolsDomainResponseBase + { + [DataMember] + internal double requestedSamplingFrequency + { + get; + set; + } + + /// + /// requestedSamplingFrequency + /// + public double RequestedSamplingFrequency + { + get + { + return requestedSamplingFrequency; + } + } + } +} + namespace CefSharp.DevTools.Emulation { /// @@ -41315,6 +41729,63 @@ public System.Threading.Tasks.Task SetGeolocationOverrid return _client.ExecuteDevToolsMethodAsync("Emulation.setGeolocationOverride", dict); } + partial void ValidateGetOverriddenSensorInformation(CefSharp.DevTools.Emulation.SensorType type); + /// + /// GetOverriddenSensorInformation + /// + /// type + /// returns System.Threading.Tasks.Task<GetOverriddenSensorInformationResponse> + public System.Threading.Tasks.Task GetOverriddenSensorInformationAsync(CefSharp.DevTools.Emulation.SensorType type) + { + ValidateGetOverriddenSensorInformation(type); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("type", EnumToString(type)); + return _client.ExecuteDevToolsMethodAsync("Emulation.getOverriddenSensorInformation", dict); + } + + partial void ValidateSetSensorOverrideEnabled(bool enabled, CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorMetadata metadata = null); + /// + /// Overrides a platform sensor of a given type. If |enabled| is true, calls to + /// Sensor.start() will use a virtual sensor as backend rather than fetching + /// data from a real hardware sensor. Otherwise, existing virtual + /// sensor-backend Sensor objects will fire an error event and new calls to + /// Sensor.start() will attempt to use a real sensor instead. + /// + /// enabled + /// type + /// metadata + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetSensorOverrideEnabledAsync(bool enabled, CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorMetadata metadata = null) + { + ValidateSetSensorOverrideEnabled(enabled, type, metadata); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enabled", enabled); + dict.Add("type", EnumToString(type)); + if ((metadata) != (null)) + { + dict.Add("metadata", metadata.ToDictionary()); + } + + return _client.ExecuteDevToolsMethodAsync("Emulation.setSensorOverrideEnabled", dict); + } + + partial void ValidateSetSensorOverrideReadings(CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorReading reading); + /// + /// Updates the sensor readings reported by a sensor type previously overriden + /// by setSensorOverrideEnabled. + /// + /// type + /// reading + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetSensorOverrideReadingsAsync(CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorReading reading) + { + ValidateSetSensorOverrideReadings(type, reading); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("type", EnumToString(type)); + dict.Add("reading", reading.ToDictionary()); + return _client.ExecuteDevToolsMethodAsync("Emulation.setSensorOverrideReadings", dict); + } + partial void ValidateSetIdleOverride(bool isUserActive, bool isScreenUnlocked); /// /// Overrides the Idle state. @@ -42596,7 +43067,7 @@ public System.Threading.Tasks.Task ImeSetCompositionAsyn return _client.ExecuteDevToolsMethodAsync("Input.imeSetComposition", dict); } - partial void ValidateDispatchMouseEvent(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, int? tiltX = null, int? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null); + partial void ValidateDispatchMouseEvent(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, double? tiltX = null, double? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null); /// /// Dispatches a mouse event to the page. /// @@ -42617,7 +43088,7 @@ public System.Threading.Tasks.Task ImeSetCompositionAsyn /// Y delta in CSS pixels for mouse wheel event (default: 0). /// Pointer type (default: "mouse"). /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DispatchMouseEventAsync(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, int? tiltX = null, int? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null) + public System.Threading.Tasks.Task DispatchMouseEventAsync(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, double? tiltX = null, double? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null) { ValidateDispatchMouseEvent(type, x, y, modifiers, timestamp, button, buttons, clickCount, force, tangentialPressure, tiltX, tiltY, twist, deltaX, deltaY, pointerType); var dict = new System.Collections.Generic.Dictionary(); @@ -45801,6 +46272,24 @@ public System.Threading.Tasks.Task SetShowIsolatedElemen dict.Add("isolatedElementHighlightConfigs", isolatedElementHighlightConfigs.Select(x => x.ToDictionary())); return _client.ExecuteDevToolsMethodAsync("Overlay.setShowIsolatedElements", dict); } + + partial void ValidateSetShowWindowControlsOverlay(CefSharp.DevTools.Overlay.WindowControlsOverlayConfig windowControlsOverlayConfig = null); + /// + /// Show Window Controls Overlay for PWA + /// + /// Window Controls Overlay data, null means hide Window Controls Overlay + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetShowWindowControlsOverlayAsync(CefSharp.DevTools.Overlay.WindowControlsOverlayConfig windowControlsOverlayConfig = null) + { + ValidateSetShowWindowControlsOverlay(windowControlsOverlayConfig); + var dict = new System.Collections.Generic.Dictionary(); + if ((windowControlsOverlayConfig) != (null)) + { + dict.Add("windowControlsOverlayConfig", windowControlsOverlayConfig.ToDictionary()); + } + + return _client.ExecuteDevToolsMethodAsync("Overlay.setShowWindowControlsOverlay", dict); + } } } @@ -55712,10 +56201,9 @@ public CefSharp.DevTools.DOMDebugger.DOMDebuggerClient DOMDebugger private CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient _EventBreakpoints; /// - /// EventBreakpoints permits setting breakpoints on particular operations and - /// events in targets that run JavaScript but do not have a DOM. - /// JavaScript execution will stop on these operations as if there was a regular - /// breakpoint set. + /// EventBreakpoints permits setting JavaScript breakpoints on operations and events + /// occurring in native code invoked from JavaScript. Once breakpoint is hit, it is + /// reported through Debugger domain, similarly to regular breakpoints being hit. /// public CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient EventBreakpoints { diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index e9f1a23e02..c5e3cc0649 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 119.0.6045.105 +// CHROMIUM VERSION 120.0.6099.109 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -1330,7 +1330,12 @@ public enum CookieWarningReason /// WarnThirdPartyPhaseout /// [JsonPropertyName("WarnThirdPartyPhaseout")] - WarnThirdPartyPhaseout + WarnThirdPartyPhaseout, + /// + /// WarnCrossSiteRedirectDowngradeChangesInclusion + /// + [JsonPropertyName("WarnCrossSiteRedirectDowngradeChangesInclusion")] + WarnCrossSiteRedirectDowngradeChangesInclusion } /// @@ -2610,6 +2615,27 @@ public string[] TrackingSites } } + /// + /// This issue warns about third-party sites that are accessing cookies on the + /// current page, and have been permitted due to having a global metadata grant. + /// Note that in this context 'site' means eTLD+1. For example, if the URL + /// `https://example.test:80/web_page` was accessing cookies, the site reported + /// would be `example.test`. + /// + public partial class CookieDeprecationMetadataIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// AllowedSites + /// + [JsonPropertyName("allowedSites")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] AllowedSites + { + get; + set; + } + } + /// /// ClientHintIssueReason /// @@ -2792,6 +2818,16 @@ public enum FederatedAuthRequestIssueReason [JsonPropertyName("IdTokenInvalidResponse")] IdTokenInvalidResponse, /// + /// IdTokenIdpErrorResponse + /// + [JsonPropertyName("IdTokenIdpErrorResponse")] + IdTokenIdpErrorResponse, + /// + /// IdTokenCrossSiteIdpErrorResponse + /// + [JsonPropertyName("IdTokenCrossSiteIdpErrorResponse")] + IdTokenCrossSiteIdpErrorResponse, + /// /// IdTokenInvalidRequest /// [JsonPropertyName("IdTokenInvalidRequest")] @@ -2825,7 +2861,12 @@ public enum FederatedAuthRequestIssueReason /// ThirdPartyCookiesBlocked /// [JsonPropertyName("ThirdPartyCookiesBlocked")] - ThirdPartyCookiesBlocked + ThirdPartyCookiesBlocked, + /// + /// NotSignedInWithIdp + /// + [JsonPropertyName("NotSignedInWithIdp")] + NotSignedInWithIdp } /// @@ -3171,6 +3212,11 @@ public enum InspectorIssueCode [JsonPropertyName("BounceTrackingIssue")] BounceTrackingIssue, /// + /// CookieDeprecationMetadataIssue + /// + [JsonPropertyName("CookieDeprecationMetadataIssue")] + CookieDeprecationMetadataIssue, + /// /// StylesheetLoadingIssue /// [JsonPropertyName("StylesheetLoadingIssue")] @@ -3354,6 +3400,16 @@ public CefSharp.DevTools.Audits.BounceTrackingIssueDetails BounceTrackingIssueDe set; } + /// + /// CookieDeprecationMetadataIssueDetails + /// + [JsonPropertyName("cookieDeprecationMetadataIssueDetails")] + public CefSharp.DevTools.Audits.CookieDeprecationMetadataIssueDetails CookieDeprecationMetadataIssueDetails + { + get; + set; + } + /// /// StylesheetLoadingIssueDetails /// @@ -9644,6 +9700,229 @@ public bool? Wow64 } } + /// + /// Used to specify sensor types to emulate. + /// See https://w3c.github.io/sensors/#automation for more information. + /// + public enum SensorType + { + /// + /// absolute-orientation + /// + [JsonPropertyName("absolute-orientation")] + AbsoluteOrientation, + /// + /// accelerometer + /// + [JsonPropertyName("accelerometer")] + Accelerometer, + /// + /// ambient-light + /// + [JsonPropertyName("ambient-light")] + AmbientLight, + /// + /// gravity + /// + [JsonPropertyName("gravity")] + Gravity, + /// + /// gyroscope + /// + [JsonPropertyName("gyroscope")] + Gyroscope, + /// + /// linear-acceleration + /// + [JsonPropertyName("linear-acceleration")] + LinearAcceleration, + /// + /// magnetometer + /// + [JsonPropertyName("magnetometer")] + Magnetometer, + /// + /// proximity + /// + [JsonPropertyName("proximity")] + Proximity, + /// + /// relative-orientation + /// + [JsonPropertyName("relative-orientation")] + RelativeOrientation + } + + /// + /// SensorMetadata + /// + public partial class SensorMetadata : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Available + /// + [JsonPropertyName("available")] + public bool? Available + { + get; + set; + } + + /// + /// MinimumFrequency + /// + [JsonPropertyName("minimumFrequency")] + public double? MinimumFrequency + { + get; + set; + } + + /// + /// MaximumFrequency + /// + [JsonPropertyName("maximumFrequency")] + public double? MaximumFrequency + { + get; + set; + } + } + + /// + /// SensorReadingSingle + /// + public partial class SensorReadingSingle : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Value + /// + [JsonPropertyName("value")] + public double Value + { + get; + set; + } + } + + /// + /// SensorReadingXYZ + /// + public partial class SensorReadingXYZ : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// X + /// + [JsonPropertyName("x")] + public double X + { + get; + set; + } + + /// + /// Y + /// + [JsonPropertyName("y")] + public double Y + { + get; + set; + } + + /// + /// Z + /// + [JsonPropertyName("z")] + public double Z + { + get; + set; + } + } + + /// + /// SensorReadingQuaternion + /// + public partial class SensorReadingQuaternion : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// X + /// + [JsonPropertyName("x")] + public double X + { + get; + set; + } + + /// + /// Y + /// + [JsonPropertyName("y")] + public double Y + { + get; + set; + } + + /// + /// Z + /// + [JsonPropertyName("z")] + public double Z + { + get; + set; + } + + /// + /// W + /// + [JsonPropertyName("w")] + public double W + { + get; + set; + } + } + + /// + /// SensorReading + /// + public partial class SensorReading : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Single + /// + [JsonPropertyName("single")] + public CefSharp.DevTools.Emulation.SensorReadingSingle Single + { + get; + set; + } + + /// + /// Xyz + /// + [JsonPropertyName("xyz")] + public CefSharp.DevTools.Emulation.SensorReadingXYZ Xyz + { + get; + set; + } + + /// + /// Quaternion + /// + [JsonPropertyName("quaternion")] + public CefSharp.DevTools.Emulation.SensorReadingQuaternion Quaternion + { + get; + set; + } + } + /// /// Enum of image types that can be disabled. /// @@ -10170,7 +10449,7 @@ public double? TangentialPressure /// The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) /// [JsonPropertyName("tiltX")] - public int? TiltX + public double? TiltX { get; set; @@ -10180,7 +10459,7 @@ public int? TiltX /// The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). /// [JsonPropertyName("tiltY")] - public int? TiltY + public double? TiltY { get; set; @@ -17363,6 +17642,44 @@ public CefSharp.DevTools.DOM.RGBA OutlineColor } } + /// + /// Configuration for Window Controls Overlay + /// + public partial class WindowControlsOverlayConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Whether the title bar CSS should be shown when emulating the Window Controls Overlay. + /// + [JsonPropertyName("showCSS")] + public bool ShowCSS + { + get; + set; + } + + /// + /// Seleted platforms to show the overlay. + /// + [JsonPropertyName("selectedPlatform")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string SelectedPlatform + { + get; + set; + } + + /// + /// The theme color defined in app manifest. + /// + [JsonPropertyName("themeColor")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string ThemeColor + { + get; + set; + } + } + /// /// ContainerQueryHighlightConfig /// @@ -20324,6 +20641,52 @@ public enum BackForwardCacheNotRestoredReasonType Circumstantial } + /// + /// BackForwardCacheBlockingDetails + /// + public partial class BackForwardCacheBlockingDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Url of the file where blockage happened. Optional because of tests. + /// + [JsonPropertyName("url")] + public string Url + { + get; + set; + } + + /// + /// Function name where blockage happened. Optional because of anonymous functions and tests. + /// + [JsonPropertyName("function")] + public string Function + { + get; + set; + } + + /// + /// Line number in the script (0-based). + /// + [JsonPropertyName("lineNumber")] + public int LineNumber + { + get; + set; + } + + /// + /// Column number in the script (0-based). + /// + [JsonPropertyName("columnNumber")] + public int ColumnNumber + { + get; + set; + } + } + /// /// BackForwardCacheNotRestoredExplanation /// @@ -20360,6 +20723,16 @@ public string Context get; set; } + + /// + /// Details + /// + [JsonPropertyName("details")] + public System.Collections.Generic.IList Details + { + get; + set; + } } /// @@ -23438,6 +23811,23 @@ public int[] Ends } } + /// + /// AttributionReportingTriggerDataMatching + /// + public enum AttributionReportingTriggerDataMatching + { + /// + /// exact + /// + [JsonPropertyName("exact")] + Exact, + /// + /// modulus + /// + [JsonPropertyName("modulus")] + Modulus + } + /// /// AttributionReportingSourceRegistration /// @@ -23457,18 +23847,7 @@ public double Time /// duration in seconds /// [JsonPropertyName("expiry")] - public int? Expiry - { - get; - set; - } - - /// - /// eventReportWindow and eventReportWindows are mutually exclusive - /// duration in seconds - /// - [JsonPropertyName("eventReportWindow")] - public int? EventReportWindow + public int Expiry { get; set; @@ -23478,6 +23857,7 @@ public int? EventReportWindow /// EventReportWindows /// [JsonPropertyName("eventReportWindows")] + [System.Diagnostics.CodeAnalysis.DisallowNull] public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows { get; @@ -23488,7 +23868,7 @@ public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventRep /// duration in seconds /// [JsonPropertyName("aggregatableReportWindow")] - public int? AggregatableReportWindow + public int AggregatableReportWindow { get; set; @@ -23590,6 +23970,16 @@ public string DebugKey get; set; } + + /// + /// TriggerDataMatching + /// + [JsonPropertyName("triggerDataMatching")] + public CefSharp.DevTools.Storage.AttributionReportingTriggerDataMatching TriggerDataMatching + { + get; + set; + } } /// @@ -27800,11 +28190,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("PrerenderingDisabledByDevTools")] PrerenderingDisabledByDevTools, /// - /// ResourceLoadBlockedByClient - /// - [JsonPropertyName("ResourceLoadBlockedByClient")] - ResourceLoadBlockedByClient, - /// /// SpeculationRuleRemoved /// [JsonPropertyName("SpeculationRuleRemoved")] @@ -37186,20 +37571,6 @@ public System.Threading.Tasks.Task RemoveEventListenerBr return _client.ExecuteDevToolsMethodAsync("DOMDebugger.removeEventListenerBreakpoint", dict); } - partial void ValidateRemoveInstrumentationBreakpoint(string eventName); - /// - /// Removes breakpoint on particular native event. - /// - /// Instrumentation name to stop on. - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task RemoveInstrumentationBreakpointAsync(string eventName) - { - ValidateRemoveInstrumentationBreakpoint(eventName); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("eventName", eventName); - return _client.ExecuteDevToolsMethodAsync("DOMDebugger.removeInstrumentationBreakpoint", dict); - } - partial void ValidateRemoveXHRBreakpoint(string url); /// /// Removes breakpoint from XMLHttpRequest. @@ -37264,20 +37635,6 @@ public System.Threading.Tasks.Task SetEventListenerBreak return _client.ExecuteDevToolsMethodAsync("DOMDebugger.setEventListenerBreakpoint", dict); } - partial void ValidateSetInstrumentationBreakpoint(string eventName); - /// - /// Sets breakpoint on particular native event. - /// - /// Instrumentation name to stop on. - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetInstrumentationBreakpointAsync(string eventName) - { - ValidateSetInstrumentationBreakpoint(eventName); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("eventName", eventName); - return _client.ExecuteDevToolsMethodAsync("DOMDebugger.setInstrumentationBreakpoint", dict); - } - partial void ValidateSetXHRBreakpoint(string url); /// /// Sets breakpoint on XMLHttpRequest. @@ -37299,10 +37656,9 @@ namespace CefSharp.DevTools.EventBreakpoints using System.Linq; /// - /// EventBreakpoints permits setting breakpoints on particular operations and - /// events in targets that run JavaScript but do not have a DOM. - /// JavaScript execution will stop on these operations as if there was a regular - /// breakpoint set. + /// EventBreakpoints permits setting JavaScript breakpoints on operations and events + /// occurring in native code invoked from JavaScript. Once breakpoint is hit, it is + /// reported through Debugger domain, similarly to regular breakpoints being hit. /// public partial class EventBreakpointsClient : DevToolsDomainBase { @@ -37343,6 +37699,16 @@ public System.Threading.Tasks.Task RemoveInstrumentation dict.Add("eventName", eventName); return _client.ExecuteDevToolsMethodAsync("EventBreakpoints.removeInstrumentationBreakpoint", dict); } + + /// + /// Removes all breakpoints + /// + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task DisableAsync() + { + System.Collections.Generic.Dictionary dict = null; + return _client.ExecuteDevToolsMethodAsync("EventBreakpoints.disable", dict); + } } } @@ -37864,6 +38230,26 @@ public bool Result } } +namespace CefSharp.DevTools.Emulation +{ + /// + /// GetOverriddenSensorInformationResponse + /// + public class GetOverriddenSensorInformationResponse : DevToolsDomainResponseBase + { + /// + /// requestedSamplingFrequency + /// + [JsonInclude] + [JsonPropertyName("requestedSamplingFrequency")] + public double RequestedSamplingFrequency + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Emulation { /// @@ -38277,6 +38663,63 @@ public System.Threading.Tasks.Task SetGeolocationOverrid return _client.ExecuteDevToolsMethodAsync("Emulation.setGeolocationOverride", dict); } + partial void ValidateGetOverriddenSensorInformation(CefSharp.DevTools.Emulation.SensorType type); + /// + /// GetOverriddenSensorInformation + /// + /// type + /// returns System.Threading.Tasks.Task<GetOverriddenSensorInformationResponse> + public System.Threading.Tasks.Task GetOverriddenSensorInformationAsync(CefSharp.DevTools.Emulation.SensorType type) + { + ValidateGetOverriddenSensorInformation(type); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("type", EnumToString(type)); + return _client.ExecuteDevToolsMethodAsync("Emulation.getOverriddenSensorInformation", dict); + } + + partial void ValidateSetSensorOverrideEnabled(bool enabled, CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorMetadata metadata = null); + /// + /// Overrides a platform sensor of a given type. If |enabled| is true, calls to + /// Sensor.start() will use a virtual sensor as backend rather than fetching + /// data from a real hardware sensor. Otherwise, existing virtual + /// sensor-backend Sensor objects will fire an error event and new calls to + /// Sensor.start() will attempt to use a real sensor instead. + /// + /// enabled + /// type + /// metadata + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetSensorOverrideEnabledAsync(bool enabled, CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorMetadata metadata = null) + { + ValidateSetSensorOverrideEnabled(enabled, type, metadata); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enabled", enabled); + dict.Add("type", EnumToString(type)); + if ((metadata) != (null)) + { + dict.Add("metadata", metadata.ToDictionary()); + } + + return _client.ExecuteDevToolsMethodAsync("Emulation.setSensorOverrideEnabled", dict); + } + + partial void ValidateSetSensorOverrideReadings(CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorReading reading); + /// + /// Updates the sensor readings reported by a sensor type previously overriden + /// by setSensorOverrideEnabled. + /// + /// type + /// reading + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetSensorOverrideReadingsAsync(CefSharp.DevTools.Emulation.SensorType type, CefSharp.DevTools.Emulation.SensorReading reading) + { + ValidateSetSensorOverrideReadings(type, reading); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("type", EnumToString(type)); + dict.Add("reading", reading.ToDictionary()); + return _client.ExecuteDevToolsMethodAsync("Emulation.setSensorOverrideReadings", dict); + } + partial void ValidateSetIdleOverride(bool isUserActive, bool isScreenUnlocked); /// /// Overrides the Idle state. @@ -39467,7 +39910,7 @@ public System.Threading.Tasks.Task ImeSetCompositionAsyn return _client.ExecuteDevToolsMethodAsync("Input.imeSetComposition", dict); } - partial void ValidateDispatchMouseEvent(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, int? tiltX = null, int? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null); + partial void ValidateDispatchMouseEvent(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, double? tiltX = null, double? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null); /// /// Dispatches a mouse event to the page. /// @@ -39488,7 +39931,7 @@ public System.Threading.Tasks.Task ImeSetCompositionAsyn /// Y delta in CSS pixels for mouse wheel event (default: 0). /// Pointer type (default: "mouse"). /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task DispatchMouseEventAsync(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, int? tiltX = null, int? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null) + public System.Threading.Tasks.Task DispatchMouseEventAsync(CefSharp.DevTools.Input.DispatchMouseEventType type, double x, double y, int? modifiers = null, double? timestamp = null, CefSharp.DevTools.Input.MouseButton? button = null, int? buttons = null, int? clickCount = null, double? force = null, double? tangentialPressure = null, double? tiltX = null, double? tiltY = null, int? twist = null, double? deltaX = null, double? deltaY = null, CefSharp.DevTools.Input.DispatchMouseEventPointerType? pointerType = null) { ValidateDispatchMouseEvent(type, x, y, modifiers, timestamp, button, buttons, clickCount, force, tangentialPressure, tiltX, tiltY, twist, deltaX, deltaY, pointerType); var dict = new System.Collections.Generic.Dictionary(); @@ -42453,6 +42896,24 @@ public System.Threading.Tasks.Task SetShowIsolatedElemen dict.Add("isolatedElementHighlightConfigs", isolatedElementHighlightConfigs.Select(x => x.ToDictionary())); return _client.ExecuteDevToolsMethodAsync("Overlay.setShowIsolatedElements", dict); } + + partial void ValidateSetShowWindowControlsOverlay(CefSharp.DevTools.Overlay.WindowControlsOverlayConfig windowControlsOverlayConfig = null); + /// + /// Show Window Controls Overlay for PWA + /// + /// Window Controls Overlay data, null means hide Window Controls Overlay + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetShowWindowControlsOverlayAsync(CefSharp.DevTools.Overlay.WindowControlsOverlayConfig windowControlsOverlayConfig = null) + { + ValidateSetShowWindowControlsOverlay(windowControlsOverlayConfig); + var dict = new System.Collections.Generic.Dictionary(); + if ((windowControlsOverlayConfig) != (null)) + { + dict.Add("windowControlsOverlayConfig", windowControlsOverlayConfig.ToDictionary()); + } + + return _client.ExecuteDevToolsMethodAsync("Overlay.setShowWindowControlsOverlay", dict); + } } } @@ -51402,10 +51863,9 @@ public CefSharp.DevTools.DOMDebugger.DOMDebuggerClient DOMDebugger private CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient _EventBreakpoints; /// - /// EventBreakpoints permits setting breakpoints on particular operations and - /// events in targets that run JavaScript but do not have a DOM. - /// JavaScript execution will stop on these operations as if there was a regular - /// breakpoint set. + /// EventBreakpoints permits setting JavaScript breakpoints on operations and events + /// occurring in native code invoked from JavaScript. Once breakpoint is hit, it is + /// reported through Debugger domain, similarly to regular breakpoints being hit. /// public CefSharp.DevTools.EventBreakpoints.EventBreakpointsClient EventBreakpoints { From 23c90909207824c72b81955ff2d45645bb9f9b86 Mon Sep 17 00:00:00 2001 From: Mike Bragg <17732407+mbragg12@users.noreply.github.com> Date: Fri, 15 Dec 2023 19:50:33 -0500 Subject: [PATCH 110/275] Add in file paths data to DragData (#4649) * Add in file paths data to DragData * Update of CefSharp.Core.Runtime.netcore.cs for adding DragData FilePaths and removal of AcceptLanguageList --------- Co-authored-by: Michael Bragg --- .../CefSharp.Core.Runtime.netcore.cs | 2 +- CefSharp.Core.Runtime/DragData.h | 12 ++++++++++++ CefSharp/IDragData.cs | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs index c60c816bfa..8b9e33ecf2 100644 --- a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs +++ b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs @@ -14,7 +14,6 @@ public partial class BrowserSettings : CefSharp.IBrowserSettings { public BrowserSettings() { } public BrowserSettings(bool autoDispose) { } - public virtual string AcceptLanguageList { get { throw null; } set { } } public virtual bool AutoDispose { get { throw null; } } public virtual uint BackgroundColor { get { throw null; } set { } } public virtual string CursiveFontFamily { get { throw null; } set { } } @@ -135,6 +134,7 @@ public partial class DragData : CefSharp.Internals.CefWrapper, CefSharp.IDragDat internal DragData() { } public virtual string FileName { get { throw null; } set { } } public virtual System.Collections.Generic.IList FileNames { get { throw null; } } + public virtual System.Collections.Generic.IList FilePaths { get { throw null; } } public virtual string FragmentBaseUrl { get { throw null; } set { } } public virtual string FragmentHtml { get { throw null; } set { } } public virtual string FragmentText { get { throw null; } set { } } diff --git a/CefSharp.Core.Runtime/DragData.h b/CefSharp.Core.Runtime/DragData.h index ea9b6791cb..48aa18fe28 100644 --- a/CefSharp.Core.Runtime/DragData.h +++ b/CefSharp.Core.Runtime/DragData.h @@ -90,6 +90,18 @@ namespace CefSharp } } + //TODO: Vector is a pointer, so can potentially be updated (items may be possibly removed) + virtual property IList^ FilePaths + { + IList^ get() + { + auto paths = vector(); + _wrappedDragData->GetFilePaths(paths); + + return StringUtils::ToClr(paths); + } + } + virtual property String^ FragmentBaseUrl { String^ get() diff --git a/CefSharp/IDragData.cs b/CefSharp/IDragData.cs index 1445a9ed8b..2c3f735263 100644 --- a/CefSharp/IDragData.cs +++ b/CefSharp/IDragData.cs @@ -35,6 +35,11 @@ public interface IDragData : IDisposable /// IList FileNames { get; } + /// + /// Retrieve the list of file paths that are being dragged into the browser window + /// + IList FilePaths { get; } + /// /// Return the base URL that the fragment came from. This value is used for resolving relative URLs and may be empty. /// From 56c9f3cd2819153822f07615ca1ae97f9565b25b Mon Sep 17 00:00:00 2001 From: campersau Date: Sat, 16 Dec 2023 01:58:43 +0100 Subject: [PATCH 111/275] Start timer after initialization (#4654) --- CefSharp/Internals/TaskExtensions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CefSharp/Internals/TaskExtensions.cs b/CefSharp/Internals/TaskExtensions.cs index 6b64d0d4d7..ef341fc445 100644 --- a/CefSharp/Internals/TaskExtensions.cs +++ b/CefSharp/Internals/TaskExtensions.cs @@ -17,10 +17,9 @@ public static class TaskExtensions { public static TaskCompletionSource WithTimeout(this TaskCompletionSource taskCompletionSource, TimeSpan timeout, Action cancelled) { - Timer timer = null; - timer = new Timer(state => + var timer = new Timer(state => { - timer.Dispose(); + ((Timer)state).Dispose(); if (taskCompletionSource.Task.Status != TaskStatus.RanToCompletion) { taskCompletionSource.TrySetCanceled(); @@ -29,7 +28,8 @@ public static TaskCompletionSource WithTimeout(this TaskComple cancelled(); } } - }, null, timeout, TimeSpan.FromMilliseconds(-1)); + }); + timer.Change(timeout, Timeout.InfiniteTimeSpan); return taskCompletionSource; } From ed1763ee9510dca9e54ab766ea7cf305f71d2aa2 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 16 Dec 2023 11:12:45 +1000 Subject: [PATCH 112/275] Add EvaluateScriptAsyncTests.ShouldTimeout test Follow up to #4654 --- .../Javascript/EvaluateScriptAsyncTests.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs index f8f4cace59..2a5ffee191 100644 --- a/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs +++ b/CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs @@ -252,5 +252,18 @@ public async Task CanEvaluateScriptAsyncWithEncodedStringArguments() output.WriteLine("{0} passes {1}", test, javascriptResponse.Result); } } + + [Theory] + [InlineData("(async () => { function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }; await sleep(2000); return true; })();")] + public async Task ShouldTimeout(string script) + { + AssertInitialLoadComplete(); + + var exception = await Assert.ThrowsAsync( + async () => await Browser.EvaluateScriptAsync(script, timeout: TimeSpan.FromMilliseconds(100))); + + Assert.NotNull(exception); + Assert.IsType(exception); + } } } From ae272a9b6864f6809047e87c6f9f7e8d329e9bb2 Mon Sep 17 00:00:00 2001 From: campersau Date: Sun, 31 Dec 2023 23:03:31 +0100 Subject: [PATCH 113/275] OffScreen - Check if browser is not null in GetScreenInfo/GetViewRect (#4661) --- CefSharp.OffScreen/DefaultRenderHandler.cs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/CefSharp.OffScreen/DefaultRenderHandler.cs b/CefSharp.OffScreen/DefaultRenderHandler.cs index 0de95d32a1..791938c090 100644 --- a/CefSharp.OffScreen/DefaultRenderHandler.cs +++ b/CefSharp.OffScreen/DefaultRenderHandler.cs @@ -98,7 +98,14 @@ public void Dispose() /// Return null if no screenInfo structure is provided. public virtual ScreenInfo? GetScreenInfo() { - var screenInfo = new ScreenInfo { DeviceScaleFactor = browser.DeviceScaleFactor }; + var deviceScaleFactor = browser?.DeviceScaleFactor; + + if (deviceScaleFactor == null) + { + return null; + } + + var screenInfo = new ScreenInfo { DeviceScaleFactor = deviceScaleFactor.Value }; return screenInfo; } @@ -111,9 +118,14 @@ public void Dispose() public virtual Rect GetViewRect() { //TODO: See if this can be refactored and remove browser reference - var size = browser.Size; + var size = browser?.Size; + + if (size == null) + { + return new Rect(0, 0, 1, 1); + } - var viewRect = new Rect(0, 0, size.Width, size.Height); + var viewRect = new Rect(0, 0, size.Value.Width, size.Value.Height); return viewRect; } From e329cdc1fbf6367d6de2d24d1c5d4bc2d5bc65e2 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 13 Jan 2024 13:23:01 +1000 Subject: [PATCH 114/275] Core - Add IBrowserProcessHandler.OnAlreadyRunningAppRelaunch Issue #4668 --- CefSharp.Core.Runtime/Internals/CefSharpApp.h | 30 +++++++++++++++ CefSharp/Handler/BrowserProcessHandler.cs | 38 +++++++++++++++++++ CefSharp/Handler/IBrowserProcessHandler.cs | 29 ++++++++++++++ 3 files changed, 97 insertions(+) diff --git a/CefSharp.Core.Runtime/Internals/CefSharpApp.h b/CefSharp.Core.Runtime/Internals/CefSharpApp.h index 794f523258..f4cfffc7f5 100644 --- a/CefSharp.Core.Runtime/Internals/CefSharpApp.h +++ b/CefSharp.Core.Runtime/Internals/CefSharpApp.h @@ -121,6 +121,36 @@ namespace CefSharp _app->BrowserProcessHandler->OnScheduleMessagePumpWork(delay_ms); } + virtual bool OnAlreadyRunningAppRelaunch(CefRefPtr commandLine, const CefString& currentDirectory) override + { + if (Object::ReferenceEquals(_app, nullptr) || Object::ReferenceEquals(_app->BrowserProcessHandler, nullptr)) + { + return false; + } + + auto managedArgs = gcnew Dictionary(); + + CefCommandLine::ArgumentList args; + commandLine->GetArguments(args); + + for (auto arg : args) + { + managedArgs->Add(StringUtils::ToClr(arg), String::Empty); + } + + CefCommandLine::SwitchMap switches; + commandLine->GetSwitches(switches); + + for (auto s : switches) + { + managedArgs->Add(StringUtils::ToClr(s.first), StringUtils::ToClr(s.second)); + } + + auto readOnlyArgs = gcnew System::Collections::ObjectModel::ReadOnlyDictionary(managedArgs); + + return _app->BrowserProcessHandler->OnAlreadyRunningAppRelaunch(readOnlyArgs, StringUtils::ToClr(currentDirectory)); + } + virtual void OnBeforeChildProcessLaunch(CefRefPtr commandLine) override { #ifndef NETCOREAPP diff --git a/CefSharp/Handler/BrowserProcessHandler.cs b/CefSharp/Handler/BrowserProcessHandler.cs index ea2d8f1fe7..3605cfde30 100644 --- a/CefSharp/Handler/BrowserProcessHandler.cs +++ b/CefSharp/Handler/BrowserProcessHandler.cs @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; +using System.Collections.Generic; namespace CefSharp.Handler { @@ -55,6 +56,43 @@ protected virtual void OnScheduleMessagePumpWork(long delay) } + /// + bool IBrowserProcessHandler.OnAlreadyRunningAppRelaunch(IReadOnlyDictionary commandLine, string currentDirectory) + { + return OnAlreadyRunningAppRelaunch(commandLine, currentDirectory); + } + + /// + /// Implement this method to provide app-specific behavior when an already + /// running app is relaunched with the same CefSettings.RootCachePath value. + /// For example, activate an existing app window or create a new app window. + /// + /// To avoid cache corruption only a single app instance is allowed to run for + /// a given CefSettings.RootCachePath value. On relaunch the app checks a + /// process singleton lock and then forwards the new launch arguments to the + /// already running app process before exiting early. Client apps should + /// therefore check the Cef.Initialize() return value for early exit before + /// proceeding. + /// + /// It's important to note that this method will be called on a CEF UI thread, + /// which by default is not the same as your application UI thread. + /// + /// + /// Command line arugments/switches + /// current directory (optional) + /// + /// Return true if the relaunch is handled or false for default relaunch + /// behavior. Default behavior will create a new default styled Chrome window. + /// + /// + /// The dictionary may contain keys that have empty string values + /// (arugments). + /// + protected virtual bool OnAlreadyRunningAppRelaunch(IReadOnlyDictionary commandLine, string currentDirectory) + { + return false; + } + /// /// IsDisposed /// diff --git a/CefSharp/Handler/IBrowserProcessHandler.cs b/CefSharp/Handler/IBrowserProcessHandler.cs index d5b9688993..7d5a635584 100644 --- a/CefSharp/Handler/IBrowserProcessHandler.cs +++ b/CefSharp/Handler/IBrowserProcessHandler.cs @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; +using System.Collections.Generic; namespace CefSharp { @@ -34,5 +35,33 @@ public interface IBrowserProcessHandler : IDisposable /// specified delay and any currently pending scheduled call should be /// cancelled. void OnScheduleMessagePumpWork(long delay); + + /// + /// Implement this method to provide app-specific behavior when an already + /// running app is relaunched with the same CefSettings.RootCachePath value. + /// For example, activate an existing app window or create a new app window. + /// + /// To avoid cache corruption only a single app instance is allowed to run for + /// a given CefSettings.RootCachePath value. On relaunch the app checks a + /// process singleton lock and then forwards the new launch arguments to the + /// already running app process before exiting early. Client apps should + /// therefore check the Cef.Initialize() return value for early exit before + /// proceeding. + /// + /// It's important to note that this method will be called on a CEF UI thread, + /// which by default is not the same as your application UI thread. + /// + /// + /// Readonly command line args + /// current directory (optional) + /// + /// Return true if the relaunch is handled or false for default relaunch + /// behavior. Default behavior will create a new default styled Chrome window. + /// + /// + /// The dictionary may contain keys that have empty string values + /// (arugments). + /// + bool OnAlreadyRunningAppRelaunch(IReadOnlyDictionary commandLine, string currentDirectory); } } From 14dba5457c2cd0843317c512296ee12962d8fe8a Mon Sep 17 00:00:00 2001 From: feliciwithme <386216768@qq.com> Date: Wed, 17 Jan 2024 17:04:47 +0800 Subject: [PATCH 115/275] WPF - Fix the Chinese IMEs (such as "sogou pinyin", "qq...") window position is incorrect in Winform form embedded wpf control. (#4678) WPF - Fix chinese IMEs ( such as "sogou pinyin", "qq pinyin" etc. ) input window position, In Winform embedded wpf borwser mode. * Update WpfIMEKeyboardHandler.cs --- .../Experimental/WpfIMEKeyboardHandler.cs | 35 ++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs index a5b1c05bcb..852a056ea2 100644 --- a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs +++ b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs @@ -10,6 +10,7 @@ using CefSharp.Internals; using CefSharp.Structs; using CefSharp.Wpf.Internals; +using System.Windows.Media; using Point = System.Windows.Point; using Range = CefSharp.Structs.Range; using Rect = CefSharp.Structs.Rect; @@ -38,8 +39,8 @@ public class WpfImeKeyboardHandler : WpfKeyboardHandler /// The owner. public WpfImeKeyboardHandler(ChromiumWebBrowser owner) : base(owner) { - } - + } + /// /// Change composition range. /// @@ -60,8 +61,15 @@ public void ChangeCompositionRange(Range selectionRange, Rect[] characterBounds) owner.UiThreadRunAsync(() => { //TODO: Getting the root window for every composition range change seems expensive, - //we should cache the position and update it on window move. - var parentWindow = Window.GetWindow(owner); + //we should cache the position and update it on window move. + var parentWindow = (FrameworkElement)Window.GetWindow(owner); + + //In Winform embedded wpf borwser mode, Window.GetWindow(owner) is null, so use a custom function to get the outermost visual element. + if(parentWindow == null) + { + parentWindow = GetOutermostElement(owner); + } + if (parentWindow != null) { //TODO: What are we calculating here exactly??? @@ -440,5 +448,24 @@ private void UpdateCaretPosition(int index) { MoveImeWindow(source.Handle); } + + /// + /// Get the outermost element of the browser + /// + /// The browser + /// The outermost element + private FrameworkElement GetOutermostElement(FrameworkElement control) + { + DependencyObject parent = VisualTreeHelper.GetParent(control); + DependencyObject current = control; + + while (parent != null) + { + current = parent; + parent = VisualTreeHelper.GetParent(current); + } + + return current as FrameworkElement; + } } } From fb24fd22e520ff40fdb51412416c6336448cfecf Mon Sep 17 00:00:00 2001 From: "Mitch Capper (they, them)" Date: Wed, 17 Jan 2024 01:07:32 -0800 Subject: [PATCH 116/275] fix: actually support vswhere not finding something (#4682) By default vswhere returns a non-zero error code making our error handling fail --- build.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.ps1 b/build.ps1 index 5197610707..6a3e5b588d 100644 --- a/build.ps1 +++ b/build.ps1 @@ -183,13 +183,17 @@ function VSX $versionSearchStr = "[$VS_VER.0," + ($VS_VER+1) + ".0)" + $ErrorActionPreference="SilentlyContinue" $VSInstallPath = & $VSWherePath -version $versionSearchStr -property installationPath $VS_PRE + $ErrorActionPreference="Stop" Write-Diagnostic "$($VS_OFFICIAL_VER)InstallPath: $VSInstallPath" if( -not $VSInstallPath -or -not (Test-Path $VSInstallPath)) { + $ErrorActionPreference="SilentlyContinue" $VSInstallPath = & $VSwherePath -version $versionSearchStr -property installationPath $VS_PRE -products 'Microsoft.VisualStudio.Product.BuildTools' + $ErrorActionPreference="Stop" Write-Diagnostic "BuildTools $($VS_OFFICIAL_VER)InstallPath: $VSInstallPath" if( -not $VSInstallPath -or -not (Test-Path $VSInstallPath)) From bbe7260fe8d0fa4507cf0e36dea36ffe63b35f91 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 19 Jan 2024 20:13:51 +1000 Subject: [PATCH 117/275] NetCore - Initializer additional checks to locate libcef.dll - When running from a library with no RuntimeIdentifier specified, check relative to CefSharp.Core.dll in runtimes folder --- CefSharp.Core/Initializer.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CefSharp.Core/Initializer.cs b/CefSharp.Core/Initializer.cs index d73df0e12b..d4d275a0ac 100644 --- a/CefSharp.Core/Initializer.cs +++ b/CefSharp.Core/Initializer.cs @@ -34,7 +34,7 @@ internal static void ModuleInitializer() //https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assembly.getentryassembly?view=net-5.0 if (executingAssembly == null) { - currentFolder = Path.GetDirectoryName(typeof(Initializer).Assembly.Location); + currentFolder = GetCefSharpCoreAssemblyLocation(); } else { @@ -66,6 +66,16 @@ internal static void ModuleInitializer() var arch = RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant(); var archFolder = $"runtimes\\win-{arch}\\native"; libCefPath = Path.Combine(currentFolder, archFolder, "libcef.dll"); + + if (!File.Exists(libCefPath)) + { + // For cases where the library is dynamically loaded and no RuntimeIdentifier + // specified, attempt to locate libcef.dll next to CefSharp.Core.dll + currentFolder = GetCefSharpCoreAssemblyLocation(); + + libCefPath = Path.Combine(currentFolder, archFolder, "libcef.dll"); + } + if (File.Exists(libCefPath)) { LibCefLoaded = NativeLibrary.TryLoad(libCefPath, out IntPtr handle); @@ -86,5 +96,10 @@ internal static void ModuleInitializer() } } } + + private static string GetCefSharpCoreAssemblyLocation() + { + return Path.GetDirectoryName(typeof(Initializer).Assembly.Location); + } } } From 2ca02e5a69e72fdcd03f75070fb7f1f271cad18b Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 3 Feb 2024 05:57:12 +1000 Subject: [PATCH 118/275] Nuget - Change to embedded license file - LicenseUrl is deprecated --- NuGet/CefSharp.Common.nuspec | 4 +++- NuGet/CefSharp.OffScreen.nuspec | 5 +++-- NuGet/CefSharp.WinForms.nuspec | 5 +++-- NuGet/CefSharp.Wpf.nuspec | 5 +++-- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/NuGet/CefSharp.Common.nuspec b/NuGet/CefSharp.Common.nuspec index 80fe0e3c59..933bcfcc44 100644 --- a/NuGet/CefSharp.Common.nuspec +++ b/NuGet/CefSharp.Common.nuspec @@ -6,7 +6,7 @@ The CefSharp Authors The CefSharp Authors https://github.com/cefsharp/CefSharp - https://raw.github.com/cefsharp/CefSharp/master/LICENSE + LICENSE false The CefSharp Chromium-based browser component ('Core' and common 'Element' components, needed by both WPF and WinForms). chrome browser @@ -54,6 +54,8 @@ + + diff --git a/NuGet/CefSharp.OffScreen.nuspec b/NuGet/CefSharp.OffScreen.nuspec index 6854ff636f..ec8b795914 100644 --- a/NuGet/CefSharp.OffScreen.nuspec +++ b/NuGet/CefSharp.OffScreen.nuspec @@ -6,7 +6,7 @@ The CefSharp Authors The CefSharp Authors https://github.com/cefsharp/cefsharp - https://raw.github.com/cefsharp/CefSharp/master/LICENSE + LICENSE false The CefSharp Chromium-based browser component (OffScreen control). osr chrome browser chromium-embedded cefsharp @@ -24,11 +24,12 @@ - + + diff --git a/NuGet/CefSharp.WinForms.nuspec b/NuGet/CefSharp.WinForms.nuspec index 8606d10272..bc105f8363 100644 --- a/NuGet/CefSharp.WinForms.nuspec +++ b/NuGet/CefSharp.WinForms.nuspec @@ -6,7 +6,7 @@ The CefSharp Authors The CefSharp Authors https://github.com/cefsharp/cefsharp - https://raw.github.com/cefsharp/CefSharp/master/LICENSE + LICENSE false The CefSharp Chromium-based browser component (WinForms control). winforms chrome browser chromium-embedded cefsharp @@ -24,11 +24,12 @@ - + + diff --git a/NuGet/CefSharp.Wpf.nuspec b/NuGet/CefSharp.Wpf.nuspec index dabad3b010..1f5222b932 100644 --- a/NuGet/CefSharp.Wpf.nuspec +++ b/NuGet/CefSharp.Wpf.nuspec @@ -6,7 +6,7 @@ The CefSharp Authors The CefSharp Authors https://github.com/cefsharp/cefsharp - https://raw.github.com/cefsharp/CefSharp/master/LICENSE + LICENSE false The CefSharp Chromium-based browser component (WPF control). wpf chrome browser chromium-embedded cefsharp @@ -24,11 +24,12 @@ - + + From c366df0019501111851f3317c1ec51fe11989c54 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 3 Feb 2024 06:59:40 +1000 Subject: [PATCH 119/275] Nuget - Second attempt at embedding license --- NuGet/CefSharp.Common.nuspec | 2 +- NuGet/CefSharp.OffScreen.nuspec | 2 +- NuGet/CefSharp.WinForms.nuspec | 2 +- NuGet/CefSharp.Wpf.nuspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NuGet/CefSharp.Common.nuspec b/NuGet/CefSharp.Common.nuspec index 933bcfcc44..9b5f4d2b38 100644 --- a/NuGet/CefSharp.Common.nuspec +++ b/NuGet/CefSharp.Common.nuspec @@ -55,7 +55,7 @@ - + diff --git a/NuGet/CefSharp.OffScreen.nuspec b/NuGet/CefSharp.OffScreen.nuspec index ec8b795914..6f002d81bb 100644 --- a/NuGet/CefSharp.OffScreen.nuspec +++ b/NuGet/CefSharp.OffScreen.nuspec @@ -29,7 +29,7 @@ - + diff --git a/NuGet/CefSharp.WinForms.nuspec b/NuGet/CefSharp.WinForms.nuspec index bc105f8363..1f4b557ea7 100644 --- a/NuGet/CefSharp.WinForms.nuspec +++ b/NuGet/CefSharp.WinForms.nuspec @@ -29,7 +29,7 @@ - + diff --git a/NuGet/CefSharp.Wpf.nuspec b/NuGet/CefSharp.Wpf.nuspec index 1f5222b932..7559f9fc68 100644 --- a/NuGet/CefSharp.Wpf.nuspec +++ b/NuGet/CefSharp.Wpf.nuspec @@ -29,7 +29,7 @@ - + From 5613f8e2792834721db27c1a49da75d3f0bd1f1d Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sun, 4 Feb 2024 07:13:19 +1000 Subject: [PATCH 120/275] Upgrade to 121.3.4+g2af7b91+chromium-121.0.6167.139 / Chromium 121.0.6167.139 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 3ebd4c002d..e5912fd98d 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 9e39dffd1d..1c4a026921 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 3af40bd706..d5bcd51dce 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 120,1,80 - PRODUCTVERSION 120,1,80 + FILEVERSION 121,3,40 + PRODUCTVERSION 121,3,40 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "120.1.80" + VALUE "FileVersion", "121.3.40" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "120.1.80" + VALUE "ProductVersion", "121.3.40" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index fb5cb6b6ef..9f9e78a6b3 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 01ed35f0c5..7e740c0651 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 7dd40dd5cc..283046cb14 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 0a8f3da3c8..1c62f9be93 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index d6d8e85a52..636cb003fd 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 02b77957ff..007a9534a1 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 120,1,80 - PRODUCTVERSION 120,1,80 + FILEVERSION 121,3,40 + PRODUCTVERSION 121,3,40 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "120.1.80" + VALUE "FileVersion", "121.3.40" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "120.1.80" + VALUE "ProductVersion", "121.3.40" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index fb5cb6b6ef..9f9e78a6b3 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 01ed35f0c5..7e740c0651 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index fd436a9063..e80f2fb164 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 2c1c7ebd57..656ff95d28 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 1463128171..a36023c776 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index d2af32f3de..457262376c 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 2f5357be09..eb5eb401c1 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index 6b6d1c4c25..cbe7d5bf38 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 0d0d38d58b..7d83892ebe 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index ea08390be3..b0218876b2 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index f915c8b150..814883355d 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index d859b70c6d..acc11f824e 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 96cf646899..fc7b0c16e2 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 39b97aa81e..c97b4d1c9c 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 120.1.80 + 121.3.40 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 120.1.80 + Version 121.3.40 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 86fdb7910f..d87c3c701c 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "120.1.80"; - public const string AssemblyFileVersion = "120.1.80.0"; + public const string AssemblyVersion = "121.3.40"; + public const string AssemblyFileVersion = "121.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 8623b3f351..b1e762a16b 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 8e1c18d11f..b805766f99 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 19908dbffe..1ddf442c72 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 2ac1fcc3e5..99697a52ce 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "120.1.8", + [string] $CefVersion = "121.3.4", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index ad146177f2..8ac341242b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 120.1.80-CI{build} +version: 121.3.40-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 6a3e5b588d..1cfebe55ff 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "120.1.80", + [string] $Version = "121.3.40", [Parameter(Position = 2)] - [string] $AssemblyVersion = "120.1.80", + [string] $AssemblyVersion = "121.3.40", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 08f635ea8d3c0447d42dd6c4106e730830ee0116 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 5 Feb 2024 20:06:38 +1000 Subject: [PATCH 121/275] Migrate to chromiumembeddedframework.runtime Nuget packages Issue #4704 --- NuGet/CefSharp.Common.nuspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NuGet/CefSharp.Common.nuspec b/NuGet/CefSharp.Common.nuspec index 9b5f4d2b38..16945fa820 100644 --- a/NuGet/CefSharp.Common.nuspec +++ b/NuGet/CefSharp.Common.nuspec @@ -13,8 +13,8 @@ Copyright © The CefSharp Authors - - + + From 717504e33d3e9da8a6da3795f924f2126b0b537c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 9 Feb 2024 18:54:26 +1000 Subject: [PATCH 122/275] Upgrade to 121.3.7+g82c7c57+chromium-121.0.6167.160 / Chromium 121.0.6167.160 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 30 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index e5912fd98d..282dae0f7f 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 1c4a026921..2841e82c3a 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index d5bcd51dce..b26b5cd31a 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 121,3,40 - PRODUCTVERSION 121,3,40 + FILEVERSION 121,3,70 + PRODUCTVERSION 121,3,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "121.3.40" + VALUE "FileVersion", "121.3.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "121.3.40" + VALUE "ProductVersion", "121.3.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 9f9e78a6b3..a9ecf0cc94 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 7e740c0651..d7c668fb33 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 283046cb14..132a37fa2d 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 1c62f9be93..c593a6ea1b 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 636cb003fd..cddd4d6c5a 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 007a9534a1..a067f7761e 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 121,3,40 - PRODUCTVERSION 121,3,40 + FILEVERSION 121,3,70 + PRODUCTVERSION 121,3,70 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "121.3.40" + VALUE "FileVersion", "121.3.70" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "121.3.40" + VALUE "ProductVersion", "121.3.70" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 9f9e78a6b3..a9ecf0cc94 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 7e740c0651..d7c668fb33 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index e80f2fb164..ba11c4e2c3 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 656ff95d28..e5bd6f436e 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index a36023c776..26469ec5b4 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 457262376c..2455a32408 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index eb5eb401c1..0042db0502 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index cbe7d5bf38..bf3bfced45 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 7d83892ebe..5e9aa36c34 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index b0218876b2..fc01a3ccf6 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 814883355d..2b268f93f8 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index acc11f824e..a58eec3f69 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index fc7b0c16e2..fefcf77929 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index c97b4d1c9c..156a7ffb52 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 121.3.40 + 121.3.70 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 121.3.40 + Version 121.3.70 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index d87c3c701c..4fa6f41ff3 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "121.3.40"; - public const string AssemblyFileVersion = "121.3.40.0"; + public const string AssemblyVersion = "121.3.70"; + public const string AssemblyFileVersion = "121.3.70.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index b1e762a16b..00d858ee82 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index b805766f99..c8f03fa643 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 1ddf442c72..1c6900b657 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 99697a52ce..3bc0b7be93 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "121.3.4", + [string] $CefVersion = "121.3.7", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 8ac341242b..f4803eed63 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 121.3.40-CI{build} +version: 121.3.70-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 1cfebe55ff..feb63fac8e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "121.3.40", + [string] $Version = "121.3.70", [Parameter(Position = 2)] - [string] $AssemblyVersion = "121.3.40", + [string] $AssemblyVersion = "121.3.70", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From a66c36037c11416b3563da3430b9a24fdb888eb0 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Fri, 9 Feb 2024 20:01:32 +1000 Subject: [PATCH 123/275] DevTools Client - Upgrade to 121.0.6167.160 --- .../DevTools/DevToolsClient.Generated.cs | 410 +++++++++++++++++- .../DevToolsClient.Generated.netcore.cs | 373 +++++++++++++++- 2 files changed, 741 insertions(+), 42 deletions(-) diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 8cc82001d6..67a0e4c404 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -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 120.0.6099.109 +// CHROMIUM VERSION 121.0.6167.160 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -1701,6 +1701,11 @@ public enum MixedContentResourceType [EnumMember(Value = ("SharedWorker"))] SharedWorker, /// + /// SpeculationRules + /// + [EnumMember(Value = ("SpeculationRules"))] + SpeculationRules, + /// /// Stylesheet /// [EnumMember(Value = ("Stylesheet"))] @@ -4647,7 +4652,7 @@ public enum PermissionSetting /// /// Definition of PermissionDescriptor defined in the Permissions API: - /// https://w3c.github.io/permissions/#dictdef-permissiondescriptor. + /// https://w3c.github.io/permissions/#dom-permissiondescriptor. /// [System.Runtime.Serialization.DataContractAttribute] public partial class PermissionDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase @@ -6397,6 +6402,16 @@ public string FamilyName set; } + /// + /// Font's PostScript name reported by platform. + /// + [DataMember(Name = ("postScriptName"), IsRequired = (true))] + public string PostScriptName + { + get; + set; + } + /// /// Indicates if the font was downloaded or resolved locally. /// @@ -6738,6 +6753,70 @@ public string Syntax } } + /// + /// CSS font-palette-values rule representation. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class CSSFontPaletteValuesRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [DataMember(Name = ("styleSheetId"), IsRequired = (false))] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get + { + return (CefSharp.DevTools.CSS.StyleSheetOrigin)(StringToEnum(typeof(CefSharp.DevTools.CSS.StyleSheetOrigin), origin)); + } + + set + { + this.origin = (EnumToString(value)); + } + } + + /// + /// Parent stylesheet's origin. + /// + [DataMember(Name = ("origin"), IsRequired = (true))] + internal string origin + { + get; + set; + } + + /// + /// Associated font palette name. + /// + [DataMember(Name = ("fontPaletteName"), IsRequired = (true))] + public CefSharp.DevTools.CSS.Value FontPaletteName + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [DataMember(Name = ("style"), IsRequired = (true))] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + /// /// CSS property at-rule representation. /// @@ -10146,6 +10225,56 @@ public int MaskLength } } + /// + /// Current posture of the device + /// + public enum DevicePostureType + { + /// + /// continuous + /// + [EnumMember(Value = ("continuous"))] + Continuous, + /// + /// folded + /// + [EnumMember(Value = ("folded"))] + Folded + } + + /// + /// DevicePosture + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class DevicePosture : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Current posture of the device + /// + public CefSharp.DevTools.Emulation.DevicePostureType Type + { + get + { + return (CefSharp.DevTools.Emulation.DevicePostureType)(StringToEnum(typeof(CefSharp.DevTools.Emulation.DevicePostureType), type)); + } + + set + { + this.type = (EnumToString(value)); + } + } + + /// + /// Current posture of the device + /// + [DataMember(Name = ("type"), IsRequired = (true))] + internal string type + { + get; + set; + } + } + /// /// MediaFeature /// @@ -13771,6 +13900,23 @@ public enum AlternateProtocolUsage UnspecifiedReason } + /// + /// ServiceWorkerRouterInfo + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class ServiceWorkerRouterInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// RuleIdMatched + /// + [DataMember(Name = ("ruleIdMatched"), IsRequired = (true))] + public int RuleIdMatched + { + get; + set; + } + } + /// /// HTTP response data. /// @@ -13927,6 +14073,16 @@ public bool? FromPrefetchCache set; } + /// + /// Infomation about how Service Worker Static Router was used. + /// + [DataMember(Name = ("serviceWorkerRouterInfo"), IsRequired = (false))] + public CefSharp.DevTools.Network.ServiceWorkerRouterInfo ServiceWorkerRouterInfo + { + get; + set; + } + /// /// Total number of bytes received for this request so far. /// @@ -19801,11 +19957,21 @@ public enum PermissionsPolicyFeature [EnumMember(Value = ("usb"))] Usb, /// + /// usb-unrestricted + /// + [EnumMember(Value = ("usb-unrestricted"))] + UsbUnrestricted, + /// /// vertical-scroll /// [EnumMember(Value = ("vertical-scroll"))] VerticalScroll, /// + /// web-printing + /// + [EnumMember(Value = ("web-printing"))] + WebPrinting, + /// /// web-share /// [EnumMember(Value = ("web-share"))] @@ -24549,6 +24715,16 @@ public string TargetId get; set; } + + /// + /// RouterRules + /// + [DataMember(Name = ("routerRules"), IsRequired = (false))] + public string RouterRules + { + get; + set; + } } /// @@ -25553,6 +25729,34 @@ public int[] Ends } } + /// + /// AttributionReportingTriggerSpec + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class AttributionReportingTriggerSpec : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// number instead of integer because not all uint32 can be represented by + /// int + /// + [DataMember(Name = ("triggerData"), IsRequired = (true))] + public double[] TriggerData + { + get; + set; + } + + /// + /// EventReportWindows + /// + [DataMember(Name = ("eventReportWindows"), IsRequired = (true))] + public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + { + get; + set; + } + } + /// /// AttributionReportingTriggerDataMatching /// @@ -25597,10 +25801,10 @@ public int Expiry } /// - /// EventReportWindows + /// TriggerSpecs /// - [DataMember(Name = ("eventReportWindows"), IsRequired = (true))] - public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + [DataMember(Name = ("triggerSpecs"), IsRequired = (true))] + public System.Collections.Generic.IList TriggerSpecs { get; set; @@ -29065,6 +29269,30 @@ public bool? IsUserVerified get; set; } + + /// + /// Credentials created by this authenticator will have the backup + /// eligibility (BE) flag set to this value. Defaults to false. + /// https://w3c.github.io/webauthn/#sctn-credential-backup + /// + [DataMember(Name = ("defaultBackupEligibility"), IsRequired = (false))] + public bool? DefaultBackupEligibility + { + get; + set; + } + + /// + /// Credentials created by this authenticator will have the backup state + /// (BS) flag set to this value. Defaults to false. + /// https://w3c.github.io/webauthn/#sctn-credential-backup + /// + [DataMember(Name = ("defaultBackupState"), IsRequired = (false))] + public bool? DefaultBackupState + { + get; + set; + } } /// @@ -30459,6 +30687,43 @@ public enum PrefetchStatus PrefetchNotUsedProbeFailed } + /// + /// Information of headers to be displayed when the header mismatch occurred. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PrerenderMismatchedHeaders : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// HeaderName + /// + [DataMember(Name = ("headerName"), IsRequired = (true))] + public string HeaderName + { + get; + set; + } + + /// + /// InitialValue + /// + [DataMember(Name = ("initialValue"), IsRequired = (false))] + public string InitialValue + { + get; + set; + } + + /// + /// ActivationValue + /// + [DataMember(Name = ("activationValue"), IsRequired = (false))] + public string ActivationValue + { + get; + set; + } + } + /// /// Upsert. Currently, it is only emitted when a rule set added. /// @@ -30727,6 +30992,16 @@ public string DisallowedMojoInterface get; private set; } + + /// + /// MismatchedHeaders + /// + [DataMember(Name = ("mismatchedHeaders"), IsRequired = (false))] + public System.Collections.Generic.IList MismatchedHeaders + { + get; + private set; + } } /// @@ -30778,7 +31053,7 @@ public enum LoginState } /// - /// Whether the dialog shown is an account chooser or an auto re-authentication dialog. + /// The types of FedCM dialogs. /// public enum DialogType { @@ -30796,7 +31071,34 @@ public enum DialogType /// ConfirmIdpLogin /// [EnumMember(Value = ("ConfirmIdpLogin"))] - ConfirmIdpLogin + ConfirmIdpLogin, + /// + /// Error + /// + [EnumMember(Value = ("Error"))] + Error + } + + /// + /// The buttons on the FedCM dialog. + /// + public enum DialogButton + { + /// + /// ConfirmIdpLoginContinue + /// + [EnumMember(Value = ("ConfirmIdpLoginContinue"))] + ConfirmIdpLoginContinue, + /// + /// ErrorGotIt + /// + [EnumMember(Value = ("ErrorGotIt"))] + ErrorGotIt, + /// + /// ErrorMoreDetails + /// + [EnumMember(Value = ("ErrorMoreDetails"))] + ErrorMoreDetails } /// @@ -30995,6 +31297,24 @@ public string Subtitle private set; } } + + /// + /// Triggered when a dialog is closed, either by user action, JS abort, + /// or a command below. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class DialogClosedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// DialogId + /// + [DataMember(Name = ("dialogId"), IsRequired = (true))] + public string DialogId + { + get; + private set; + } + } } namespace CefSharp.DevTools.Debugger @@ -36984,6 +37304,24 @@ public System.Collections.Generic.IList + /// cssFontPaletteValuesRule + /// + public CefSharp.DevTools.CSS.CSSFontPaletteValuesRule CssFontPaletteValuesRule + { + get + { + return cssFontPaletteValuesRule; + } + } + [DataMember] internal int? parentLayoutNodeId { @@ -41536,7 +41874,7 @@ public System.Threading.Tasks.Task SetDefaultBackgroundC return _client.ExecuteDevToolsMethodAsync("Emulation.setDefaultBackgroundColorOverride", dict); } - partial void ValidateSetDeviceMetricsOverride(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null); + partial void ValidateSetDeviceMetricsOverride(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null); /// /// Overrides the values of device screen dimensions (window.screen.width, window.screen.height, /// window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media @@ -41555,10 +41893,11 @@ public System.Threading.Tasks.Task SetDefaultBackgroundC /// Screen orientation override. /// If set, the visible area of the page will be overridden to this viewport. This viewportchange is not observed by the page, e.g. viewport-relative elements do not change positions. /// If set, the display feature of a multi-segment screen. If not set, multi-segment supportis turned-off. + /// If set, the posture of a foldable device. If not set the posture is setto continuous. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null) + public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null) { - ValidateSetDeviceMetricsOverride(width, height, deviceScaleFactor, mobile, scale, screenWidth, screenHeight, positionX, positionY, dontSetVisibleSize, screenOrientation, viewport, displayFeature); + ValidateSetDeviceMetricsOverride(width, height, deviceScaleFactor, mobile, scale, screenWidth, screenHeight, positionX, positionY, dontSetVisibleSize, screenOrientation, viewport, displayFeature, devicePosture); var dict = new System.Collections.Generic.Dictionary(); dict.Add("width", width); dict.Add("height", height); @@ -41609,6 +41948,11 @@ public System.Threading.Tasks.Task SetDeviceMetricsOverr dict.Add("displayFeature", displayFeature.ToDictionary()); } + if ((devicePosture) != (null)) + { + dict.Add("devicePosture", devicePosture.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Emulation.setDeviceMetricsOverride", dict); } @@ -41958,7 +42302,7 @@ public System.Threading.Tasks.Task SetHardwareConcurrenc /// Allows overriding user agent with the given string. /// /// User agent to use. - /// Browser langugage to emulate. + /// Browser language to emulate. /// The platform navigator.platform should return. /// To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> @@ -45556,7 +45900,7 @@ public System.Threading.Tasks.Task SetAttachDebugStackAs /// Allows overriding user agent with the given string. /// /// User agent to use. - /// Browser langugage to emulate. + /// Browser language to emulate. /// The platform navigator.platform should return. /// To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> @@ -47851,7 +48195,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null, bool? generateDocumentOutline = null); /// /// Print page as PDF. /// @@ -47871,10 +48215,11 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream /// Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. + /// Whether or not to embed the document outline into the PDF. /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null, bool? generateDocumentOutline = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF, generateDocumentOutline); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -47956,6 +48301,11 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("generateTaggedPDF", generateTaggedPDF.Value); } + if (generateDocumentOutline.HasValue) + { + dict.Add("generateDocumentOutline", generateDocumentOutline.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.printToPDF", dict); } @@ -52507,6 +52857,23 @@ public event System.EventHandler DialogShown } } + /// + /// Triggered when a dialog is closed, either by user action, JS abort, + /// or a command below. + /// + public event System.EventHandler DialogClosed + { + add + { + _client.AddEventHandler("FedCm.dialogClosed", value); + } + + remove + { + _client.RemoveEventHandler("FedCm.dialogClosed", value); + } + } + partial void ValidateEnable(bool? disableRejectionDelay = null); /// /// Enable @@ -52551,19 +52918,20 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpLogin(string dialogId); + partial void ValidateClickDialogButton(string dialogId, CefSharp.DevTools.FedCm.DialogButton dialogButton); /// - /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had - /// clicked the continue button. + /// ClickDialogButton /// /// dialogId + /// dialogButton /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) + public System.Threading.Tasks.Task ClickDialogButtonAsync(string dialogId, CefSharp.DevTools.FedCm.DialogButton dialogButton) { - ValidateConfirmIdpLogin(dialogId); + ValidateClickDialogButton(dialogId, dialogButton); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); + dict.Add("dialogButton", EnumToString(dialogButton)); + return _client.ExecuteDevToolsMethodAsync("FedCm.clickDialogButton", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index c5e3cc0649..7af82177e4 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -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 120.0.6099.109 +// CHROMIUM VERSION 121.0.6167.160 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -1580,6 +1580,11 @@ public enum MixedContentResourceType [JsonPropertyName("SharedWorker")] SharedWorker, /// + /// SpeculationRules + /// + [JsonPropertyName("SpeculationRules")] + SpeculationRules, + /// /// Stylesheet /// [JsonPropertyName("Stylesheet")] @@ -4226,7 +4231,7 @@ public enum PermissionSetting /// /// Definition of PermissionDescriptor defined in the Permissions API: - /// https://w3c.github.io/permissions/#dictdef-permissiondescriptor. + /// https://w3c.github.io/permissions/#dom-permissiondescriptor. /// public partial class PermissionDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase { @@ -5864,6 +5869,17 @@ public string FamilyName set; } + /// + /// Font's PostScript name reported by platform. + /// + [JsonPropertyName("postScriptName")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string PostScriptName + { + get; + set; + } + /// /// Indicates if the font was downloaded or resolved locally. /// @@ -6201,6 +6217,55 @@ public string Syntax } } + /// + /// CSS font-palette-values rule representation. + /// + public partial class CSSFontPaletteValuesRule : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The css style sheet identifier (absent for user agent stylesheet and user-specified + /// stylesheet rules) this rule came from. + /// + [JsonPropertyName("styleSheetId")] + public string StyleSheetId + { + get; + set; + } + + /// + /// Parent stylesheet's origin. + /// + [JsonPropertyName("origin")] + public CefSharp.DevTools.CSS.StyleSheetOrigin Origin + { + get; + set; + } + + /// + /// Associated font palette name. + /// + [JsonPropertyName("fontPaletteName")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.Value FontPaletteName + { + get; + set; + } + + /// + /// Associated style declaration. + /// + [JsonPropertyName("style")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.CSS.CSSStyle Style + { + get; + set; + } + } + /// /// CSS property at-rule representation. /// @@ -9508,6 +9573,39 @@ public int MaskLength } } + /// + /// Current posture of the device + /// + public enum DevicePostureType + { + /// + /// continuous + /// + [JsonPropertyName("continuous")] + Continuous, + /// + /// folded + /// + [JsonPropertyName("folded")] + Folded + } + + /// + /// DevicePosture + /// + public partial class DevicePosture : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Current posture of the device + /// + [JsonPropertyName("type")] + public CefSharp.DevTools.Emulation.DevicePostureType Type + { + get; + set; + } + } + /// /// MediaFeature /// @@ -12914,6 +13012,22 @@ public enum AlternateProtocolUsage UnspecifiedReason } + /// + /// ServiceWorkerRouterInfo + /// + public partial class ServiceWorkerRouterInfo : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// RuleIdMatched + /// + [JsonPropertyName("ruleIdMatched")] + public int RuleIdMatched + { + get; + set; + } + } + /// /// HTTP response data. /// @@ -13073,6 +13187,16 @@ public bool? FromPrefetchCache set; } + /// + /// Infomation about how Service Worker Static Router was used. + /// + [JsonPropertyName("serviceWorkerRouterInfo")] + public CefSharp.DevTools.Network.ServiceWorkerRouterInfo ServiceWorkerRouterInfo + { + get; + set; + } + /// /// Total number of bytes received for this request so far. /// @@ -18437,11 +18561,21 @@ public enum PermissionsPolicyFeature [JsonPropertyName("usb")] Usb, /// + /// usb-unrestricted + /// + [JsonPropertyName("usb-unrestricted")] + UsbUnrestricted, + /// /// vertical-scroll /// [JsonPropertyName("vertical-scroll")] VerticalScroll, /// + /// web-printing + /// + [JsonPropertyName("web-printing")] + WebPrinting, + /// /// web-share /// [JsonPropertyName("web-share")] @@ -22826,6 +22960,16 @@ public string TargetId get; set; } + + /// + /// RouterRules + /// + [JsonPropertyName("routerRules")] + public string RouterRules + { + get; + set; + } } /// @@ -23811,6 +23955,34 @@ public int[] Ends } } + /// + /// AttributionReportingTriggerSpec + /// + public partial class AttributionReportingTriggerSpec : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// number instead of integer because not all uint32 can be represented by + /// int + /// + [JsonPropertyName("triggerData")] + public double[] TriggerData + { + get; + set; + } + + /// + /// EventReportWindows + /// + [JsonPropertyName("eventReportWindows")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + { + get; + set; + } + } + /// /// AttributionReportingTriggerDataMatching /// @@ -23854,11 +24026,11 @@ public int Expiry } /// - /// EventReportWindows + /// TriggerSpecs /// - [JsonPropertyName("eventReportWindows")] + [JsonPropertyName("triggerSpecs")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public CefSharp.DevTools.Storage.AttributionReportingEventReportWindows EventReportWindows + public System.Collections.Generic.IList TriggerSpecs { get; set; @@ -27074,6 +27246,30 @@ public bool? IsUserVerified get; set; } + + /// + /// Credentials created by this authenticator will have the backup + /// eligibility (BE) flag set to this value. Defaults to false. + /// https://w3c.github.io/webauthn/#sctn-credential-backup + /// + [JsonPropertyName("defaultBackupEligibility")] + public bool? DefaultBackupEligibility + { + get; + set; + } + + /// + /// Credentials created by this authenticator will have the backup state + /// (BS) flag set to this value. Defaults to false. + /// https://w3c.github.io/webauthn/#sctn-credential-backup + /// + [JsonPropertyName("defaultBackupState")] + public bool? DefaultBackupState + { + get; + set; + } } /// @@ -28427,6 +28623,43 @@ public enum PrefetchStatus PrefetchNotUsedProbeFailed } + /// + /// Information of headers to be displayed when the header mismatch occurred. + /// + public partial class PrerenderMismatchedHeaders : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// HeaderName + /// + [JsonPropertyName("headerName")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string HeaderName + { + get; + set; + } + + /// + /// InitialValue + /// + [JsonPropertyName("initialValue")] + public string InitialValue + { + get; + set; + } + + /// + /// ActivationValue + /// + [JsonPropertyName("activationValue")] + public string ActivationValue + { + get; + set; + } + } + /// /// Upsert. Currently, it is only emitted when a rule set added. /// @@ -28650,6 +28883,17 @@ public string DisallowedMojoInterface get; private set; } + + /// + /// MismatchedHeaders + /// + [JsonInclude] + [JsonPropertyName("mismatchedHeaders")] + public System.Collections.Generic.IList MismatchedHeaders + { + get; + private set; + } } /// @@ -28704,7 +28948,7 @@ public enum LoginState } /// - /// Whether the dialog shown is an account chooser or an auto re-authentication dialog. + /// The types of FedCM dialogs. /// public enum DialogType { @@ -28722,7 +28966,34 @@ public enum DialogType /// ConfirmIdpLogin /// [JsonPropertyName("ConfirmIdpLogin")] - ConfirmIdpLogin + ConfirmIdpLogin, + /// + /// Error + /// + [JsonPropertyName("Error")] + Error + } + + /// + /// The buttons on the FedCM dialog. + /// + public enum DialogButton + { + /// + /// ConfirmIdpLoginContinue + /// + [JsonPropertyName("ConfirmIdpLoginContinue")] + ConfirmIdpLoginContinue, + /// + /// ErrorGotIt + /// + [JsonPropertyName("ErrorGotIt")] + ErrorGotIt, + /// + /// ErrorMoreDetails + /// + [JsonPropertyName("ErrorMoreDetails")] + ErrorMoreDetails } /// @@ -28902,6 +29173,25 @@ public string Subtitle private set; } } + + /// + /// Triggered when a dialog is closed, either by user action, JS abort, + /// or a command below. + /// + public class DialogClosedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// DialogId + /// + [JsonInclude] + [JsonPropertyName("dialogId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string DialogId + { + get; + private set; + } + } } namespace CefSharp.DevTools.Debugger @@ -34420,6 +34710,17 @@ public System.Collections.Generic.IList + /// cssFontPaletteValuesRule + /// + [JsonInclude] + [JsonPropertyName("cssFontPaletteValuesRule")] + public CefSharp.DevTools.CSS.CSSFontPaletteValuesRule CssFontPaletteValuesRule + { + get; + private set; + } + /// /// parentLayoutNodeId /// @@ -38470,7 +38771,7 @@ public System.Threading.Tasks.Task SetDefaultBackgroundC return _client.ExecuteDevToolsMethodAsync("Emulation.setDefaultBackgroundColorOverride", dict); } - partial void ValidateSetDeviceMetricsOverride(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null); + partial void ValidateSetDeviceMetricsOverride(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null); /// /// Overrides the values of device screen dimensions (window.screen.width, window.screen.height, /// window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media @@ -38489,10 +38790,11 @@ public System.Threading.Tasks.Task SetDefaultBackgroundC /// Screen orientation override. /// If set, the visible area of the page will be overridden to this viewport. This viewportchange is not observed by the page, e.g. viewport-relative elements do not change positions. /// If set, the display feature of a multi-segment screen. If not set, multi-segment supportis turned-off. + /// If set, the posture of a foldable device. If not set the posture is setto continuous. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null) + public System.Threading.Tasks.Task SetDeviceMetricsOverrideAsync(int width, int height, double deviceScaleFactor, bool mobile, double? scale = null, int? screenWidth = null, int? screenHeight = null, int? positionX = null, int? positionY = null, bool? dontSetVisibleSize = null, CefSharp.DevTools.Emulation.ScreenOrientation screenOrientation = null, CefSharp.DevTools.Page.Viewport viewport = null, CefSharp.DevTools.Emulation.DisplayFeature displayFeature = null, CefSharp.DevTools.Emulation.DevicePosture devicePosture = null) { - ValidateSetDeviceMetricsOverride(width, height, deviceScaleFactor, mobile, scale, screenWidth, screenHeight, positionX, positionY, dontSetVisibleSize, screenOrientation, viewport, displayFeature); + ValidateSetDeviceMetricsOverride(width, height, deviceScaleFactor, mobile, scale, screenWidth, screenHeight, positionX, positionY, dontSetVisibleSize, screenOrientation, viewport, displayFeature, devicePosture); var dict = new System.Collections.Generic.Dictionary(); dict.Add("width", width); dict.Add("height", height); @@ -38543,6 +38845,11 @@ public System.Threading.Tasks.Task SetDeviceMetricsOverr dict.Add("displayFeature", displayFeature.ToDictionary()); } + if ((devicePosture) != (null)) + { + dict.Add("devicePosture", devicePosture.ToDictionary()); + } + return _client.ExecuteDevToolsMethodAsync("Emulation.setDeviceMetricsOverride", dict); } @@ -38892,7 +39199,7 @@ public System.Threading.Tasks.Task SetHardwareConcurrenc /// Allows overriding user agent with the given string. /// /// User agent to use. - /// Browser langugage to emulate. + /// Browser language to emulate. /// The platform navigator.platform should return. /// To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> @@ -42204,7 +42511,7 @@ public System.Threading.Tasks.Task SetAttachDebugStackAs /// Allows overriding user agent with the given string. /// /// User agent to use. - /// Browser langugage to emulate. + /// Browser language to emulate. /// The platform navigator.platform should return. /// To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> @@ -44233,7 +44540,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null, bool? generateDocumentOutline = null); /// /// Print page as PDF. /// @@ -44253,10 +44560,11 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream /// Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. + /// Whether or not to embed the document outline into the PDF. /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null, bool? generateTaggedPDF = null, bool? generateDocumentOutline = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode, generateTaggedPDF, generateDocumentOutline); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -44338,6 +44646,11 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("generateTaggedPDF", generateTaggedPDF.Value); } + if (generateDocumentOutline.HasValue) + { + dict.Add("generateDocumentOutline", generateDocumentOutline.Value); + } + return _client.ExecuteDevToolsMethodAsync("Page.printToPDF", dict); } @@ -48601,6 +48914,23 @@ public event System.EventHandler DialogShown } } + /// + /// Triggered when a dialog is closed, either by user action, JS abort, + /// or a command below. + /// + public event System.EventHandler DialogClosed + { + add + { + _client.AddEventHandler("FedCm.dialogClosed", value); + } + + remove + { + _client.RemoveEventHandler("FedCm.dialogClosed", value); + } + } + partial void ValidateEnable(bool? disableRejectionDelay = null); /// /// Enable @@ -48645,19 +48975,20 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpLogin(string dialogId); + partial void ValidateClickDialogButton(string dialogId, CefSharp.DevTools.FedCm.DialogButton dialogButton); /// - /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had - /// clicked the continue button. + /// ClickDialogButton /// /// dialogId + /// dialogButton /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) + public System.Threading.Tasks.Task ClickDialogButtonAsync(string dialogId, CefSharp.DevTools.FedCm.DialogButton dialogButton) { - ValidateConfirmIdpLogin(dialogId); + ValidateClickDialogButton(dialogId, dialogButton); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); + dict.Add("dialogButton", EnumToString(dialogButton)); + return _client.ExecuteDevToolsMethodAsync("FedCm.clickDialogButton", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); From 525e9be8c14f76ae22d6fd9466b038074ec70252 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 2 Mar 2024 12:24:44 +1000 Subject: [PATCH 124/275] Upgrade to 122.1.9+gd14e051+chromium-122.0.6261.94 / Chromium 122.0.6261.94 --- .../CefSharp.BrowserSubprocess.Core.netcore.vcxproj | 2 +- .../CefSharp.BrowserSubprocess.Core.vcxproj | 2 +- CefSharp.BrowserSubprocess.Core/Resource.rc | 8 ++++---- .../packages.CefSharp.BrowserSubprocess.Core.config | 2 +- ...es.CefSharp.BrowserSubprocess.Core.netcore.config | 2 +- CefSharp.BrowserSubprocess/app.manifest | 2 +- .../CefSharp.Core.Runtime.netcore.vcxproj | 2 +- CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj | 2 +- CefSharp.Core.Runtime/Resource.rc | 8 ++++---- .../packages.CefSharp.Core.Runtime.config | 2 +- .../packages.CefSharp.Core.Runtime.netcore.config | 2 +- .../CefSharp.OffScreen.Example.csproj | 2 +- .../CefSharp.OffScreen.Example.netcore.csproj | 2 +- CefSharp.OffScreen.Example/app.manifest | 2 +- CefSharp.Test/CefSharp.Test.csproj | 2 +- CefSharp.Test/CefSharp.Test.netcore.csproj | 2 +- .../CefSharp.WinForms.Example.csproj | 2 +- .../CefSharp.WinForms.Example.netcore.csproj | 2 +- CefSharp.WinForms.Example/app.manifest | 2 +- CefSharp.WinForms/CefSharp.WinForms.netcore.csproj | 4 ++-- CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj | 2 +- .../CefSharp.Wpf.Example.netcore.csproj | 2 +- CefSharp.Wpf.Example/app.manifest | 2 +- CefSharp.shfbproj | 4 ++-- CefSharp/Properties/AssemblyInfo.cs | 4 ++-- NuGet/CefSharp.Common.app.config.x64.transform | 2 +- NuGet/CefSharp.Common.app.config.x86.transform | 2 +- .../PackageReference/CefSharp.Common.NETCore.targets | 12 ++++++------ UpdateNugetPackages.ps1 | 2 +- appveyor.yml | 2 +- build.ps1 | 4 ++-- 31 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 282dae0f7f..52c9c919d4 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index 2841e82c3a..7e81c1745a 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index b26b5cd31a..42e252af26 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 121,3,70 - PRODUCTVERSION 121,3,70 + FILEVERSION 122,1,90 + PRODUCTVERSION 122,1,90 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "121.3.70" + VALUE "FileVersion", "122.1.90" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "121.3.70" + VALUE "ProductVersion", "122.1.90" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index a9ecf0cc94..a72fb82744 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index d7c668fb33..dbb36bb0f6 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 132a37fa2d..a47cca7ce3 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index c593a6ea1b..6c87332ed9 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index cddd4d6c5a..a035bee537 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index a067f7761e..c4403916e3 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 121,3,70 - PRODUCTVERSION 121,3,70 + FILEVERSION 122,1,90 + PRODUCTVERSION 122,1,90 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "121.3.70" + VALUE "FileVersion", "122.1.90" VALUE "LegalCopyright", "Copyright © 2023 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "121.3.70" + VALUE "ProductVersion", "122.1.90" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index a9ecf0cc94..a72fb82744 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index d7c668fb33..dbb36bb0f6 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index ba11c4e2c3..8df4e74989 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index e5bd6f436e..caf4144670 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index 26469ec5b4..041d4e7c7f 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index 2455a32408..c6b1dc1e44 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,7 +35,7 @@ - + diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index 0042db0502..e6401d63c9 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,7 +34,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index bf3bfced45..6647731947 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 5e9aa36c34..0da4a5dc0b 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -39,7 +39,7 @@ - + diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index fc01a3ccf6..d81f54c7da 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj index b01dfd882d..9b540b0a62 100644 --- a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj +++ b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj @@ -57,9 +57,9 @@ - + all - compile;runtime + runtime; compile diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index 2b268f93f8..4d63f07e97 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index a58eec3f69..8d097df4c7 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -40,7 +40,7 @@ - + diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index fefcf77929..b64520e356 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index 156a7ffb52..ce44bbce0e 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 121.3.70 + 122.1.90 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 121.3.70 + Version 122.1.90 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index 4fa6f41ff3..4deccdc0e1 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "121.3.70"; - public const string AssemblyFileVersion = "121.3.70.0"; + public const string AssemblyVersion = "122.1.90"; + public const string AssemblyFileVersion = "122.1.90.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; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 00d858ee82..5e90763505 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index c8f03fa643..6908ff3fc3 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 1c6900b657..48e7e456ee 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 3bc0b7be93..620aa60031 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -3,7 +3,7 @@ param( [Parameter(Position = 1)] - [string] $CefVersion = "121.3.7", + [string] $CefVersion = "122.1.9", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index f4803eed63..a8eba471cf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 121.3.70-CI{build} +version: 122.1.90-CI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index feb63fac8e..6b2cbcf5fb 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,9 +5,9 @@ param( [Parameter(Position = 0)] [string] $Target = "vs2019", [Parameter(Position = 1)] - [string] $Version = "121.3.70", + [string] $Version = "122.1.90", [Parameter(Position = 2)] - [string] $AssemblyVersion = "121.3.70", + [string] $AssemblyVersion = "122.1.90", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetFramework", From 9d52314489444e653d2999d4ffd55d594b7f673e Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 2 Mar 2024 12:29:39 +1000 Subject: [PATCH 125/275] NetCore - Update System.Drawing.Common to 4.7.3 - Stop the dependency bot from complaining. 4.7.0 is only vulnerable on non-windows systems so it wasn't actually a problem as CefSharp only runs on windows --- NuGet/PackageReference/CefSharp.OffScreen.NETCore.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/PackageReference/CefSharp.OffScreen.NETCore.nuspec b/NuGet/PackageReference/CefSharp.OffScreen.NETCore.nuspec index f2f8d6458c..a9ab73ef1f 100644 --- a/NuGet/PackageReference/CefSharp.OffScreen.NETCore.nuspec +++ b/NuGet/PackageReference/CefSharp.OffScreen.NETCore.nuspec @@ -14,7 +14,7 @@ - + From 8d7a169590ea0b7009ce65f69b2f51b7c2fbea74 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Sat, 9 Mar 2024 06:55:27 +1000 Subject: [PATCH 126/275] Change Frame identifier from Int64 to String (#4740) * Change Frame identifier from Int64 to String Issue https://github.com/cefsharp/CefSharp/issues/4737 * Fix SetCanExecuteJavascriptOnMainFrame frameId parsing * Add tests * NetCore Tests - Install missing packages --- .../BindObjectAsyncHandler.h | 4 +- .../CefAppUnmanagedWrapper.cpp | 15 ++++---- .../CefAppUnmanagedWrapper.h | 2 +- .../CefBrowserWrapper.h | 6 +-- .../JavascriptCallbackRegistry.cpp | 2 +- .../Wrapper/Browser.cpp | 16 ++++---- .../Wrapper/Browser.h | 6 +-- .../Wrapper/Frame.cpp | 4 +- .../Wrapper/Frame.h | 4 +- .../Internals/CefBrowserWrapper.cpp | 16 ++++---- .../Internals/CefBrowserWrapper.h | 6 +-- .../Internals/CefFrameWrapper.cpp | 4 +- .../Internals/CefFrameWrapper.h | 4 +- .../Internals/ClientAdapter.cpp | 8 ++-- .../Internals/JavascriptCallbackProxy.cpp | 4 +- .../Internals/JavascriptCallbackProxy.h | 2 +- .../Internals/Serialization/Primitives.cpp | 32 +++++----------- CefSharp.Test/CefSharp.Test.csproj | 2 + CefSharp.Test/CefSharp.Test.netcore.csproj | 2 + .../ConcurrentMethodRunnerQueueTest.cs | 6 +-- .../JavascritpCallbackConversionTests.cs | 30 +++++++++++++++ .../Framework/MethodRunnerQueueTests.cs | 2 +- CefSharp/Handler/FrameHandler.cs | 4 +- CefSharp/IBrowser.cs | 6 +-- CefSharp/IFrame.cs | 5 ++- CefSharp/Internals/IWebBrowserInternal.cs | 2 +- CefSharp/Internals/JavascriptCallback.cs | 37 ++++++++++++++++++- CefSharp/Internals/MethodInvocation.cs | 4 +- CefSharp/Internals/MethodInvocationResult.cs | 2 +- .../Partial/ChromiumWebBrowser.Partial.cs | 30 ++++++++++++--- 30 files changed, 173 insertions(+), 94 deletions(-) create mode 100644 CefSharp.Test/Framework/JavascritpCallbackConversionTests.cs diff --git a/CefSharp.BrowserSubprocess.Core/BindObjectAsyncHandler.h b/CefSharp.BrowserSubprocess.Core/BindObjectAsyncHandler.h index bbe39fe54b..9ece880b2b 100644 --- a/CefSharp.BrowserSubprocess.Core/BindObjectAsyncHandler.h +++ b/CefSharp.BrowserSubprocess.Core/BindObjectAsyncHandler.h @@ -151,14 +151,14 @@ namespace CefSharp auto rootObjectWrappers = _browserWrapper->JavascriptRootObjectWrappers; JavascriptRootObjectWrapper^ rootObject; - if (!rootObjectWrappers->TryGetValue(frame->GetIdentifier(), rootObject)) + if (!rootObjectWrappers->TryGetValue(StringUtils::ToClr(frame->GetIdentifier()), rootObject)) { #ifdef NETCOREAPP rootObject = gcnew JavascriptRootObjectWrapper(browser->GetIdentifier()); #else rootObject = gcnew JavascriptRootObjectWrapper(browser->GetIdentifier(), _browserWrapper->BrowserProcess); #endif - rootObjectWrappers->TryAdd(frame->GetIdentifier(), rootObject); + rootObjectWrappers->TryAdd(StringUtils::ToClr(frame->GetIdentifier()), rootObject); } //Cached objects only contains a list of objects not already bound diff --git a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp index 14e4c66b47..a5807c3778 100644 --- a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp +++ b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp @@ -220,7 +220,7 @@ namespace CefSharp auto rootObjectWrappers = browserWrapper->JavascriptRootObjectWrappers; JavascriptRootObjectWrapper^ wrapper; - if (rootObjectWrappers->TryRemove(frame->GetIdentifier(), wrapper)) + if (rootObjectWrappers->TryRemove(StringUtils::ToClr(frame->GetIdentifier()), wrapper)) { delete wrapper; } @@ -292,7 +292,7 @@ namespace CefSharp frame->SendProcessMessage(CefProcessId::PID_BROWSER, uncaughtExceptionMessage); } - JavascriptRootObjectWrapper^ CefAppUnmanagedWrapper::GetJsRootObjectWrapper(int browserId, int64_t frameId) + JavascriptRootObjectWrapper^ CefAppUnmanagedWrapper::GetJsRootObjectWrapper(int browserId, CefString& frameId) { auto browserWrapper = FindBrowserWrapper(browserId); @@ -302,16 +302,17 @@ namespace CefSharp } auto rootObjectWrappers = browserWrapper->JavascriptRootObjectWrappers; + auto frameIdClr = StringUtils::ToClr(frameId); JavascriptRootObjectWrapper^ rootObject; - if (!rootObjectWrappers->TryGetValue(frameId, rootObject)) + if (!rootObjectWrappers->TryGetValue(frameIdClr, rootObject)) { #ifdef NETCOREAPP rootObject = gcnew JavascriptRootObjectWrapper(browserId); #else rootObject = gcnew JavascriptRootObjectWrapper(browserId, browserWrapper->BrowserProcess); #endif - rootObjectWrappers->TryAdd(frameId, rootObject); + rootObjectWrappers->TryAdd(frameIdClr, rootObject); } return rootObject; @@ -400,7 +401,7 @@ namespace CefSharp } //both messages have callbackId stored at index 0 - auto frameId = frame->GetIdentifier(); + auto frameId = StringUtils::ToClr(frame->GetIdentifier()); int64_t callbackId = GetInt64(argList, 0); if (name == kEvaluateJavascriptRequest) @@ -604,7 +605,7 @@ namespace CefSharp { auto jsCallbackId = GetInt64(argList, 0); JavascriptRootObjectWrapper^ rootObjectWrapper; - browserWrapper->JavascriptRootObjectWrappers->TryGetValue(frame->GetIdentifier(), rootObjectWrapper); + browserWrapper->JavascriptRootObjectWrappers->TryGetValue(StringUtils::ToClr(frame->GetIdentifier()), rootObjectWrapper); if (rootObjectWrapper != nullptr && rootObjectWrapper->CallbackRegistry != nullptr) { rootObjectWrapper->CallbackRegistry->Deregister(jsCallbackId); @@ -712,7 +713,7 @@ namespace CefSharp { if (frame.get() && frame->IsValid()) { - auto frameId = frame->GetIdentifier(); + auto frameId = StringUtils::ToClr(frame->GetIdentifier()); auto callbackId = GetInt64(argList, 0); JavascriptRootObjectWrapper^ rootObjectWrapper; diff --git a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h index 6ef917ec85..38f8da2881 100644 --- a/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.h @@ -72,7 +72,7 @@ namespace CefSharp } CefBrowserWrapper^ FindBrowserWrapper(int browserId); - JavascriptRootObjectWrapper^ GetJsRootObjectWrapper(int browserId, int64_t frameId); + JavascriptRootObjectWrapper^ GetJsRootObjectWrapper(int browserId, CefString& frameId); virtual DECL CefRefPtr GetRenderProcessHandler() override; virtual DECL void OnBrowserCreated(CefRefPtr browser, CefRefPtr extraInfo) override; diff --git a/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h b/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h index aa299d6106..ef9ef6dfb5 100644 --- a/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h +++ b/CefSharp.BrowserSubprocess.Core/CefBrowserWrapper.h @@ -31,7 +31,7 @@ namespace CefSharp internal: //Frame Identifier is used as Key - property ConcurrentDictionary^ JavascriptRootObjectWrappers; + property ConcurrentDictionary^ JavascriptRootObjectWrappers; public: CefBrowserWrapper(CefRefPtr cefBrowser) @@ -40,7 +40,7 @@ namespace CefSharp BrowserId = cefBrowser->GetIdentifier(); IsPopup = cefBrowser->IsPopup(); - JavascriptRootObjectWrappers = gcnew ConcurrentDictionary(); + JavascriptRootObjectWrappers = gcnew ConcurrentDictionary(); } !CefBrowserWrapper() @@ -54,7 +54,7 @@ namespace CefSharp if (JavascriptRootObjectWrappers != nullptr) { - for each (KeyValuePair entry in JavascriptRootObjectWrappers) + for each (KeyValuePair entry in JavascriptRootObjectWrappers) { delete entry.Value; } diff --git a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp index f704532f77..01f6da2326 100644 --- a/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp +++ b/CefSharp.BrowserSubprocess.Core/JavascriptCallbackRegistry.cpp @@ -21,7 +21,7 @@ namespace CefSharp auto result = gcnew JavascriptCallback(); result->Id = newId; result->BrowserId = _browserId; - result->FrameId = context->GetFrame()->GetIdentifier(); + result->FrameId = StringUtils::ToClr(context->GetFrame()->GetIdentifier()); return result; } diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp index 3f1f9852c7..46777df10b 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp @@ -155,9 +155,9 @@ IFrame^ Browser::FocusedFrame::get() // Returns the frame with the specified identifier, or NULL if not found. /// /*--cef(capi_name=get_frame_byident)--*/ -IFrame^ Browser::GetFrame(Int64 identifier) +IFrame^ Browser::GetFrameByIdentifier(String^ identifier) { - auto frame = _browser->GetFrame(identifier); + auto frame = _browser->GetFrameByIdentifier(StringUtils::ToNative(identifier)); if (frame.get()) { @@ -171,9 +171,9 @@ IFrame^ Browser::GetFrame(Int64 identifier) // Returns the frame with the specified name, or NULL if not found. /// /*--cef(optional_param=name)--*/ -IFrame^ Browser::GetFrame(String^ name) +IFrame^ Browser::GetFrameByName(String^ name) { - auto frame = _browser->GetFrame(StringUtils::ToNative(name)); + auto frame = _browser->GetFrameByName(StringUtils::ToNative(name)); if (frame.get()) { @@ -196,14 +196,14 @@ int Browser::GetFrameCount() // Returns the identifiers of all existing frames. /// /*--cef(count_func=identifiers:GetFrameCount)--*/ -List^ Browser::GetFrameIdentifiers() +List^ Browser::GetFrameIdentifiers() { - std::vector identifiers; + std::vector identifiers; _browser->GetFrameIdentifiers(identifiers); - List^ results = gcnew List(static_cast(identifiers.size())); + List^ results = gcnew List(static_cast(identifiers.size())); for (UINT i = 0; i < identifiers.size(); i++) { - results->Add(identifiers[i]); + results->Add(StringUtils::ToClr(identifiers[i])); } return results; } diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h index c58e23f119..64e1b50977 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h @@ -158,13 +158,13 @@ namespace CefSharp // Returns the frame with the specified identifier, or NULL if not found. /// /*--cef(capi_name=get_frame_byident)--*/ - virtual IFrame^ GetFrame(Int64 identifier); + virtual IFrame^ GetFrameByIdentifier(String^ identifier); /// // Returns the frame with the specified name, or NULL if not found. /// /*--cef(optional_param=name)--*/ - virtual IFrame^ GetFrame(String^ name); + virtual IFrame^ GetFrameByName(String^ name); /// // Returns the number of frames that currently exist. @@ -176,7 +176,7 @@ namespace CefSharp // Returns the identifiers of all existing frames. /// /*--cef(count_func=identifiers:GetFrameCount)--*/ - virtual List^ GetFrameIdentifiers(); + virtual List^ GetFrameIdentifiers(); /// // Returns the names of all existing frames. diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp index 09bfb02e4d..c5b1b3c50e 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.cpp @@ -205,9 +205,9 @@ String^ Frame::Name::get() // Returns the globally unique identifier for this frame. /// /*--cef()--*/ -Int64 Frame::Identifier::get() +String^ Frame::Identifier::get() { - return _frame->GetIdentifier(); + return StringUtils::ToClr(_frame->GetIdentifier()); } /// diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h index bae52645ae..b38b767615 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Frame.h @@ -201,9 +201,9 @@ namespace CefSharp // Returns the globally unique identifier for this frame. /// /*--cef()--*/ - virtual property Int64 Identifier + virtual property String^ Identifier { - Int64 get(); + String^ get(); } /// diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp index db2d8023ec..4e89d950d4 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp +++ b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp @@ -192,11 +192,11 @@ IFrame^ CefBrowserWrapper::FocusedFrame::get() // Returns the frame with the specified identifier, or NULL if not found. /// /*--cef(capi_name=get_frame_byident)--*/ -IFrame^ CefBrowserWrapper::GetFrame(Int64 identifier) +IFrame^ CefBrowserWrapper::GetFrameByIdentifier(String^ identifier) { ThrowIfDisposed(); - auto frame = _browser->GetFrame(identifier); + auto frame = _browser->GetFrameByIdentifier(StringUtils::ToNative(identifier)); if (frame.get()) { @@ -210,11 +210,11 @@ IFrame^ CefBrowserWrapper::GetFrame(Int64 identifier) // Returns the frame with the specified name, or NULL if not found. /// /*--cef(optional_param=name)--*/ -IFrame^ CefBrowserWrapper::GetFrame(String^ name) +IFrame^ CefBrowserWrapper::GetFrameByName(String^ name) { ThrowIfDisposed(); - auto frame = _browser->GetFrame(StringUtils::ToNative(name)); + auto frame = _browser->GetFrameByName(StringUtils::ToNative(name)); if (frame.get()) { @@ -238,16 +238,16 @@ int CefBrowserWrapper::GetFrameCount() // Returns the identifiers of all existing frames. /// /*--cef(count_func=identifiers:GetFrameCount)--*/ -List^ CefBrowserWrapper::GetFrameIdentifiers() +List^ CefBrowserWrapper::GetFrameIdentifiers() { ThrowIfDisposed(); - std::vector identifiers; + std::vector identifiers; _browser->GetFrameIdentifiers(identifiers); - List^ results = gcnew List(static_cast(identifiers.size())); + List^ results = gcnew List(static_cast(identifiers.size())); for (UINT i = 0; i < identifiers.size(); i++) { - results->Add(identifiers[i]); + results->Add(StringUtils::ToClr(identifiers[i])); } return results; } diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h index 0d0fd8920a..d89b890b4a 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h +++ b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h @@ -166,13 +166,13 @@ namespace CefSharp // Returns the frame with the specified identifier, or NULL if not found. /// /*--cef(capi_name=get_frame_byident)--*/ - virtual IFrame^ GetFrame(Int64 identifier); + virtual IFrame^ GetFrameByIdentifier(String^ identifier); /// // Returns the frame with the specified name, or NULL if not found. /// /*--cef(optional_param=name)--*/ - virtual IFrame^ GetFrame(String^ name); + virtual IFrame^ GetFrameByName(String^ name); /// // Returns the number of frames that currently exist. @@ -184,7 +184,7 @@ namespace CefSharp // Returns the identifiers of all existing frames. /// /*--cef(count_func=identifiers:GetFrameCount)--*/ - virtual List^ GetFrameIdentifiers(); + virtual List^ GetFrameIdentifiers(); /// // Returns the names of all existing frames. diff --git a/CefSharp.Core.Runtime/Internals/CefFrameWrapper.cpp b/CefSharp.Core.Runtime/Internals/CefFrameWrapper.cpp index 384ed58487..423be8be66 100644 --- a/CefSharp.Core.Runtime/Internals/CefFrameWrapper.cpp +++ b/CefSharp.Core.Runtime/Internals/CefFrameWrapper.cpp @@ -307,11 +307,11 @@ String^ CefFrameWrapper::Name::get() // Returns the globally unique identifier for this frame. /// /*--cef()--*/ -Int64 CefFrameWrapper::Identifier::get() +String^ CefFrameWrapper::Identifier::get() { ThrowIfDisposed(); - return _frame->GetIdentifier(); + return StringUtils::ToClr(_frame->GetIdentifier()); } /// diff --git a/CefSharp.Core.Runtime/Internals/CefFrameWrapper.h b/CefSharp.Core.Runtime/Internals/CefFrameWrapper.h index d588b02dfe..7927e1e0ef 100644 --- a/CefSharp.Core.Runtime/Internals/CefFrameWrapper.h +++ b/CefSharp.Core.Runtime/Internals/CefFrameWrapper.h @@ -202,9 +202,9 @@ namespace CefSharp // Returns the globally unique identifier for this frame. /// /*--cef()--*/ - virtual property Int64 Identifier + virtual property String^ Identifier { - Int64 get(); + String^ get(); } /// diff --git a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp index 724becec90..2816a5185c 100644 --- a/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp +++ b/CefSharp.Core.Runtime/Internals/ClientAdapter.cpp @@ -1351,7 +1351,7 @@ namespace CefSharp { if (frame->IsMain()) { - _browserControl->SetCanExecuteJavascriptOnMainFrame(frame->GetIdentifier(), true); + _browserControl->SetCanExecuteJavascriptOnMainFrame(StringUtils::ToClr(frame->GetIdentifier()), true); } auto handler = _browserControl->RenderProcessMessageHandler; @@ -1375,7 +1375,7 @@ namespace CefSharp { if (frame->IsMain()) { - _browserControl->SetCanExecuteJavascriptOnMainFrame(frame->GetIdentifier(), false); + _browserControl->SetCanExecuteJavascriptOnMainFrame(StringUtils::ToClr(frame->GetIdentifier()), false); } auto handler = _browserControl->RenderProcessMessageHandler; @@ -1513,7 +1513,7 @@ namespace CefSharp return true; } - auto frameId = frame->GetIdentifier(); + auto frameId = StringUtils::ToClr(frame->GetIdentifier()); auto objectId = GetInt64(argList, 0); auto callbackId = GetInt64(argList, 1); auto methodName = StringUtils::ToClr(argList->GetString(2)); @@ -1576,7 +1576,7 @@ namespace CefSharp if (cefBrowser.get()) { - auto frame = cefBrowser->GetFrame(result->FrameId); + auto frame = cefBrowser->GetFrameByIdentifier(StringUtils::ToNative(result->FrameId)); if (frame.get() && frame->IsValid()) { diff --git a/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.cpp b/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.cpp index e1de3f9de7..be8f4d786b 100644 --- a/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.cpp +++ b/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.cpp @@ -47,7 +47,7 @@ namespace CefSharp } argList->SetList(2, paramList); - auto frame = browserWrapper->Browser->GetFrame(_callback->FrameId); + auto frame = browserWrapper->Browser->GetFrameByIdentifier(StringUtils::ToNative(_callback->FrameId)); if (frame.get() && frame->IsValid()) { @@ -126,7 +126,7 @@ namespace CefSharp } //If the frame Id is still valid then we can attemp to execute the callback - auto frame = browser->GetFrame(_callback->FrameId); + auto frame = browser->GetFrameByIdentifier(_callback->FrameId); if (frame == nullptr) { return false; diff --git a/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.h b/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.h index 91ffaf9d05..f32ea790cc 100644 --- a/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.h +++ b/CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.h @@ -48,7 +48,7 @@ namespace CefSharp if (browser != nullptr && !browser->IsDisposed) { auto browserWrapper = static_cast(browser)->Browser; - auto frame = browserWrapper->GetFrame(_callback->FrameId); + auto frame = browserWrapper->GetFrameByIdentifier(StringUtils::ToNative(_callback->FrameId)); if (frame.get() && frame->IsValid()) { frame->SendProcessMessage(CefProcessId::PID_RENDERER, CreateDestroyMessage()); diff --git a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp index 40adb0e076..fc94935ee1 100644 --- a/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp +++ b/CefSharp.Core.Runtime/Internals/Serialization/Primitives.cpp @@ -94,38 +94,26 @@ namespace CefSharp template void SetJsCallback(const CefRefPtr& list, TIndex index, JavascriptCallback^ value) { - auto id = value->Id; - auto browserId = value->BrowserId; - auto frameId = value->FrameId; + auto bytes = value->ToByteArray(static_cast(PrimitiveType::JSCALLBACK)); + pin_ptr bytesPtr = &bytes[0]; - unsigned char mem[1 + sizeof(int) + sizeof(int64_t) + sizeof(int64_t)]; - mem[0] = static_cast(PrimitiveType::JSCALLBACK); - memcpy(reinterpret_cast(mem + 1), &browserId, sizeof(int)); - memcpy(reinterpret_cast(mem + 1 + sizeof(int)), &id, sizeof(int64_t)); - memcpy(reinterpret_cast(mem + 1 + sizeof(int) + sizeof(int64_t)), &frameId, sizeof(int64_t)); - - auto binaryValue = CefBinaryValue::Create(mem, sizeof(mem)); + auto binaryValue = CefBinaryValue::Create(bytesPtr, bytes->Length); list->SetBinary(index, binaryValue); } template JavascriptCallback^ GetJsCallback(const CefRefPtr& list, TIndex index) { - auto result = gcnew JavascriptCallback(); - int64_t id; - int browserId; - int64_t frameId; - auto binaryValue = list->GetBinary(index); - binaryValue->GetData(&browserId, sizeof(int), 1); - binaryValue->GetData(&id, sizeof(int64_t), 1 + sizeof(int)); - binaryValue->GetData(&frameId, sizeof(int64_t), 1 + sizeof(int) + sizeof(int64_t)); + auto bufferSize = (int)binaryValue->GetSize(); + auto buffer = gcnew cli::array(bufferSize); + pin_ptr bufferPtr = &buffer[0]; // pin pointer to first element in arr - result->Id = id; - result->BrowserId = browserId; - result->FrameId = frameId; + //TODO: We can potentially further optimise this by geting binaryValue->GetRawData + // and then reading directly from that + binaryValue->GetData(static_cast(bufferPtr), bufferSize, 0); - return result; + return JavascriptCallback::FromBytes(buffer); } template diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index c6b1dc1e44..6bb37aaaaa 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -35,6 +35,7 @@ + @@ -43,6 +44,7 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index e6401d63c9..083c290c4f 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -34,6 +34,7 @@ + @@ -43,6 +44,7 @@ + diff --git a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs index 4193fbb4e3..79e8082b07 100644 --- a/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs +++ b/CefSharp.Test/Framework/ConcurrentMethodRunnerQueueTest.cs @@ -70,7 +70,7 @@ public void SimulateTaskRunStartOnTaskAlreadyCompleted() [Fact] public void ShouldWorkWhenEnqueueCalledAfterDispose() { - var methodInvocation = new MethodInvocation(1, 1, 1, "Testing", 1); + var methodInvocation = new MethodInvocation(1, "1", 1, "Testing", 1); methodInvocation.Parameters.Add("Echo Me!"); var objectRepository = new JavascriptObjectRepository @@ -102,7 +102,7 @@ public async Task ShouldDisposeWhenRunningWithoutException() #else objectRepository.Register("testObject", boundObject, true, BindingOptions.DefaultBinder); #endif - var methodInvocation = new MethodInvocation(1, 1, 1, nameof(boundObject.AsyncWaitTwoSeconds), 1); + var methodInvocation = new MethodInvocation(1, "1", 1, nameof(boundObject.AsyncWaitTwoSeconds), 1); methodInvocation.Parameters.Add("Echo Me!"); var methodRunnerQueue = new ConcurrentMethodRunnerQueue(objectRepository); @@ -124,7 +124,7 @@ public async Task ShouldCallMethodAsync() var mockObjectRepository = new Mock(); mockObjectRepository.Setup(x => x.TryCallMethodAsync(1, methodName, It.IsAny())).ReturnsAsync(new TryCallMethodResult(true, expected, string.Empty)); - var methodInvocation = new MethodInvocation(1, 1, 1, methodName, 1); + var methodInvocation = new MethodInvocation(1, "1", 1, methodName, 1); methodInvocation.Parameters.Add(expected); using var methodRunnerQueue = new ConcurrentMethodRunnerQueue(mockObjectRepository.Object); diff --git a/CefSharp.Test/Framework/JavascritpCallbackConversionTests.cs b/CefSharp.Test/Framework/JavascritpCallbackConversionTests.cs new file mode 100644 index 0000000000..eaa0594cd0 --- /dev/null +++ b/CefSharp.Test/Framework/JavascritpCallbackConversionTests.cs @@ -0,0 +1,30 @@ +using Bogus; +using Bogus.Extensions; +using CefSharp.Internals; +using Xunit; +using Xunit.Repeat; + +namespace CefSharp.Test.Framework +{ + public class JavascritpCallbackConversionTests + { + [Theory] + [Repeat(1000)] + public void CanConvertToAndFromBinary(int iteration) + { + var calbackFactory = new Faker() + .RuleFor(o => o.Id, f => f.Random.Long(1, long.MaxValue)) + .RuleFor(o => o.BrowserId, f => f.Random.Number(1, int.MaxValue)) + .RuleFor(o => o.FrameId, f => f.Random.AlphaNumeric(120).ClampLength(120, 160)); + + var exepected = calbackFactory.Generate(); + + var actual = JavascriptCallback.FromBytes(exepected.ToByteArray(1)); + + Assert.Equal(exepected.Id, actual.Id); + Assert.Equal(exepected.BrowserId, actual.BrowserId); + Assert.Equal(exepected.FrameId, actual.FrameId); + + } + } +} diff --git a/CefSharp.Test/Framework/MethodRunnerQueueTests.cs b/CefSharp.Test/Framework/MethodRunnerQueueTests.cs index e542fe1e2e..ed0eda88d9 100644 --- a/CefSharp.Test/Framework/MethodRunnerQueueTests.cs +++ b/CefSharp.Test/Framework/MethodRunnerQueueTests.cs @@ -12,7 +12,7 @@ public class MethodRunnerQueueTests [Fact] public void DisposeQueueThenEnqueueMethodInvocation() { - var methodInvocation = new MethodInvocation(1, 1, 1, "Testing", 1); + var methodInvocation = new MethodInvocation(1, "1", 1, "Testing", 1); methodInvocation.Parameters.Add("Echo Me!"); var objectRepository = new JavascriptObjectRepository diff --git a/CefSharp/Handler/FrameHandler.cs b/CefSharp/Handler/FrameHandler.cs index 1af6564777..06409be520 100644 --- a/CefSharp/Handler/FrameHandler.cs +++ b/CefSharp/Handler/FrameHandler.cs @@ -12,7 +12,7 @@ namespace CefSharp.Handler /// public class FrameHandler : IFrameHandler { - private Dictionary frames = new Dictionary(); + private Dictionary frames = new Dictionary(); /// void IFrameHandler.OnFrameAttached(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, bool reattached) @@ -119,7 +119,7 @@ protected virtual void OnMainFrameChanged(IWebBrowser chromiumWebBrowser, IBrows } - private IFrame GetFrameById(long frameId) + private IFrame GetFrameById(string frameId) { if(frames.TryGetValue(frameId, out var frame)) { diff --git a/CefSharp/IBrowser.cs b/CefSharp/IBrowser.cs index 182167667f..de8525db9f 100644 --- a/CefSharp/IBrowser.cs +++ b/CefSharp/IBrowser.cs @@ -113,14 +113,14 @@ public interface IBrowser : IDisposable /// /// identifier /// frame or null - IFrame GetFrame(Int64 identifier); + IFrame GetFrameByIdentifier(string identifier); /// /// Returns the frame with the specified name, or NULL if not found. /// /// name of frame /// frame or null - IFrame GetFrame(string name); + IFrame GetFrameByName(string name); /// /// Returns the number of frames that currently exist. @@ -132,7 +132,7 @@ public interface IBrowser : IDisposable /// Returns the identifiers of all existing frames. /// /// list of frame identifiers - List GetFrameIdentifiers(); + List GetFrameIdentifiers(); /// /// Returns the names of all existing frames. diff --git a/CefSharp/IFrame.cs b/CefSharp/IFrame.cs index 0079aeb354..6757b99c7f 100644 --- a/CefSharp/IFrame.cs +++ b/CefSharp/IFrame.cs @@ -148,9 +148,10 @@ public interface IFrame : IDisposable string Name { get; } /// - /// Returns the globally unique identifier for this frame or < 0 if the underlying frame does not yet exist. + /// Returns the globally unique identifier for this frame or empty if the + /// underlying frame does not yet exist. /// - Int64 Identifier { get; } + string Identifier { get; } /// /// Returns the parent of this frame or NULL if this is the main (top-level) frame. diff --git a/CefSharp/Internals/IWebBrowserInternal.cs b/CefSharp/Internals/IWebBrowserInternal.cs index 483e33e455..75b9edfed4 100644 --- a/CefSharp/Internals/IWebBrowserInternal.cs +++ b/CefSharp/Internals/IWebBrowserInternal.cs @@ -18,7 +18,7 @@ public interface IWebBrowserInternal : IWebBrowser void SetLoadingStateChange(LoadingStateChangedEventArgs args); void SetTitle(TitleChangedEventArgs args); void SetTooltipText(string tooltipText); - void SetCanExecuteJavascriptOnMainFrame(long frameId, bool canExecute); + void SetCanExecuteJavascriptOnMainFrame(string frameId, bool canExecute); void SetJavascriptMessageReceived(JavascriptMessageReceivedEventArgs args); void OnFrameLoadStart(FrameLoadStartEventArgs args); diff --git a/CefSharp/Internals/JavascriptCallback.cs b/CefSharp/Internals/JavascriptCallback.cs index c69c29f56b..326e57e444 100644 --- a/CefSharp/Internals/JavascriptCallback.cs +++ b/CefSharp/Internals/JavascriptCallback.cs @@ -2,6 +2,7 @@ // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. +using System; using System.Runtime.Serialization; namespace CefSharp.Internals @@ -16,6 +17,40 @@ public class JavascriptCallback public int BrowserId { get; set; } [DataMember] - public long FrameId { get; set; } + public string FrameId { get; set; } + + public byte[] ToByteArray(byte primitiveType) + { + var idBytes = BitConverter.GetBytes(Id); + var browserIdBytes = BitConverter.GetBytes(BrowserId); + var frameIdBytes = System.Text.Encoding.ASCII.GetBytes(FrameId); + + var bytes = new byte[1 + idBytes.Length + browserIdBytes.Length + frameIdBytes.Length]; + + bytes[0] = primitiveType; + idBytes.CopyTo(bytes, 1); + browserIdBytes.CopyTo(bytes, 1 + idBytes.Length); + frameIdBytes.CopyTo(bytes, 1 + idBytes.Length + browserIdBytes.Length); + + return bytes; + } + + public static JavascriptCallback FromBytes(byte[] bytes) + { + var primativeType = bytes[0]; + var frameIdLength = bytes.Length - 1 - sizeof(long) - sizeof(int); + var id = BitConverter.ToInt64(bytes, 1); + var browserId = BitConverter.ToInt32(bytes, 1 + sizeof(long)); + var frameId = System.Text.Encoding.ASCII.GetString(bytes, 1 + sizeof(long) + sizeof(int), frameIdLength); + + var callback = new JavascriptCallback + { + Id = id, + BrowserId = browserId, + FrameId = frameId + }; + + return callback; + } } } diff --git a/CefSharp/Internals/MethodInvocation.cs b/CefSharp/Internals/MethodInvocation.cs index 1317c4d323..014a6dfae9 100644 --- a/CefSharp/Internals/MethodInvocation.cs +++ b/CefSharp/Internals/MethodInvocation.cs @@ -12,7 +12,7 @@ public sealed class MethodInvocation public int BrowserId { get; private set; } - public long FrameId { get; private set; } + public string FrameId { get; private set; } public long? CallbackId { get; private set; } @@ -25,7 +25,7 @@ public List Parameters get { return parameters; } } - public MethodInvocation(int browserId, long frameId, long objectId, string methodName, long? callbackId) + public MethodInvocation(int browserId, string frameId, long objectId, string methodName, long? callbackId) { BrowserId = browserId; FrameId = frameId; diff --git a/CefSharp/Internals/MethodInvocationResult.cs b/CefSharp/Internals/MethodInvocationResult.cs index 2c3b69ee9d..58c0345ae9 100644 --- a/CefSharp/Internals/MethodInvocationResult.cs +++ b/CefSharp/Internals/MethodInvocationResult.cs @@ -12,7 +12,7 @@ public sealed class MethodInvocationResult public long? CallbackId { get; set; } - public long FrameId { get; set; } + public string FrameId { get; set; } public string Message { get; set; } diff --git a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs index c9c00ef559..8ba735e317 100644 --- a/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs +++ b/CefSharp/Internals/Partial/ChromiumWebBrowser.Partial.cs @@ -4,6 +4,7 @@ using System; using System.ComponentModel; +using System.Numerics; using System.Threading; using System.Threading.Tasks; using CefSharp.Internals; @@ -30,7 +31,7 @@ public partial class ChromiumWebBrowser /// /// Used as workaround for issue https://github.com/cefsharp/CefSharp/issues/3021 /// - private long canExecuteJavascriptInMainFrameId; + private int canExecuteJavascriptInMainFrameChildProcessId; /// /// The browser initialized - boolean represented as 0 (false) and 1(true) as we use Interlocker to increment/reset @@ -247,7 +248,7 @@ bool IChromiumWebBrowserBase.IsBrowserInitialized get { return InternalIsBrowserInitialized(); } } - void IWebBrowserInternal.SetCanExecuteJavascriptOnMainFrame(long frameId, bool canExecute) + void IWebBrowserInternal.SetCanExecuteJavascriptOnMainFrame(string frameId, bool canExecute) { //When loading pages of a different origin the frameId changes //For the first loading of a new origin the messages from the render process @@ -256,12 +257,14 @@ void IWebBrowserInternal.SetCanExecuteJavascriptOnMainFrame(long frameId, bool c //incorrectly overrides the value //https://github.com/cefsharp/CefSharp/issues/3021 - if (frameId > canExecuteJavascriptInMainFrameId && !canExecute) + var chromiumChildProcessId = GetChromiumChildProcessId(frameId); + + if (chromiumChildProcessId > canExecuteJavascriptInMainFrameChildProcessId && !canExecute) { return; } - canExecuteJavascriptInMainFrameId = frameId; + canExecuteJavascriptInMainFrameChildProcessId = chromiumChildProcessId; CanExecuteJavascriptInMainFrame = canExecute; } @@ -427,7 +430,7 @@ public bool TryGetBrowserCoreById(int browserId, out IBrowser browser) private void InitialLoad(bool? isLoading, CefErrorCode? errorCode) { - if(IsDisposed) + if (IsDisposed) { initialLoadAction = null; @@ -537,5 +540,22 @@ private void ThrowExceptionIfDisposed() throw new ObjectDisposedException("ChromiumWebBrowser"); } } + + private int GetChromiumChildProcessId(string frameIdentifier) + { + try + { + var parts = frameIdentifier.Split('-'); + + if (int.TryParse(parts[0], out var childProcessId)) + return childProcessId; + } + catch + { + + } + + return -1; + } } } From d3e7040ff5205107b4034d36a90bb62c41aaec77 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 12 Mar 2024 06:32:54 +1000 Subject: [PATCH 127/275] Add IBrowser.GetAllFrames --- .../Wrapper/Browser.cpp | 18 ++++++++++++++++++ .../Wrapper/Browser.h | 2 ++ .../Internals/CefBrowserWrapper.cpp | 18 ++++++++++++++++++ .../Internals/CefBrowserWrapper.h | 2 ++ CefSharp/IBrowser.cs | 12 +++++------- 5 files changed, 45 insertions(+), 7 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp index 46777df10b..4e07c1adf4 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.cpp @@ -220,6 +220,24 @@ List^ Browser::GetFrameNames() return StringUtils::ToClr(names); } +IReadOnlyCollection^ Browser::GetAllFrames() +{ + std::vector identifiers; + _browser->GetFrameIdentifiers(identifiers); + + auto results = gcnew List(static_cast(identifiers.size())); + for (UINT i = 0; i < identifiers.size(); i++) + { + auto frame = _browser->GetFrameByIdentifier(identifiers[i]); + + if (frame.get()) + { + results->Add(gcnew Frame(frame)); + } + } + return results; +} + bool Browser::IsDisposed::get() { return _disposed; diff --git a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h index 64e1b50977..a81f3d1359 100644 --- a/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h +++ b/CefSharp.BrowserSubprocess.Core/Wrapper/Browser.h @@ -184,6 +184,8 @@ namespace CefSharp /*--cef()--*/ virtual List^ GetFrameNames(); + virtual IReadOnlyCollection^ GetAllFrames(); + virtual property bool IsDisposed { bool get(); diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp index 4e89d950d4..4d9e2af1bd 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp +++ b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.cpp @@ -266,6 +266,24 @@ List^ CefBrowserWrapper::GetFrameNames() return StringUtils::ToClr(names); } +IReadOnlyCollection^ CefBrowserWrapper::GetAllFrames() +{ + std::vector identifiers; + _browser->GetFrameIdentifiers(identifiers); + + auto results = gcnew List(static_cast(identifiers.size())); + for (UINT i = 0; i < identifiers.size(); i++) + { + auto frame = _browser->GetFrameByIdentifier(identifiers[i]); + + if (frame.get()) + { + results->Add(gcnew CefFrameWrapper(frame)); + } + } + return results; +} + MCefRefPtr CefBrowserWrapper::Browser::get() { return _browser; diff --git a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h index d89b890b4a..e7a1f5c4a4 100644 --- a/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h +++ b/CefSharp.Core.Runtime/Internals/CefBrowserWrapper.h @@ -191,6 +191,8 @@ namespace CefSharp /// /*--cef()--*/ virtual List^ GetFrameNames(); + + virtual IReadOnlyCollection^ GetAllFrames(); }; } } diff --git a/CefSharp/IBrowser.cs b/CefSharp/IBrowser.cs index de8525db9f..ef636127a0 100644 --- a/CefSharp/IBrowser.cs +++ b/CefSharp/IBrowser.cs @@ -145,12 +145,10 @@ public interface IBrowser : IDisposable /// bool IsDisposed { get; } - // - // Send a message to the specified |target_process|. Returns true if the - // message was sent successfully. - // - /*--cef()--*/ - //virtual bool SendProcessMessage(CefProcessId target_process, - // CefRefPtr message) =0; + /// + /// Gets a collection of all the current frames. + /// + /// frames + IReadOnlyCollection