Commit Graph

18 Commits

Author SHA1 Message Date
Alex Maitland 754ec58145 DevTools Client - Update to Chromium 91.0.4472.101
No changes actual API changes.
2021-06-17 12:39:04 +10:00
Alex Maitland c1ef094953 DevTools Client - Fix Net Core build error 2021-06-10 16:17:45 +10:00
Alex Maitland 2f2ab2b9df DevTools Client - Update to Chromium 91.0.4472.77 2021-06-10 10:24:50 +10:00
Alex Maitland 77c112a4ad DevTools Client - Upgrade to 90.6.5+g7a604aa+chromium-90.0.4430.93 / Chromium 90.0.4430.93 2021-05-11 11:57:35 +10:00
campersau fb54f103c4 DevTools Client - Serialize lists of DevToolsDomainEntityBase (#3487) 2021-04-23 16:35:55 +10:00
Alex Maitland 047bf9198b DevTools Client - Update to CHROMIUM 89.0.4389.114 2021-04-05 10:55:04 +10:00
Alex Maitland 3df8a59ac4 DevTools Client - Upgrade to 89.0.4389.72 2021-03-16 15:29:20 +10:00
Alex Maitland 14291d105c DevTools Client - Upgrade to 88.0.4324.182
Only a version number bump, no changes
2021-02-26 13:51:46 +10:00
Alex Maitland 7b76d6ebdf DevTools Client - Add custom mapping for DisabledImageType[]
Newly added type to the protocol
2021-02-26 13:51:04 +10:00
Alex Maitland cd0a1a30d8 DevTools Client - Update generated code to Chromium 88.0.4324.146 2021-02-26 13:51:03 +10:00
Alex Maitland a55858cef4 DevTools Client - Fix multiline xml doc params 2021-01-13 19:32:43 +10:00
Alex Maitland 848413bb2c DevTools Client - Make Message Id globally unique
When attempting to use two DevTools Client instances the message Id
fails validation as it's not incrementing per CefBrowser instance.

This should be made unique per CefBrowser

Issue #3341 has been created to document improving this.
2021-01-08 17:03:24 +10:00
Alex Maitland dcf5b43dc4 Core - Add Net Core DevTools
- Add specific Net Core DevTools generated code
- Improve xml doc generation for both Net 4.x and Net Core/Net 5
2021-01-08 14:26:21 +10:00
Alex Maitland 24f3ee310d DevTools Client - Upgrade to M87 2020-11-17 19:09:35 +10:00
Alex Maitland c48c0feb07 DevTools Client - Update to M86
- Switch to a single generated file, this reduces file size a little which is important for embedding the source in the dll file (Issue #3197)
- Rename domain generated classes to prefix with Client as there was a naming conflict with the latest update.
- Prefix enum property with this qualifier
2020-11-17 18:56:58 +10:00
Alex Maitland abd170c925 Core - DevToolsClient release DevToolsEvent on Dispose
Set DevToolsEvent event to null to prevent memory leaks
2020-10-27 13:58:47 +10:00
amaitland 74e77eb086 Core - Improve DevTools Client xml doc 2020-10-16 19:58:28 +10:00
Alex Maitland 78e32a3b9f Enhancement - Add DevToolsClient (#3229)
* Core - Add DevToolsClient

Issue #3165

* DevTools Client - Add Network domain class

- Add hand written class to get a better sense of how the code should be structured.
- Improve exception handling

* Devtools - First draft of devtools protocol methods (generated)

Not complete yet

* Devtools - Simple method execution working

* DevTools - Add .Net Style cased property names to response objects

- Use internal field and datacontract attributes

* DevTools - Improve mapping

* DevTools - Strongly typed enums

* DevTools Client - Generated from active browser instance (M84)

* Devtools Client - Extract IDevToolsClient interface for testability

Improve xml doc comments

* DevTools Client - Improve error handling

* DevTools Client - Improve enum conversion

* Revert to older c# syntax

* DevTools Client - Fix failing tests

* Devtools Client - Add SetCookie Tests

* DevTools Client - Add Capture SyncContext by default

- Add option to capture the SyncContext
- Add option to provide custom SyncContext (can just pass in UI SyncContext and all continuations will happen there).
- Fix bug in ExecuteDevToolsMethodAsync sending the command twice when exeucted on the CEF UI thread

* Devtools Client - Add missing file reference

The problem with developing with the .Net Core project where files are automatically included is you
forget to include them in the regular csproj file.

* Devtools Client - Add CanCanEmulate Test case

* DevTools Client - Add AddScriptToEvaluateOnNewDocumentAsync test

* DevTools Client - OnDevToolsEvent only parse data if event handler != null

* DevTools Client - GetDevToolsClient remove ThrowExceptionIfDisposed/ThrowExceptionIfBrowserNotInitialized calls

Those methods were removed as the GetBrowser call handles the checks for us.

* DevTools Client - Improve error handling

* DevTools Client - Update xml doc comments

* DevTools Client - Add validation method (partial)

Add ability to manually add validation logic

* DevTools Client - Comment out failing test

Was working when targeting M84, now with M85 it fails.

The mapping appears to be correct, will need to investigate further

* OffScreen Example - Remove test code
2020-09-21 19:32:25 +10:00