Commit Graph

7 Commits

Author SHA1 Message Date
Alex Maitland a819fc4e4d Test - Add EvaluateScriptAsPromiseAsyncFacts
- Move tests from OffScreenBrowserBasicFacts
- Enable Cef.WaitForBrowsersToClose();
2022-09-19 16:35:45 +10:00
Alex Maitland beca2863a8 Core - Migrate from CefTime to CefBaseTime (CookieManger Tests)
- 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
2022-09-07 10:56:29 +10:00
Alex Maitland 416ed308c2 Core - Migrate from CefTime to CefBaseTime (Execution/Binding)
- Convert more of the methods used by JavaScript binding/execution
- Fix naming of FromDateTimeToBaseTime

Issue #4234
2022-09-06 19:39:43 +10:00
Alex Maitland 48d2619dee Test - Fix failing EvaluateScriptAsyncFacts.CanEvaluateDateValues test
- Cannot currently eval 1970-01-01 as it's converted to MinVal

#4234
2022-09-06 14:28:23 +10:00
Alex Maitland 25e9c2f440 Test - Add EvaluateScriptAsyncFacts.CanEvaluateDateValues
- Add explicit test for dates
2022-09-06 13:07:38 +10:00
campersau 0401cf8abe Test - Fix CanEvaluateDoubleValues by not relying on the current culture (#3966) 2022-01-16 07:37:56 +10:00
Alex Maitland c832f7b7be Core - V8Serialization incorrectly returns negative numbers
- 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
2021-10-27 09:58:31 +10:00