[webkit-changes] [WebKit/WebKit] 6a7216: AX: [Site Isolation] Sites with multiple iframes d...

Joshua Hoffman noreply at github.com
Fri Jan 17 09:47:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a7216919d4bfdc905b392bf2559ebfb8ac4a84c
      https://github.com/WebKit/WebKit/commit/6a7216919d4bfdc905b392bf2559ebfb8ac4a84c
  Author: Joshua Hoffman <jhoffman23 at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h
    M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm
    M Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm

  Log Message:
  -----------
  AX: [Site Isolation] Sites with multiple iframes don't initialize remote frames
https://bugs.webkit.org/show_bug.cgi?id=285951
rdar://142913087

Reviewed by Chris Fleizach.

The LocalFrame is not always the first descendant of the mainFrame's tree. This
is the case, for example, when there are multple remote frames on one page.

We should instead use find the local frame that matches the web page object's
frame identifier.

* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm:
(-[WKAccessibilityWebPageObjectBase remoteLocalFrame]):

Canonical link: https://commits.webkit.org/289066@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list