Commit Graph

2620 Commits

Author SHA1 Message Date
Marshall Greenblatt 4180781f54 alloy: Fix crashes related to permissions checks (fixes issue #3379, fixes issue #3381) 2022-08-26 16:04:32 -04:00
Marshall Greenblatt d80d4671c3 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:40:15 -04:00
Marshall Greenblatt df482f6b12 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:34:05 -04:00
Marshall Greenblatt 46ae630452 Update to Chromium version 104.0.5112.102 2022-08-17 15:37:25 +00:00
Marshall Greenblatt 181df42df2 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:39:13 -04:00
Marshall Greenblatt 69bf4a73da Fix DisplayTest.AutoResize failure 2022-08-11 17:39:07 -04:00
Marshall Greenblatt bdfed81c70 Fix DOMTest failure related to device scaling 2022-08-11 17:39:01 -04:00
Marshall Greenblatt 47dab09c5e 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:39:20 -04:00
Marshall Greenblatt 2587cf23c5 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:25:10 -04:00
Marshall Greenblatt 75c6895fb5 windows: cefclient: Fix crash when triggering IME popup (see issue #3313) 2022-08-05 15:25:04 -04:00
Marshall Greenblatt e4239b9373 Update to Chromium version 104.0.5112.81 2022-08-02 13:39:39 +00:00
Marshall Greenblatt 12fbff866e Update to Chromium version 104.0.5112.65 2022-07-28 14:00:24 +00:00
Marshall Greenblatt 8c9bbb1a73 windows: Fix Views test failures (fixes issue #3365) 2022-07-27 14:24:53 -04:00
Marshall Greenblatt 44748db484 windows: Fix ARM64 v8:run_mksnapshot_default build failure (see https://crbug.com/1344759) 2022-07-21 10:56:24 -04:00
Marshall Greenblatt 269879747d Update to Chromium version 104.0.5112.57 2022-07-21 13:33:42 +00:00
Marshall Greenblatt 43181176cf windows: Fix warning C4267 conversion from 'size_t' to 'int' (see issue #3126) 2022-07-19 10:11:10 -04:00
Marshall Greenblatt 5d82749377 Add missing newline at end of file (see issue #3126) 2022-07-19 10:11:02 -04:00
Nik Pavlov 8c5d64ce83 Fix compilation errors from shared message unit tests (see issue #3126) 2022-07-19 10:10:56 -04:00
Marshall Greenblatt 418ae98476 alloy: win: Focus the browser after dismissal of a modal dialog (fixes issue #3361) 2022-07-15 14:08:12 +03:00
Marshall Greenblatt dac76df7e3 Update to Chromium version 104.0.5112.48 2022-07-14 07:58:07 +00:00
Marshall Greenblatt ca90a945cc Don't copy dbghelp.dll/dbgcore.dll from the Windows SDK (fixes issue #3356) 2022-07-13 13:47:48 +03:00
Marshall Greenblatt 3f98be4c95 Increase frame reconnect timeout to 10 seconds (see issue #3260) 2022-07-13 12:18:16 +03:00
Marshall Greenblatt b195ddd4a8 alloy: Mac: Fix crash related to geolocation permissions (see issue #3352) 2022-07-08 14:45:01 +03:00
Marshall Greenblatt 1724b57845 Update libcef_dll_dylib.cc for compiler deduce types 2022-07-08 14:44:52 +03:00
Sergey Markelov f8ce93ba3c libcef_dll/wrapper: Let the compiler deduce types of func ptr 2022-07-08 14:44:46 +03:00
Marshall Greenblatt 64a5754959 chrome: Add support for OnRequestMediaAccessPermission callback (see issue #2582) 2022-07-08 10:42:36 +03:00
Marshall Greenblatt d9a7422346 Add CefPermissionHandler callbacks for permission prompts (see issue #3352) 2022-07-08 10:42:35 +03:00
Marshall Greenblatt 4a7583d5d3 Update to Chromium version 104.0.5112.39 2022-07-08 07:32:27 +00:00
Nik Pavlov 3dc9464583 Add a shared memory variant of CefProcessMessage (fixes issue #3126)
CefSharedProcessMessageBuilder supports creation of a CefProcessMessage
backed by a CefSharedMemoryRegion.

Performance tests comparing the existing ArgumentList approach and the new
SharedMemoryRegion approach have been added to cefclient at
http://tests/ipc_performance.

CefMessageRouter has been updated to use SharedMemoryRegion as transport
for larger message payloads. The threshold is configurable via
|CefMessageRouterConfig.message_size_threshold|.

To test:
run `ceftests --gtest_filter=SendSharedProcessMessageTest.*:SharedProcessMessageTest.*:MessageRouterTest.Threshold*`
2022-07-04 12:55:03 +03:00
Jelle Bleyaert 608df0a86d Fix duplicate symbol error on MakeVisibleOnScreenRect (fixes issue #3353) 2022-07-01 17:16:27 +03:00
Marshall Greenblatt 521546d6b7 Add OnMediaAccessChange notification (fixes issue #3310) 2022-06-30 16:02:18 +03:00
Nik Pavlov e34e9142ee Use nothrow new when allocating memory for zip file data 2022-06-30 16:02:18 +03:00
Marshall Greenblatt 85bda40d95 Add CefPermissionHandler callback for media access (fixes issue #2582) 2022-06-30 16:02:18 +03:00
Nik Pavlov c05cb73de1 alloy: mac: Fix default popup window positioning (see issue #3244)
Popup windows will be created on the display that best matches the requested
coordinates. The requested size will apply to the content area (as required by
JS documentation) and window size will be reduced if necessary to fit within the
target display. The requested origin will apply to the window (including frame)
and will be modified if necessary so that the window is fully visible on the
target display.

This change does not implement popup positioning for cefclient which uses an
application-created parent window.

This change grants access to the getScreenDetails JS API without user prompt.
2022-06-30 16:02:18 +03:00
Marshall Greenblatt fb71a32356 Update to Chromium version 104.0.5112.29 2022-06-30 07:30:08 +00:00
Marshall Greenblatt 6250f07099 Update to Chromium version 104.0.5112.20 2022-06-29 10:39:50 +00:00
Marshall Greenblatt 1eff0baf94 Windows: Fix AssertBlockingAllowed failure in GetAzureADJoinStateStorage (fixes issue #3342) 2022-06-23 14:00:21 +03:00
Marshall Greenblatt 335922b64d Update to Chromium version 104.0.5112.12 2022-06-23 11:22:04 +03:00
Marshall Greenblatt 95373bb042 Windows: Fix unresolved symbol for cef_sandbox build 2022-06-23 11:20:39 +03:00
Marshall Greenblatt ec8076536e Fix timing issue with OnDraggableRegionsChanged
When bfcache is disabled use the RenderFrameObserver::DidFinishLoad notification
instead of the DidStopLoading notification that originates from the browser
process. During fast navigation the DidStopLoading notification may arrive in
the renderer after a new navigation has commenced and cause the wrong regions to
be reported.
2022-06-22 18:57:52 +03:00
Marshall Greenblatt 100b457743 Windows: Fix time_win.cc compile error with cef_sandbox 2022-06-22 11:17:06 +03:00
Marshall Greenblatt c7ea0c5958 Update to Chromium version 104.0.5112.0 (#1012729)
- Mac: 10.13 is now the minimum required macOS version
2022-06-22 10:56:35 +03:00
Marshall Greenblatt 35654cd709 alloy: Use Chrome JS dialogs on Windows/Linux (fixes issue #3316) 2022-06-03 22:45:23 +03:00
Marshall Greenblatt b5eba89598 cefclient: Linux: Fix OSR context menu placement (see issue #2640)
This only fixes the top-level menu placement. Sub-menus are still
placed incorrectly.
2022-06-03 22:45:10 +03:00
JohnKarel d9b764860a alloy: Add touch handle and quick menu support for OSR (fixes issue #3268)
The client is responsible for rendering both as no default implementation
is currently available for OSR.
2022-05-30 10:51:39 +03:00
Marshall Greenblatt 771e5c7c0c ceftests: Replace unicode characters with encoded equivalent 2022-05-30 10:26:12 +03:00
Marshall Greenblatt 464efb1162 Call OnResourceRedirect for internal network service redirects (fixes issue #3336) 2022-05-25 16:43:30 +03:00
Marshall Greenblatt ee15eca351 ceftests: Minor code cleanup 2022-05-25 16:42:41 +03:00
Marshall Greenblatt cb83a7c3fd Windows: Fix time_win.cc compile error with cef_sandbox 2022-05-23 11:10:44 +03:00
Marshall Greenblatt 332d7f4ee1 patcher: Output actual executable name in error message 2022-05-20 19:39:32 +03:00