Frames

Each frame reports its clicks and typing to this page's log. Other origins come from frame.example.ivjn.us (same site) and browser-test-8kl.pages.dev (another site); the browser needs site access to each host.

FRA-01Same-origin frame

Observe the page, then click the button inside the frame.

ExpectFRA-01 clicked in example.ivjn.us.

FRA-02Cross-origin, same site

A different origin on the same site (ivjn.us), so Chrome keeps it in this page's process. Scripts cannot read it, but the browser's own tools see it like a same-origin frame.

ExpectFRA-02 clicked in frame.example.ivjn.us. Without site access to that host the frame is skipped and the click times out.

FRA-05Cross-site frame

Served from browser-test-8kl.pages.dev, a different site, so Chrome runs it in its own process. This is the case the agent attaches separately.

ExpectFRA-05 clicked in browser-test-8kl.pages.dev; needs site access to that host as well.

FRA-03Nested frames

A same-origin frame that holds a cross-origin frame.

ExpectFRA-03 clicked in frame.example.ivjn.us from the inner button; coordinates must add both frame offsets.

FRA-04srcdoc frame

A frame without its own URL belongs to this page's origin.

ExpectFRA-04 clicked in srcdoc.