mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 05:35:05 +08:00
Even though writing to a frame's document via JS is not considered a navigation by the backend, it can change the information DevTools is showing about a frame in the frame tree. We are adding a new CDP event 'Page.documentOpen' in the backend, which in the frontend triggers the same cascade a frame navigation would. This ensures that ResourceTreeFrame and therefore the frame tree is kept up to date. Design Doc: http://docs/document/d/1l-XzjFMdASjRzX4-vMxOoK-MXoxY5uhCe0GNfDsXeDo Backend CL: https://crrev.com/c/2498482 DISABLE_THIRD_PARTY_CHECK=depedency Bug: chromium:1140540, chromium:1140481 Change-Id: Ieb72c3ef0830aff19964310b1728d218d6da9943 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2519702 Commit-Queue: Wolfgang Beyer <wolfi@chromium.org> Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
7 lines
198 B
HTML
7 lines
198 B
HTML
<!--
|
|
Copyright 2020 The Chromium Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file.
|
|
-->
|
|
<div>I am the iframe</div>
|