[webkit-changes] [WebKit/WebKit] 5c4e3e: Cherry-pick 282880 at main (d1ee6bc865cb). https://bu...

Adrian Perez noreply at github.com
Mon Sep 2 14:05:50 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c4e3eccbd6f3ff8b9956e5a1f39b7cd33ef0a72
      https://github.com/WebKit/WebKit/commit/5c4e3eccbd6f3ff8b9956e5a1f39b7cd33ef0a72
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp

  Log Message:
  -----------
  Cherry-pick 282880 at main (d1ee6bc865cb). https://bugs.webkit.org/show_bug.cgi?id=278809

    Debug assertion occasionally triggered in Mail via `WebUserContentControllerProxy::didPostMessage`
    https://bugs.webkit.org/show_bug.cgi?id=278809
    rdar://134879673

    Reviewed by Abrar Rahman Protyasha.

    Ensure the completion handler is always called in this method.

    * Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp:
    (WebKit::WebUserContentControllerProxy::didPostMessage):

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

Canonical link: https://commits.webkit.org/282416.38@webkitglib/2.46


  Commit: 02b27e09569aaa5f95e199dfdd4a901dfcd6f433
      https://github.com/WebKit/WebKit/commit/02b27e09569aaa5f95e199dfdd4a901dfcd6f433
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M Source/WebCore/xml/XPathNodeSet.cpp

  Log Message:
  -----------
  Cherry-pick 282842 at main (54db0db4919d). https://bugs.webkit.org/show_bug.cgi?id=278781

    Some `fast/xpath` tests hit an assertion in release with `ENABLE_ASSERTS=1`
    https://bugs.webkit.org/show_bug.cgi?id=278781

    Reviewed by Anne van Kesteren.

    The code assumes that `ASSERT()` macro is only enabled in debug builds,
    but it can be enabled in release builds too using `ENABLE_ASSERTS=1`.

    * Source/WebCore/xml/XPathNodeSet.cpp:
    (WebCore::XPath::sortBlock):

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

