[webkit-changes] [WebKit/WebKit] 53a866: Remove the owner element null check in WebFrame::p...

Charlie Wolfe noreply at github.com
Wed Feb 21 10:54:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53a866856e702868d61f205922c1342ad2321e68
      https://github.com/WebKit/WebKit/commit/53a866856e702868d61f205922c1342ad2321e68
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp

  Log Message:
  -----------
  Remove the owner element null check in WebFrame::parentFrame()
https://bugs.webkit.org/show_bug.cgi?id=269829
rdar://123343035

Reviewed by Alex Christensen.

I tried to fix a null pointer crash in 274274 at main with Site Isolation enabled but didn’t remove this
null check. If the parent frame is being hosted in another process the owner element will always be null.

* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::parentFrame const):

Canonical link: https://commits.webkit.org/275113@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