mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Use ResetWithReason to report intentional browser side disconnects of existing Mojo connections. Don't retry for those disconnects. - Add set_disconnect_with_reason_and_result_handler in Chromium/Mojo to expose the MojoResult code for failed connections, allowing identification of connections that are intentionally unbound on the browser side. - Optimize initial reconnect delay for known disconnect cases such as navigation-related and bfcache changes. - Remove connection timeout and increase total connection deadline by 100% to further reduce crash rates on slower machines. - Only fail fatally for main frames (not sub-frames) in cases where the connection fails or disconnects for unknown reasons. - Improve connection debug logging when running with `--enable-logging --vmodule=*frame*=1 --log-file=C:\temp\log.txt`
		
			
				
	
	
		
			763 lines
		
	
	
		
			28 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			763 lines
		
	
	
		
			28 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| # Patch configuration file. See the README.txt file in the patch directory for
 | |
| # information on how this configuration is used.
 | |
| #
 | |
| # Each dictionary entry in the "patches" map represents a single patch file.
 | |
| # Supported key/value pairs are as follows:
 | |
| #
 | |
| # - 'name'       Required. The name of the patch file without the .patch
 | |
| #                extension that will be read from the patches subdirectory.
 | |
| # - 'path'       Optional. The repository root for the patch file. Defaults to
 | |
| #                the Chromium "src" root. All patch file contents must be
 | |
| #                relative to this repository root.
 | |
| # - 'condition'  Optional. The patch file will only be applied if an environment
 | |
| #                variable with this name exists.
 | |
| #
 | |
| # Each entry should also include a comment linking to the code review or bug
 | |
| # report that the patch relates to.
 | |
| 
 | |
