Skip to content
Permalink
main
Switch branches/tags

Commits on Aug 13, 2022

  1. [Xcode] Avoid building libwebrtc for watchOS/tvOS

    https://bugs.webkit.org/show_bug.cgi?id=243907
    
    Reviewed by Alexey Proskuryakov.
    
    Remove libwebrtc from the required targets in "Everything up to WebKit +
    Tools" (it's already not listed in "Everything up to WebKit"). It will
    only be built when it's needed, which is determined by when WebCore
    conditionally links against it.
    
    * WebKit.xcworkspace/xcshareddata/xcschemes/Everything up to WebKit + Tools.xcscheme:
    
    Canonical link: https://commits.webkit.org/253400@main
    emw-apple committed Aug 13, 2022
  2. [JSC][32bit] ASSERTION FAILED: !initialBytes

    https://bugs.webkit.org/show_bug.cgi?id=243901
    
    Reviewed by Yusuke Suzuki.
    
    This patch fixes a value being truncated in 32bits platforms, resulting
    in a invalid maximum size.
    
    The method bytes() returns a uint64_t but in Memory::tryCreate, it is
    stored in size_t, which is fine in 64bit platforms but gets truncated in
    32 bits ones.
    
    In this patch both initialBytes and maximumBytes are now uint64_t and
    there is an extra check if the maximum size is greater than what's
    allowed in the platform.
    
    * Source/JavaScriptCore/wasm/WasmMemory.cpp:
    (JSC::Wasm::Memory::tryCreate):
    
    Canonical link: https://commits.webkit.org/253399@main
    mikhailramalho committed Aug 13, 2022
  3. [JSC] Drop alignas for "JSC::JIT" class

    https://bugs.webkit.org/show_bug.cgi?id=243898
    
    Reviewed by Mark Lam.
    
    We are already putting JSC::JIT class on BaselineJITPlan (heap allocated class), thus, this alignment requirement is not longer guaranteed,
    and we are not seeing performance problems. Plus, if clang generates code based on this alignment, it does not work (in particular on x64),
    if SIMD requires 32byte alignment[1]. This patch removes this alignment requirement.
    
    [1]: oven-sh/bun#1055
    
    * Source/JavaScriptCore/jit/JIT.h:
    
    Canonical link: https://commits.webkit.org/253398@main
    Constellation committed Aug 13, 2022
  4. Re-import css/css-transforms WPT

    https://bugs.webkit.org/show_bug.cgi?id=243889
    
    Reviewed by Simon Fraser.
    
    Upstream commit: web-platform-tests/wpt@631ec10
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/resources/resource-files.json:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/2d-rotate-001.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/3d-scene-with-iframe-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/3d-scene-with-iframe-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/3d-scene-with-iframe-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/3dtransform-and-filter-no-perspective-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/3dtransform-and-position-sticky-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/add-child-in-empty-layer-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/rotate-animation-with-will-change-transform-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/rotate-animation-with-will-change-transform-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/rotate-animation-with-will-change-transform-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/rotate-transform-equivalent-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-animated-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-rotate.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/animation/w3c-import.log:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-001.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-003-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-005-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-006-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/backface-visibility-hidden-animated-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/change-scale-wide-range-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/composited-under-rotateY-180deg-clip-perspective-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/composited-under-rotateY-180deg-clip-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/composited-under-rotateY-180deg-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/containing-block-dynamic-1-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/preserve3d-containing-br-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/preserve3d-containing-br-002.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/preserve3d-inline-hit-test.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/preserve3d-svg-foreign-object-hit-test.svg: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/w3c-import.log:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/zero-perspective-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-rotate-2d-3d-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-skew-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-skew-002-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-skew-002.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-skew-002.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-transform-animate-translate-implied-y-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-transform-scale-001-manual-expected.html: Removed.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css-transform-scale-001-manual.html: Removed.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/css3-transform-rotateY-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/dynamic-fixed-pos-cb-change-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/fractional-scale-gradient-bg-obscure-red-bg.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/group/svg-transform-nested-009.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/huge-length-tiny-scale-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-combine-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-combine-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-combine.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-ordering-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-ordering-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/individual-transform-ordering.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/animation/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/crashtests/w3c-import.log.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/individual-transform-1-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/individual-transform-2-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/stacking-context-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/individual-transform/w3c-import.log:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/inline-with-filter-and-hidden-backface-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/inline-with-filter-and-hidden-backface.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/paint-order-with-transform-change-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/paint-order-with-transform-change-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/paint-order-with-transform-change.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-001.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-002.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-003.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-004.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-005.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-origin-006.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-split-by-zero-w-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-svg-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-svg-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-svg-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-transforms-equivalence-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-untransformable-no-stacking-context-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-zero-2-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve-3d-flat-grouping-properties-containing-block-inline-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve-3d-flat-grouping-properties.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-filter-no-perspective-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-filter-with-perspective-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-filter-with-perspective.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-002-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-002.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-003-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-003.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-002-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-002.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-003-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-003.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-004-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-004.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-005-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-005.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-006-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-006.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-007-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-007.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-008-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-and-flattening-z-order-008.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-button-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/preserve3d-nested-perspective-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotateY-180deg-with-overflow-scroll-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_45deg-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_45deg.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_45deg.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_x_45deg-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_x_45deg.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_x_45deg.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_y_45deg-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_x_45deg.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotate_y_45deg.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotated-clip-under-opacity-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/rotated-clip-under-opacity.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scale-transform-overlap-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scalex-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scalex.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scaley-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scaley.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scrollable-hidden-3d-transform-z-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/scrollable-scroll-3d-transform-z-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/size-change-under-backface-visibility-hidden-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/subpixel-perspective-backface-hidden-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/subpixel-perspective-translate-z-0-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-3d-fixed-under-fixed-opacity-crash.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-3d-rotateY-stair-above-001.xht:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-3d-rotateY-stair-below-001.xht:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-3d-scales-different-x-y-dynamic-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-3d-scales-different-x-y-dynamic-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-abspos-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-applies-to-001.xht:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-blank-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-ref.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-1.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-descendant-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-display-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-fixed-bg-008.tentative-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-fixed-bg-008.tentative.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-fixed-bg-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-generated-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-generated-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-hit-testing-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-hit-testing.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-iframe-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-image-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-inherit-origin-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-inherit-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-inline-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-003-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-005-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-006-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-007-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-008-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-009-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-010-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-011-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-012-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-013-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-014-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-015-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-016-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-017-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-018-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-input-019-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-lime-square-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-003-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-005-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-006-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-007-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-matrix-008-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-007-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-007.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-008.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-009.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-010.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-011.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-012.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-origin-013-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-overflow-001-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-overflow-002-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-percent-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-propagate-inherit-boolean-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-root-bg-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-root-bg-003-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-root-bg-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-rotate-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-rotate-007-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-rounding-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-scale-percent-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-scale-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-scalex-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-scaley-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-singular-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-stresstest-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-009-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-009.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-010.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-table-011.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-inline-block-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-inline-table-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-list-item-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-caption-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-cell-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-footer-group-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-header-group-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-row-group-ref.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformable-table-row-ref.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-compound-notref-2.html.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-caption-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tbody-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-td-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tfoot-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-th-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-thead-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tr-contains-fixed-position-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-translate-background-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-translate-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-translatex-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform-translatey-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-matrix3d-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-matrix3d-002-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-matrix3d-003-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-matrix3d-004-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-matrix3d-005-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-perspective-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-perspective-009-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-preserve3d-013-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-rotatex-perspective-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-rotatex-transformorigin-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-rotatey-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-scale-001-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-scale-005-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-scale-007-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-sorting-006-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-translate3d-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transform3d-translatez-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/transforms-skewY.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/translate-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/translate.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/w3c-import.log:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/z-index-does-not-apply-ref.html: Added.
    
    Canonical link: https://commits.webkit.org/253397@main
    nt1m committed Aug 13, 2022
  5. Change the argument type of HTMLSlotElement.assign() into (Element or…

    … Text)
    
    https://bugs.webkit.org/show_bug.cgi?id=243815
    
    Reviewed by Ryosuke Niwa.
    
    * LayoutTests/imported/w3c/web-platform-tests/shadow-dom/imperative-slot-api-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/shadow-dom/imperative-slot-api.html:
    * Source/WebCore/html/HTMLSlotElement.cpp:
    (WebCore::HTMLSlotElement::assign):
    * Source/WebCore/html/HTMLSlotElement.h:
    * Source/WebCore/html/HTMLSlotElement.idl:
    
    Canonical link: https://commits.webkit.org/253396@main
    tetsuharuohzeki authored and rniwa committed Aug 13, 2022
  6. instantiateStreaming / compileStreaming should accept FetchResponse w…

    …ith FormData
    
    https://bugs.webkit.org/show_bug.cgi?id=221248
    rdar://problem/74132453
    
    Reviewed by Darin Adler.
    
    Load FormData through ReadableStream in WebAssembly.{instantiateStreaming,compileStreaming}.
    
    * LayoutTests/imported/w3c/web-platform-tests/wasm/wasm_stream_compile_test-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/wasm/wasm_stream_instantiate_test-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/wasm/webapi/wasm_stream_compile_test-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/wasm/webapi/wasm_stream_instantiate_test-expected.txt:
    * Source/WebCore/bindings/js/JSDOMGlobalObject.cpp:
    (WebCore::handleResponseOnStreamingAction):
    
    Canonical link: https://commits.webkit.org/253395@main
    Constellation committed Aug 13, 2022

