From ea4af69042bfda7c2ec83c843bc423a456408aab Mon Sep 17 00:00:00 2001 From: taoxueao Date: Sat, 19 Oct 2024 18:01:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=89=93=E5=BC=80=E6=B7=98=E5=AE=9D?= =?UTF-8?q?=EF=BC=8C3=E7=A7=92=E5=86=85=E5=BF=85=E7=8E=B0=E5=86=BB?= =?UTF-8?q?=E5=B1=8F=E5=A4=A7=E7=BA=A65s=EF=BC=8C=E5=86=BB=E5=B1=8F?= =?UTF-8?q?=E6=9C=9F=E9=97=B4=E5=AD=98=E5=9C=A8=E6=89=8B=E5=8A=BF=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=86=BB=E5=B1=8F=E7=BB=93=E6=9D=9F=E5=90=8E=E9=97=AA?= =?UTF-8?q?=E9=80=80=EF=BC=8C=E6=9C=89appfreeze=20DIR:SR..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcef/browser/alloy/alloy_content_browser_client.cc | 4 ++++ libcef/browser/alloy/alloy_content_browser_client.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libcef/browser/alloy/alloy_content_browser_client.cc b/libcef/browser/alloy/alloy_content_browser_client.cc index 7ff0edc2a..7d1306585 100644 --- a/libcef/browser/alloy/alloy_content_browser_client.cc +++ b/libcef/browser/alloy/alloy_content_browser_client.cc @@ -3258,4 +3258,8 @@ bool AlloyContentBrowserClient::ShouldOverrideUrlLoading( return true; } + +bool AlloyContentBrowserClient::ShouldIsolateErrorPage(bool in_main_frame) { + return false; +} #endif diff --git a/libcef/browser/alloy/alloy_content_browser_client.h b/libcef/browser/alloy/alloy_content_browser_client.h index b5810cea4..01b21071b 100644 --- a/libcef/browser/alloy/alloy_content_browser_client.h +++ b/libcef/browser/alloy/alloy_content_browser_client.h @@ -399,6 +399,8 @@ CefRefPtr off_the_record_request_context() const; bool is_outermost_main_frame, ui::PageTransition transition, bool* ignore_navigation) override; + + bool AlloyContentBrowserClient::ShouldIsolateErrorPage(bool in_main_frame) override; #endif private: -- Gitee