mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-14 03:00:52 +01:00
2f1e782f62
Frame identifiers have changed from int64_t to string type. This is due to https://crbug.com/1502660 which removes access to frame routing IDs in the renderer process. New cross-process frame identifiers are 160-bit values (32-bit child process ID + 128-bit local frame token) and most easily represented as strings. All other frame-related expectations and behaviors remain the same.
13 lines
743 B
Diff
13 lines
743 B
Diff
diff --git content/browser/renderer_host/render_frame_host_impl.cc content/browser/renderer_host/render_frame_host_impl.cc
|
|
index 9b37b8a18c5c0..048e70377224c 100644
|
|
--- content/browser/renderer_host/render_frame_host_impl.cc
|
|
+++ content/browser/renderer_host/render_frame_host_impl.cc
|
|
@@ -10278,6 +10278,7 @@ void RenderFrameHostImpl::CommitNavigation(
|
|
auto browser_calc_origin_to_commit =
|
|
navigation_request->GetOriginToCommitWithDebugInfo();
|
|
if (!process_lock.is_error_page() && !is_mhtml_subframe &&
|
|
+ common_params->url.IsStandard() &&
|
|
!policy->CanAccessDataForOrigin(
|
|
GetProcess()->GetID(), browser_calc_origin_to_commit.first.value())) {
|
|
SCOPED_CRASH_KEY_STRING64("CommitNavigation", "lock_url",
|