Marshall Greenblatt
09b4cbd32c
docs: Use README.md as the Doxygen main page (see issue #3384 )
...
Also set FULL_SIDEBAR=NO for consistency with older Doxygen versions where
this option is not supported.
2022-09-05 14:06:23 -04:00
Marshall Greenblatt
8645e88e0e
tools: Add make_cppdocs.sh for Linux/MacOS (see issue #3385 )
...
The make_distrib script will now generate Doxygen docs by default
if the doxygen command-line tool is installed. Run with `--no-docs`
(`--no-distrib-docs` with automate-git.py) to disable docs generation.
2022-09-02 11:27:22 -07:00
Marshall Greenblatt
fa2464e843
cmake: Add a Doxygen target to the binary distribution (fixes issue #3386 )
...
This change also writes a docs/index.html file to provide an easier entry point
for loading the documentation from the docs/html directory.
2022-09-02 13:17:30 -04:00
Marshall Greenblatt
51699e671a
Fix line wrapping in comments (see issue #3384 )
2022-09-02 13:10:09 -04:00
Marshall Greenblatt
14c0f74707
tools: Update make_cppdocs.bat for Doxygen support (see issue #3384 )
2022-09-01 17:21:19 -04:00
Marshall Greenblatt
77582a01b5
tools: Add initial Doxyfile configuration (see issue #3384 )
...
This configuration can be summarized as:
```
$ doxygen.exe -x_noenv
// Difference with default Doxyfile 1.9.5
PROJECT_NAME = "Chromium Embedded Framework (CEF)"
PROJECT_NUMBER = $(PROJECT_NUMBER)
OUTPUT_DIRECTORY = docs
STRIP_FROM_INC_PATH = .
JAVADOC_AUTOBRIEF = YES
PYTHON_DOCSTRING = NO
TAB_SIZE = 2
TYPEDEF_HIDES_STRUCT = YES
EXTRACT_ALL = YES
EXTRACT_STATIC = YES
FORCE_LOCAL_INCLUDES = YES
QUIET = YES
INPUT = include
RECURSIVE = YES
EXCLUDE = include/capi \
include/test \
include/base/internal
EXCLUDE_PATTERNS = *_internal.h
EXCLUDE_SYMBOLS = base::cef_internal \
base::cef_subtle \
base::internal \
cef_trace_event \
cef::logging
STRIP_CODE_COMMENTS = NO
REFERENCES_LINK_SOURCE = NO
VERBATIM_HEADERS = NO
IGNORE_PREFIX = Cef \
cef_
DISABLE_INDEX = YES
GENERATE_TREEVIEW = YES
FULL_SIDEBAR = YES
SEARCHENGINE = NO
GENERATE_LATEX = NO
PREDEFINED = USING_CEF_SHARED \
__cplusplus \
OS_WIN \
OS_LINUX \
CEF_X11 \
OS_MAC
```
2022-09-01 17:20:54 -04:00
Marshall Greenblatt
d7a153bdd4
Update include/ comments to Doxygen formatting (see issue #3384 )
...
See related guidelines in the issue.
2022-09-01 17:14:30 -04:00
Marshall Greenblatt
7b352159df
tools: Update translator tool for Doxygen comment format (see issue #3384 )
...
Comments for translated classes/methods/functions must now take the form:
///
/// ... text ...
///
2022-09-01 17:13:28 -04:00
Marshall Greenblatt
00f34d5e68
cmake: Update supported Xcode to 13.4
2022-08-31 22:06:51 -04:00
Marshall Greenblatt
f8d90a8972
Fix OnReceiveResponse expectations (fixes issue #3380 )
...
OnHeadersReceived may not have been called for cached responses.
2022-08-30 14:20:19 -04:00
Marshall Greenblatt
27d4f1fc97
alloy: Fix crashes related to permissions checks (fixes issue #3379 , fixes issue #3381 )
2022-08-26 12:23:48 -04:00
Marshall Greenblatt
f2206b8dbc
Windows: Enable big PDBs for libcef.dll.pdb in full-symbol builds
...
This fixes official build linker errors like:
lld-link: error: Output data is larger than 4 GiB. File size 4,341,682,176 too large for current PDB page size 4096
lld-link: error: failed to write PDB file ./libcef.dll.pdb
See https://crbug.com/1245726 for background.
2022-08-25 18:53:38 -04:00
Marshall Greenblatt
713297ee04
Windows: Fix unresolved dependencies error on ARM64
2022-08-25 18:33:24 -04:00
Marshall Greenblatt
37aee4d3a0
Improve the timing of OnLoadEnd (fixes issue #3341 )
...
Use WebContentsDelegate::DidFinishLoad instead of a custom Mojo message.
This fixes flaky OnLoadEnd behavior with NavigationTest.Order.
2022-08-25 18:23:33 -04:00
Marshall Greenblatt
5ec6e62656
tests: Fix DOMTest failure with fractional devicePixelRatio
2022-08-25 14:09:20 -04:00
Marshall Greenblatt
bf467e136a
tests: Disable HTTPS server reuse between tests (see issue #3348 )
...
We can't currently reuse the HTTPS server between tests due to
https://crrev.com/dd2a57d753 causing certificate registration issues.
2022-08-25 14:09:20 -04:00
Marshall Greenblatt
e95d1653ac
tests: Fix failures on multiple execution of HSTSRedirectTest.Redirect (see issue #3336 )
2022-08-25 14:09:20 -04:00
Marshall Greenblatt
5dc69c6cdb
alloy: Remove optimization/prediction service usage (see issue #3352 )
...
This service is required by the "PermissionOnDeviceNotificationPredictions"
feature which is enabled by default in https://crbug.com/1350956 . It uses a
Google backend service as described at https://go.dev/solutions/google/chrome .
This change removes the usage of PredictionBasedPermissionUiSelector, which
triggered this dependency, along with related startup complexity that was added
to support the optimization/prediction service in the M106 update.
2022-08-25 14:09:20 -04:00
Marshall Greenblatt
7659dd60ba
Update to Chromium version 106.0.5249.0 ( #1036826 )
2022-08-25 14:09:20 -04:00
Marshall Greenblatt
6d71f5ffd7
Don't reconnect after intentional browser frame detach (see issue #3260 )
...
Send a FrameDetached message from CefFrameHostImpl::Detach before closing
the RenderFrame connection to avoid an immediate reconnect attempt by the
renderer.
When BFCache is disabled the intentionally detached frame will never be
reconnected. When BFCache is enabled the intentionally detached frame will
be reconnected via CefFrameImpl::OnWasShown if/when it exits the cache.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt
2bf3d536ea
Improve logging of frame connection state (see issue #3260 )
...
Run with "--vmodule=frame_*=1 --enable-logging=stderr --no-sandbox" on the
command-line to see these log messages from both the browser and renderer
processes.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt
a7e50dfe7f
Fix same-site calculation for saving cookies from intercepted responses
...
This fixes an issue where authentication cookies from SAML responses were not
being saved.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt
6d98d2c6ed
Fix crashes with PrintToPDF (fixes issue #3373 )
...
- Configure the DPI setting (see https://crrev.com/40e28bcba3 )
- Call StopWorker on the UI thread (see https://crrev.com/564fa1d8a4 )
2022-08-18 12:29:35 -04:00
Marshall Greenblatt
a4b8935427
Add missing newline at end of file
2022-08-16 16:23:27 -04:00
Marshall Greenblatt
7fdbb427bc
alloy: Fix flaky OnDraggableRegionsChanged behavior (fixes issue #3374 )
...
Disable BackForwardCache globally for the Alloy runtime so that
blink::RuntimeEnabledFeatures::BackForwardCacheEnables reports the
correct value in the renderer process.
2022-08-11 17:25:36 -04:00
Marshall Greenblatt
e44f76bbe4
Fix DisplayTest.AutoResize failure
2022-08-11 14:49:54 -04:00
Marshall Greenblatt
f8d10289b5
Fix DOMTest failure related to device scaling
2022-08-11 14:20:23 -04:00
Marshall Greenblatt
8908465546
Fix browser focus assignment on mouse click (fixes issue #3306 )
...
DesktopWindowTreeHostWin ("Chrome_WidgetWin_0") focus needs to be set before
the associated call to WebContents::Focus. In the case of mouse click events,
this means ::SetFocus needs to be called explicitly. See updated comments in
CefBrowserPlatformDelegateNativeWin::SetFocus.
2022-08-10 13:52:42 -04:00
Marshall Greenblatt
0ddb572c03
chrome: Add support for CefRequestHandler::OnCertificateError (see issue #3148 )
2022-08-09 15:43:00 -04:00
Marshall Greenblatt
7ce139bd2c
chrome: cefclient: Fix crash on launch with --enable-chrome-runtime
2022-08-09 15:42:18 -04:00
Marshall Greenblatt
ecb29b7fa5
alloy: Fix OnCertificateError callback for requests redirected to HTTPS (fixes issue #3364 )
...
This change also adds initial unit test coverage for OnCertificateError (see issue #3148 ).
2022-08-09 13:31:18 -04:00
Jelle Bleyaert
3b90a084b4
Linux: Fix Debug build v8_context_snapshot_generator failure (fixes issue #3371 )
2022-08-08 17:13:18 +00:00
Marshall Greenblatt
21d714ab6e
Fix issues with browser focus assignment (fixes issue #3306 , fixes issue #3116 , see issue #3040 )
...
DesktopWindowTreeHostWin ("Chrome_WidgetWin_0") focus needs to be set
synchronously in response to the parent window WM_SETFOCUS message and
before the associated call to WebContents::Focus. See updated comments in
CefBrowserPlatformDelegateNativeWin::SetFocus.
2022-08-05 15:02:27 -04:00
Marshall Greenblatt
9f7a59536c
windows: cefclient: Fix crash when triggering IME popup (see issue #3313 )
2022-08-04 13:18:17 -04:00
Marshall Greenblatt
18dac30874
Support configuration of the CefTestServer certificate type (see issue #3348 )
2022-08-04 12:37:12 -04:00
Marshall Greenblatt
dcd4a0077c
Include net test data in the binary distribution (see issue #3348 )
2022-08-03 16:28:52 -04:00
Marshall Greenblatt
46e1c4f177
ceftests: Add HSTS redirect test (see issue #3336 , see issue #3348 )
2022-08-03 12:14:51 -04:00
Marshall Greenblatt
952f2b0829
ceftests: Rename test_server::Observer::OnHttpRequest to OnTestServerRequest (see issue #3348 )
2022-08-01 21:14:12 -04:00
Marshall Greenblatt
0b1c3938c6
ceftests: Fix CookieTest failure with --use-test-http-server (see issue #3348 )
2022-08-01 21:09:02 -04:00
Marshall Greenblatt
a895274add
ceftests: Add test_server support for CefTestServer (see issue #3348 )
2022-08-01 16:20:04 -04:00
Marshall Greenblatt
f24dd61329
Add CefTestServer that supports both HTTP and HTTPS (see issue #3348 )
2022-08-01 16:20:03 -04:00
Marshall Greenblatt
ce18bb98ab
ceftests: Deprecate the use of test_server constants (see issue #3348 )
2022-08-01 16:20:03 -04:00
Marshall Greenblatt
a4d63010c9
ceftests: Refactor test_server to support both HTTP and HTTPS servers (see issue #3348 )
2022-08-01 16:20:03 -04:00
Marshall Greenblatt
68be2b8938
ceftests: Generalize the test_server::Observer interface (see issue #3348 )
...
Don't expose CefServer implementation details to consumers.
2022-08-01 15:14:13 -04:00
Marshall Greenblatt
8353564d92
Move testonly support for UI input events to libcef_test_support
2022-07-29 20:15:10 -04:00
Marshall Greenblatt
27525523be
Change the 'libcef_static' target type from static_library to source_set
...
Using a source_set here keeps the linker on Windows from discarding exported
compilation units that are not directly called from inside libcef_static.
This may also fix linker errors on Linux due to CEF's use of an intermediate
static library (see https://crbug.com/1319006#c2 ).
2022-07-29 12:21:21 -04:00
Marshall Greenblatt
bbc08e4f5e
Fix minor style issues with request_impl.[cc|h]
2022-07-29 12:14:20 -04:00
Marshall Greenblatt
f148af1bd6
linux: Fix implicit conversion error on ARM [updated] (see https://crbug.com/1292951#c100 )
2022-07-27 14:26:35 -04:00
Marshall Greenblatt
654f570b6e
windows: Fix Views test failures (fixes issue #3365 )
2022-07-27 13:57:53 -04:00
Marshall Greenblatt
a9043f2e80
Replace macros with C++17 features (see issue #3362 )
...
- Convert ALLOW_UNUSED_LOCAL to [[maybe_unused]]
- Convert WARN_UNUSED_RESULT to [[nodiscard]]
2022-07-27 12:52:45 -04:00