Commit Graph

760 Commits

Author SHA1 Message Date
amaitland 3eddccddef Upgrade to 150.0.20+ga832838+chromium-150.0.7871.253 / Chromium 150.0.7871.253 2026-09-20 13:31:07 +10:00
amaitland 6887d1987c Upgrade to 150.0.11+gb887805+chromium-150.0.7871.115 / Chromium 150.0.7871.115 2026-07-12 18:01:18 +10:00
amaitland c00744cd5a Upgrade to 149.0.4+g2f1bfd8+chromium-149.0.7827.156 / Chromium 149.0.7827.156 2026-06-20 20:05:15 +10:00
amaitland afb971469b Upgrade to 149.0.2+ged5b3fd+chromium-149.0.7827.53 / Chromium 149.0.7827.53 2026-06-07 08:38:56 +10:00
amaitland 1ec32b9ebf Upgrade to 148.0.9+g0d9d52a+chromium-148.0.7778.180 / Chromium 148.0.7778.180 2026-05-27 19:17:39 +10:00
campersau fd87988c39 Move LegacyBindingEnabled / JavascriptBindingPropertyName to per browser settings (#5231)
* Move LegacyBindingEnabled / JavascriptBindingPropertyName to per browser settings

* Stricter test

---------

Co-authored-by: Alex Maitland <amaitland@users.noreply.github.com>
2026-04-30 21:25:18 +10:00
amaitland 0d97181f04 Upgrade to 147.0.10+gd58e84d+chromium-147.0.7727.118 / Chromium 147.0.7727.118 2026-04-28 21:16:21 +10:00
amaitland 1a9fb91e9d Upgrade to 146.0.10+g8219561+chromium-146.0.7680.179 / Chromium 146.0.7680.179 2026-04-11 08:50:01 +10:00
campersau 00c8aa5449 Allow JavaScript binding when browser wrapper cannot be found (#5229)
* Allow JavaScript binding when browser wrapper cannot be found

* Store JavascriptBindingSettings per Browser and never remove them

This avoids the issue that sometimes browsers are destroyed but then referenced again without them beeing created

* Use dict->Values
2026-04-10 18:00:04 +10:00
amaitland 0b7d85b999 Upgrade to 146.0.7+ga6b143f+chromium-146.0.7680.165 2026-03-26 21:09:12 +10:00
amaitland 017876e092 Upgrade to 146.0.6+g68649e2+chromium-146.0.7680.154 / Chromium 146.0.7680.154 2026-03-25 19:57:43 +10:00
luca-sonntag 00d57a555c Javascript Binding - Finalize JavascriptBindingApiAllowOrigins: Per-browser isolation and origin normalization (#5218)
* Javascript Binding - Add Ability to limit origins

* Move JS binding settings to CefBrowserWrapper and optimize origin validation

* Initialize origins to null

* Normalize allowed origins

* Optimize origin validation

* Add null check for origin compare

* Fix JavaScript Binding API settings for popups

Move the JS binding API configuration block out of the !browser->IsPopup() scope
in OnBrowserCreated. This ensures that IsJavascriptBindingApiAllowed() enforces
configured restrictions for popups as well.

* Fix possible null deref for JavascriptBindingApiAllowOrigins

In IsJavascriptBindingApiAllowed, added a null check for JavascriptBindingApiAllowOrigins
to prevent a potential null dereference if JavascriptBindingApiHasAllowOrigins is true
but the allowOrigins list itself was null.

* Simplify origin normalization and add null check

* Add more test cases

* Refactor IsJavascriptBindingApiAllowed signature

Refactored IsJavascriptBindingApiAllowed to accept a CefBrowserWrapper^ parameter directly, eliminating redundant lookups and improving clarity. Updated all call sites to pass the browser wrapper explicitly.

* Clarify summary for HasJavascriptBindingApiAllowOrigins

Clarify documentation for HasJavascriptBindingApiAllowOrigins method to specify zero or more origins

* Simplify origin comparison logic in CefAppUnmanagedWrapper

Refactored code to directly compare wide string origins using
_wcsicmp, removing unnecessary pointer casts and null checks.
This streamlines the logic and improves readability.

* Add tests for JavaScript binding API behavior across cross-origin navigation

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
Co-authored-by: Luca Sonntag <luca.sonntag@cgm.com>
2026-03-22 07:35:54 +10:00
amaitland 6de821c185 BrowserSubProcess - Disable warnings as errors 2026-02-22 08:12:40 +10:00
amaitland 8fd619c241 Core - Fix CPP compiler warnings 2026-02-22 07:58:30 +10:00
amaitland 43d325bbf3 Upgrade to 145.0.26+g6ed7554+chromium-145.0.7632.110 / Chromium 145.0.7632.110 2026-02-22 07:52:32 +10:00
Alex Maitland 7b9e24db55 Core - Upgrade to stdcpp20 (#5215)
* Core - Upgrade to stdcpp20

- Set NOMINMAX
- Change compiler options
- Fix compiler errors

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
2026-02-21 14:48:13 +10:00
amaitland 1dd444bdf8 Upgrade to 145.0.24+gad514df+chromium-145.0.7632.76 / Chromium 145.0.7632.76 2026-02-17 20:55:10 +10:00
amaitland 8863f1377e Upgrade to 144.0.12+g1a1008c+chromium-144.0.7559.110 2026-01-31 11:56:31 +10:00
amaitland 5eba0488b0 Upgrade to 144.0.11+ge135be2+chromium-144.0.7559.97 / Chromium 144.0.7559.97 2026-01-26 18:56:52 +10:00
amaitland b7e177cd3d Upgrade to 144.0.7+g03bd3db+chromium-144.0.7559.97 / Chromium 144.0.7559.97 2026-01-24 09:04:19 +10:00
amaitland f3127c1ae6 Upgrade to 143.0.9+ge88e818+chromium-143.0.7499.40 / Chromium 143.0.7499.40 2025-12-10 20:43:54 +10:00
Alex Maitland d78d01a2c4 Core - Rewrite RenderProcess to avoid using OnBrowserDestroyed for JS eval (#5197)
- 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>
2025-12-03 19:00:12 +10:00
amaitland d699b6d735 Upgrade to v142.0.15+g6dfdb28+chromium-142.0.7444.176 2025-11-23 12:31:40 +10:00
amaitland cc9ae06f63 Upgrade to 142.0.14+gceaf578+chromium-142.0.7444.163 / Chromium 142.0.7444.163 2025-11-21 18:07:50 +10:00
amaitland f08254da91 Upgrade to 142.0.10+g29548e2+chromium-142.0.7444.135 / Chromium 142.0.7444.135 2025-11-15 17:42:42 +10:00
amaitland ffcb6a58e5 Upgrade to 141.0.11+g7e73ac4+chromium-141.0.7390.123 / Chromium 141.0.7390.123 2025-10-25 06:43:16 +10:00
amaitland ddd714b0b0 Upgrade to 140.1.14+geb1c06e+chromium-140.0.7339.185 / Chromium 140.0.7339.185 2025-09-20 14:49:46 +10:00
amaitland b6fcbab952 Upgrade to 139.0.28+g55ab8a8+chromium-139.0.7258.139 / Chromium 139.0.7258.139 2025-08-23 14:36:09 +10:00
amaitland ccb3dc8cd1 Upgrade to 139.0.23+g34a5b51+chromium-139.0.7258.128 / Chromium 139.0.7258.128 2025-08-16 08:36:11 +10:00
amaitland 633a8cdd3c Upgrade to 138.0.33+g276ed6d+chromium-138.0.7204.169 / Chromium 138.0.7204.169 2025-07-27 09:12:25 +10:00
amaitland 8fb3bf7654 Upgrade to 138.0.17+gac9b751+chromium-138.0.7204.97 / Chromium 138.0.7204.97 2025-07-05 19:42:44 +10:00
Alex Maitland c38d5010a9 NetCore - Upgrade minimum version to 6.0 (#5127)
* NetCore - Upgrade minimum version to 5.0

* Update platform target
* Change to windows 10 specific TFM for top level packages
* Upgrade to .Net 6
* Nuget - Update packages
* Net Core - Fix dotnet test path
* Add Test Sdk and update Runner

---------

Co-authored-by: amaitland <307872+amaitland@users.noreply.github.com>
2025-07-05 13:59:17 +10:00
amaitland f9ef60acf1 Debug - Add User32.lib linker
- Only needed for debug builds
2025-07-01 21:07:06 +10:00
amaitland be795682b5 Upgrade to 138.0.15+gd0f1f64+chromium-138.0.7204.50
- First build to use VS2022 by default
2025-07-01 20:56:20 +10:00
amaitland be96008c21 Upgrade to 137.0.10+g7e14fe1+chromium-137.0.7151.69 / Chromium 137.0.7151.69 2025-06-05 20:54:20 +10:00
amaitland 8fe8810937 Upgrade to 136.1.4+g89c0a8c+chromium-136.0.7103.93 / Chromium 136.0.7103.93 2025-05-11 07:39:44 +10:00
amaitland cfdddd8cba Upgrade to 135.0.17+gcbc1c5b+chromium-135.0.7049.52 / Chromium 135.0.7049.52 2025-04-05 06:19:35 +10:00
AgapovAlexsey 581d0ee6fc Fixed duplicate calls to OnContextCreated (#5073)
* Added a reload button

* Added checks for V8Context
2025-04-04 07:17:23 +10:00
amaitland 0c24c64c69 Upgrade to 134.3.9+g5dc6f2f+chromium-134.0.6998.178 / Chromium 134.0.6998.178 2025-04-04 07:16:26 +10:00
amaitland f54c70fc22 Upgrade to 134.3.6+g96006d1+chromium-134.0.6998.118 / Chromium 134.0.6998.118 2025-03-23 09:34:57 +10:00
amaitland 0399b0c264 Upgrade to 134.3.1+g4de18f0+chromium-134.0.6998.89 / Chromium 134.0.6998.89 2025-03-15 06:39:37 +10:00
amaitland 1be0eec7e7 Upgrade to 133.4.2+g0852ba6+chromium-133.0.6943.127 / Chromium 133.0.6943.127
Upstream build number issues where build number was reset on spotify builder
https://github.com/chromiumembedded/cef/issues/3836#issuecomment-2675167002
2025-02-23 08:12:41 +10:00
amaitland a7a34c2e7e Upgrade to 133.4.5+g0363068+chromium-133.0.6943.99 / Chromium 133.0.6943.99 2025-02-16 07:04:06 +10:00
amaitland 895d80dcc0 Upgrade to 132.3.1+g144febe+chromium-132.0.6834.83 / Chromium 132.0.6834.83 2025-01-24 20:48:32 +10:00
amaitland 607c732527 Upgrade to 131.3.1+gcb062df+chromium-131.0.6778.109 / Chromium 131.0.6778.109 2024-12-07 15:57:29 +10:00
amaitland 633893ae99 Upgrade to 131.2.7+g9a14dc9+chromium-131.0.6778.86 2024-11-23 11:11:10 +10:00
amaitland 2ebad4d768 Upgrade to 131.2.3+g023a05b+chromium-131.0.6778.70 / Chromium 131.0.6778.70
- Add popupId to OnBeforePopup (API not mapped yet)
2024-11-18 06:12:35 +10:00
amaitland c44f56f5af Subprocess - OnBrowserCreated handle extraInfo being null
- Looks like when Chromium creates it's own windows we don't get a reference to the object

Issue #4963
2024-10-26 10:41:31 +10:00
amaitland 0a105f6e6b Upgrade to 130.1.9+gfc42567+chromium-130.0.6723.70 / Chromium 130.0.6723.70 2024-10-26 10:16:12 +10:00
amaitland 2bf6c9312f Upgrade to 129.0.11+g57354b8+chromium-129.0.6668.90 / Chromium 129.0.6668.90 2024-10-04 19:11:28 +10:00