| patches = [
 | |
|   {
 | |
|     # Necessary for grit integration.
 | |
|     'name': 'gritsettings',
 | |
|   },
 | |
|   {
 | |
|     # Necessary for GN integration.
 | |
|     #
 | |
|     # Exclude the //chrome:packed_resources_locales target from the CEF build
 | |
|     # due to conflicting outputs with the //cef:repack_locales_pack target.
 | |
|     #
 | |
|     # Write environment.* files with the correct SDK version on Windows.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=634788
 | |
|     #
 | |
|     # Windows: Add cc_wrapper support for sccache builds.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2432
 | |
|     #
 | |
|     # Windows: Add GN arg windows_sdk_version.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1420723
 | |
|     'name': 'gn_config',
 | |
|   },
 | |
|   {
 | |
|     # Patches that must be applied after `gclient sync --nohooks` and before
 | |
|     # `gclient runhooks`.
 | |
|     #
 | |
|     # Support custom VS toolchain on Windows.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=623342
 | |
|     'name': 'runhooks',
 | |
|   },
 | |
|   {
 | |
|     # Support component builds (GN is_component_build=true).
 | |
|     # https://github.com/chromiumembedded/cef/issues/1617
 | |
|     'name': 'component_build',
 | |
|   },
 | |
|   {
 | |
|     # Revert change on Windows that removes MessageLoop::os_modal_loop().
 | |
|     # https://codereview.chromium.org/1992243003
 | |
|     #
 | |
|     # Revert change that removes MessageLoopForUI constructor.
 | |
|     # https://chromium-review.googlesource.com/751322
 | |
|     #
 | |
|     # Add MessageLoop::ReleasePump to fix crashes during shutdown with multi-
 | |
|     # threaded message loop mode.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2362
 | |
|     'name': 'message_loop',
 | |
|   },
 | |
|   {
 | |
|     # Add builtin trace event categories for CEF.
 | |
|     # Required due to https://crrev.com/331266377d.
 | |
|     'name': 'trace_event',
 | |
|   },
 | |
|   {
 | |
|     # Enable popups in offscreen rendering on MacOS.
 | |
|     'name': 'webkit_popups',
 | |
|   },
 | |
|   {
 | |
|     # Allow specification of a parent window handle for Widget creation.
 | |
|     # https://github.com/chromiumembedded/cef/issues/180
 | |
|     #
 | |
|     # Fix multiple handling of WM_MOUSEWHEEL messages on Windows.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1481
 | |
|     #
 | |
|     # Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1565
 | |
|     #
 | |
|     # Fix focus/activation handling and keyboard input on Windows and Linux.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1677
 | |
|     # https://github.com/chromiumembedded/cef/issues/1679
 | |
|     # https://github.com/chromiumembedded/cef/issues/1700
 | |
|     # https://github.com/chromiumembedded/cef/issues/3316
 | |
|     #
 | |
|     # Support creation of captionless windows with resizable borders.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1749
 | |
|     #
 | |
|     # Windows: When |params.remove_standard_frame| is true remove WS_CAPTION
 | |
|     # and WS_SYSMENU styles. Otherwise Windows 10 enforces a minimum window
 | |
|     # width of ~116 units that cannot be overridden.
 | |
|     # Linux: Allow creation of activatable menu windows.
 | |
|     # Linux: Support CefWindowDelegate::CanResize restriction by specifying
 | |
|     # min/max Widget size values.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1947
 | |
|     #
 | |
|     # Support configuration of RWHVGuest device scale factor.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2078
 | |
|     #
 | |
|     # Windows: Fix focus assignment when clicking WebView with external parent.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3031
 | |
|     #
 | |
|     # Fix minimize & fullscreen behavior on initial Widget creation.
 | |
|     #
 | |
|     # Allow override of RWHVBase::GetNewScreenInfosForUpdate() which is now
 | |
|     # required due to https://crrev.com/96938eb36e in order to use
 | |
|     # RWHVBase::UpdateScreenInfo() with OSR.
 | |
|     #
 | |
|     # Windows: Fix incorrect DIPToScreenRect usage in DesktopWindowTreeHostWin
 | |
|     # when |has_external_parent_| is true.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3359
 | |
|     #
 | |
|     # chrome: Allow override of Widget::Activate() to support activation of
 | |
|     # DevTools windows with external parent.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3282
 | |
|     #
 | |
|     # mac: Add support for ui::SHOW_STATE_HIDDEN.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3630
 | |
|     #
 | |
|     # win: Delay enablement of native occlusion tracking until the initially-
 | |
|     # minimized window is restored for the first time.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3638
 | |
|     'name': 'views_widget',
 | |
|   },
 | |
|   {
 | |
|     # Allow specification of a custom WebContentsView.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1257
 | |
|     #
 | |
|     # Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1565
 | |
|     #
 | |
|     # Add WebContentsObserver::OnFrameFocused.
 | |
|     #
 | |
|     # Add WebContentsObserver::RenderWidgetCreated.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3308
 | |
|     'name': 'web_contents_1257_1565',
 | |
|   },
 | |
|   {
 | |
|     # Support custom RenderWidgetHostViewOSR for MimeHandlerViewGuest.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1565
 | |
|     # https://github.com/chromiumembedded/cef/issues/2727
 | |
|     'name': 'mime_handler_view_guest_1565_2727',
 | |
|   },
 | |
|   {
 | |
|     # Fix drag&drop of combined text and URL data on Linux/Aura.
 | |
|     # https://codereview.chromium.org/208313009
 | |
|     'name': 'ui_dragdrop_355390',
 | |
|   },
 | |
|   {
 | |
|     # Split content::ContentMain into the separate steps required by CEF.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=654986#c17
 | |
|     #
 | |
|     # Remove DCHECK on Linux when initialized CEF from a non-main thread.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1639
 | |
|     #
 | |
|     # Fix DiscardableSharedMemoryManager crash on shutdown with multi-threaded
 | |
|     # message loop.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2798
 | |
|     'name': 'content_main_654986',
 | |
|   },
 | |
|   {
 | |
|     # Modify views::View to extend SupportsUserData.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1749
 | |
|     #
 | |
|     # Don't add TestDesktopScreenOzone dependency on Linux.
 | |
|     # Reverts ui_controls_factory_desktop_aurax11.cc (now
 | |
|     # ui_controls_factory_desktop_aura_ozone.cc) changes from
 | |
|     # https://codereview.chromium.org/2327623002
 | |
|     #
 | |
|     # Add InkDropHostView::ink_drop_mode method.
 | |
|     # Reverts ink_drop_host_view.h changes from
 | |
|     # https://codereview.chromium.org/2723843002
 | |
|     #
 | |
|     # Add LabelButton::SetFontList method.
 | |
|     # Reverts label_button.[cc|h] changes from
 | |
|     # https://codereview.chromium.org/2801583002
 | |
|     #
 | |
|     # Expose callbacks for mouse/keyboard events that trigger menu switching.
 | |
|     # Add accelerator display support to Label.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2102
 | |
|     #
 | |
|     # Route |parent_widget| to MenuHost for OSR context menu Widget creation.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3330
 | |
|     #
 | |
|     # Make views::View::GetHeightForWidth virtual so that it can be overridden
 | |
|     # by CefViewView. Alternately, we could implement the same functionality
 | |
|     # by removing CefViewDelegate::GetHeightForWidth and adding an optional
 | |
|     # |available_size| argument to CefViewDelegate::GetPreferredSize.
 | |
|     'name': 'views_1749_2102_3330',
 | |
|   },
 | |
|   {
 | |
|     # Support CEF changes in chrome/browser.
 | |
|     'name': 'chrome_browser',
 | |
|   },
 | |
|   {
 | |
|     # Support CEF changes in chrome/renderer.
 | |
|     'name': 'chrome_renderer',
 | |
|   },
 | |
|   {
 | |
|     # Add per-RenderFrame configuration of print preview support.
 | |
|     'name': 'chrome_renderer_print_preview',
 | |
|   },
 | |
|   {
 | |
|     # Changes to support the Chrome runtime in CEF.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     #
 | |
|     # Apply dynamic light/dark theme changes to web content.
 | |
|     # https://issues.chromium.org/issues/332328864#comment3
 | |
|     #
 | |
|     # Pass ui::ResourceBundle::Delegate to InitSharedInstanceWithLocale.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3685
 | |
|     'name': 'chrome_runtime',
 | |
|   },
 | |
|   {
 | |
|     # Changes to support Chrome runtime integration with CEF Views.
 | |
|     # See related documentation in
 | |
|     # libcef/browser/chrome/views/chrome_browser_frame.h.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     'name': 'chrome_runtime_views',
 | |
|   },
 | |
|   {
 | |
|     # Changes to support the Chrome runtime in CEF.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     #
 | |
|     # Fix fatal error: 'components/printing/common/print.mojom.h' file not found
 | |
|     # From chrome/browser/ui/browser_commands.cc via
 | |
|     # chrome/browser/printing/print_view_manager_common.h
 | |
|     #
 | |
|     # Avoid duplicate window from DevTools when CEF handles the open via
 | |
|     # OnOpenURLFromTab.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3735
 | |
|     'name': 'chrome_browser_browser',
 | |
|   },
 | |
|   {
 | |
|     # Remove NOTREACHED() in GetContentSettingFromRulesImpl triggered by
 | |
|     # NavigationTest.LoadCrossOriginLoadURL with the chrome runtime.
 | |
|     'name': 'chrome_browser_content_settings',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Support custom handling of context menus.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     'name': 'chrome_browser_context_menus',
 | |
|   },
 | |
|   {
 | |
|     # Support DevTools windows with Chrome runtime Alloy style OSR.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3681
 | |
|     'name': 'chrome_browser_devtools_osr',
 | |
|   },
 | |
|   {
 | |
|     # Support use of chrome native dialogs with CEF runtimes.
 | |
|     # - Adds support for FileSelectHelper and SelectFileDialog interception.
 | |
|     # - Adds additional type filters for dialogs created via FileSelectHelper.
 | |
|     # - Adds support for chaining PrintingContextLinux callbacks.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3314
 | |
|     'name': 'chrome_browser_dialogs_native',
 | |
|   },
 | |
|   {
 | |
|     # Support use of chrome Widget dialogs with CEF runtimes.
 | |
|     # - Add gfx::AcceleratedWidget dialog parent argument to
 | |
|     #   DialogDelegate::CreateDialogWidget for CEF windowless rendering.
 | |
|     # - Support nullptr gfx::NativeWindow/gfx::NativeView dialog parent for CEF
 | |
|     #   windowless rendering.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3316
 | |
|     #
 | |
|     # Fix NativeWebContentsModalDialogManagerViews::HostChanged to not reparent
 | |
|     # between different root windows.
 | |
|     #
 | |
|     # Fix incorrect movement of parent window when showing modal dialog.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3629
 | |
|     # Partially reverts
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/5006355
 | |
|     'name': 'chrome_browser_dialogs_widget',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Support custom DownloadManagerDelegate handling.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3681
 | |
|     #
 | |
|     # chrome: Allow routing of Download bubble file open to non-Tabbed
 | |
|     # source browser.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3750
 | |
|     'name': 'chrome_browser_download',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Support override of ChromeMimeHandlerViewGuestDelegate.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     #
 | |
|     # chrome: Add minimal support for tabs API with Alloy style browsers.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3681
 | |
|     'name': 'chrome_browser_extensions',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Expose static access to BrowserFrameMac methods.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3462
 | |
|     'name': 'chrome_browser_frame_mac',
 | |
|   },
 | |
|   {
 | |
|     # Support override of CreatePermissionPrompt.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3352
 | |
|     'name': 'chrome_browser_permission_prompt',
 | |
|   },
 | |
|   {
 | |
|     # Support configuration of Chrome policy management.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3581
 | |
|     'name': 'chrome_browser_policy',
 | |
|   },
 | |
|   {
 | |
|     # Support OOP printing with Chrome runtime Alloy style OSR.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3681
 | |
|     'name': 'chrome_browser_printing_oop_osr',
 | |
|   },
 | |
|   {
 | |
|     # Support override of Chrome process singleton behavior.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3609
 | |
|     'name': 'chrome_browser_startup',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Support CEF incognito Profiles that allow Browser creation.
 | |
|     # chrome: Allow CEF to delay OffTheRecordProfileImpl initialization.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     'name': 'chrome_browser_profiles',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Fix assertion when clicking the incognito profile button.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     'name': 'chrome_browser_profile_menu',
 | |
|   },
 | |
|   {
 | |
|     # chrome: Enable logging by default for Release builds.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2969
 | |
|     'name': 'chrome_common_logging',
 | |
|   },
 | |
|   {
 | |
|     # Support override of the User-Agent product component when NetworkService
 | |
|     # is enabled.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2622
 | |
|     'name': 'embedder_product_override',
 | |
|   },
 | |
|   {
 | |
|     # Fix Jumbo/component build dependency issue.
 | |
|     'name': 'chrome_browser_safe_browsing',
 | |
|   },
 | |
|   {
 | |
|     # Support loading of chrome://license via WebUI.
 | |
|     'name': 'chrome_browser_webui_license',
 | |
|   },
 | |
|   {
 | |
|     # Support customization of chrome://version WebUI.
 | |
|     'name': 'chrome_browser_webui_version',
 | |
|   },
 | |
|   {
 | |
|     # Add BrowserPluginGuest::owner_web_contents() method.
 | |
|     'name': 'chrome_plugins',
 | |
|   },
 | |
|   {
 | |
|     # Expose sad tab error strings.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3661
 | |
|     'name': 'chrome_sad_tab_error',
 | |
|   },
 | |
|   {
 | |
|     # Implement breakpad/crashpad customization required by CEF.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1995
 | |
|     'name': 'crashpad_1995',
 | |
|   },
 | |
|   {
 | |
|     # Support customization of crash report pruning limits.
 | |
|     # https://bugs.chromium.org/p/crashpad/issues/detail?id=142
 | |
|     #
 | |
|     # Implement better rate-limiting/retry logic.
 | |
|     # https://bugs.chromium.org/p/crashpad/issues/detail?id=23
 | |
|     'name': 'crashpad_tp_1995',
 | |
|   },
 | |
|   {
 | |
|     # Fix white flash during browser creation.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1984
 | |
|     #
 | |
|     # Windows: Fix crash during window creation.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=761389
 | |
|     'name': 'rwh_background_color_1984',
 | |
|   },
 | |
|   {
 | |
|     # Expose RFH via NavigationHandle for retrieval in DidFinishNavigation on
 | |
|     # network error.
 | |
|     # https://groups.google.com/a/chromium.org/d/msg/chromium-dev/6iAQPx_hwh8/gaTR5f1GAQAJ
 | |
|     #
 | |
|     # Add ContentRendererClient::RenderThreadConnected to fix sync IPC issue.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=728195
 | |
|     #
 | |
|     # Add ContentRendererClient::DevToolsAgent[Attached|Detached] methods.
 | |
|     #
 | |
|     # Always return the Chrome product value for DevTools.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2300
 | |
|     #
 | |
|     # Add new ContentBrowserClient::HandleExternalProtocol variant for use with
 | |
|     # the NetworkService.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2622
 | |
|     #
 | |
|     # Change ContentBrowserClient::ConfigureNetworkContextParams return type to
 | |
|     # bool to support cancellation of NetworkContext creation during shutdown.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2985
 | |
|     #
 | |
|     # Add ContentBrowserClient::CreateWindowResult callback.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3776
 | |
|     'name': 'content_2015',
 | |
|   },
 | |
|   {
 | |
|     # Add ContentRendererClient::DevToolsAgent[Attached|Detached] methods.
 | |
|     'name': 'webkit_plugin_info_2015',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Attach routing IDs to PrintingContext.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2196
 | |
|     'name': 'printing_context_2196',
 | |
|   },
 | |
|   {
 | |
|     # Disable thin archives with cef_sandbox builds.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3674
 | |
|     'name': 'build',
 | |
|   },
 | |
|   {
 | |
|     # macOS: Make the NativeEventProcessor protocol dependency optional.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2539
 | |
|     'name': 'mac_event_observer_2539',
 | |
|   },
 | |
|   {
 | |
|     # macOS: Fix crash when scrolling in OSR mode.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2540
 | |
|     'name': 'mac_fling_scheduler_2540',
 | |
|   },
 | |
|   {
 | |
|     # Allow ResourceBundle creation/destruction on the main thread and usage on
 | |
|     # the UI thread.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2398
 | |
|     'name': 'resource_bundle_2512',
 | |
|   },
 | |
|   {
 | |
|     # macOS: Fix crash when showing a select popup with CefDoMessageLoopWork.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2495
 | |
|     'name': 'message_pump_mac_2495',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Load binaries from DIR_ASSETS.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1936
 | |
|     'name': 'linux_assets_path_1936',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Fix ld.lld: error: relocation R_X86_64_TPOFF32 against
 | |
|     # blink::g_thread_specific_ cannot be used with -shared
 | |
|     # https://groups.google.com/a/chromium.org/g/blink-dev/c/wx0gZFCY3p4/m/iLBHRi0ZAQAJ
 | |
|     'name': 'linux_blink_thread_local',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Avoid usage of chrome::FILE_COMPONENT_WIDEVINE_CDM_HINT.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3149
 | |
|     'name': 'linux_chrome_widevine_3149',
 | |
|   },
 | |
|   {
 | |
|     # Enhancements to NetworkService:
 | |
|     # - Add support for calling CookieMonster::SetCookieableSchemes.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2622
 | |
|     'name': 'services_network_2622',
 | |
|   },
 | |
|   {
 | |
|     # Change ContentBrowserClient::ConfigureNetworkContextParams return type to
 | |
|     # bool to support cancellation of NetworkContext creation during shutdown.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2985
 | |
|     'name': 'services_network_2718',
 | |
|   },
 | |
|   {
 | |
|     # Restore the net::LOAD_DO_NOT_SEND_COOKIES flag to support disabling of
 | |
|     # cookie load/save on a per-request basis.
 | |
|     # Partially reverts the changes from
 | |
|     # https://chromium.googlesource.com/chromium/src/+/25eaa43022
 | |
|     'name': 'net_cookie_flags',
 | |
|   },
 | |
|   {
 | |
|     # Restore WebView::SetResizeBackgroundColor() that was removed.
 | |
|     # http://crrev.com/3955c9f9eb
 | |
|     'name': 'set_resize_background_color',
 | |
|   },
 | |
|   {
 | |
|     # Avoid a shutdown crash with multi-threaded message loop caused by
 | |
|     # |g_browser_task_executor->browser_ui_thread_scheduler_| being null when
 | |
|     # BrowserTaskExecutor::Shutdown is called via CefContext::FinalizeShutdown.
 | |
|     # This crash was introduced by https://crrev.com/5f6212babf.
 | |
|     'name': 'browser_scheduler',
 | |
|   },
 | |
|   {
 | |
|     # Add support for OSR rendering with Viz.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2575
 | |
|     'name': 'viz_osr_2575',
 | |
|   },
 | |
|   {
 | |
|     # Store command-line switch names as lower-case ASCII on all platforms.
 | |
|     # https://github.com/chromiumembedded/cef/issues/1872
 | |
|     'name': 'base_command_line_1872',
 | |
|   },
 | |
|   {
 | |
|     # Remove cef_sandbox dependency on boringssl functions.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2743
 | |
|     #
 | |
|     # Enable the VS 2015 Update 2 fix when building with the MSVC standard
 | |
|     # library.
 | |
|     #
 | |
|     # Avoid usage of std::atomic_flag::test() added in C++20.
 | |
|     # https://github.com/llvm/llvm-project/issues/57364
 | |
|     #
 | |
|     # Avoid usage of PartitionAlloc assertions (PA_BASE_CHECK) in raw_ptr.h.
 | |
|     #
 | |
|     # win: Add SHA256 implementation for Sid::FromNamedCapability using the
 | |
|     # Crypto API.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3791
 | |
|     #
 | |
|     # win: Disable use of Rust for JSON parsing with cef_sandbox.
 | |
|     # Enables the fallback to C++ that was removed in
 | |
|     # https://crrev.com/9ddc1624637c8cfa8ef50a95abd779e0ba4d67f6
 | |
|     'name': 'base_sandbox_2743',
 | |
|   },
 | |
|   {
 | |
|     # Add RenderWidgetHostImpl::SetCompositorForFlingScheduler to fix fling
 | |
|     # scrolling in OSR mode.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2745
 | |
|     #
 | |
|     # Fix crash in RenderWidgetHostImpl::WasHidden when closing OSR browser.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3834
 | |
|     'name': 'osr_fling_2745',
 | |
|   },
 | |
|   {
 | |
|     # Windows: Build targets as C++17 to avoid export of std::is_integral
 | |
|     # templates in cef_sandbox that should be inlined.
 | |
|     # https://github.com/chromiumembedded/cef/issues/2819
 | |
|     'name': 'win_cpp17_msvc_sandbox_2819',
 | |
|   },
 | |
|   {
 | |
|     # libxml access is now limited to targets audited by the Security Team.
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/1884750
 | |
|     'name': 'libxml_visibility',
 | |
|   },
 | |
|   {
 | |
|     # Fix unbound AssociatedRemote error in SetBackgroundOpaque.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1070713
 | |
|     'name': 'renderer_host_1070713',
 | |
|   },
 | |
|   {
 | |
|     # Allow the loading of non-standard non-local WebSafe custom schemes in
 | |
|     # iframes.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1081397#c9
 | |
|     #
 | |
|     # Fix crash in NavigationRequest::GetOriginForURLLoaderFactory() when
 | |
|     # navigating to an unregistered (e.g. non-standard) scheme.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3105
 | |
|     'name': 'browser_security_policy_1081397',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Fix ATK assertion error when generating ARM build config.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1123214
 | |
|     'name': 'linux_atk_1123214',
 | |
|   },
 | |
|   {
 | |
|     # Windows: Fix crash when |sandbox_info| parameter is nullptr.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3210
 | |
|     'name': 'win_sandbox_3210',
 | |
|   },
 | |
|   {
 | |
|     # Windows: Fix MSVC compile error with sandbox target.
 | |
|     # error: static assertion failed due to requirement
 | |
|     # '!is_const_v<const unsigned char>': The C++ Standard forbids
 | |
|     # containers of const elements because allocator<const T> is ill-formed.
 | |
|     'name': 'win_sandbox_policy',
 | |
|   },
 | |
|   {
 | |
|     # Windows: Always use the root window as the owner for shell dialogs.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3294
 | |
|     'name': 'win_shell_dialogs_3294',
 | |
|   },
 | |
|   {
 | |
|     # Linux: Support chaining of PrintingContextLinux callbacks.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3314
 | |
|     # Also reverts the changes from https://crrev.com/db245883e1
 | |
|     'name': 'linux_printing_context',
 | |
|   },
 | |
|   {
 | |
|     # Fix deadlock in EmbeddedTestServer::ShutdownAndWaitUntilComplete.
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/3798752
 | |
|     'name': 'net_test_server_3798752'
 | |
|   },
 | |
|   {
 | |
|     # Linux: Fix "error: use of result of assignment to object of volatile-
 | |
|     # qualified type 'volatile gsize' (aka 'volatile unsigned long') is
 | |
|     # deprecated [-Werror,-Wdeprecated-volatile]" when building with
 | |
|     # use_sysroot=false on Ubuntu 18.04.
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/3960017
 | |
|     'name': 'linux_glib_deprecated_volatile'
 | |
|   },
 | |
|   {
 | |
|     # Restore low-level attribute access from WebElement which was removed in
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/4200240
 | |
|     'name': 'blink_web_element_4200240'
 | |
|   },
 | |
|   {
 | |
|     # Fix ThreadChecker crash on startup with Chrome runtime + multi-threaded
 | |
|     # message loop.
 | |
|     'name': 'metrics_system_profile'
 | |
|   },
 | |
|   {
 | |
|     # macOS: Remove run-time dependency on libtest_trace_processor.dylib
 | |
|     # Reverts the changes from https://crrev.com/8b18bd125d
 | |
|     'name': 'base_test_4396276'
 | |
|   },
 | |
|   {
 | |
|     # Create top-level widget type when Widget::InitParams::child is false.
 | |
|     'name': 'ui_views_widget_type'
 | |
|   },
 | |
|   {
 | |
|     # win/linux: Fix rounding errors with Screen[Win] DIP/pixel conversions.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1443650#c18
 | |
|     'name': 'screen_1443650'
 | |
|   },
 | |
|   {
 | |
|     # mac: Keep bubble popups on-screen.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=893292#c10
 | |
|     'name': 'mac_platform_style_bubble_893292'
 | |
|   },
 | |
|   {
 | |
|     # mac: Fix NOTREACHED with ViewsTextfieldTest.TextfieldKeyEvent.
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1467329
 | |
|     'name': 'mac_keyboard_conversion_1467329'
 | |
|   },
 | |
|   {
 | |
|     # win: Add support for "force-light-mode" command-line option.
 | |
|     # mac: Add support for "force-light-mode" and "force-dark-mode".
 | |
|     # https://github.com/chromiumembedded/cef/issues/3534
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/4766248
 | |
|     'name': 'light_mode_3534'
 | |
|   },
 | |
|   {
 | |
|     # Fix NOTREACHED() in RenderFrameHostImpl::CommitNavigation() with
 | |
|     # CorsTest.IframeNoneServerToCustomUnregisteredScheme.
 | |
|     # Partially reverts the below changes.
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/4829483
 | |
|     # https://bugs.chromium.org/p/chromium/issues/detail?id=1470837#c22
 | |
|     #
 | |
|     # Add ContentBrowserClient::CreateWindowResult callback.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3776
 | |
|     'name': 'rfh_navigation_4829483'
 | |
|   },
 | |
|   {
 | |
|     # Fix Referrer & Origin calculation for secure referrer (custom standard
 | |
|     # scheme) with insecure destination.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3596
 | |
|     'name': 'net_url_request_3596'
 | |
|   },
 | |
|   {
 | |
|     # chrome: win: Fix loading of default app icon.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3606
 | |
|     'name': 'win_app_icon_3606'
 | |
|   },
 | |
|   {
 | |
|     # chrome: mac: Support locale configuration.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3623
 | |
|     #
 | |
|     # mac: Add fallback for unsupported --lang values.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3653
 | |
|     #
 | |
|     # Pass ui::ResourceBundle::Delegate to InitSharedInstanceWithLocale.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3685
 | |
|     'name': 'mac_chrome_locale_3623'
 | |
|   },
 | |
|   {
 | |
|     # chrome: win: Fix taskbar grouping of PiP and DevTools windows.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3641
 | |
|     'name': 'win_taskbar_group_3641'
 | |
|   },
 | |
|   {
 | |
|     # chrome: win: Disable taskbar decoration for PiP and DevTools windows.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3645
 | |
|     'name': 'win_taskbar_decorator_3645'
 | |
|   },
 | |
|   {
 | |
|     # views: Update textfield colors when enabled state changes
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/5399416
 | |
|     'name': 'views_textfield_5399416'
 | |
|   },
 | |
|   {
 | |
|     # views: Add ColorProviderManagerObserver.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3610
 | |
|     'name': 'color_provider_manager_3610'
 | |
|   },
 | |
|   {
 | |
|     # linux: Disable GtkUi with multi-threaded-message-loop to avoid crashes.
 | |
|     # linux: Disable GTK theme change notifications due to performance issues.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3610
 | |
|     # https://issues.chromium.org/issues/40280130#comment7
 | |
|     'name': 'linux_gtk_theme_3610'
 | |
|   },
 | |
|   {
 | |
|     # views: mac: Add customization point to acceptsFirstMouse.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3680
 | |
|     'name': 'mac_render_widget_3680'
 | |
|   },
 | |
|   {
 | |
|     # win: Remove keyed mutex with OSR for better performace and to avoid
 | |
|     # potential vendor driver bugs.
 | |
|     # https://bitbucket.org/chromiumembedded/cef/pull-requests/734
 | |
|     # https://github.com/chromiumembedded/cef/issues/2575
 | |
|     # It is a bit hacky, not suitable for merging into upstream.
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/5302103
 | |
|     'name': 'osr_win_remove_keyed_mutex_2575'
 | |
|   },
 | |
|   {
 | |
|     # Fix dangling raw_ptr errors.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3239
 | |
|     'name': 'raw_ptr_3239'
 | |
|   },
 | |
|   {
 | |
|     # Fix DCHECK(initiator_policy_container_host) failure when running
 | |
|     # RequestContextTest.PopupNavDestroyParentAfterCreationRCGlobal.
 | |
|     # https://issues.chromium.org/issues/323753235#comment11
 | |
|     'name': 'content_initiator_policy_323753235'
 | |
|   },
 | |
|   {
 | |
|     # win: Fix undefined std::_Literal_zero_is_expected() when building
 | |
|     # cef_sandbox with VS 17.9.2 version of MSVC STL.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3708
 | |
|     'name': 'win_sandbox_op3way_3708'
 | |
|   },
 | |
|   {
 | |
|     # Fix ThreadPool DCHECK during startup when using multi-threaded message
 | |
|     # loop. Related to the following CL:
 | |
|     # https://chromium-review.googlesource.com/c/chromium/src/+/5548577
 | |
|     'name': 'base_thread_pool_5548577'
 | |
|   },
 | |
|   {
 | |
|     # Fix DCHECK in SimpleMenuModel::AddSeparator when adding a separator with
 | |
|     # hidden menu items.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3577
 | |
|     'name': 'ui_menu_model_3577'
 | |
|   },
 | |
|   {
 | |
|     # linux: Fix cannot allocate memory in static TLS block in dlopen libcef.so
 | |
|     # https://github.com/chromiumembedded/cef/issues/3616
 | |
|     'name': 'third_party_sentencepiece_3616'
 | |
|   },
 | |
|   {
 | |
|     # linux: Fix error: invalid operands to binary expression.
 | |
|     'name': 'ui_base_x11_util'
 | |
|   },
 | |
|   {
 | |
|     # Add v8_used_in_shared_library GN arg to configure the
 | |
|     # V8_TLS_USED_IN_LIBRARY define.
 | |
|     # https://issues.chromium.org/issues/336738728
 | |
|     'name': 'v8_build',
 | |
|     'path': 'v8'
 | |
|   },
 | |
|   {
 | |
|     # Expose Mojo Connector error state to Receiver disconnect handlers.
 | |
|     # https://github.com/chromiumembedded/cef/issues/3664
 | |
|     'name': 'mojo_connect_result_3664'
 | |
|   }
 | |
| ]
 |