[webkit-changes] [WebKit/WebKit] 23ef21: ASSERT traversing frames under WebExtensionContext...

Timothy Hatcher noreply at github.com
Tue Feb 6 09:34:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23ef211d3842b6d030c4f961ddf26a83a27b56ae
      https://github.com/WebKit/WebKit/commit/23ef211d3842b6d030c4f961ddf26a83a27b56ae
  Author: Timothy Hatcher <timothy at apple.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M Source/WebKit/Shared/API/APIFrameHandle.h
    M Source/WebKit/UIProcess/API/APIFrameInfo.cpp
    M Source/WebKit/UIProcess/API/APIFrameTreeNode.h

  Log Message:
  -----------
  ASSERT traversing frames under WebExtensionContext::webNavigationTraverseFrameTreeForFrame.
https://webkit.org/b/268775
rdar://problem/122331877

Reviewed by Alex Christensen.

Add some more ASSERTs to try to catch where these bad frame identifiers are being introduced.

* Source/WebKit/Shared/API/APIFrameHandle.h:
* Source/WebKit/UIProcess/API/APIFrameInfo.cpp:
(API::FrameInfo::FrameInfo):
* Source/WebKit/UIProcess/API/APIFrameTreeNode.h:

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




More information about the webkit-changes mailing list