Marshall Greenblatt
c60d380f39
Fix read of crash reporting env vars
2025-06-03 16:02:44 -04:00
Marshall Greenblatt
31d14c386f
Tag 13800 API version
2025-06-03 14:20:59 -04:00
Marshall Greenblatt
f8a746373e
Update to Chromium version 138.0.7204.0 ( #1465706 )
...
Mac: Require Xcode 16.3 (16E140) and SDK 15.4 (24E241)
2025-06-03 14:20:59 -04:00
Marshall Greenblatt
c5e80eb44a
tests: Remove unused version_info argument (see #3935 )
2025-06-02 13:38:45 -04:00
Marshall Greenblatt
667e23b91c
bootstrap: Support use with older API versions (see #3935 )
2025-06-02 13:23:59 -04:00
Tom Crowley
2c411892e2
ceftests: Add tests for PrintToPdf
2025-05-29 16:55:50 +00:00
Pedro de Carvalho Gomes
6bd53b6093
linux: Fix parenting of select widget on Wayland ( fixes #3937 )
2025-05-29 16:45:12 +00:00
Marshall Greenblatt
b36cb4fe56
bootstrap: Don't explicitly call FreeLibary (see #3935 )
...
This avoids an illegal access during shutdown.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
9ee8d2c848
bootstrap: Add missing deps for bootstrap-only build (see #3935 )
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
794601f128
bootstrap: Pass version to CefScopedLibraryLoader (see #3935 )
...
Strict Chromium version checking is necessary because both sandbox
info and chrome_elf introduce Chromium version dependencies, and we
don't know which non-matching versions are compatible.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
914a6026b4
bootstrap: Depend on //sandbox directly (see #3935 )
...
This allows us to more accurately duplicate the chrome.exe
sandbox initialization logic.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
4d65863278
bootstrap: Only show error dialogs with DCHECK_IS_ON (see #3935 )
...
This will enable error dialogs for the Official CEF "Debug" builds.
2025-05-29 12:29:03 -04:00
Marshall Greenblatt
66457acccc
bootstrap: Initialize crash reporting (see #3935 )
...
This adds a runtime dependency on chrome_elf.dll and makes all
runtime errors LOG(FATAL) to generate a crash report. Don't wait
for libcef to load before running as the crashpad-handler process.
2025-05-29 12:21:55 -04:00
Marshall Greenblatt
1e8093a910
bootstrap: Load client DLL as untrusted for checks (see #3935 )
2025-05-29 12:21:10 -04:00
Marshall Greenblatt
6606e241a1
cefclient: win: Add code signing verification (see #3935 )
...
Move code signing verification code to libcef_dll_wrapper
and add example checks in cefclient.
Load libcef.dll with code signing checks.
Add a CefScopedLibraryLoader variant for Windows.
2025-05-29 12:20:30 -04:00
Marshall Greenblatt
77701dda21
Add cef::logging::ScopedEarlySupport (see #3935 )
...
Supports use of logging macros prior to loading libcef.
2025-05-29 12:19:51 -04:00
Marshall Greenblatt
1244bd34bf
libcef: Fix incorrect sandbox init with --no-sandbox
...
Match the current logic for chrome.exe.
2025-05-29 12:18:25 -04:00
Marshall Greenblatt
85b49df98b
cmake: win: Fix cefclient delayload config (see #3824 )
2025-05-29 12:18:04 -04:00
Marshall Greenblatt
9a115ea48f
Exit early on invalid process type flag (see #3824 )
...
This avoids crashes later during Chromium initialization.
2025-05-20 13:48:48 -04:00
Marshall Greenblatt
ce365d4987
bootstrap: Check code signing certificates (see #3824 )
...
If either the bootstrap executable or the client dll is code signed
then both must be valid (all signatures) and signed with the same
primary certificate. This is a protection against mixing binaries
with different trust levels.
2025-05-20 13:48:48 -04:00
Marshall Greenblatt
4ceedd7f43
patch: Add CEF deps for //components patches (see #3824 )
...
These deps were previously applied to //base via
base_sandbox_2743.patch.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
d009f6e1ee
patch: Remove build.patch (see #3928 )
...
This patch is no longer required after removing cef_sandbox
static linking on macOS.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
79955317be
bazel: mac: Remove cef_sandbox.a linking (see #3928 )
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
880e82f45f
cmake: mac: Remove cef_sandbox.a linking (see #3928 )
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
cfaa10a746
mac: Convert cef_sandbox to a shared library (see #3928 )
...
Replace statically linked cef_sandbox.a with dynamically loaded
libcef_sandbox.dylib. See the SandboxSetup Wiki page for details.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
353b6fb138
build: Remove GN arg is_cef_sandbox_build (see #3824 )
...
This argument is no longer used after removing cef_sandbox patches.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
992b9d3435
patch: Remove sandbox-related //base patches (see #3824 )
...
The //base target is only used by cef_sandbox on Windows (not macOS).
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
6a97b82ffc
distrib: win: Repurpose sandbox distrib for bootstrap executables (see #3824 )
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
dadfe2c8dc
bazel: win: Remove cef_sandbox.lib linking (see #3824 )
...
Support for bootstrap executables will be added later.
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
572c44bc2e
cmake: win: Remove cef_sandbox.lib linking (see #3824 )
...
- Repurpose USE_SANDBOX config to enable the bootstrap.
- Build appname.dll instead of appname.exe.
- Copy bootstrap[c].exe to appname.exe as a post-build step.
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
c302f285c7
patch: Remove Windows-only cef_sandbox patches (see #3824 )
2025-05-16 17:43:11 -04:00
Marshall Greenblatt
adcac2c37c
win: Add bootstrap[c].exe for sandbox integration (see #3824 )
...
Replace cef_sandbox.lib usage with bootstrap executables.
See the SandboxSetup Wiki page for details.
2025-05-16 17:32:34 -04:00
Marshall Greenblatt
7581264dbb
tools: Don't print git errors with fix_style
2025-05-14 13:09:37 -04:00
Marshall Greenblatt
fbb54374d4
distrib: Add --no-format option for faster testing
2025-05-14 13:09:27 -04:00
Marshall Greenblatt
4060fb9c22
bazel: Remove support for angle bracket includes
...
Fixes the following error:
fail: attribute includes: './' resolves to the workspace root,
which would allow this rule and all of its transitive dependents
to include any file in your workspace. Please include only what
you need.
Bazel's recommendation [1] is to use double quotes instead of
angle brackets.
[1] https://bazel.build/docs/bazel-and-cpp#include-paths
2025-05-13 18:51:20 -04:00
Marshall Greenblatt
4634b6f0d5
win: Fix crash loading chrome://sandbox when sandbox is disabled
2025-05-13 18:51:10 -04:00
Marshall Greenblatt
9051920b44
osr: linux: Fix crash with default JS modal dialogs ( fixes #3921 )
2025-05-07 16:10:22 -04:00
Marshall Greenblatt
ad4fa9cf24
Tag 13700 API version
2025-05-07 13:25:44 -04:00
Marshall Greenblatt
8b09ea4324
vscode: Fix cwd for clicking file paths in task output
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
a16513512e
docs: Fix incorrect function name ( fixes #3923 )
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
7944038baf
Update to Chromium version 137.0.7151.0 ( #1453031 )
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
faa85bf980
Support JavaScript window.moveTo/By() and resizeTo/By() ( fixes #698 )
...
Adds new CefDisplayHandler::OnContentsBoundsChange and
CefDisplayHandler::GetRootWindowScreenRect callbacks.
cefclient: Implement the above callbacks and call
CefBrowserHost::NotifyScreenInfoChanged when the root window
bounds change.
cefclient: osr: Use real screen bounds by default. Pass
`--fake-screen-bounds` for the old default behavior.
Load https://tests/window in cefclient for additional
implementation details and usage examples.
2025-05-05 11:53:33 -04:00
Marshall Greenblatt
f59112d839
Tag 13601 API version
2025-04-22 10:23:52 -04:00
Marshall Greenblatt
d5339f1f2a
Fix enum value typos
2025-04-22 10:22:49 -04:00
Marshall Greenblatt
77f2451a5e
Add callback to allow Document PiP moveTo/By() ( fixes #3714 )
...
Allow Document picture-in-picture moveTo/By() and resizeTo/By()
(without user gesture) if the new
CefBrowserViewDelegate::AllowMoveForPictureInPicture callback
returns true.
2025-04-22 14:05:23 +00:00
Marshall Greenblatt
d746017d7c
Tag 13600 API version
2025-04-07 17:42:26 -04:00
Marshall Greenblatt
06288b535e
osr: Avoid crash in WebContentsImpl::GetSize/Resize
2025-04-07 17:11:48 -04:00
Marshall Greenblatt
c0df792f3b
vscode: Fix error running build tasks
...
Running tasks without explicit "cwd" broke in VSCode 1.99.0.
2025-04-07 15:38:21 -04:00
Marshall Greenblatt
68b0feea6d
Fix dangling menu observer on browser destruction
2025-04-07 15:38:21 -04:00
Marshall Greenblatt
e7320793b6
Update to Chromium version 136.0.7103.0 ( #1440670 )
...
- Win: Update to VS 2022 17.13.4 and WinSDK 10.0.26100.3323
2025-04-07 15:38:21 -04:00