Canonical link: https://commits.webkit.org/282416.39@webkitglib/2.46


  Commit: 55f061e531bcd298cab07ba5b69e3974d57629d9
      https://github.com/WebKit/WebKit/commit/55f061e531bcd298cab07ba5b69e3974d57629d9
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M Source/JavaScriptCore/heap/GigacageAlignedMemoryAllocator.cpp
    M Source/JavaScriptCore/heap/IncrementalSweeper.cpp
    M Source/JavaScriptCore/runtime/DeferredWorkTimer.cpp
    M Source/JavaScriptCore/runtime/WaiterListManager.cpp
    M Source/JavaScriptCore/wasm/WasmThunks.cpp
    M Source/JavaScriptCore/wasm/js/WebAssemblyModuleConstructor.cpp
    M Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp
    M Source/WebCore/Modules/mediasession/MediaSession.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransportBackend.cpp
    M Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h
    M Source/WebCore/Modules/webxr/WebXRLayer.cpp
    M Source/WebCore/css/CSSFontFeatureValue.cpp
    M Source/WebCore/css/CSSShapeSegmentValue.cpp
    M Source/WebCore/css/color/CSSUnresolvedAbsoluteColor.cpp
    M Source/WebCore/css/color/CSSUnresolvedColorLayers.h
    M Source/WebCore/css/color/CSSUnresolvedColorResolutionContext.cpp
    M Source/WebCore/css/color/CSSUnresolvedColorResolutionContext.h
    M Source/WebCore/css/parser/CSSCalcParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/dom/DocumentFragment.cpp
    M Source/WebCore/dom/InternalObserver.cpp
    M Source/WebCore/dom/ScriptableDocumentParser.cpp
    M Source/WebCore/html/HTMLStyleElement.cpp
    M Source/WebCore/html/TextDocument.cpp
    M Source/WebCore/html/parser/HTMLInputStream.h
    M Source/WebCore/html/parser/HTMLScriptRunner.cpp
    M Source/WebCore/html/parser/HTMLTokenizer.cpp
    M Source/WebCore/html/parser/HTMLTreeBuilder.cpp
    M Source/WebCore/html/parser/TextDocumentParser.cpp
    M Source/WebCore/page/Navigation.cpp
    M Source/WebCore/page/NavigationTransition.cpp
    M Source/WebCore/platform/audio/AudioUtilities.cpp
    M Source/WebCore/platform/graphics/filters/FilterImage.h
    M Source/WebCore/rendering/TextBoxTrimmer.cpp
    M Source/WebCore/rendering/svg/SVGRenderingContext.cpp
    M Source/WebCore/style/InspectorCSSOMWrappers.cpp
    M Source/WebCore/style/RuleSet.cpp
    M Source/WebCore/style/RuleSetBuilder.cpp
    M Source/WebCore/style/StyleBuilder.cpp
    M Source/WebCore/svg/SVGTests.h
    M Source/WebCore/xml/XMLTreeViewer.cpp
    M Source/WebKit/NetworkProcess/NetworkBroadcastChannelRegistry.cpp

  Log Message:
  -----------
  Cherry-pick 283018 at main (de3fc94c2733). https://bugs.webkit.org/show_bug.cgi?id=278904

    Non-unified build fixes, end of August 2024 edition
    https://bugs.webkit.org/show_bug.cgi?id=278904

    Unreviewed non-unified build fixes.

    * Source/JavaScriptCore/b3/air/AirCCallingConvention.cpp: Add missing
      B3ValueInlines.h and remove inclusion of other headers which are no
      longer needed.
    * Source/JavaScriptCore/heap/GigacageAlignedMemoryAllocator.cpp: Add
      missing wtf/text/StringView.h include.
    * Source/JavaScriptCore/heap/IncrementalSweeper.cpp: Add missing
      MarkedBlockInlines.h inclusion, and remove other unneeded ones.
    * Source/JavaScriptCore/runtime/DeferredWorkTimer.cpp: Add missing
      HeapCellInlines.h and JSCJSValueInlines.h includes, remove unneeded
      CatchScope.h inclusion.
    * Source/JavaScriptCore/runtime/WaiterListManager.cpp: Add missing
      HeapCellInlines.h and JSObjectInlines.h inclusions.
    * Source/JavaScriptCore/wasm/WasmThunks.cpp: Add missing
      JSWebAssemblyInstance.h inclusion.
    * Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp: Add
      missing Navigator.h inclusion.
    * Source/WebCore/Modules/mediasession/MediaSession.cpp: Add missing
      DocumentInlines.h inclusion.
    * Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransportBackend.cpp:
      Add missing wtf/TZoneMallocInlines.h inclusion.
    * Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h: Add
      missing wtf/TZoneMalloc.h inclusion.
    * Source/WebCore/Modules/webxr/WebXRLayer.cpp: Add missing
      ContextDestructionObserverInlines.h inclusion.
    * Source/WebCore/css/CSSFontFeatureValue.cpp: Add missing
      CSSPrimitiveValue.h inclusion, and remove now unneeded
      CSSValueKeywords.h
    * Source/WebCore/css/CSSSelector.cpp: Replace TZoneMalloc.h inclusion
      with TZoneMallocInlines.h
    * Source/WebCore/css/CSSShapeSegmentValue.cpp: Replace
      CSSPrimitiveValue.h inclusion with CSSPrimitiveValueMappings.h
    * Source/WebCore/css/calc/CSSCalcTree+Evaluation.cpp: Add missing
      CalculationExecutor.h inclusion.
    * Source/WebCore/css/calc/CSSCalcTree+Parser.cpp: Add missing
      CalculationCategory.h inclusion.
    * Source/WebCore/css/calc/CSSCalcTree+Simplification.cpp: Add missing
      CalculationCategory.h inclusion. Add missing CSSPrimitiveValue.h,
      CalculationCategory.h and RenderStyleInlines.h inclusions.
    * Source/WebCore/css/calc/CSSCalcTree+Simplification.h: Add missing
      CSSCalcSymbolTable.h inclusion, remove the unneeded <optional> one.
    * Source/WebCore/css/parser/CSSCalcParser.cpp: Add missing
      CSSCalcSymbolsAllowed.h and CSSPropertyParserConsumer+Primitives.h
      inclusions.
    * Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp: Add
      missing CSSPropertyParserConsumer.h inclusion.
    * Source/WebCore/dom/DocumentFragment.cpp: Add missing
      CSSTokenizerInputStream.h inclusion.
    * Source/WebCore/dom/ElementTextDirection.cpp: Add missing
      ElementRareData.h and HTMLSlotElement.h inclusions.
    (WebCore::elementTextDirectionState): Add the HTMLNames:: namespace
    prefix where needed.
    (WebCore::computeContainedTextAutoDirection): Ditto.
    * Source/WebCore/dom/ElementTextDirection.h: Add missing <optional>
      inclusion, and forward declarations for WTF::AtomString and
      WebCore::TextDirection.
    * Source/WebCore/dom/InternalObserver.cpp: Add missing
      ContextDestructionObserverInlines.h inclusion, and remove now unneeded
      ScriptExecutionContext.h inclusion.
    * Source/WebCore/dom/ScriptableDocumentParser.cpp: Add missing
      CSSPrimitiveValue.h inclusion.
    * Source/WebCore/html/HTMLStyleElement.cpp: Add missing DOMTokenList.h
      inclusion.
    * Source/WebCore/html/TextDocument.cpp: Add missing
      CSSTokenizerInputStream.h inclusion.
    * Source/WebCore/html/parser/HTMLInputStream.h: Ditto.
    * Source/WebCore/html/parser/HTMLScriptRunner.cpp: Ditto.
    * Source/WebCore/html/parser/HTMLTokenizer.cpp: Ditto.
    * Source/WebCore/html/parser/HTMLTreeBuilder.cpp: Ditto.
    * Source/WebCore/html/parser/TextDocumentParser.cpp: Ditto.
    * Source/WebCore/inspector/DOMEditor.cpp: Replace TZoneMalloc.h
      inclusion with TZoneMallocInlines.h
    * Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp: Add
      missing LayoutState.h and RenderObject.h inclusions.
    * Source/WebCore/layout/integration/LayoutIntegrationUtils.h: Add
      missing LayoutUnit.h and <optional> inclusions, add missing
      WebCore::Layout::ElementBox forward declaration.
    * Source/WebCore/layout/integration/inline/InlineIteratorSVGTextBox.cpp:
      Add missing LayoutIntegrationLineLayout.h inclusion.
    * Source/WebCore/page/Navigation.cpp: Add missing NavigationScheduler.h
      inclusion, and remove unneeded FrameLoaderTypes.h
    * Source/WebCore/page/NavigationTransition.cpp: Add missing
      JSDOMPromiseDeferred.h inclusion.
    * Source/WebCore/platform/MIMETypeRegistry.cpp: Replace TZoneMalloc.h
      inclusion with TZoneMallocInlines.h
    * Source/WebCore/platform/audio/AudioUtilities.cpp: Add missing
      wtf/HashFunctions.h inclusion.
    * Source/WebCore/rendering/BorderShape.cpp: Replace RenderStyle.h
      inclusion with RenderStyleInlines.h.
    * Source/WebCore/rendering/TextBoxTrimmer.cpp: Add missing
      InlineIteratorLineBox.h, RenderBoxModelObjectInlines.h, and
      RenderView.h inclusions, remove unneeded RenderBlockFlow.h inclusion.
    * Source/WebCore/rendering/svg/SVGRenderingContext.cpp: Add missing
      LegacyRenderSVGRoot.h inclusion.
    * Source/WebCore/style/InspectorCSSOMWrappers.cpp: Add missing
      CSSPrimitiveValue.h inclusion.
    * Source/WebCore/style/RuleSet.cpp: Add missing UserAgentParts.h
      inclusion.
    * Source/WebCore/style/RuleSetBuilder.cpp: Add missing
      CSSViewTransitionRule.h inclusion.
    * Source/WebCore/style/StyleBuilder.cpp: Replace RenderStyleInlines.h
      inclusion with RenderStyleSetters.h.
    * Source/WebCore/svg/SVGTests.h: Add missing wtf/WeakRef.h inclusion and
      WebCore::QualifiedName forward declaration; remove unneeded
      wtf/Forward.h inclusion.
    * Source/WebCore/xml/XMLTreeViewer.cpp: Add missing CSSPrimitiveValue.h
      inclusion.
    * Source/WebKit/NetworkProcess/NetworkBroadcastChannelRegistry.cpp: Add
      missing Logging.h inclusion.
    * Source/WebKit/UIProcess/WebProcessProxy.cpp: Add missing
      NetworkProcessMessages.h inclusion.

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

Canonical link: https://commits.webkit.org/282416.40@webkitglib/2.46


Compare: https://github.com/WebKit/WebKit/compare/a53f9dae60b8...55f061e531bc

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