Marshall Greenblatt
25c75c5fc4
Use new PrintViewManagerBase::PrintToPdf method (fixes issue #3377 )
2022-10-14 14:10:30 -04:00
npavlov
485f0b9caf
Add screen pixel to screen DIP conversion methods.
...
On Windows these new CefDisplay methods convert between screen pixel coordinates
and screen DIP coordinates. On macOS and Linux these methods just return a copy
of the input coordinates.
2022-10-14 13:55:07 -04:00
VodBox
fa643b269e
Add support for native creation and resolution of Promises (fixes issue #3305 )
2022-10-11 14:55:12 -04:00
Jelle Bleyaert
e0c878df5f
Add CefResolveURL function (fixes issue #3402 )
2022-10-03 17:46:50 +00:00
Marshall Greenblatt
4d1fd05740
Update to Chromium version 107.0.5304.0 ( #1047731 )
2022-09-29 13:09:35 -04:00
Marshall Greenblatt
7e3b084819
cefclient: Fix infinite loop in FilterMenuModel (fixes issue #3392 )
2022-09-08 12:41:25 -04:00
Czarek Tomczak
9ecd25a93b
linux: cefclient: Fix MESA_GL_VERSION_OVERRIDE env variable name
2022-09-05 20:56:49 +00:00
Marshall Greenblatt
5ea0c141b5
Convert base::size to std::size from C++17 (see issue #3362 )
2022-09-05 16:31:47 -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
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
0ddb572c03
chrome: Add support for CefRequestHandler::OnCertificateError (see issue #3148 )
2022-08-09 15:43:00 -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
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
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
9af494d36c
Update to Chromium version 105.0.5195.0 ( #1027018 )
2022-07-25 23:47:56 -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
Marshall Greenblatt
4aef0ada9d
Add missing newline at end of file (see issue #3126 )
2022-07-19 10:09:35 -04:00
Dmitry Azaraev
27d3089804
Add CefBaseTime and use it instead of CefTime (see issue #2935 )
2022-07-19 10:09:35 -04:00
Nik Pavlov
987b932a19
Fix compilation errors from shared message unit tests (see issue #3126 )
2022-07-19 14:09:10 +00:00
Marshall Greenblatt
ba947d842a
alloy: win: Focus the browser after dismissal of a modal dialog (fixes issue #3361 )
2022-07-15 14:05:58 +03:00
Marshall Greenblatt
f1003df810
chrome: Add support for OnRequestMediaAccessPermission callback (see issue #2582 )
2022-07-08 07:40:35 +00:00
Marshall Greenblatt
e4b9169221
Add CefPermissionHandler callbacks for permission prompts (see issue #3352 )
2022-07-07 10:01:24 +00:00
Nik Pavlov
81e892d19e
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 09:49:15 +00:00
Marshall Greenblatt
daa89115d5
Add OnMediaAccessChange notification (fixes issue #3310 )
2022-06-30 12:22:28 +00:00
Marshall Greenblatt
26e30b3859
Add CefPermissionHandler callback for media access (fixes issue #2582 )
2022-06-30 07:31:18 +00: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
ee15eca351
ceftests: Minor code cleanup
2022-05-25 16:42:41 +03:00
Marshall Greenblatt
7a372a642b
alloy: Use Views context menus on Windows/Linux (fixes issue #3330 )
2022-05-20 14:15:17 +03:00