Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haiku/haikuwebkit
base: 9c22566d61cf
Choose a base ref
...
head repository: haiku/haikuwebkit
compare: 3b3e63724de3
Choose a head ref
  • 19 commits
  • 129 files changed
  • 13 contributors

Commits on Oct 31, 2021

  1. Change some bitwise OR operators to logical OR

    https://bugs.webkit.org/show_bug.cgi?id=232537
    <rdar://problem/84845378>
    
    Reviewed by Alexey Proskuryakov.
    
    * html/canvas/CanvasRenderingContext2DBase.cpp:
    (WebCore::CanvasRenderingContext2DBase::translate):
    (WebCore::CanvasRenderingContext2DBase::transform):
    (WebCore::CanvasRenderingContext2DBase::setTransform):
    (WebCore::validateRectForCanvas):
    (WebCore::CanvasRenderingContext2DBase::canDrawText):
    
    
    
    Canonical link: https://commits.webkit.org/243733@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    heycam committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    2341cc1 View commit details
    Browse the repository at this point in the history
  2. Move handling of ChildrenChanged notifications out of the Accessibili…

    …tyObjects into AXObjectCache.
    
    https://bugs.webkit.org/show_bug.cgi?id=232503
    <rdar://problem/84820154>
    
    Reviewed by Chris Fleizach.
    
    ChildrenChanged notifications were handled in
    AXObjectCache::performDeferredCacheUpdate by calling into an AX object
    method. While in principle this may seem as a good design, it obscures
    significantly what exactly happens in response to a notification. This
    is aggravated by the fact that the object's handlers may call back into
    the AXObjectCache to post or further defer notifications to platform
    clients.
    This patch atempts to straightline this flow by handling the
    ChildrenChanged notifications in AXObjectCache.
    
    * accessibility/AXObjectCache.cpp:
    (WebCore::AXObjectCache::textChanged):
    (WebCore::AXObjectCache::handleChildrenChanged):
    The name indicates that this is the actual handler for the notification
    as opposed as the other childrenChanged(...) methods that just queue
    the notifications for a later time.
    
    (WebCore::AXObjectCache::childrenChanged):
    (WebCore::AXObjectCache::notificationPostTimerFired):
    (WebCore::AXObjectCache::handleAriaRoleChanged):
    (WebCore::AXObjectCache::recomputeIsIgnored):
    (WebCore::AXObjectCache::performDeferredCacheUpdate):
    * accessibility/AXObjectCache.h:
    * accessibility/AccessibilityMenuList.cpp:
    (WebCore::AccessibilityMenuList::childrenChanged):
    Deleted, now handled in AXObjectCache::handleChildrenChanged.
    * accessibility/AccessibilityMenuList.h:
    * accessibility/AccessibilityMenuListPopup.cpp:
    (WebCore::AccessibilityMenuListPopup::handleChildrenChanged):
    (WebCore::AccessibilityMenuListPopup::childrenChanged):
    Renamed handleChildrenChanged. It is the only AXObject subclass that
    still has this method to update its children. It does not post or
    schedule any platform client notification.
    
    * accessibility/AccessibilityMenuListPopup.h:
    * accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::updateAccessibilityRole):
    (WebCore::AccessibilityNodeObject::childrenChanged): Deleted.
    * accessibility/AccessibilityNodeObject.h:
    * accessibility/AccessibilityObject.cpp:
    (WebCore::AccessibilityObject::hasIgnoredValueChanged):
    (WebCore::AccessibilityObject::notifyIfIgnoredValueChanged):
    Renamed hasIgnoredValueChanged since the actual notifications are posted
    in AXObjectCache.
    
    * accessibility/AccessibilityObject.h:
    (WebCore::AccessibilityObject::updateAccessibilityRole):
    * accessibility/AccessibilityObjectInterface.h:
    Several methods can now be removed from the AXCoreObject interface since
    they are internal to the AXObject class hierarchy.
    
    * accessibility/AccessibilityTable.cpp:
    (WebCore::AccessibilityTable::addChildren):
    * accessibility/isolatedtree/AXIsolatedObject.cpp:
    Now able to delete several unnecessary methods from the isolated objects.
    (WebCore::AXIsolatedObject::childrenChanged): Deleted.
    (WebCore::AXIsolatedObject::updateAccessibilityRole): Deleted.
    (WebCore::AXIsolatedObject::lastKnownIsIgnoredValue): Deleted.
    (WebCore::AXIsolatedObject::setLastKnownIsIgnoredValue): Deleted.
    (WebCore::AXIsolatedObject::notifyIfIgnoredValueChanged): Deleted.
    * accessibility/isolatedtree/AXIsolatedObject.h:
    
    
    
    Canonical link: https://commits.webkit.org/243734@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    AndresGonzalezApple committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    2054ce9 View commit details
    Browse the repository at this point in the history
  3. [LFC][IFC] Add unicode-bidi control characters

    https://bugs.webkit.org/show_bug.cgi?id=232538
    
    Reviewed by Antti Koivisto.
    
    This is preparation for injecting entering/exiting control characters into the paragraph string used by ubidi.
    
    * layout/formattingContexts/inline/InlineItemsBuilder.cpp:
    (WebCore::Layout::InlineItemsBuilder::handleInlineBox):
    (WebCore::Layout::InlineItemsBuilder::enterBidiContext):
    (WebCore::Layout::InlineItemsBuilder::exitBidiContext):
    * layout/formattingContexts/inline/InlineItemsBuilder.h:
    
    
    
    Canonical link: https://commits.webkit.org/243735@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    alanbaradlay committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    dfa9745 View commit details
    Browse the repository at this point in the history
  4. Scroll animations should run at 120Hz on 120Hz displays

    https://bugs.webkit.org/show_bug.cgi?id=232534
    
    Reviewed by Tim Horton.
    
    Source/WebCore:
    
    Scroll animations on the scrolling thread were driven by a 60Hz timer in
    ScrollingTreeScrollingNodeDelegateMac. Replace that with a mechanism that drives them from
    ThreadedScrollingTree::displayDidRefreshOnScrollingThread(), which is called at the maximum
    display refresh frequency.
    
    We leverage startAnimationCallback/stopAnimationCallback which update the HashSet of
    animating nodes on scrolling tree, and iterate this set in the callback to service the
    animations.
    
    Change some ScrollingTree terminology from "AnimatedScroll" to "ScrollAnimation" to indicate
    that they are about all kinds of scroll animations (e.g. rubberbanding), not just animated
    scrolls.
    
    A side effect of removing the ScrollingTreeScrollingNodeDelegateMac was that there was no
    code path that triggered continual "displayDidRefresh" notifications (which originate in the
    UI process). We need something to keep the displayDidRefresh notifications coming. To fix
    this, have ScrollingCoordinatorMac call scheduleRenderingUpdate() when an animation starts,
    and in each rendering update while there are active animations. This doesn't trigger
    additional rendering updates; these will happen anyway as a side effect of scrolling tree
    scrolls bouncing to the main thread. Also worth noting is that the scrolling thread will get
    120Hz updates, even if we're only triggering main thread rendering updates, because of
    existing WebPageProxy hasActiveAnimatedScroll state.
    
    Exercised by existing tests.
    
    * page/scrolling/ScrollingTree.cpp:
    (WebCore::ScrollingTree::isScrollAnimationInProgressForNode):
    (WebCore::ScrollingTree::setScrollAnimationInProgressForNode):
    (WebCore::ScrollingTree::hasNodeWithActiveScrollAnimations):
    (WebCore::ScrollingTree::nodesWithActiveScrollAnimations):
    (WebCore::ScrollingTree::isAnimatedScrollInProgressForNode): Deleted.
    (WebCore::ScrollingTree::setAnimatedScrollInProgressForNode): Deleted.
    (WebCore::ScrollingTree::hasNodeWithActiveAnimatedScroll): Deleted.
    * page/scrolling/ScrollingTree.h:
    * page/scrolling/ScrollingTreeScrollingNode.cpp:
    (WebCore::ScrollingTreeScrollingNode::willStartAnimatedScroll):
    (WebCore::ScrollingTreeScrollingNode::didStopAnimatedScroll):
    (WebCore::ScrollingTreeScrollingNode::setScrollAnimationInProgress):
    * page/scrolling/ScrollingTreeScrollingNode.h:
    * page/scrolling/ScrollingTreeScrollingNodeDelegate.h:
    * page/scrolling/ThreadedScrollingTree.cpp:
    (WebCore::ThreadedScrollingTree::scrollingThreadIsActive):
    (WebCore::ThreadedScrollingTree::serviceScrollAnimations):
    (WebCore::ThreadedScrollingTree::displayDidRefreshOnScrollingThread):
    * page/scrolling/ThreadedScrollingTree.h:
    * page/scrolling/mac/ScrollingCoordinatorMac.h:
    * page/scrolling/mac/ScrollingCoordinatorMac.mm:
    (WebCore::ScrollingCoordinatorMac::didCompleteRenderingUpdate):
    (WebCore::ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged):
    * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
    * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
    (WebCore::ScrollingTreeFrameScrollingNodeMac::startAnimatedScrollToPosition):
    (WebCore::ScrollingTreeFrameScrollingNodeMac::serviceScrollAnimation):
    (WebCore::ScrollingTreeFrameScrollingNodeMac::currentScrollPositionChanged):
    * page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.h:
    * page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm:
    (WebCore::ScrollingTreeOverflowScrollingNodeMac::serviceScrollAnimation):
    * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h:
    * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm:
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::createTimer):
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::startAnimationCallback):
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::stopAnimationCallback):
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::serviceScrollAnimation):
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::scrollControllerAnimationTimerFired): Deleted.
    * page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.cpp:
    (WebCore::ScrollingTreeScrollingNodeDelegateNicosia::animationTimerFired):
    (WebCore::ScrollingTreeScrollingNodeDelegateNicosia::serviceScrollAnimation):
    * page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.h:
    
    Source/WebKit:
    
    * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:
    * WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm:
    (WebKit::TiledCoreAnimationScrollingCoordinator::hasNodeWithAnimatedScrollChanged):
    
    
    
    Canonical link: https://commits.webkit.org/243736@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    smfr committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    17bc3fe View commit details
    Browse the repository at this point in the history
  5. [LFC][IFC] Keep track of the text box offset in ubidi's paragraph con…

    …tent
    
    https://bugs.webkit.org/show_bug.cgi?id=232540
    
    Reviewed by Antti Koivisto.
    
    This hashmap helps to map bidi boundary positions back to inline items.
    
    The paragraph content string holds the InlineTextBox content (and injected control characters)
    in DOM order. InlineTextItems hold start/end positions relative to their InlineTextBoxes.
    We'll use this hashmap to figure out which InlineTextItems need splitting at bidi boundaries.
    
    * layout/formattingContexts/inline/InlineItemsBuilder.cpp:
    (WebCore::Layout::InlineItemsBuilder::handleInlineBox):
    (WebCore::Layout::InlineItemsBuilder::enterBidiContext):
    (WebCore::Layout::InlineItemsBuilder::exitBidiContext):
    * layout/formattingContexts/inline/InlineItemsBuilder.h:
    
    
    
    Canonical link: https://commits.webkit.org/243737@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    alanbaradlay committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    53e6ad5 View commit details
    Browse the repository at this point in the history
  6. Remove some straggling files after r280467

    https://bugs.webkit.org/show_bug.cgi?id=232541
    
    Reviewed by Sam Weinig.
    
    Somehow I must have missed some files.
    
    No new tests because there is no behavior change.
    
    * Modules/webgpu/WHLSL/AST/WHLSLStatement.cpp: Removed.
    * Modules/webgpu/WHLSL/AST/WHLSLStatementList.h: Removed.
    * Modules/webgpu/WHLSL/AST/WHLSLType.cpp: Removed.
    * Modules/webgpu/WHLSL/WHLSLProgram.cpp: Removed.
    
    
    
    Canonical link: https://commits.webkit.org/243738@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    litherum committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    e7a5869 View commit details
    Browse the repository at this point in the history
  7. [WinCairo] Unreviewed test gardening

    * platform/wincairo/TestExpectations:
    * platform/wincairo/editing/selection/3690703-2-expected.txt:
    * platform/wincairo/editing/selection/3690703-expected.txt:
    * platform/wincairo/editing/selection/3690719-expected.txt:
    
    
    Canonical link: https://commits.webkit.org/243739@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fujii committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    f3048e1 View commit details
    Browse the repository at this point in the history
  8. Update Web IDL links to new URL

    https://bugs.webkit.org/show_bug.cgi?id=232533
    <rdar://problem/84842937>
    
    Reviewed by Sam Weinig.
    
    Source/JavaScriptCore:
    
    * wasm/js/WebAssemblyMemoryConstructor.cpp:
    (JSC::JSC_DEFINE_HOST_FUNCTION):
    * wasm/js/WebAssemblyTableConstructor.cpp:
    (JSC::JSC_DEFINE_HOST_FUNCTION):
    
    Source/WebCore:
    
    * Modules/mediastream/OverconstrainedError.idl:
    * bindings/js/JSCallbackData.cpp:
    * bindings/js/JSDOMAbstractOperations.h:
    * bindings/js/JSDOMConvertPromise.h:
    * bindings/scripts/CodeGenerator.pm:
    * bindings/scripts/CodeGeneratorJS.pm:
    (AddMapLikeAttributesAndOperationIfNeeded):
    (AddSetLikeAttributesAndOperationIfNeeded):
    (GenerateGetOwnPropertySlot):
    (GenerateGetOwnPropertySlotByIndex):
    (GenerateDeletePropertyCommon):
    (GenerateDeleteProperty):
    (GenerateDeletePropertyByIndex):
    (GenerateNamedDeleterDefinition):
    (AttributeShouldBeOnInstance):
    (OperationShouldBeOnInstance):
    (GenerateDictionaryImplementationContent):
    (GenerateAttributeSetterBodyDefinition):
    (GenerateOperationBodyDefinition):
    (GenerateDefaultToJSONOperationDefinition):
    (GenerateConstructorHelperMethods):
    * bindings/scripts/IDLAttributes.json:
    * bindings/scripts/IDLParser.pm:
    * bindings/scripts/preprocess-idls.pl:
    * dom/ExceptionCode.h:
    
    
    
    Canonical link: https://commits.webkit.org/243740@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    heycam committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    ab0efa5 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. [WinCairo] New GraphicsLayer for GPU process mode

    https://bugs.webkit.org/show_bug.cgi?id=228308
    
    Reviewed by Don Olmstead.
    
    .:
    
    * Source/cmake/OptionsWinCairo.cmake:
    
    Source/WebCore:
    
    * PlatformWinCairo.cmake:
    * platform/graphics/RemoteGraphicsContextGLProxyBase.cpp:
    * platform/graphics/RemoteGraphicsContextGLProxyBase.h:
    * platform/graphics/wc/RemoteGraphicsContextGLProxyBaseWC.cpp: Added.
    (WebCore::RemoteGraphicsContextGLProxyBase::platformInitialize):
    (WebCore::RemoteGraphicsContextGLProxyBase::platformLayer const):
    (WebCore::RemoteGraphicsContextGLProxyBase::setPlatformLayer):
    * platform/graphics/wc/WCPlatformLayer.h: Added.
    * platform/graphics/win/GraphicsContextWin.cpp:
    (WebCore::GraphicsContext::getWindowsContext): DisplayList
    GraphicsContext doesn't have a HDC. Do nothing for DisplayList
    context.
    * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
    (WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::paintCurrentFrame):
    Paint a frame by using GraphicsContext::drawNativeImage instead of
    Cairo API for DisplayList.
    
    Source/WebKit:
    
    Added a new GraphicsLayer implementation GraphicsLayerWC which
    transfers GraphicsLayer tree to GPU process and runs the
    compositor (TextureMapper) in GPU process.
    
    In GPU process mode, WebGL is run in GPU process. So, the
    compositor should be run in GPU process. Otherwise, the output
    texture of WebGL has to be transferred from GPU process to the
    compositor process (UI process or web process).
    
    Because ANGLE isn't thread-safe, the compositor and WebGL should
    be run in the same thread in GPU process.
    
    Enabling gpu_process_webgl also enables GPU process compositing now.
    > reg add HKEY_CURRENT_USER\Software\WebKit /v gpu_process_webgl /t REG_DWORD /d 1 /f
    
    gpu_process_canvas_rendering can also be enabled.
    > reg add HKEY_CURRENT_USER\Software\WebKit /v gpu_process_canvas_rendering /t REG_DWORD /d 1 /f
    
    Enabling gpu_process_dom_rendering is still experimental.
    > reg add HKEY_CURRENT_USER\Software\WebKit /v gpu_process_dom_rendering /t REG_DWORD /d 1 /f
    
    The following commands restore the non-GPU process mode.
    > reg delete HKEY_CURRENT_USER\Software\WebKit /v gpu_process_canvas_rendering /f
    > reg delete HKEY_CURRENT_USER\Software\WebKit /v gpu_process_webgl /f
    > reg delete HKEY_CURRENT_USER\Software\WebKit /v gpu_process_dom_rendering /f
    
    * GPUProcess/GPUConnectionToWebProcess.cpp:
    (WebKit::GPUConnectionToWebProcess::createWCLayerTreeHost):
    (WebKit::GPUConnectionToWebProcess::releaseWCLayerTreeHost):
    (WebKit::GPUConnectionToWebProcess::findRemoteGraphicsContextGL):
    * GPUProcess/GPUConnectionToWebProcess.h:
    * GPUProcess/GPUConnectionToWebProcess.messages.in:
    * GPUProcess/GPUProcess.h:
    (WebKit::GPUProcess::sharedSceneContext):
    * GPUProcess/graphics/RemoteGraphicsContextGL.h:
    (WebKit::RemoteGraphicsContextGL::platformLayer const):
    * GPUProcess/graphics/ScopedWebGLRenderingResourcesRequest.cpp:
    (WebKit::ScopedWebGLRenderingResourcesRequest::scheduleFreeWebGLRenderingResources):
    * GPUProcess/graphics/wc/RemoteWCLayerTreeHost.cpp: Added.
    (WebKit::RemoteWCLayerTreeHost::create):
    (WebKit::RemoteWCLayerTreeHost::RemoteWCLayerTreeHost):
    (WebKit::RemoteWCLayerTreeHost::~RemoteWCLayerTreeHost):
    (WebKit::RemoteWCLayerTreeHost::messageSenderConnection const):
    (WebKit::RemoteWCLayerTreeHost::messageSenderDestinationID const):
    (WebKit::RemoteWCLayerTreeHost::update):
    * GPUProcess/graphics/wc/RemoteWCLayerTreeHost.h: Added.
    * GPUProcess/graphics/wc/RemoteWCLayerTreeHost.messages.in: Added.
    * GPUProcess/graphics/wc/WCScene.cpp: Added.
    (WebKit::WCScene::initialize):
    (WebKit::WCScene::~WCScene):
    (WebKit::WCScene::update):
    * GPUProcess/graphics/wc/WCScene.h: Added.
    * GPUProcess/graphics/wc/WCSceneContext.cpp: Added.
    (WebKit::WCSceneContext::WCSceneContext):
    (WebKit::WCSceneContext::makeContextCurrent):
    (WebKit::WCSceneContext::createTextureMapper):
    (WebKit::WCSceneContext::swapBuffers):
    * GPUProcess/graphics/wc/WCSceneContext.h: Added.
    * GPUProcess/graphics/wc/WCSharedSceneContextHolder.h: Added.
    (WebKit::WCSharedSceneContextHolder::ensureHolderForWindow):
    (WebKit::WCSharedSceneContextHolder::removeHolder):
    * GPUProcess/win/GPUProcessMainWin.cpp:
    (WebKit::GPUProcessMain):
    * PlatformWin.cmake:
    * Scripts/webkit/messages.py:
    (types_that_cannot_be_forward_declared):
    (conditions_for_header):
    * Shared/DrawingAreaInfo.h:
    * UIProcess/wc/DrawingAreaProxyWC.cpp: Added.
    (WebKit::DrawingAreaProxyWC::DrawingAreaProxyWC):
    (WebKit::DrawingAreaProxyWC::paint):
    (WebKit::DrawingAreaProxyWC::sizeDidChange):
    (WebKit::DrawingAreaProxyWC::update):
    (WebKit::DrawingAreaProxyWC::enterAcceleratedCompositingMode):
    (WebKit::DrawingAreaProxyWC::incorporateUpdate):
    (WebKit::DrawingAreaProxyWC::discardBackingStore):
    * UIProcess/wc/DrawingAreaProxyWC.h: Added.
    * UIProcess/win/PageClientImpl.cpp:
    (WebKit::PageClientImpl::createDrawingAreaProxy):
    * UIProcess/win/WebView.cpp:
    (WebKit::WebView::paint):
    * WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp:
    (WebKit::RemoteGraphicsContextGLProxy::RemoteGraphicsContextGLProxy):
    * WebProcess/GPU/graphics/wc/RemoteWCLayerTreeHostProxy.cpp: Added.
    (WebKit::RemoteWCLayerTreeHostProxy::RemoteWCLayerTreeHostProxy):
    (WebKit::RemoteWCLayerTreeHostProxy::~RemoteWCLayerTreeHostProxy):
    (WebKit::RemoteWCLayerTreeHostProxy::messageSenderConnection const):
    (WebKit::RemoteWCLayerTreeHostProxy::ensureGPUProcessConnection):
    (WebKit::RemoteWCLayerTreeHostProxy::disconnectGpuProcessIfNeeded):
    (WebKit::RemoteWCLayerTreeHostProxy::gpuProcessConnectionDidClose):
    (WebKit::RemoteWCLayerTreeHostProxy::messageSenderDestinationID const):
    (WebKit::RemoteWCLayerTreeHostProxy::update):
    (WebKit::RemoteWCLayerTreeHostProxy::didUpdate):
    * WebProcess/GPU/graphics/wc/RemoteWCLayerTreeHostProxy.h: Added.
    (WebKit::RemoteWCLayerTreeHostProxy::wcLayerTreeHostIdentifier const):
    * WebProcess/GPU/graphics/wc/RemoteWCLayerTreeHostProxy.messages.in: Added.
    * WebProcess/GPU/graphics/wc/WCLayerTreeHostIdentifier.h: Added.
    * WebProcess/GPU/graphics/wc/WCPlatformLayerGCGL.h: Added.
    (WebKit::WCPlatformLayerGCGL::WCPlatformLayerGCGL):
    (WebKit::WCPlatformLayerGCGL::graphicsContextGLIdentifier):
    * WebProcess/WebPage/DrawingArea.cpp:
    (WebKit::DrawingArea::create):
    (WebKit::DrawingArea::supportsGPUProcessRendering):
    * WebProcess/WebPage/DrawingArea.h:
    (WebKit::DrawingArea::updateGeometry):
    * WebProcess/WebPage/DrawingArea.messages.in:
    * WebProcess/WebPage/wc/DrawingAreaWC.cpp: Added.
    (WebKit::DrawingAreaWC::DrawingAreaWC):
    (WebKit::DrawingAreaWC::~DrawingAreaWC):
    (WebKit::DrawingAreaWC::graphicsLayerFactory):
    (WebKit::DrawingAreaWC::updateRootLayers):
    (WebKit::DrawingAreaWC::setRootCompositingLayer):
    (WebKit::DrawingAreaWC::attachViewOverlayGraphicsLayer):
    (WebKit::DrawingAreaWC::setLayerTreeStateIsFrozen):
    (WebKit::DrawingAreaWC::updateGeometry):
    (WebKit::DrawingAreaWC::setNeedsDisplay):
    (WebKit::DrawingAreaWC::setNeedsDisplayInRect):
    (WebKit::DrawingAreaWC::scroll):
    (WebKit::DrawingAreaWC::triggerRenderingUpdate):
    (WebKit::flushLayerImageBuffers):
    (WebKit::DrawingAreaWC::isCompositingMode):
    (WebKit::DrawingAreaWC::updateRendering):
    (WebKit::DrawingAreaWC::sendUpdateAC):
    (WebKit::shouldPaintBoundsRect):
    (WebKit::DrawingAreaWC::sendUpdateNonAC):
    (WebKit::DrawingAreaWC::graphicsLayerAdded):
    (WebKit::DrawingAreaWC::graphicsLayerRemoved):
    (WebKit::DrawingAreaWC::commitLayerUpateInfo):
    (WebKit::DrawingAreaWC::createImageBuffer):
    (WebKit::DrawingAreaWC::didUpdate):
    (WebKit::DrawingAreaWC::RootLayerClient::RootLayerClient):
    (WebKit::DrawingAreaWC::RootLayerClient::paintContents):
    (WebKit::DrawingAreaWC::RootLayerClient::deviceScaleFactor const):
    * WebProcess/WebPage/wc/DrawingAreaWC.h: Added.
    * WebProcess/WebPage/wc/GraphicsLayerWC.cpp: Added.
    (WebKit::GraphicsLayerWC::GraphicsLayerWC):
    (WebKit::GraphicsLayerWC::~GraphicsLayerWC):
    (WebKit::GraphicsLayerWC::generateLayerID):
    (WebKit::GraphicsLayerWC::primaryLayerID const):
    (WebKit::GraphicsLayerWC::setNeedsDisplay):
    (WebKit::GraphicsLayerWC::setNeedsDisplayInRect):
    (WebKit::GraphicsLayerWC::setContentsNeedsDisplay):
    (WebKit::GraphicsLayerWC::setChildren):
    (WebKit::GraphicsLayerWC::addChild):
    (WebKit::GraphicsLayerWC::addChildAtIndex):
    (WebKit::GraphicsLayerWC::addChildBelow):
    (WebKit::GraphicsLayerWC::addChildAbove):
    (WebKit::GraphicsLayerWC::replaceChild):
    (WebKit::GraphicsLayerWC::removeFromParent):
    (WebKit::GraphicsLayerWC::setMaskLayer):
    (WebKit::GraphicsLayerWC::setReplicatedLayer):
    (WebKit::GraphicsLayerWC::setReplicatedByLayer):
    (WebKit::GraphicsLayerWC::setPosition):
    (WebKit::GraphicsLayerWC::setAnchorPoint):
    (WebKit::GraphicsLayerWC::setSize):
    (WebKit::GraphicsLayerWC::setBoundsOrigin):
    (WebKit::GraphicsLayerWC::setTransform):
    (WebKit::GraphicsLayerWC::setChildrenTransform):
    (WebKit::GraphicsLayerWC::setPreserves3D):
    (WebKit::GraphicsLayerWC::setMasksToBounds):
    (WebKit::GraphicsLayerWC::setOpacity):
    (WebKit::GraphicsLayerWC::setContentsRect):
    (WebKit::GraphicsLayerWC::setContentsClippingRect):
    (WebKit::GraphicsLayerWC::setDrawsContent):
    (WebKit::GraphicsLayerWC::setContentsVisible):
    (WebKit::GraphicsLayerWC::setBackfaceVisibility):
    (WebKit::GraphicsLayerWC::setContentsToSolidColor):
    (WebKit::GraphicsLayerWC::setContentsToPlatformLayer):
    (WebKit::GraphicsLayerWC::usesContentsLayer const):
    (WebKit::GraphicsLayerWC::setShowDebugBorder):
    (WebKit::GraphicsLayerWC::setDebugBorder):
    (WebKit::GraphicsLayerWC::setShowRepaintCounter):
    (WebKit::filtersCanBeComposited):
    (WebKit::GraphicsLayerWC::setFilters):
    (WebKit::GraphicsLayerWC::setBackdropFilters):
    (WebKit::GraphicsLayerWC::setBackdropFiltersRect):
    (WebKit::GraphicsLayerWC::noteLayerPropertyChanged):
    (WebKit::GraphicsLayerWC::flushCompositingState):
    (WebKit::GraphicsLayerWC::flushCompositingStateForThisLayerOnly):
    * WebProcess/WebPage/wc/GraphicsLayerWC.h: Added.
    * WebProcess/WebPage/wc/WCBackingStore.h: Added.
    (WebKit::WCBackingStore::WCBackingStore):
    (WebKit::WCBackingStore::imageBuffer):
    (WebKit::WCBackingStore::setImageBuffer):
    (WebKit::WCBackingStore::bitmap const):
    (WebKit::WCBackingStore::encode const):
    (WebKit::WCBackingStore::decode):
    * WebProcess/WebPage/wc/WCLayerFactory.cpp: Added.
    (WebKit::WCLayerFactory::WCLayerFactory):
    (WebKit::WCLayerFactory::createGraphicsLayer):
    * WebProcess/WebPage/wc/WCLayerFactory.h: Added.
    * WebProcess/WebPage/wc/WCUpateInfo.h: Added.
    (WebKit::WCLayerUpateInfo::encode const):
    (WebKit::WCLayerUpateInfo::decode):
    (WebKit::WCUpateInfo::encode const):
    (WebKit::WCUpateInfo::decode):
    
    
    Canonical link: https://commits.webkit.org/243741@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fujii committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    ef65ff3 View commit details
    Browse the repository at this point in the history
  2. Fix :host invalidation when combined with pseudo classes in descendan…

    …t position
    
    https://bugs.webkit.org/show_bug.cgi?id=232544
    
    Reviewed by Simon Fraser.
    
    LayoutTests/imported/w3c:
    
    * web-platform-tests/css/css-scoping/host-functional-descendant-invalidation-expected.txt:
    
    Source/WebCore:
    
    * style/RuleSet.cpp:
    (WebCore::Style::isHostSelectorMatchingInShadowTree):
    
    Make more readable and accurate.
    
    (WebCore::Style::RuleSet::addRule):
    
    Compute m_hasHostPseudoClassRulesMatchingInShadowTree before bailing out for pseudo elements.
    
    
    
    Canonical link: https://commits.webkit.org/243742@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    anttijk committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    c5112c9 View commit details
    Browse the repository at this point in the history
  3. Fix build with GCC 8.4 on Ubuntu 18.04

    https://bugs.webkit.org/show_bug.cgi?id=232305
    
    Patch by Daniel Kolesa <dkolesa@igalia.com> on 2021-11-01
    Reviewed by Adrian Perez de Castro.
    
    Source/WebCore:
    
    Fix build with GCC 8.4 on Ubuntu 18.04
    
    Thes sections of the code trigger an internal compiler error with
    GCC 8.4, segfaulting the compiler. This adds a workaround that
    makes it work again.
    
    * Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
    (WebCore::ClipboardItemBindingsDataSource::collectDataForWriting):
    
    Source/WebKit:
    
    Thes sections of the code trigger an internal compiler error with
    GCC 8.4, segfaulting the compiler. This adds a workaround that
    makes it work again.
    
    * NetworkProcess/NetworkProcess.cpp:
    (WebKit::NetworkProcess::deleteAndRestrictWebsiteDataForRegistrableDomains):
    
    
    Canonical link: https://commits.webkit.org/243743@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    q66 authored and webkit-commit-queue committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    265cbb7 View commit details
    Browse the repository at this point in the history
  4. [ANGLE] Enable -Wformat=2 warnings

    <https://webkit.org/b/232358>
    <rdar://problem/84568935>
    
    Reviewed by Kimmo Kinnunen.
    
    * Configurations/Base.xcconfig:
    (WARNING_CFLAGS):
    - Add -Wformat=2 switch, which includes -Wformat-nonliteral.
    * src/common/angleutils.h:
    (FormatStringIntoVector):
    - Move below definition of ANGLE_FORMAT_PRINTF() and add macro
      to the function declaration to fix -Wformat-nonliteral
      warning.
    * src/compiler/translator/Common.h:
    (sh::str):
    - Make `formatStr` a constexpr to fix -Wformat-nonliteral
      warning.
    
    
    
    Canonical link: https://commits.webkit.org/243744@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    David Kilzer committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    539320f View commit details
    Browse the repository at this point in the history
  5. Fix a typo in EWS emails

    Canonical link: https://commits.webkit.org/243745@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    aj062 committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    94508bc View commit details
    Browse the repository at this point in the history
  6. [LFC][IFC] Introduce paragraph content building to InlineItemsBuilder…

    …::handleTextContent
    
    https://bugs.webkit.org/show_bug.cgi?id=232546
    
    Reviewed by Antti Koivisto.
    
    Let's check for directional control characters in text content and build
    the paragraph content accordingly. Now that we've got both the inline box and
    the text bidi content (atomic inline level boxes are still missing) breakInlineItemsAtBidiBoundaries
    can start calling into ubidi to find content boundaries.
    
    * layout/formattingContexts/inline/InlineItemsBuilder.cpp:
    (WebCore::Layout::InlineItemsBuilder::handleTextContent):
    (WebCore::Layout::InlineItemsBuilder::enterBidiContext):
    (WebCore::Layout::InlineItemsBuilder::buildPreviousTextContent):
    * layout/formattingContexts/inline/InlineItemsBuilder.h:
    * layout/integration/LayoutIntegrationCoverage.cpp:
    (WebCore::LayoutIntegration::canUseForFontAndText):
    
    
    
    Canonical link: https://commits.webkit.org/243746@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    alanbaradlay committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    5e98953 View commit details
    Browse the repository at this point in the history
  7. REGRESSION (r283935): fast/css/style-element-process-crash.html is a …

    …flaky failure
    
    https://bugs.webkit.org/show_bug.cgi?id=232456
    <rdar://problem/84779240>
    
    Reviewed by Wenson Hsieh.
    
    After r283935, focus may happen asynchronously when using autofocus. As a result, we need to
    update the test to use waitUntilDone() / notifyDone().
    
    * fast/css/style-element-process-crash.html:
    * platform/ios-wk2/TestExpectations:
    
    
    
    Canonical link: https://commits.webkit.org/243747@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cdumez committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    28a5676 View commit details
    Browse the repository at this point in the history
  8. Versioning.

    WebKit-7613.1.8
    
    
    Canonical link: https://commits.webkit.org/243748@main
    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    rjepstein committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    b89a2d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Configuration menu
    Copy the full SHA
    d42d778 View commit details
    Browse the repository at this point in the history
  2. Cleanup CMakefile a bit

    pulkomandy committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    a6f70f5 View commit details
    Browse the repository at this point in the history
  3. Fix build after merge

    pulkomandy committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    3b3e637 View commit details
    Browse the repository at this point in the history