[webkit-changes] [WebKit/WebKit] c2a600: Deprecate injected bundle SPI for frame traversal

Alex Christensen noreply at github.com
Fri Oct 13 12:00:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2a6009aaa7d782400be353201bf78e2b883091e
      https://github.com/WebKit/WebKit/commit/c2a6009aaa7d782400be353201bf78e2b883091e
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M Source/WebKit/Shared/API/c/WKDeprecated.h
    M Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h
    M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFrame.h
    M Tools/TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic_Bundle.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/DOMWindowExtensionNoCache_Bundle.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/DidRemoveFrameFromHiearchyInPageCache_Bundle.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/ParentFrame_Bundle.cpp
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

  Log Message:
  -----------
  Deprecate injected bundle SPI for frame traversal
https://bugs.webkit.org/show_bug.cgi?id=263059
rdar://116845408

Reviewed by Chris Dumez.

All use of this SPI needs to be rethought and implemented in a way that is compatible with site isolation,
where a frame may be in another process so we can't get a pointer to it.

* Source/WebKit/Shared/API/c/WKDeprecated.h:
* Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h:
* Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFrame.h:

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




More information about the webkit-changes mailing list