-
Notifications
You must be signed in to change notification settings - Fork 49.6k
Open
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
Description
In ReactFiberPerformanceTrack
it tries to deep read the props in DEV mode, props
may deeply contains cross-origin frame
which will cause SecurityError: Failed to read a named property '$$typeof' from 'Window': Blocked a frame with origin "http://localhost:8080/" from accessing a cross-origin frame.
React version: 19.2.0 (I believe the change is introduced in #30967)
Steps To Reproduce
there are three factors caused this problem
- deep in props there is a reference to host
window
ordocument
object - google reCAPTCHA is in use. it mounts a iframe and inject the iframe reference to
document

The current behavior
Throwing error
The expected behavior
Not to throw error
ericj-canva and fmauri-shippypro
Metadata
Metadata
Assignees
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug