Skip to content
Commit 9d392f33 authored by keno's avatar keno Committed by Chromium LUCI CQ
Browse files

PreloadingDevTools: Disable prerendering for clients other than DevTools frontend

Prerendering introduced switching of FrameTreeNodes in the browser side
and frame targets in the CDP client side. If a CDP client unaware of
this logic and a prerendered page activated, it will cause unexpected
behaviors. For example, Puppeteer loses control. To mitigate this, this
CL disables prerendering if a target without tab target support is
attached. For more details, see [1].

[1] https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA

Bug: 1440085
Change-Id: I80bf9234b60722112baf21c4fa2ee1f0d0cb3221
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4495911


Reviewed-by: default avatarDanil Somsikov <dsv@chromium.org>
Commit-Queue: Ken Okada <kenoss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1158723}
parent f3cd15d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment