Commit Graph

2652 Commits

Author SHA1 Message Date
Marshall Greenblatt
8572709c13 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:29:24 -04:00
Marshall Greenblatt
d436d4719c cmake: Update supported Xcode to 13.4 2022-09-01 17:27:11 -04:00
Marshall Greenblatt
ac2fc3f89c Update to Chromium version 105.0.5195.54 2022-09-01 12:38:59 +00:00
Marshall Greenblatt
fc0dd8cd46 Fix OnReceiveResponse expectations (fixes issue #3380)
OnHeadersReceived may not have been called for cached responses.
2022-08-30 14:22:01 -04:00
Marshall Greenblatt
bfea4e1765 alloy: Fix crashes related to permissions checks (fixes issue #3379, fixes issue #3381) 2022-08-26 12:41:24 -04:00
Marshall Greenblatt
6f1403432c 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-26 10:41:39 -04:00
Marshall Greenblatt
f001926802 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-26 10:40:57 -04:00
Marshall Greenblatt
74be5ffaf6 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-26 10:40:48 -04:00
Marshall Greenblatt
a688a9d295 tests: Fix DOMTest failure with fractional devicePixelRatio 2022-08-25 14:19:26 -04:00
Marshall Greenblatt
c1dce0217d Update to Chromium version 105.0.5195.52 2022-08-25 14:40:47 +00:00
Marshall Greenblatt
8d8b9345f7 tests: Fix failures on multiple execution of HSTSRedirectTest.Redirect (see issue #3336) 2022-08-23 15:50:45 -04:00
Marshall Greenblatt
d464794c13 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:39:30 -04:00
Marshall Greenblatt
75c1a00148 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:30:44 -04:00
Marshall Greenblatt
6a08ff162a Update to Chromium version 105.0.5195.37 2022-08-18 13:09:54 +00:00
Marshall Greenblatt
ffc3a01e3c Add missing newline at end of file 2022-08-16 09:54:33 -04:00
Marshall Greenblatt
b36cea91bf alloy: Fix flaky OnDraggableRegionsChanged behavior (fixes issue #3374)
Disable BackForwardCache globally for the Alloy runtime so that
blink::RuntimeEnabledFeatures::BackForwardCacheEnabled reports the
correct value in the renderer process.
2022-08-11 17:38:18 -04:00
Marshall Greenblatt
1c4fb57342 Fix DisplayTest.AutoResize failure 2022-08-11 17:38:18 -04:00
Marshall Greenblatt
3b4e99fef1 Fix DOMTest failure related to device scaling 2022-08-11 17:38:18 -04:00
Marshall Greenblatt
5f52d3062e Update to Chromium version 105.0.5195.28 2022-08-11 13:55:45 +00:00
Marshall Greenblatt
c9b8f03731 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 14:16:45 -04:00
Marshall Greenblatt
f385ea1ae5 chrome: Add support for CefRequestHandler::OnCertificateError (see issue #3148) 2022-08-09 18:33:53 -04:00
Marshall Greenblatt
7049104e7e 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 18:33:42 -04:00
Marshall Greenblatt
f2c7fd5619 Support configuration of the CefTestServer certificate type (see issue #3348) 2022-08-09 18:33:27 -04:00
Marshall Greenblatt
96e9dbfcc2 Include net test data in the binary distribution (see issue #3348) 2022-08-09 18:33:16 -04:00
Marshall Greenblatt
2247d13da3 ceftests: Add HSTS redirect test (see issue #3336, see issue #3348) 2022-08-09 18:33:08 -04:00
Marshall Greenblatt
b7a6f8b273 ceftests: Rename test_server::Observer::OnHttpRequest to OnTestServerRequest (see issue #3348) 2022-08-09 18:32:58 -04:00
Marshall Greenblatt
01a8a61f10 ceftests: Fix CookieTest failure with --use-test-http-server (see issue #3348) 2022-08-09 18:32:50 -04:00
Marshall Greenblatt
cd60f9821f ceftests: Add test_server support for CefTestServer (see issue #3348) 2022-08-09 18:32:42 -04:00
Marshall Greenblatt
9368185ec8 Add CefTestServer that supports both HTTP and HTTPS (see issue #3348) 2022-08-09 18:32:30 -04:00
Marshall Greenblatt
dd571c3318 ceftests: Deprecate the use of test_server constants (see issue #3348) 2022-08-09 18:32:20 -04:00
Marshall Greenblatt
3269f1cd27 ceftests: Refactor test_server to support both HTTP and HTTPS servers (see issue #3348) 2022-08-09 18:32:10 -04:00
Marshall Greenblatt
c387b274f6 ceftests: Generalize the test_server::Observer interface (see issue #3348)
Don't expose CefServer implementation details to consumers.
2022-08-09 18:31:33 -04:00
Marshall Greenblatt
24b926c142 Move testonly support for UI input events to libcef_test_support 2022-08-09 18:31:18 -04:00
Marshall Greenblatt
3332be3b65 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-08-09 18:31:04 -04:00
Marshall Greenblatt
0321cd3e0a Fix minor style issues with request_impl.[cc|h] 2022-08-09 18:30:56 -04:00
Marshall Greenblatt
7239031ab0 chrome: cefclient: Fix crash on launch with --enable-chrome-runtime 2022-08-09 16:49:59 -04:00
Jelle Bleyaert
07d055ad01 Linux: Fix Debug build v8_context_snapshot_generator failure (fixes issue #3371) 2022-08-08 13:20:39 -04:00
Marshall Greenblatt
6b477065d7 Update to Chromium version 105.0.5195.19 2022-08-08 14:04:16 +00:00
Marshall Greenblatt
08f37697af Fix issues with browser focus assignment (fixes issue #3306, fixes issue #3166, 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:20:35 -04:00
Marshall Greenblatt
5074b14714 windows: cefclient: Fix crash when triggering IME popup (see issue #3313) 2022-08-05 15:20:27 -04:00
Marshall Greenblatt
1bb73c14e4 Update to Chromium version 105.0.5195.8 2022-07-27 15:12:56 -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
Marshall Greenblatt
02d7a758fe linux: Fix implicit conversion error on ARM (see https://crbug.com/1292951#c100) 2022-07-26 13:37:48 -04:00
Marshall Greenblatt
5034749463 patcher: Skip missing platform-specific third-party directories 2022-07-26 13:37:47 -04:00
Marshall Greenblatt
9af494d36c Update to Chromium version 105.0.5195.0 (#1027018) 2022-07-25 23:47:56 -04:00
Marshall Greenblatt
e9f29ab3d6 Update to Chromium version 105.0.5176.0 (#1023155) 2022-07-22 13:31:29 -04:00
Marshall Greenblatt
5e753d211f Run TimeTest.InvalidBaseTimeToTime on Windows only (see issue #2935)
This test is failing on Linux and MacOS.
2022-07-22 13:31:29 -04:00
Marshall Greenblatt
3838536126 windows: Fix warning C4267 conversion from 'size_t' to 'int' (see issue #3126) 2022-07-19 10:09:36 -04:00