RESOLVED FIXED311215
[Site Isolation] window.frameElement cross-origin access does not log "Blocked a frame" console error
https://bugs.webkit.org/show_bug.cgi?id=311215
Summary [Site Isolation] window.frameElement cross-origin access does not log "Blocke...
roberto_rodriguez2
Reported 2026-03-31 12:38:04 PDT
With site isolation and a cross-origin parent frame, LocalDOMWindow::frameElement() returns null because Frame::ownerElement() is in the parent's process. BindingSecurity::shouldAllowAccessToNode() short-circuits on the null target parameter so canAccessTargetOrigin() is never called and the cross-origin console error is never logged.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-31 12:38:25 PDT
roberto_rodriguez2
Comment 2 2026-03-31 12:47:23 PDT
EWS
Comment 3 2026-04-02 16:12:21 PDT
Committed 310476@main (b2630b88dc24): <https://commits.webkit.org/310476@main> Reviewed commits have been landed. Closing PR #61788 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.