Commits on Aug 12, 2022

  1. [Gardening]: REGRESSION(252541@main): [ iOS ] platform/ios/ios/plugin…

    …/youtube-flash-plugin-iframe.html is a constant timeout
    
    https://bugs.webkit.org/show_bug.cgi?id=243904
    
    Unreviewed test gardening.
    
    * LayoutTests/platform/ios-wk2/TestExpectations:
    
    Canonical link: https://commits.webkit.org/253394@main
    HerculesH committed Aug 12, 2022
  2. Location is sometimes incorrect even after mouse hover exit.

    https://bugs.webkit.org/show_bug.cgi?id=243894
    
    Reviewed by Wenson Hsieh.
    
    Track when we are in the cancelled/exited state and ensure a clear location.
    
    * Source/WebKit/UIProcess/ios/WKMouseGestureRecognizer.mm:
    (-[WKMouseGestureRecognizer setEnabled:]):
    (-[WKMouseGestureRecognizer _hoverEntered:withEvent:]):
    (-[WKMouseGestureRecognizer _hoverMoved:withEvent:]):
    (-[WKMouseGestureRecognizer _hoverExited:withEvent:]):
    (-[WKMouseGestureRecognizer locationInView:]):
    
    Canonical link: https://commits.webkit.org/253393@main
    megangardner committed Aug 12, 2022
  3. Mixing manual and named slot assignments causes slotchange event to b…

    …e not dispatched
    
    https://bugs.webkit.org/show_bug.cgi?id=243869
    
    Reviewed by Antti Koivisto.
    
    Fixed the bug that manually assigning a node to a slot inside a shadow tree
    in the named slot assignment mode does not enqueue slotchange as expected.
    
    * LayoutTests/fast/shadow-dom/imperative-named-slot-mixture-expected.txt: Added.
    * LayoutTests/fast/shadow-dom/imperative-named-slot-mixture.html: Added.
    * LayoutTests/platform/win/TestExpectations:
    
    * Source/WebCore/html/HTMLSlotElement.cpp:
    (WebCore::HTMLSlotElement::assign):
    
    Canonical link: https://commits.webkit.org/253392@main
    rniwa committed Aug 12, 2022
  4. [macOS Ventura] Disable code signing in TestWebKitAPI and WebKitTestR…

    …unner
    
    https://bugs.webkit.org/show_bug.cgi?id=242730
    
    Reviewed by Jonathan Bedard and Alexey Proskuryakov.
    
    Xcode 14 no longer accepts an empty signing identity on macOS, and is
    now trying to sign these tools with an identity it cannot find.
    Previously, they were completely unsigned.
    
    Set CODE_SIGNING_ALLOWED=NO to bypass signing and retain the status quo.
    
    * Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
    * Tools/WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
    
    Canonical link: https://commits.webkit.org/253391@main
    emw-apple committed Aug 12, 2022
  5. [ews] Prevent multiple Github status-bubble comments per commit

    https://bugs.webkit.org/show_bug.cgi?id=243876
    
    Reviewed by Ryan Haddad.
    
    * Tools/CISupport/ews-app/ews/common/github.py:
    (GitHubEWS.add_or_update_comment_for_change_id):
    * Tools/CISupport/ews-app/ews/views/results.py:
    (Results.build_event):
    
    Canonical link: https://commits.webkit.org/253390@main
    aj062 committed Aug 12, 2022
  6. Use align-content when calculating the static position of absolutely-…

    …positioned flexbox children.
    
    https://bugs.webkit.org/show_bug.cgi?id=221472
    rdar://74278896
    
    Reviewed by Sergio Villar Senin.
    
    Absolutely-positioned children of multi-line flex containers were not taking into account
    the value of align-content. Since abspos children are statically positioned as if they
    were the only flex item, we must compute the alignment of the hypothetical flex line that
    they would be on.
    
    * Source/WebCore/rendering/RenderFlexibleBox.cpp:
    (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild const):
        Added a lambda for computing the alignment offset of the hypothetical flex line that
        an abspos child of a flex container lives on. We don't fully implement the spec
        at this time since there is a webcompat issue for fallback behavior for
        align-content: stretch. We maintain our current behavior and compatibility with all other
        engines and we compute position as if the hypothetical flex line stretches to fill the container.
    
    (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild const):
    (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): Deleted.
        Made into a const member function.
    (WebCore::RenderFlexibleBox::staticCrossAxisPositionForPositionedChild): Deleted.
        Made into a const member function.
    * Source/WebCore/rendering/RenderFlexibleBox.h:
    
    LayoutTests:
        Rebaseline css/css-flexbox/abspos tests.
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-002-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-003-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-004-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-005-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-006-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-007-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-008-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-rtl-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-rtl-002-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-vertWM-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/abspos/flex-abspos-staticpos-align-content-vertWM-002-expected.txt:
    
    Canonical link: https://commits.webkit.org/253389@main
    rreno authored and Brent Fulgham committed Aug 12, 2022
  7. [filter-build-webkit] Remove new build warnings

    https://bugs.webkit.org/show_bug.cgi?id=243891
    <rdar://98580146>
    
    Reviewed by Simon Fraser.
    
    After the switch to using workspace builds by default, new build warnings
    have popped up which clutter up the build log.
    
    * Tools/Scripts/filter-build-webkit:
    (shouldIgnoreLine):
    
    Canonical link: https://commits.webkit.org/253388@main
    youssefsoli committed Aug 12, 2022
  8. Enable os_signposts on all builds

    https://bugs.webkit.org/show_bug.cgi?id=243699
    rdar://98348637
    
    Reviewed by David Kilzer.
    
    Currently WebKit's os_signposts are only enabled on AppleInternal builds. The idea was that
    sensitive content might be included in the signposts, so we restricted emitting them to only
    internal builds.  But this is the wrong way of achieving that goal, as we can use the standard
    logging privacy specifiers to control content that should be redacted from signposts. This also
    makes it hard to enable the signposts on perf test bots that emulate standard OS builds.
    
    Another issue is that there are two ways to emit tracing events: kdebug tracepoints and os_signpost.
    It's confusing that there are two ways to do almost the same thing. The current guidance from our
    system teams is to use signposts for new trace points, since they're more flexible (e.g. allow for
    logging free-form strings). But using signposts in WebKit requires multiple manual steps which this
    patch aims to address.
    
    This patch tries to address these issues by:
    
     1. Removing the AppleInternal restriction for os_signposts. Redaction will be done via standard
        logging privacy specifiers like `%{private}`.
     2. Adding a build phase to WebKit's Xcode project that installs a plist to /S/L/Preferences/Logging
        that enables persistence of WebKit signposts by default. Many other subsystems already do
        this. This makes it so that develoeprs don't have to manually run a step to install such a
        profile on their own to get the signposts to show up reliably in our tracing tool.
     3. By default, make `WTF{Emit,Begin,End}Signpost` only emit the signpost when kdebug tracing is
        enabled. This reduces the chances that we pollute the persistent log with signposts when they're
        not useful. It also matches the behavior of `kdebug_trace` (which is used by `WTF::tracePoint`).
    
    With these changes, we should be able to provide simplified guidance on how to use signposts to
    other WebKit developers.
    
    * Source/JavaScriptCore/runtime/JSGlobalObject.cpp
    (signpostStart):
    (signpostStop):
    * Source/WTF/wtf/cocoa/SystemTracingCocoa.cpp:
    (WTFSignpostsEnabled):
    * Source/WebCore/dom/ScriptElement.cpp:
    (WebCore::ScriptElement::executeClassicScript):
    * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
    (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
    * Source/WTF/wtf/SystemTracing.h:
    * Source/WTF/wtf/cocoa/SystemTracingCocoa.cpp:
    (WTFSignpostsEnabled): Deleted.
    * Source/WebCore/dom/ScriptElement.cpp:
    (WebCore::ScriptElement::executeClassicScript):
    * Source/WebCore/platform/mac/ScrollingEffectsController.mm:
    (WebCore::ScrollingEffectsController::handleWheelEvent):
    * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
    (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
    * Source/WebKit/Resources/LoggingPreferences.plist: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
    (JSC::JSC_DEFINE_HOST_FUNCTION):
    * Source/WTF/wtf/SystemTracing.h:
    * Source/WTF/wtf/cocoa/SystemTracingCocoa.cpp:
    (WTFSignpostsEnabled): Deleted.
    * Source/WebCore/dom/ScriptElement.cpp:
    (WebCore::ScriptElement::executeClassicScript):
    * Source/WebCore/platform/mac/ScrollingEffectsController.mm:
    (WebCore::ScrollingEffectsController::handleWheelEvent):
    * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
    (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
    * Source/WebKit/Resources/Signposts/LoggingPreferences.plist: Added.
    * Source/WebKit/Resources/Signposts/SystemTracePoints.plist: Copied from Tools/Tracing/SystemTracePoints.plist.
    * Source/WebKit/Scripts/copy-signpost-plists.sh: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Tools/Tracing/SystemTracePoints.plist: Changed to be a symlink to Source/WebKit/Resources/Signposts/SystemTracePoints.plist.
    
    Canonical link: https://commits.webkit.org/253387@main
    bnham committed Aug 12, 2022
  9. [Gardening]: REBASELINE: [ iPadOS ] imported/w3c/web-platform-tests/h…

    …tml/dom/idlharness.https.html is a constant failure
    
    https://bugs.webkit.org/show_bug.cgi?id=243852
    
    Unreviewed test gardening.
    
    * LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
    
    Canonical link: https://commits.webkit.org/253386@main
    HerculesH committed Aug 12, 2022
  10. AX: AccessibilityObject::visibleCharacterRange sometimes returns cont…

    …ent from the previous viewport boundary
    
    https://bugs.webkit.org/show_bug.cgi?id=243565
    rdar://96884540
    
    Reviewed by Chris Fleizach.
    
    This is a regression from https://bugs.webkit.org/show_bug.cgi?id=243286. That patch assumed that if the rectangle
    we constructed had changed in it's `x` origin, we had moved to a new viewport boundary. This assumption is incorrect
    for paragraphs that span multiple pages, since we would stop computing the start boundary after the first page break.
    
    This patch removes that mechanism. Instead, after computing the start boundary and end boundary, we check backwards
    and forwards one line to see if a rectangle built with that line is contained in the currently visible viewport.
    
    * Source/WebCore/accessibility/AccessibilityObject.cpp:
    (WebCore::AccessibilityObject::visibleCharacterRangeInternal const):
    (WebCore::styleFromNode): Deleted.
    
    Canonical link: https://commits.webkit.org/253385@main
    twilco committed Aug 12, 2022
  11. [Gardening] Unmark css-transforms WPT as failing

    https://bugs.webkit.org/show_bug.cgi?id=243886
    
    Unreviewed test gardening.
    
    imported/w3c/web-platform-tests/css/css-transforms/perspective-containing-block-dynamic-1b.html
    imported/w3c/web-platform-tests/css/css-transforms/animation/transform-interpolation-rotate.html
    
    These tests are passing.
    
    I believe the first one was fixed by bug 242673.
    
    * LayoutTests/TestExpectations:
    * LayoutTests/platform/ios-wk2/TestExpectations:
    
    Canonical link: https://commits.webkit.org/253384@main
    nt1m committed Aug 12, 2022
  12. Implement full search for text directives for Scroll to Text Fragment…

    … spec.
    
    https://bugs.webkit.org/show_bug.cgi?id=243511
    rdar://89301977
    
    Reviewed by Ryosuke Niwa.
    
    Add full search algorithm as specified in the spec here:
    https://wicg.github.io/scroll-to-text-fragment/
    To properly search for text fragments from the directives that we have
    parsed out of the URL.
    
    Currently these have been tested against some examples, but in the
    near future we will import that WPT tests and ensure that all of those pass
    as well as address the last few edge case FIXMEs left in this implementation.
    
    Source/WebCore/dom/FragmentDirectiveParser.cpp:
    Fix an error in parsing the fragment directive that wasn't caught until I
    finished coding the search algorithm.
    
    * Source/WebCore/dom/BoundaryPoint.h:
    (WebCore::operator!=):
    * Source/WebCore/dom/FragmentDirectiveParser.cpp:
    (WebCore::FragmentDirectiveParser::parseFragmentDirective):
    * Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp:
    (WebCore::FragmentDirectiveRangeFinder::isSearchInvisible):
    (WebCore::FragmentDirectiveRangeFinder::isNonSearchableSubtree):
    (WebCore::FragmentDirectiveRangeFinder::nearestBlockAncestor):
    (WebCore::FragmentDirectiveRangeFinder::getBoundaryPointAtIndex):
    (WebCore::FragmentDirectiveRangeFinder::indexIsWordBoundary):
    (WebCore::FragmentDirectiveRangeFinder::isVisibleTextNode):
    (WebCore::FragmentDirectiveRangeFinder::findRangeFromNodeList):
    (WebCore::FragmentDirectiveRangeFinder::rangeOfStringInRange):
    (WebCore::FragmentDirectiveRangeFinder::advanceRangeStartToNextNonWhitespace):
    (WebCore::FragmentDirectiveRangeFinder::rangesForFragments):
    (WebCore::FragmentDirectiveRangeFinder::rangeForFragment):
    (WebCore::FragmentDirectiveRangeFinder::collapseIfRootsDiffer): Deleted.
    (WebCore::FragmentDirectiveRangeFinder::rangeOfString): Deleted.
    * Source/WebCore/dom/FragmentDirectiveRangeFinder.h:
    * Source/WebCore/rendering/style/RenderStyle.h:
    (WebCore::RenderStyle::isDisplayBlockLevel const):
    
    Canonical link: https://commits.webkit.org/253383@main
    megangardner authored and ryanhaddad committed Aug 12, 2022
  13. Fix the build

    https://bugs.webkit.org/show_bug.cgi?id=243885
    
    Unreviewed build fix.
    
    * Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteLayerTreeLayers.mm:
    
    Canonical link: https://commits.webkit.org/253382@main
    hortont424 committed Aug 12, 2022
  14. [WPE] Add support for generating breakpad dumps

    https://bugs.webkit.org/show_bug.cgi?id=239103
    
    Reviewed by Adrian Perez de Castro.
    
    Rebase of original patch from Vivek Arumugam from
    WebPlatformForEmbedded/WPEWebKit#808
    
    Breakpad is a library and tool suite that allows collection of
    crash dumps in a compact format from applications stripped of
    of debug information at runtime. It works by processing the debug
    information generated in the build before it's stripped and
    processing together with the minidump.
    
    To enable, use the cmake option `-DENABLE_BREAKPAD`. The directory
    where the minidumps will be stored can be set with `-DBREAKPAD_MINIDUMP_DIR`
    cmake build option and the `$BREAKPAD_MINIDUMP_DIR` environment
    variable.
    
    In a followup commit, SIGPIPE should be ignored when using Breakpad as
    it may interfere with generating the minidumps.
    
    * Source/WebKit/PlatformWPE.cmake: Import the Breakpad library
    * Source/WebKit/Shared/AuxiliaryProcessMain.h: Declare
    AuxProcMainCommon. It's used to run initialization code common to all
    subprocesses before WebKit itself is initialized.
    * Source/WebKit/Shared/unix/AuxiliaryProcessMain.cpp:
    (WebKit::AuxiliaryProcessMainCommon::AuxiliaryProcessMainCommon):
    Install Breakpad handler if enabled beforey anything else.
    * Source/WebKit/Shared/unix/BreakpadExceptionHandler.cpp: Added.
    (WebKit::installBreakpadExceptionHandler):
    * Source/WebKit/Shared/unix/BreakpadExceptionHandler.h: Added.
    * Source/WebKit/Shared/win/AuxiliaryProcessMainWin.cpp:
    (WebKit::AuxiliaryProcessMainCommon::AuxiliaryProcessMainCommon):
    Default impl.
    * Source/cmake/FindBreakpad.cmake: Added.
    * Source/cmake/OptionsWPE.cmake:
    * Source/cmake/WebKitFeatures.cmake: Expose Breakpad option to other
    ports.
    * Tools/Scripts/webkitpy/port/wpe.py:
    (WPEPort.setup_environ_for_server): Forward BREAKPAD_MINIDUMP_DIR if
    set.
    
    Canonical link: https://commits.webkit.org/253381@main
    lauromoura committed Aug 12, 2022
  15. [QtWPE] Don't try to load unversioned libWPEBackend-fdo-1.0.so

    https://bugs.webkit.org/show_bug.cgi?id=243877
    
    Reviewed by Philippe Normand.
    
    * Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:
    (WPEQtViewBackend::WPEQtViewBackend):
    
    Canonical link: https://commits.webkit.org/253380@main
    mcatanzaro committed Aug 12, 2022
  16. Remove duplicate expectations

    https://bugs.webkit.org/show_bug.cgi?id=243855
    
    Reviewed by Ryan Haddad.
    
    These are all places where we have the same expectation file as
    multiple points in the fallback list; by only having the expectations
    at a higher level we less often have platform-specific test failures.
    
    * LayoutTests/platform/glib/crypto/subtle/ecdh-derive-bits-length-limits-expected.txt: Removed.
    * LayoutTests/platform/glib/css3/flexbox/line-wrapping-expected.txt: Removed.
    * LayoutTests/platform/glib/fast/borders/border-image-trumps-radius-expected.txt: Removed.
    * LayoutTests/platform/glib/fast/gradients/border-image-gradient-expected.txt: Removed.
    * LayoutTests/platform/glib/fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDH.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_ECDSA.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.https.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.https.any.worker-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-sizing/button-min-width-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-keep-all-001-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-values/line-break-ch-unit-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/cssom-view/offsetTopLeft-empty-inline-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/cssom-view/offsetTopLeft-leading-space-inline-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.https-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/getter-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-003-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-symmetric-001-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-symmetric-006-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver-setCodecPreferences-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/Send-65K-data.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/Send-binary-65K-arraybuffer.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/Send-binary-arraybuffer.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/Send-data.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/Send-paired-surrogates.any-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-getting-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/xhr/send-redirect-expected.txt: Removed.
    * LayoutTests/platform/glib/webgl/1.0.3/conformance/glsl/misc/shaders-with-name-conflicts-expected.txt: Removed.
    * LayoutTests/platform/gtk/editing/style/apply-style-iframe-crash-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/css/empty-inline-003-quirksmode-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/css/empty-inline-line-height-first-line-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/css/pseudo-first-line-border-width-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/parser/entities-in-xhtml-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/repaint/line-layout-block-shrink-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/repaint/simple-line-layout-shrinking-content-expected.txt: Removed.
    * LayoutTests/platform/gtk/fast/text/bidi-reverse-runs-crash-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_bits.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/ecdh_keys.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/pbkdf2.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/encrypt_decrypt/aes_cbc.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDH.https.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_ECDSA.https.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-PSS.https.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/ec_importKey.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/import_export/rsa_importKey.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pkcs.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/rsa_pss.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.worker-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-color-property-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener-expected.txt: Removed.
    * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/innerText/getter-expected.txt: Removed.
    * LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/css/cssom-view/offsetTopLeft-empty-inline-expected.txt: Removed.
    * LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/css/cssom-view/offsetTopLeft-leading-space-inline-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/fast/block/float/float-in-float-hit-testing-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/fast/layers/layer-visibility-sublayer-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/fast/text/international/rtl-white-space-pre-wrap-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/fast/text/khmer-lao-font-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/alert-in-event-handler-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/fragmented-frames-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/interleaved-fragments-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/receive-arraybuffer-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/workers/receive-arraybuffer-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/http/tests/websocket/tests/hybi/zero-length-text-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-selectmenu-element/selectmenu-popup-position.tentative-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-001-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-002-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-003-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-symmetric-001-expected.txt: Removed.
    * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-symmetric-006-expected.txt: Removed.
    * LayoutTests/platform/ios/css3/scroll-snap/nested-elements-expected.txt: Removed.
    * LayoutTests/platform/ios/fast/layers/add-layer-with-nested-stacking-expected.txt: Removed.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/content-security-policy/form-action/form-action-src-blocked.sub-expected.txt: Removed.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-compressible-001-expected.txt: Removed.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-sizing/button-min-width-expected.txt: Removed.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/css-style-attr-decl-block-expected.txt: Removed.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/dom/events/scrolling/overscroll-deltas-expected.txt: Removed.
    * LayoutTests/platform/ios/platform/ios/ios/fast/text/opticalFontWithWeight-expected.txt: Removed.
    * LayoutTests/platform/ios/webgl/1.0.3/conformance/extensions/webgl-draw-buffers-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur-wk2/imported/w3c/web-platform-tests/service-workers/service-worker/websocket-in-service-worker.https-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur-wk2/imported/w3c/web-platform-tests/service-workers/service-worker/websocket.https-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur-wk2/imported/w3c/web-platform-tests/websockets/remove-own-iframe-during-onerror.window-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur/fast/borders/bidi-002-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur/fast/dom/52776-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur/fast/text/basic/014-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur/fast/text/international/bidi-neutral-run-expected.txt: Removed.
    * LayoutTests/platform/mac-bigsur/fonts/monospace-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/http/tests/websocket/tests/hybi/alert-in-event-handler-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/http/tests/websocket/tests/hybi/invalid-encode-length-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/http/tests/websocket/tests/hybi/receive-arraybuffer-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/http/tests/websocket/tests/hybi/workers/receive-arraybuffer-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/http/tests/websocket/tests/hybi/zero-length-text-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/service-workers/service-worker/websocket-in-service-worker.https-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/service-workers/service-worker/websocket.https-expected.txt: Removed.
    * LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/websockets/remove-own-iframe-during-onerror.window-expected.txt: Removed.
    * LayoutTests/platform/mac/imported/w3c/web-platform-tests/css/selectors/focus-visible-008-expected.txt: Removed.
    * LayoutTests/platform/win/editing/style/apply-style-iframe-crash-expected.txt: Removed.
    * LayoutTests/platform/win/fast/forms/checkbox-and-pseudo-expected.txt: Removed.
    * LayoutTests/platform/win/http/tests/misc/webtiming-slow-load-expected.txt: Removed.
    * LayoutTests/platform/win/http/tests/xmlhttprequest/access-control-and-redirects-async-expected.txt: Removed.
    * LayoutTests/platform/win/performance-api/performance-timeline-api-expected.txt: Removed.
    * LayoutTests/platform/wincairo/crypto/subtle/ecdh-derive-bits-length-limits-expected.txt: Removed.
    * LayoutTests/platform/wincairo/editing/style/apply-style-iframe-crash-expected.txt: Removed.
    * LayoutTests/platform/wincairo/imported/w3c/web-platform-tests/cookies/samesite/about-blank-toplevel.https-expected.txt: Removed.
    * LayoutTests/platform/wk2/webarchive/loading/object-expected.txt: Removed.
    * LayoutTests/platform/wpe/fast/repaint/vertical-text-repaint-expected.txt: Removed.
    * LayoutTests/platform/wpe/fast/text/international/spaces-combined-in-vertical-text-expected.txt: Removed.
    * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-color-adjust/inheritance-expected.txt: Removed.
    * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-color-property-expected.txt: Removed.
    * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-keep-all-001-expected.txt: Removed.
    * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/getter-expected.txt: Removed.
    
    Canonical link: https://commits.webkit.org/253379@main
    gsnedders committed Aug 12, 2022
  17. [WPE][GTK] Share public headers

    https://bugs.webkit.org/show_bug.cgi?id=243809
    
    Reviewed by Carlos Garcia Campos.
    
    We're soon going to have four public APIs:
    
     * GTK 3
     * GTK 4
     * WPE 1.0/1.1
     * WPE 2.0
    
    To avoid having four different copies of all the public headers, let's
    generate the public headers from a shared template. We'll start by
    unifying the existing WPE and GTK headers without making any API
    changes. Using a customized version of unifdef, we can use
    PLATFORM(GTK) and PLATFORM(WPE) guards in the header templates in order
    to hide platform-specific code from the generated headers. Be careful
    around comments, though: the guards do not work inside comments, so if
    any part of a doc comment needs to differ, the entire doc comment will
    need to be duplicated.
    
    Also note that I don't touch the DOM API. GTK 3 will just have to be
    different from the other APIs.
    
    Thanks to Adrian for proposing this solution.
    
    This commit additionally removes the prohibition on tab characters under
    Source/ThirdParty, since there's not really any great reason to care
    about whitespace in third-party code, and we don't use Subversion
    anymore so concerns about the Subversion allow-tabs property no longer
    apply.
    
    I also got rid of WebKitForwardDeclarations.h. Turns out it was only
    needed to break an include cycle between GTK's WebKitWebView.h and
    WebKitPrintOperation.h, but that can be solved easily enough without it.
    
    I also added WebKitVersion.h to WPE's web process API, to match GTK.
    
    * Source/ThirdParty/unifdef/CMakeLists.txt: Added.
    * Source/ThirdParty/unifdef/README.webkit: Added.
    * Source/ThirdParty/unifdef/unifdef.c: Added.
    (processinout):
    (cleantemp):
    (version):
    (synopsis):
    (usage):
    (help):
    (Eelif):
    (Eelse):
    (Eendif):
    (Eeof):
    (Eioccc):
    (print):
    (drop):
    (Strue):
    (Sfalse):
    (Selse):
    (Pelif):
    (Pelse):
    (Pendif):
    (Dfalse):
    (Delif):
    (Delse):
    (Dendif):
    (Fdrop):
    (Fpass):
    (Ftrue):
    (Ffalse):
    (Oiffy):
    (Oif):
    (Oelif):
    (Idrop):
    (Itrue):
    (Ifalse):
    (Mpass):
    (Mtrue):
    (Melif):
    (Melse):
    (ignoreon):
    (keywordedit):
    (nest):
    (unnest):
    (state):
    (done):
    (flushline):
    (hashline):
    (closeio):
    (process):
    (parseline):
    (op_strict):
    (op_lt):
    (op_gt):
    (op_le):
    (op_ge):
    (op_eq):
    (op_ne):
    (op_or):
    (op_and):
    (op_blsh):
    (op_brsh):
    (op_add):
    (op_sub):
    (op_mul):
    (op_div):
    (op_mod):
    (op_bor):
    (op_bxor):
    (op_band):
    (eval_unary):
    (eval_table):
    (ifeval):
    (skiphash):
    (skipline):
    (skipcomment):
    (skipargs):
    (skipsym):
    (getsym):
    (matchsym):
    (findsym):
    (indirectsym):
    (addsym1):
    (addsym2):
    (debugsym):
    (defundefile):
    (defundef):
    (astrcat):
    (xstrdup):
    (debug):
    (error):
    * Source/ThirdParty/unifdef/unifdef.h: Added.
    (mktempmode):
    * Source/ThirdParty/unifdef/version.h: Added.
    * Source/WebKit/GLib.cmake: Added.
    * Source/WebKit/PlatformGTK.cmake:
    * Source/WebKit/PlatformWPE.cmake:
    * Source/WebKit/UIProcess/API/glib/WebKitApplicationInfo.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitApplicationInfo.h.
    * Source/WebKit/UIProcess/API/glib/WebKitAuthenticationRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitAuthenticationRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitAutocleanups.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h.
    * Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitAutomationSession.h.
    * Source/WebKit/UIProcess/API/glib/WebKitBackForwardList.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitBackForwardList.h.
    * Source/WebKit/UIProcess/API/glib/WebKitBackForwardListItem.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitBackForwardListItem.h.
    * Source/WebKit/UIProcess/API/glib/WebKitContextMenu.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitContextMenu.h.
    * Source/WebKit/UIProcess/API/glib/WebKitContextMenuActions.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitContextMenuActions.h.
    * Source/WebKit/UIProcess/API/glib/WebKitContextMenuItem.h.in: Renamed from Source/WebKit/UIProcess/API/gtk3/WebKitContextMenuItem.h.
    * Source/WebKit/UIProcess/API/glib/WebKitCookieManager.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitCookieManager.h.
    * Source/WebKit/UIProcess/API/glib/WebKitCredential.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitCredential.h.
    * Source/WebKit/UIProcess/API/glib/WebKitDefines.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitDefines.h.
    * Source/WebKit/UIProcess/API/glib/WebKitDeviceInfoPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitDeviceInfoPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitDownload.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitDownload.h.
    * Source/WebKit/UIProcess/API/glib/WebKitEditingCommands.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitEditingCommands.h.
    * Source/WebKit/UIProcess/API/glib/WebKitEditorState.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitEditorState.h.
    * Source/WebKit/UIProcess/API/glib/WebKitError.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitError.h.
    * Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitFaviconDatabase.h.
    * Source/WebKit/UIProcess/API/glib/WebKitFileChooserRequest.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitFileChooserRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitFindController.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitFindController.h.
    * Source/WebKit/UIProcess/API/glib/WebKitFormSubmissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitFormSubmissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitGeolocationManager.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitGeolocationManager.h.
    * Source/WebKit/UIProcess/API/glib/WebKitGeolocationPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitGeolocationPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitHitTestResult.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitHitTestResult.h.
    * Source/WebKit/UIProcess/API/glib/WebKitInputMethodContext.h.in: Renamed from Source/WebKit/UIProcess/API/gtk3/WebKitInputMethodContext.h.
    * Source/WebKit/UIProcess/API/glib/WebKitInstallMissingMediaPluginsPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitInstallMissingMediaPluginsPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitJavascriptResult.h.
    * Source/WebKit/UIProcess/API/glib/WebKitMediaKeySystemPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitMediaKeySystemPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitMemoryPressureSettings.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitMemoryPressureSettings.h.
    * Source/WebKit/UIProcess/API/glib/WebKitMimeInfo.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitMimeInfo.h.
    * Source/WebKit/UIProcess/API/glib/WebKitNavigationAction.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitNavigationAction.h.
    * Source/WebKit/UIProcess/API/glib/WebKitNavigationPolicyDecision.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h.
    * Source/WebKit/UIProcess/API/glib/WebKitNetworkProxySettings.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitNetworkProxySettings.h.
    * Source/WebKit/UIProcess/API/glib/WebKitNotification.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitNotification.h.
    * Source/WebKit/UIProcess/API/glib/WebKitNotificationPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitNotificationPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitOptionMenu.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitOptionMenu.h.
    * Source/WebKit/UIProcess/API/glib/WebKitOptionMenuItem.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitOptionMenuItem.h.
    * Source/WebKit/UIProcess/API/glib/WebKitPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitPlugin.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitPlugin.h.
    * Source/WebKit/UIProcess/API/glib/WebKitPolicyDecision.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitPolicyDecision.h.
    * Source/WebKit/UIProcess/API/glib/WebKitResponsePolicyDecision.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitResponsePolicyDecision.h.
    * Source/WebKit/UIProcess/API/glib/WebKitScriptDialog.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitScriptDialog.h.
    * Source/WebKit/UIProcess/API/glib/WebKitSecurityManager.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitSecurityManager.h.
    * Source/WebKit/UIProcess/API/glib/WebKitSecurityOrigin.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitSecurityOrigin.h.
    * Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitSettings.h.
    * Source/WebKit/UIProcess/API/glib/WebKitURIRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitURIRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitURIResponse.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitURIResponse.h.
    * Source/WebKit/UIProcess/API/glib/WebKitURISchemeRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitURISchemeRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitURISchemeResponse.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitURISchemeResponse.h.
    * Source/WebKit/UIProcess/API/glib/WebKitURIUtilities.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitURIUtilities.h.
    * Source/WebKit/UIProcess/API/glib/WebKitUserContent.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitUserContent.h.
    * Source/WebKit/UIProcess/API/glib/WebKitUserContentFilterStore.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitUserContentFilterStore.h.
    * Source/WebKit/UIProcess/API/glib/WebKitUserContentManager.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitUserContentManager.h.
    * Source/WebKit/UIProcess/API/glib/WebKitUserMediaPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitUserMediaPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitUserMessage.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitUserMessage.h.
    * Source/WebKit/UIProcess/API/glib/WebKitVersion.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitVersion.h.in.
    * Source/WebKit/UIProcess/API/glib/WebKitWebContext.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitWebContext.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebResource.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitWebResource.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitWebView.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionState.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitWebViewSessionState.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebsiteData.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitWebsiteData.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataAccessPermissionRequest.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataAccessPermissionRequest.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.h.in: Renamed from Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataManager.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWebsitePolicies.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitWebsitePolicies.h.
    * Source/WebKit/UIProcess/API/glib/WebKitWindowProperties.h.in: Renamed from Source/WebKit/UIProcess/API/gtk/WebKitWindowProperties.h.
    * Source/WebKit/UIProcess/API/gtk/WebKitApplicationInfo.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitAutomationSession.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitBackForwardList.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitBackForwardListItem.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitDefines.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitDeviceInfoPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitDownload.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitEditingCommands.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitEditorState.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitFindController.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitForwardDeclarations.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitGeolocationManager.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitHitTestResult.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitMediaKeySystemPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitMemoryPressureSettings.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitMimeInfo.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitNavigationAction.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitNetworkProxySettings.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitNotification.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitOptionMenu.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitOptionMenuItem.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitPlugin.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitPolicyDecision.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.h:
    * Source/WebKit/UIProcess/API/gtk/WebKitResponsePolicyDecision.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitScriptDialog.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitSecurityManager.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitSecurityOrigin.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitURIRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitURIResponse.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitURISchemeRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitURISchemeResponse.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitURIUtilities.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitUserContent.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitUserContentFilterStore.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitUserContentManager.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitUserMessage.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitVersion.h.in: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebResource.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.h.in: Renamed from Source/WebKit/UIProcess/API/gtk3/WebKitWebViewBase.h.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebViewSessionState.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebsiteData.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataAccessPermissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataManager.h: Removed.
    * Source/WebKit/UIProcess/API/gtk4/WebKitContextMenuItem.h: Removed.
    * Source/WebKit/UIProcess/API/gtk4/WebKitInputMethodContext.h: Removed.
    * Source/WebKit/UIProcess/API/gtk4/WebKitWebViewBase.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitAutocleanups.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitContextMenuActions.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitContextMenuItem.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitCookieManager.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitCredential.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitError.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitFaviconDatabase.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitFileChooserRequest.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitFormSubmissionRequest.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitInputMethodContext.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitJavascriptResult.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitNavigationPolicyDecision.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitSettings.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitWebView.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitWebsitePolicies.h: Removed.
    * Source/WebKit/UIProcess/API/wpe/WebKitWindowProperties.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitConsoleMessage.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorld.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebEditor.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtensionAutocleanups.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtensionAutocleanups.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResult.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebHitTestResult.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/glib/webkit-web-extension.h.in: Renamed from Source/WebKit/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h: Removed.
    * Source/WebKit/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h: Removed.
    * Tools/Scripts/webkitpy/style/checker.py:
    
    Canonical link: https://commits.webkit.org/253377@main
    mcatanzaro committed Aug 12, 2022
  18. Improve handling of build RETRY and EXCEPTION cases in GitHub Status-…

    …bubbles
    
    https://bugs.webkit.org/show_bug.cgi?id=243845
    
    Reviewed by Ryan Haddad.
    
    * Tools/CISupport/ews-app/ews/common/github.py:
    (GitHubEWS.github_status_for_queue):
    
    Canonical link: https://commits.webkit.org/253376@main
    aj062 committed Aug 12, 2022
  19. [WPE] Cannot build with USE_SYSTEM_MALLOC enabled

    https://bugs.webkit.org/show_bug.cgi?id=243868
    
    Reviewed by Yusuke Suzuki and Adrian Perez de Castro.
    
    * Tools/TestWebKitAPI/PlatformWPE.cmake: Add bmalloc to
      TestJSC_FRAMEWORKS only if USE_SYSTEM_MALLOC is not defined.
    
    Canonical link: https://commits.webkit.org/253375@main
    dpino committed Aug 12, 2022
  20. Web Inspector: Add Function Breakpoints/Tracepoints (like Symbolic Br…

    …eakpoints)
    
    https://bugs.webkit.org/show_bug.cgi?id=142914
    <rdar://problem/20242025>
    
    Reviewed by Patrick Angle.
    
    Existing JavaScript breakpoints are only useful so long as the developer knows the source code
    location of the function. Web Inspector does provide a bunch of ways to find that location (e.g.
    Search Tab, hovering a symbol when paused to see it's definition, etc.), but that makes adding a
    breakpoint into a multi-step process. To make matters worse, it's not uncommon for there to be
    different functions with the same name, meaning that if the developer wants to add breakpoints to
    all of them it becomes a geometric problem (and that's not even considering the hassle of having to
    duplicate any breakpoint configuration each time).
    
    Symbolic breakpoints are a single-step way to add a single breakpoint that will be used across all
    functions that share the same name, regardless of when they are created or where they are located.
    
    * Source/JavaScriptCore/debugger/Debugger.h:
    (JSC::Debugger::Observer::willEnter): Added.
    (JSC::Debugger::Observer::applyBreakpoints): Added.
    * Source/JavaScriptCore/debugger/Debugger.cpp:
    (JSC::Debugger::forEachRegisteredCodeBlock): Added.
    (JSC::Debugger::applyBreakpoints):
    (JSC::Debugger::callEvent):
    Add hooks to allow `InspectorDebuggerAgent` to also do things whenever a new `CodeBlock` is created
    and when a new `CallFrame` is about to be entered (i.e. a function call).
    
    * Source/JavaScriptCore/inspector/protocol/Debugger.json:
    * Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.h:
    (Inspector::InspectorDebuggerAgent::SymbolicBreakpoint::operator== const): Added.
    * Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp:
    (Inspector::functionName): Added.
    (Inspector::InspectorDebuggerAgent::addSymbolicBreakpoint): Added.
    (Inspector::InspectorDebuggerAgent::removeSymbolicBreakpoint): Added.
    (Inspector::InspectorDebuggerAgent::willEnter): Added.
    (Inspector::InspectorDebuggerAgent::applyBreakpoints): Added.
    (Inspector::InspectorDebuggerAgent::SymbolicBreakpoint::matches): Added.
    Add commands for adding/removing symbolic breakpoints, leveraging the above `Debugger` hooks to mark
    matching `CodeBlock` as having a (symbolic) breakpoint so that debug hooks will not be ignored.
    
    * Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js:
    (WI.DebuggerManager):
    (WI.DebuggerManager.prototype.async initializeTarget):
    (WI.DebuggerManager.pauseReasonFromPayload):
    (WI.DebuggerManager.prototype.symbolicBreakpointsForSymbol): Added.
    (WI.DebuggerManager.prototype.addSymbolicBreakpoint): Added.
    (WI.DebuggerManager.prototype.removeSymbolicBreakpoint): Added.
    (WI.DebuggerManager.prototype._setSymbolicBreakpoint): Added.
    (WI.DebuggerManager.prototype._removeSymbolicBreakpoint): Added.
    (WI.DebuggerManager.prototype._handleSymbolicBreakpointDisabledStateChanged): Added.
    (WI.DebuggerManager.prototype._handleSymbolicBreakpointEditablePropertyChanged): Added.
    (WI.DebuggerManager.prototype._handleSymbolicBreakpointActionsChanged): Added.
    Manage adding/removing symbolic breakpoints, including handling state changes for existing symbolic
    breakpoints (e.g. disabled, actions, etc.).
    
    * Source/WebInspectorUI/UserInterface/Models/SymbolicBreakpoint.js: Added.
    (WI.SymbolicBreakpoint):
    (WI.SymbolicBreakpoint.supported):
    (WI.SymbolicBreakpoint.fromJSON):
    (WI.SymbolicBreakpoint.prototype.get symbol):
    (WI.SymbolicBreakpoint.prototype.get caseSensitive):
    (WI.SymbolicBreakpoint.prototype.get isRegex):
    (WI.SymbolicBreakpoint.prototype.get displayName):
    (WI.SymbolicBreakpoint.prototype.get editable):
    (WI.SymbolicBreakpoint.prototype.matches):
    (WI.SymbolicBreakpoint.prototype.equals):
    (WI.SymbolicBreakpoint.prototype.remove):
    (WI.SymbolicBreakpoint.prototype.saveIdentityToCookie):
    (WI.SymbolicBreakpoint.prototype.toJSON):
    Create a model object to represent a symbolic breakpoint.
    
    * Source/WebInspectorUI/UserInterface/Views/BreakpointPopover.js:
    (WI.BreakpointPopover.show):
    * Source/WebInspectorUI/UserInterface/Views/SymbolicBreakpointPopover.js: Added.
    (WI.SymbolicBreakpointPopover):
    (WI.SymbolicBreakpointPopover.get supportsEditing):
    (WI.SymbolicBreakpointPopover.prototype.populateContent):
    (WI.SymbolicBreakpointPopover.prototype.createBreakpoint):
    (WI.SymbolicBreakpointPopover.prototype._updateSymbolCodeMirrorMode):
    * Source/WebInspectorUI/UserInterface/Views/SymbolicBreakpointPopover.css: Added.
    (.popover .edit-breakpoint-popover-content .symbol.editor):
    (.popover .edit-breakpoint-popover-content .symbol.editor > .CodeMirror):
    (.popover .edit-breakpoint-popover-content .symbol.editor + label):
    (.popover .edit-breakpoint-popover-content .symbol.editor + label + label):
    * Source/WebInspectorUI/UserInterface/Views/SymbolicBreakpointTreeElement.js: Added.
    (WI.SymbolicBreakpointTreeElement):
    * Source/WebInspectorUI/UserInterface/Views/SymbolicBreakpointTreeElement.css: Added.
    (.item.breakpoint.symbolic:not(.paused) .icon):
    (@media(prefers-color-scheme: dark) .item.breakpoint.symbolic:not(.paused) .icon):
    * Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js:
    (WI.NavigationSidebarPanel.prototype._isTreeElementWithoutRepresentedObject):
    * Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js:
    (WI.SourcesNavigationSidebarPanel):
    (WI.SourcesNavigationSidebarPanel.prototype.closed):
    (WI.SourcesNavigationSidebarPanel.prototype.willDismissPopover):
    (WI.SourcesNavigationSidebarPanel.prototype._willDismissSymbolicBreakpointPopover): Added.
    (WI.SourcesNavigationSidebarPanel.prototype._insertDebuggerTreeElement):
    (WI.SourcesNavigationSidebarPanel.prototype._addBreakpoint):
    (WI.SourcesNavigationSidebarPanel.prototype._updatePauseReasonSection):
    (WI.SourcesNavigationSidebarPanel.prototype._handleTreeSelectionDidChange):
    (WI.SourcesNavigationSidebarPanel.prototype._populateCreateBreakpointContextMenu):
    Add various UI elements for `WI.SymbolicBreakpoint`.
    
    * Source/WebInspectorUI/UserInterface/Base/Setting.js:
    * Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js:
    (WI.SettingsTabContentView.prototype._createExperimentalSettingsView):
    Create an experimental setting for symbolic breakpoints, as they currently do not work for
    - native functions (e.g. `Event.prototype.preventDefault`)
    - functions that changed their `name` after creation (e.g. `foo.name = "bar"`)
    
    * Source/WebInspectorUI/UserInterface/Base/ObjectStore.js:
    (WI.ObjectStore._open):
    Increment the database version for the new symbolic breakpoint object store.
    
    * Source/WebInspectorUI/UserInterface/Base/ReferencePage.js:
    Create a link to a reference page (to be created).
    
    * Source/WebInspectorUI/UserInterface/Main.html:
    * Source/WebInspectorUI/UserInterface/Images/TypeIcons.svg:
    * Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js:
    
    * Source/WebInspectorUI/UserInterface/Test.html:
    * LayoutTests/inspector/debugger/symbolic-breakpoint.html: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-expected.txt: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-exact-case-insensitive.html: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-exact-case-insensitive-expected.txt: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-exact-case-sensitive.html: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-exact-case-sensitive-expected.txt: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-regex-case-insensitive.html: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-regex-case-insensitive-expected.txt: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-regex-case-sensitive.html: Added.
    * LayoutTests/inspector/debugger/symbolic-breakpoint-regex-case-sensitive-expected.txt: Added.
    
    Canonical link: https://commits.webkit.org/253374@main
    dcrousso committed Aug 12, 2022
  21. [Flatpak SDK] Update Mold to version 1.4.0

    https://bugs.webkit.org/show_bug.cgi?id=243823
    
    Reviewed by Philippe Normand.
    
    While at it, update hwloc, which is a dependency of TBB, which in turn
    is a dependency of Mold itself.
    
    * Tools/buildstream/elements/sdk/hwloc.bst: Update to version 2.8.0
    * Tools/buildstream/elements/sdk/mold.bst: Update to version 1.4.0
    
    Canonical link: https://commits.webkit.org/253373@main
    aperezdc committed Aug 12, 2022
  22. REGRESSION (15.4.x): Status bar loses its color after PDF download

    https://bugs.webkit.org/show_bug.cgi?id=239898
    <rdar://problem/92544725>
    
    Reviewed by Tim Horton.
    
    * Source/WebKit/UIProcess/ios/WKPDFView.mm:
    (-[WKPDFView web_initWithFrame:webView:mimeType:]):
    243980@main changed `WKScrollView` to have a `-[WKScrollView _setBackgroundColorInternal:]` in order
    to know whether the `backgroundColor` is being set by WebKit or by the owner of the `WKWebView`. The
    former allows for WebKit to continue automatically updating the `backgroundColor` based on the page
    content, whereas the latter means WebKit should not as the client explicitly asked for that color.
    Since `WKPDFView` is an internal implementation detail of WebKit, it should fall into the former.
    
    * Source/WebKit/UIProcess/API/ios/WKWebViewIOS.h:
    * Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
    (-[WKWebView _wkScrollView]): Added.
    (-[WKWebView _updateScrollViewBackground]):
    * Source/WebKit/UIProcess/ios/WKScrollView.mm:
    (-[WKScrollView _setBackgroundColorInternal:]):
    Expose a way for internal logic to access the `WKScrollView` from the `WKWebView`.
    
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm:
    (TEST.WKPDFView.BackgroundColor): Added.
    * Tools/TestWebKitAPI/Tests/WebKit/red.html: Added.
    * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/253372@main
    dcrousso committed Aug 12, 2022
  23. REGRESSION(253277@main): [ iOS ] fast/text-autosizing/ios/idempotentm…

    …ode/idempotent-autosizing-after-changing-initial-scale.html is a constant failure
    
    https://bugs.webkit.org/show_bug.cgi?id=243828
    <rdar://problem/98512091>
    
    Reviewed by Tim Horton.
    
    * Source/WebCore/page/FrameView.cpp:
    (WebCore::FrameView::clearSizeOverrideForCSSDefaultViewportUnits):
    (WebCore::FrameView::setOverrideSizeForCSSDefaultViewportUnits):
    Partially revert 253277@main to use `didChangeStyleSheetEnvironment` whenever the underlying value
    of the CSS default viewport unit changes, as this only happens when the size of the view changes,
    which is really a change in the environment (as opposed to CSS small/large/dynamic viewport units
    only changing when other UI near the view changes, but not the view itself). This also matches the
    behavior before any of the new CSS viewport units were implemented (243349@main).
    
    Canonical link: https://commits.webkit.org/253371@main
    dcrousso committed Aug 12, 2022
  24. [macOS] Unreviewed, non-unified build fixes

    * Source/WebKit/UIProcess/WebAuthentication/Cocoa/CcidService.h:
    * Source/WebKit/UIProcess/WebAuthentication/Mock/MockCcidService.h:
    * Source/WebKit/UIProcess/WebAuthentication/fido/CtapNfcDriver.cpp:
    (WebKit::CtapNfcDriver::CtapNfcDriver):
    
    Canonical link: https://commits.webkit.org/253370@main
    dpino committed Aug 12, 2022
  25. dom/xslt/transformToFragment.tentative.window.html WPT test is failin…

    …g in WebKit
    
    https://bugs.webkit.org/show_bug.cgi?id=243849
    
    Reviewed by Geoffrey Garen.
    
    Per https://html.spec.whatwg.org/multipage/scripting.html#scriptTagXSLT, XSLTProcessor transformToFragment()
    should allow script elements and set their "already started" flag to false so that they will execute when
    the fragment is inserted into a document.
    
    This aligns our behavior with Blink and Gecko as they pass this WPT test.
    
    * LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window-expected.txt:
    * Source/WebCore/editing/markup.cpp:
    (WebCore::createFragmentForTransformToFragment):
    
    Canonical link: https://commits.webkit.org/253369@main
    cdumez committed Aug 12, 2022
  26. Rebaseline test262 config.yaml with new ICU headers

    https://bugs.webkit.org/show_bug.cgi?id=243871
    
    Reviewed by Ross Kirsling.
    
    Since ICU headers are updated, we start passing some of Intl tests.
    Gardening test262/config.yaml in OSS test262 bot.
    
    * JSTests/test262/config.yaml:
    
    Canonical link: https://commits.webkit.org/253368@main
    Constellation committed Aug 12, 2022
  27. [GTK] Fix build on macOS

    https://bugs.webkit.org/show_bug.cgi?id=243759
    
    Reviewed by Yusuke Suzuki.
    
    This attempts to fix the WebKitGTK build on macOS. The patch is
    contributed by echassiers.09-regards@icloud.com.
    
    * Source/WTF/wtf/FastMalloc.cpp:
    * Source/WTF/wtf/PlatformGTK.cmake:
    * Source/WTF/wtf/RandomDevice.cpp:
    * Source/WTF/wtf/WTFConfig.cpp:
    (WTF::setPermissionsOfConfigPage):
    (WTF::Config::permanentlyFreeze):
    * Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp:
    
    Canonical link: https://commits.webkit.org/253367@main
    echassiers.09-regards@icloud.com authored and mcatanzaro committed Aug 12, 2022
  28. Stop calling plugInViewWithArguments: to load legacy WebKit plug ins

    https://bugs.webkit.org/show_bug.cgi?id=243857
    
    Reviewed by Geoffrey Garen.
    
    * Source/WebKitLegacy/mac/Plugins/WebPluginController.mm:
    (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
    * Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm:
    (pluginView):
    
    Canonical link: https://commits.webkit.org/253366@main
    Alex Christensen authored and achristensen07 committed Aug 12, 2022
Older