- JavascriptCallbackRegistry - Get BrowserId From V8Context
- Render Process - Rewrite to store root object wrapper by frame instead of per browser
- Don't store JavascriptRootObjectWrapper in the browserWrapper as CEF is calling destroyed more than it should.
- Revert "Tests - Simplify ShouldFailWhenIsObjectCachedCalledWithInvalidObjectName"
This reverts commit f8a81acf7a.
---------
Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
* Core - Cancel pending tasks when browser crashed or v8 context gets released
* Use TrySetCanceled to cancel pending tasks
* Adjust test to use chrome://crash for simulating a crash
* Add tests for javascript callbacks
* Rename tests and add tests for calling Execute multiple times
* Move FramePendingTaskRepository to its own file
* Rename test to ShouldCancelAfterV8ContextChange
* Fix compile error on .NET Framework
* adjust ShouldTimeoutIfNavigationOccurs test which now throws a TaskCanceledException on navigation
- 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
- Add basic xUnit test
- Don't set Creation/LastAccess on cookie creation, these are set internally in Chromium
and are left uninitialized until the cookie is read back from the browser
I haven't tested though I suspect Cookie.Expiry was incorrectly set when Local/Unspecified DateTime was used
cookies are always in GMT
Issue #4234
- CEF doesn't differentiate between UINT and INT
so we have to do some additional bounds checking
To make sure the correct value is returned
- Add xUnit tests
Issue #3858