[webkit-changes] [WebKit/WebKit] 1b510e: Cherry-pick 5fd2411bada8. rdar://problem/101806362

Russell Epstein noreply at github.com
Wed Nov 2 12:44:06 PDT 2022


  Branch: refs/heads/safari-7615.1.12-branch
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b510e316287e115d67ae486555a3d15323daf16
      https://github.com/WebKit/WebKit/commit/1b510e316287e115d67ae486555a3d15323daf16
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in
    M Source/WebKit/Shared/Sandbox/macOS/common.sb
    M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

  Log Message:
  -----------
  Cherry-pick 5fd2411bada8. rdar://problem/101806362

    Remove sandbox v2 telemetry for known entries
    https://bugs.webkit.org/show_bug.cgi?id=247318
    rdar://101806362

    Reviewed by Brent Fulgham.

    Remove sandbox v2 telemetry for entries that are known to be in use on macOS.

    * Source/WebKit/GPUProcess/mac/com.apple.WebKit.GPUProcess.sb.in:
    * Source/WebKit/Shared/Sandbox/macOS/common.sb:
    * Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

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

Canonical link: https://commits.webkit.org/256138.4@safari-7615.1.12-branch


  Commit: 1e144ce5317926899b9dd78e8d97fd71d8287bed
      https://github.com/WebKit/WebKit/commit/1e144ce5317926899b9dd78e8d97fd71d8287bed
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm

  Log Message:
  -----------
  Cherry-pick 193d0064ca5b. rdar://problem/101784403

    REGRESSION (256119 at main, 256136 at main): The News app crashes on launch
    https://bugs.webkit.org/show_bug.cgi?id=247321
    rdar://101784403

    Reviewed by J Pascoe and Tim Horton.

    In Catalyst, the value of `crossSiteTrackingPreventionDisabledDomains` ends up being uninitialized
    when we try to retain it. Fix this by initializing it to `nil`.

    * Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
    (WebKit::WebsiteDataStore::initializeManagedDomains):

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

Canonical link: https://commits.webkit.org/256138.5@safari-7615.1.12-branch


  Commit: 05793c9a2feec35e47e1a4dd44b3fe3a0bc7a138
      https://github.com/WebKit/WebKit/commit/05793c9a2feec35e47e1a4dd44b3fe3a0bc7a138
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Cherry-pick 495019c115fe. rdar://problem/101818726

    REGRESSION (255929 at main): Some Facebook links cannot be opened in Safari
    https://bugs.webkit.org/show_bug.cgi?id=247351
    rdar://101818726

    Reviewed by Tim Horton and John Wilander.

    Guard the new call to `WebFrameProxy::swapToProcess()` (which is currently a no-op) behind the
    experimental `SiteIsolationEnabled` feature flag.

    * Source/WebKit/UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::continueNavigationInNewProcess):

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

Canonical link: https://commits.webkit.org/256138.6@safari-7615.1.12-branch


  Commit: b465d87c98f5931e5237e5061da2edb9ad087ef7
      https://github.com/WebKit/WebKit/commit/b465d87c98f5931e5237e5061da2edb9ad087ef7
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebCore/css/CSSSelector.cpp
    M Source/WebCore/css/CSSSelector.h
    M Source/WebCore/css/SelectorChecker.cpp
    M Source/WebCore/css/SelectorCheckerTestFunctions.h
    M Source/WebCore/css/SelectorPseudoClassAndCompatibilityElementMap.in
    M Source/WebCore/css/fullscreen.css
    M Source/WebCore/cssjit/SelectorCompiler.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp

  Log Message:
  -----------
  Cherry-pick d7bab9d6f7c4. rdar://problem/101600873

    Add temporary backdrop workaround for fullscreen elements
    https://bugs.webkit.org/show_bug.cgi?id=247349
    rdar://101600873

    Reviewed by Tim Horton.

    Removing RenderFullScreen introduced a regression, where content appears behind the fullscreen element.
    RenderFullScreen used to solve that by wrapping the fullscreen element renderer with a renderer that has a black background.

    The standard way of solving this issue is to add a ::backdrop that has such a background. This will be done once fullscreen
    switches to use the top layer.

    For now, add a pseudo-class that targets the parent of the fullscreen element, and use ::before to emulate the ::backdrop.
    We specifically pick the parent, because it is guaranteed to be able to contain children (and ::before), and to avoid conflict
    with any potential ::before on the fullscreen element itself.

    * Source/WebCore/css/CSSSelector.cpp:
    (WebCore::CSSSelector::selectorText const):
    * Source/WebCore/css/CSSSelector.h:
    * Source/WebCore/css/SelectorChecker.cpp:
    (WebCore::SelectorChecker::checkOne const):
    * Source/WebCore/css/SelectorCheckerTestFunctions.h:
    (WebCore::matchesFullScreenParentPseudoClass):
    * Source/WebCore/css/SelectorPseudoClassAndCompatibilityElementMap.in:
    * Source/WebCore/css/fullscreen.css:
    (:-webkit-full-screen-parent::before):
    * Source/WebCore/cssjit/SelectorCompiler.cpp:
    (WebCore::SelectorCompiler::JSC_DEFINE_JIT_OPERATION):
    (WebCore::SelectorCompiler::addPseudoClassType):
    * Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp:

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

Canonical link: https://commits.webkit.org/256138.7@safari-7615.1.12-branch


  Commit: 04db26a2986147ce010e65b1f0b664e785d271e5
      https://github.com/WebKit/WebKit/commit/04db26a2986147ce010e65b1f0b664e785d271e5
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp

  Log Message:
  -----------
  Cherry-pick b4153dffcbf5. rdar://problem/101600873

    Undo unrelated change that added an unneeded include
    https://bugs.webkit.org/show_bug.cgi?id=247349
    rdar://101600873

    Unreviewed follow up.

    * Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp:

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

Canonical link: https://commits.webkit.org/256138.8@safari-7615.1.12-branch


  Commit: ee83b3583c14bc34d39a9acc18467730a99cf03f
      https://github.com/WebKit/WebKit/commit/ee83b3583c14bc34d39a9acc18467730a99cf03f
  Author: Russell Epstein <repstein at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebCore/workers/service/ServiceWorkerRegistrationKey.cpp
    M Source/WebCore/workers/service/ServiceWorkerRegistrationKey.h
    M Source/WebCore/workers/service/server/SWServer.cpp
    M Source/WebCore/workers/service/server/SWServer.h
    M Source/WebCore/workers/service/server/SWServerWorker.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.h
    M Source/WebKit/NetworkProcess/NetworkSession.cpp
    M Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServer.cpp
    M Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServer.h
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.h
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.messages.in
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M Source/WebKit/UIProcess/WebProcessPool.h
    M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp

  Log Message:
  -----------
  Revert 45729b130aab. rdar://problem/101788379

Canonical link: https://commits.webkit.org/256138.9@safari-7615.1.12-branch


Compare: https://github.com/WebKit/WebKit/compare/6e82aa01613e...ee83b3583c14


More information about the webkit-changes mailing list