mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Fix URL rewrite on new tab navigation (see issue #2969)
This fixes an `Unhandled chrome.send("getApps");` error when creating a new tab. Creating a new tab initially loads chrome://newtab which should then be rewritten to chrome://new-tab-page for normal profiles in HandleNewTabURLRewrite. Failure to rewrite the URL results in the loading of NewTabUI instead of the expected NewTabPageUI. NewTabUI loads different resources for normal vs incognito/guest profiles (new_tab.js vs incognito_tab.js), and new_tab.js calls chrome.send("getApps") via page_list_view.js. This then fails in WebUIImpl::ProcessWebUIMessage because the message is unhandled.
This commit is contained in:
@@ -250,6 +250,10 @@ patches = [
|
||||
# Support override of the User-Agent product component when NetworkService
|
||||
# is enabled.
|
||||
# https://bitbucket.org/chromiumembedded/cef/issues/2622
|
||||
#
|
||||
# Changes to support the Chrome runtime in CEF
|
||||
# (chrome_content_browser_client.cc).
|
||||
# https://bitbucket.org/chromiumembedded/cef/issues/2969
|
||||
'name': 'chrome_browser_product_override',
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user