[webkit-changes] [WebKit/WebKit] 95c38f: [Gardening] Fix color-computed-color-mix-function....

2023-09-04 Thread Tim Nguyen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95c38f4ab2798113c7ffb54556813db1d36c212c
  
https://github.com/WebKit/WebKit/commit/95c38f4ab2798113c7ffb54556813db1d36c212c
  Author: Tim Nguyen 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt
A 
LayoutTests/platform/mac-monterey/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt
R 
LayoutTests/platform/mac/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt

  Log Message:
  ---
  [Gardening] Fix color-computed-color-mix-function.html baselines
https://bugs.webkit.org/show_bug.cgi?id=261132

Unreviewed test gardening.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt:
* 
LayoutTests/platform/mac-monterey/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt:
 Renamed from 
LayoutTests/platform/mac/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt.

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] f8882f: [IFC] isLastLineWithInlineContent should should no...

2023-09-04 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8882f5669c36a8213d83bf1d2b88c70433a47c4
  
https://github.com/WebKit/WebKit/commit/f8882f5669c36a8213d83bf1d2b88c70433a47c4
  Author: Alan Baradlay 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  ---
  [IFC] isLastLineWithInlineContent should should not return true for 
float/out-of-flow content only
https://bugs.webkit.org/show_bug.cgi?id=261131

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::placeInlineAndFloatContent):
(WebCore::Layout::LineBuilder::isLastLineWithInlineContent const):
(WebCore::Layout::isLastLineWithInlineContent): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::contentBoxLogicalHeight const):

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 3ccc04: [IFC] Move placed float geometry update to a dedic...

2023-09-04 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ccc045675ad74108a93f219ee7dd9d744c85c2a
  
https://github.com/WebKit/WebKit/commit/3ccc045675ad74108a93f219ee7dd9d744c85c2a
  Author: Alan Baradlay 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h

  Log Message:
  ---
  [IFC] Move placed float geometry update to a dedicated function 
(InlineFormattingContext::updateBoxGeometryForPlacedFloats)
https://bugs.webkit.org/show_bug.cgi?id=261128

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
(WebCore::Layout::InlineFormattingContext::updateBoxGeometryForPlacedFloats):
(WebCore::Layout::InlineFormattingContext::createDisplayContentForInlineContent):
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLineFromCachedContent):
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLine): 
Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] f4af2e: [visionOS] YouTube audio in background tab stops a...

2023-09-04 Thread Aditya Keerthi
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f4af2e26b34ee49fd74408a08dcc41e519eec23a
  
https://github.com/WebKit/WebKit/commit/f4af2e26b34ee49fd74408a08dcc41e519eec23a
  Author: Aditya Keerthi 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/html/HTMLMediaElement.cpp
M Source/WebCore/html/HTMLMediaElement.h

  Log Message:
  ---
  [visionOS] YouTube audio in background tab stops after looking away from 
Safari for one minute
https://bugs.webkit.org/show_bug.cgi?id=261050
rdar://113459873

Reviewed by Tim Horton.

On visionOS, scenes are backgrounded after they are out of the user's field of
view for one minute. This is similar to iPadOS, where the device is locked when
looking away from the screen for two minutes (configurable via Settings).
However, unlike iPadOS, visionOS has no device-level idle state, as the display
is always on when the device is in use, and always off when it is not.

The only way to prevent the aforementioned scene backgrounding is to disable
the application-level idle timer. This timer is currently only disabled when the
document containing a playing media element is visible. If the media element is
playing and in a hidden document (as is the case in a background tab), a system
sleep assertion is taken instead. This assertion has no meaning as there is no
"user-idle" state while the device is in use. Consequently, the idle timer is
active, the scene gets backgrounded after one minute, and playback is paused
by WebKit as the notification is received.

To fix, ensure the idle timer remains disabled when media is playing in a
hidden document.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::shouldDisableSleep const):
* Source/WebCore/html/HTMLMediaElement.h:

Drive-by: Specify the smallest underlying type for the `SleepType` enum class.
Canonical link: https://commits.webkit.org/267615@main


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] dae026: maybePauseDisplayRefreshCallbacks doesn't wait for...

2023-09-04 Thread mattwoodrow
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dae026f290e6c19fcb068c7daee43f05d00568ef
  
https://github.com/WebKit/WebKit/commit/dae026f290e6c19fcb068c7daee43f05d00568ef
  Author: Matt Woodrow 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm

  Log Message:
  ---
  maybePauseDisplayRefreshCallbacks doesn't wait for MissedCommit.
https://bugs.webkit.org/show_bug.cgi?id=260996


Reviewed by Dan Glastonbury.

maybePauseDisplayRefreshCallbacks is pausing callbacks if nothing is in 
NeedsDisplayDidRefresh, but we
also want to keep callbacks enabled for CommitLayerTreePending so that we 
transition to MissedCommit state.

MissedCommit is required to trigger ASAP compositing when we're failing to 
reach the desired refresh rate, and
so we instead fall back to half refresh rate. This fixes a 6% regression in 
TodoMVC-React-Complex-DOM.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::maybePauseDisplayRefreshCallbacks):
(WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay):

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 2f9a2a: [motion-path] Use border radius for coord-box

2023-09-04 Thread Nikos Mouchtaris
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f9a2a0138750b5ab4bd34fc487766a4adfb4c66
  
https://github.com/WebKit/WebKit/commit/2f9a2a0138750b5ab4bd34fc487766a4adfb4c66
  Author: Nikolaos Mouchtaris 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M LayoutTests/TestExpectations
M 
LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-coord-box-001.html
A 
LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-006-expected.html
A 
LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-shape-circle-006.html
M Source/WebCore/rendering/MotionPath.cpp
M Source/WebCore/rendering/MotionPath.h
M Source/WebCore/rendering/PathOperation.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  ---
  [motion-path] Use border radius for coord-box
https://bugs.webkit.org/show_bug.cgi?id=261074
rdar://114883507

Reviewed by Tim Nguyen.

Change containingBlockBoundingRect to FloatRoundedRect to take into account the 
border-radius
property.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/css/motion/offset-path-coord-box-001.html:
* Source/WebCore/rendering/MotionPath.cpp:
(WebCore::MotionPath::motionPathDataForRenderer):
(WebCore::MotionPath::lengthForRayPath):
(WebCore::MotionPath::computePathForRay):
(WebCore::MotionPath::computePathForBox):
* Source/WebCore/rendering/MotionPath.h:
* Source/WebCore/rendering/PathOperation.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] c14146: Let the compiler generate more comparison operator...

2023-09-04 Thread Chris Dumez
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c14146dd49a0b019dccb408d52339caa77594558
  
https://github.com/WebKit/WebKit/commit/c14146dd49a0b019dccb408d52339caa77594558
  Author: Chris Dumez 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebCore/rendering/CSSValueKey.h
M Source/WebCore/rendering/ClipRect.h
M Source/WebCore/rendering/EventRegion.cpp
M Source/WebCore/rendering/EventRegion.h
M Source/WebCore/rendering/GapRects.h
M Source/WebCore/rendering/HighlightData.h
M Source/WebCore/rendering/LayerAncestorClippingStack.h
M Source/WebCore/rendering/Pagination.h
M Source/WebCore/rendering/shapes/ShapeInterval.h
M Source/WebCore/rendering/style/BasicShapes.cpp
M Source/WebCore/rendering/style/BorderData.h
M Source/WebCore/rendering/style/BorderValue.h
M Source/WebCore/rendering/style/CounterContent.h
M Source/WebCore/rendering/style/CounterDirectives.h
M Source/WebCore/rendering/style/CursorData.h
M Source/WebCore/rendering/style/FillLayer.h
M Source/WebCore/rendering/style/GapLength.h
M Source/WebCore/rendering/style/GridArea.h
M Source/WebCore/rendering/style/GridLength.h
M Source/WebCore/rendering/style/GridPosition.cpp
M Source/WebCore/rendering/style/GridPosition.h
M Source/WebCore/rendering/style/LineClampValue.h
M Source/WebCore/rendering/style/ListStyleType.h
M Source/WebCore/rendering/style/NinePieceImage.h
M Source/WebCore/rendering/style/OffsetRotation.cpp
M Source/WebCore/rendering/style/OffsetRotation.h
M Source/WebCore/rendering/style/OutlineValue.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/rendering/style/RenderStyleInlines.h
M Source/WebCore/rendering/style/SVGRenderStyle.h
M Source/WebCore/rendering/style/StyleColorScheme.h
M Source/WebCore/rendering/style/StyleContentAlignmentData.h
M Source/WebCore/rendering/style/StyleGradientImage.cpp
M Source/WebCore/rendering/style/StyleGradientImage.h
M Source/WebCore/rendering/style/StyleGridData.h
M Source/WebCore/rendering/style/StyleScrollSnapPoints.h
M Source/WebCore/rendering/style/StyleSelfAlignmentData.h
M Source/WebCore/rendering/style/StyleTextBoxEdge.h
M Source/WebCore/rendering/style/TextSizeAdjustment.h
M Source/WebCore/rendering/style/TextUnderlineOffset.h
M Source/WebCore/rendering/style/WillChangeData.h
M Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
M Source/WebCore/style/MatchResult.h
M Source/WebCore/svg/SVGLengthValue.h
M Source/WebCore/svg/SVGPathByteStream.h
M Source/WebCore/workers/service/ServiceWorkerJobDataIdentifier.h
M Source/WebCore/workers/service/ServiceWorkerRegistrationKey.cpp
M Source/WebCore/workers/service/ServiceWorkerRegistrationKey.h
M Source/WebCore/workers/shared/SharedWorkerKey.h

  Log Message:
  ---
  Let the compiler generate more comparison operators in WebCore
https://bugs.webkit.org/show_bug.cgi?id=261095

Reviewed by Darin Adler.

Let the compiler generate more comparison operators in WebCore now
that we support c++20.

* Source/WebCore/rendering/CSSValueKey.h:
(WebCore::operator==): Deleted.
* Source/WebCore/rendering/ClipRect.h:
(WebCore::ClipRect::operator== const): Deleted.
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::operator== const): Deleted.
* Source/WebCore/rendering/EventRegion.h:
* Source/WebCore/rendering/GapRects.h:
(WebCore::GapRects::operator== const): Deleted.
* Source/WebCore/rendering/HighlightData.h:
(WebCore::RenderRange::operator== const): Deleted.
* Source/WebCore/rendering/LayerAncestorClippingStack.h:
(WebCore::CompositedClipData::operator== const): Deleted.
* Source/WebCore/rendering/Pagination.h:
(WebCore::Pagination::operator== const): Deleted.
* Source/WebCore/rendering/shapes/ShapeInterval.h:
(WebCore::ShapeInterval::operator== const): Deleted.
* Source/WebCore/rendering/style/BasicShapes.cpp:
(WebCore::SVGPathTransformedByteStream::operator== const): Deleted.
* Source/WebCore/rendering/style/BorderData.h:
(WebCore::BorderData::operator== const): Deleted.
* Source/WebCore/rendering/style/BorderValue.h:
(WebCore::BorderValue::operator== const): Deleted.
* Source/WebCore/rendering/style/CounterContent.h:
(WebCore::operator==): Deleted.
* Source/WebCore/rendering/style/CounterDirectives.h:
(WebCore::operator==): Deleted.
* Source/WebCore/rendering/style/CursorData.h:
(WebCore::CursorData::operator== const): Deleted.
* Source/WebCore/rendering/style/FillLayer.h:
(WebCore::FillRepeatXY::operator== const): Deleted.
(WebCore::operator==): Deleted.
* Source/WebCore/rendering/style/GapLength.h:
(WebCore::GapLength::operator== const): Deleted.
* Source/WebCore/rendering/style/GridArea.h:
(WebCore::GridSpan::operator== const): Deleted.
(WebCore::operator==): Deleted.
* Source/WebCore/rendering/style/GridLength.h:
(WebCore::GridLength::operator== const): Deleted.
* Source/

[webkit-changes] [WebKit/WebKit] a24c1a: Unreviewed, Gardening: skip JSTests/microbenchmark...

2023-09-04 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a24c1ac65e035273a08ddda1f61ae488307cb489
  
https://github.com/WebKit/WebKit/commit/a24c1ac65e035273a08ddda1f61ae488307cb489
  Author: Mark Lam 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M JSTests/microbenchmarks/array-from-derived-object-func.js

  Log Message:
  ---
  Unreviewed, Gardening: skip 
JSTests/microbenchmarks/array-from-derived-object-func.js on MIPS for lockdown 
test configuration.
https://bugs.webkit.org/show_bug.cgi?id=261121
rdar://114946931

The test is flaky on MIPS.  It's probably running too slow on that platform.

* JSTests/microbenchmarks/array-from-derived-object-func.js:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] daefe5: Remove CSSValueInternalVariableValue

2023-09-04 Thread Antti Koivisto
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: daefe5b35709bc997ea5e5624f815834e1d13740
  
https://github.com/WebKit/WebKit/commit/daefe5b35709bc997ea5e5624f815834e1d13740
  Author: Antti Koivisto 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebCore/css/CSSCustomPropertyValue.h
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/parser/CSSParserIdioms.cpp
M Source/WebCore/css/parser/CSSVariableParser.cpp
M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  ---
  Remove CSSValueInternalVariableValue
https://bugs.webkit.org/show_bug.cgi?id=261112
rdar://114935023

Reviewed by Alan Baradlay.

It is not used for anything meaningful.

* Source/WebCore/css/CSSCustomPropertyValue.h:

Also remove the unnecessary and confusing createUnresolved constructor function.

* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSParserIdioms.cpp:
(WebCore::isValueAllowedInMode):
* Source/WebCore/css/parser/CSSVariableParser.cpp:
(WebCore::classifyVariableRange):

Return a simple struct instead of relying on 
CSSValueInternalVariableValue/CSSValueInvalid and a separate bool.

(WebCore::CSSVariableParser::containsValidVariableReferences):
(WebCore::CSSVariableParser::parseDeclarationValue):
(WebCore::CSSVariableParser::parseInitialValueForUniversalSyntax):
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyInitialCustomProperty):

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 30fbab: [IFC][margin-trim] Discard inline-start/end margin...

2023-09-04 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30fbab6f895ff60593008ee4996d79a4d8976cda
  
https://github.com/WebKit/WebKit/commit/30fbab6f895ff60593008ee4996d79a4d8976cda
  Author: Alan Baradlay 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/layouttree/LayoutBoxGeometry.h

  Log Message:
  ---
  [IFC][margin-trim] Discard inline-start/end margin of an inline-start/end 
float adjacent to root box's inner edge.
https://bugs.webkit.org/show_bug.cgi?id=261070

Reviewed by Antti Koivisto.

This is in preparation for supporting inline-start/end margin trimming of float 
boxes.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-box/margin-trim/block-container-trimmed-margin-allows-right-positioned-float-overconstraining-line-box-to-fit.html:
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLine):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
* Source/WebCore/layout/layouttree/LayoutBoxGeometry.h:
(WebCore::Layout::BoxGeometry::setMarginStart):
(WebCore::Layout::BoxGeometry::setMarginEnd):

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] b8af72: Invoke everything in Tools via Python 3

2023-09-04 Thread Sam Sneddon
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8af722e543ceb489b3daebef9c18689c9adbb27
  
https://github.com/WebKit/WebKit/commit/b8af722e543ceb489b3daebef9c18689c9adbb27
  Author: Sam Sneddon 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Tools/CISupport/build-webkit-org/steps.py
M Tools/Scripts/bisect-builds
M Tools/Scripts/build-webkit
M Tools/Scripts/check-for-platform-layering-violations
M Tools/Scripts/check-inspector-strings
M Tools/Scripts/compare-results
M Tools/Scripts/compare-webkit-configurations
M Tools/Scripts/download-github-release.py
M Tools/Scripts/dump-webkit-tests-run
M Tools/Scripts/export-w3c-performance-wg-tests
M Tools/Scripts/export-w3c-test-changes
M Tools/Scripts/find-duplicate-files
M Tools/Scripts/generate-coverage-data
M Tools/Scripts/import-w3c-performance-wg-tests
M Tools/Scripts/import-webdriver-tests
M Tools/Scripts/malloc-tree
M Tools/Scripts/mark-jsc-stress-test
M Tools/Scripts/merge-result-jsons
M Tools/Scripts/parse-gc-phase-timings
M Tools/Scripts/read-checksum-from-png
M Tools/Scripts/rebase-patch-after-webkit-move
M Tools/Scripts/run-web-platform-tests
M Tools/Scripts/run-webkit-websocketserver
M Tools/Scripts/sampstat
M Tools/Scripts/sync-feature-defines
M Tools/Scripts/update-test-expectations-from-bugzilla
M Tools/Scripts/update-webkit-wincairo-libs.py
M Tools/Scripts/webkitperl/BuildSubproject.pm
M Tools/Scripts/webkitpy/tool/gcovr
M Tools/lldb/dump_class_layout_unittest.py
M Tools/lldb/lldb_webkit_unittest.py

  Log Message:
  ---
  Invoke everything in Tools via Python 3
https://bugs.webkit.org/show_bug.cgi?id=260916

Reviewed by Aakash Jain.

Python 2 should be dead already. This shouldn't regress anything,
given most of these scripts are in practice already invoked via
`python3` explicitly.

Bot-watchers: If you're reading this, I'm sorry. Please file a bug for
whatever this broke and just revert this and ensure any services that
regressed get redeployed.

* Tools/CISupport/build-webkit-org/steps.py:
(InstallWinCairoDependencies):
* Tools/Scripts/bisect-builds:
(download_archive):
(extract_archive):
* Tools/Scripts/build-webkit:
* Tools/Scripts/check-for-platform-layering-violations:
* Tools/Scripts/check-inspector-strings:
* Tools/Scripts/compare-results:
* Tools/Scripts/compare-webkit-configurations:
* Tools/Scripts/download-github-release.py:
* Tools/Scripts/dump-webkit-tests-run:
* Tools/Scripts/export-w3c-performance-wg-tests:
* Tools/Scripts/export-w3c-test-changes:
* Tools/Scripts/find-duplicate-files:
* Tools/Scripts/generate-coverage-data:
(generateReport):
* Tools/Scripts/import-w3c-performance-wg-tests:
* Tools/Scripts/import-webdriver-tests:
* Tools/Scripts/malloc-tree:
* Tools/Scripts/mark-jsc-stress-test:
* Tools/Scripts/merge-result-jsons:
* Tools/Scripts/parse-gc-phase-timings:
* Tools/Scripts/read-checksum-from-png:
* Tools/Scripts/rebase-patch-after-webkit-move:
* Tools/Scripts/run-web-platform-tests:
* Tools/Scripts/run-webkit-websocketserver:
(openWebSocketServer):
(closeWebSocketServer):
* Tools/Scripts/sampstat:
* Tools/Scripts/sync-feature-defines:
* Tools/Scripts/update-test-expectations-from-bugzilla:
* Tools/Scripts/update-webkit-wincairo-libs.py:
* Tools/Scripts/webkitperl/BuildSubproject.pm:
* Tools/Scripts/webkitpy/tool/gcovr:
* Tools/lldb/dump_class_layout_unittest.py:
* Tools/lldb/lldb_webkit_unittest.py:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 8dc5dd: [GLib] Install webkit-web-extension.h in developme...

2023-09-04 Thread Olivier Blin
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8dc5dd1ab4c2a2136a4aa35c99c3ad059b49f4cb
  
https://github.com/WebKit/WebKit/commit/8dc5dd1ab4c2a2136a4aa35c99c3ad059b49f4cb
  Author: Olivier Blin 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebKit/PlatformWPEDeprecated.cmake

  Log Message:
  ---
  [GLib] Install webkit-web-extension.h in development component
https://bugs.webkit.org/show_bug.cgi?id=260792

Reviewed by Michael Catanzaro.

webkit-web-extension.h has been moved to PlatformWPEDeprecated.cmake
in 261474@main, but it was not installed the cmake development
component anymore.

* Source/WebKit/PlatformWPEDeprecated.cmake:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 0717ba: [GStreamer][WebCodecs] Build video encoder active ...

2023-09-04 Thread Philippe Normand
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0717ba7dec18b44a84043c0b7a83db6f7ae97a62
  
https://github.com/WebKit/WebKit/commit/0717ba7dec18b44a84043c0b7a83db6f7ae97a62
  Author: Philippe Normand 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.h

  Log Message:
  ---
  [GStreamer][WebCodecs] Build video encoder active configuration from source 
pad caps
https://bugs.webkit.org/show_bug.cgi?id=261084

Reviewed by Xabier Rodriguez-Calvar.

The active configuration should now have a valid header buffer and colorspace, 
filled from the caps
of the underlying GStreamer encoder source pad. Some encoders store the header 
in
`streamheaders` (vp8, vp9) and some use a `codec_data` field (x264), so both 
cases need to be
handled.

Drive-by: Weaken the link between the GStreamerInternalVideoEncoder and its 
GStreamerElementHarness
in order to avoid memory leaks.

* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoEncoder::create):
(WebCore::GStreamerVideoEncoder::create):
(WebCore::GStreamerVideoEncoder::GStreamerVideoEncoder):
(WebCore::GStreamerInternalVideoEncoder::GStreamerInternalVideoEncoder):
(WebCore::GStreamerInternalVideoEncoder::encode):
* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.h:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 0b6f3d: Update ANGLE to 2023-09-01 (5f36f55a007eacdac13868...

2023-09-04 Thread Kimmo Kinnunen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b6f3d0e40e954117c00331d5920fdbf43785341
  
https://github.com/WebKit/WebKit/commit/0b6f3d0e40e954117c00331d5920fdbf43785341
  Author: Kimmo Kinnunen 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/ThirdParty/ANGLE/.gitignore
A Source/ThirdParty/ANGLE/.gitmodules
M Source/ThirdParty/ANGLE/.gn
M Source/ThirdParty/ANGLE/ANGLE.plist
M Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
M Source/ThirdParty/ANGLE/BUILD.gn
M Source/ThirdParty/ANGLE/CONTRIBUTORS
M Source/ThirdParty/ANGLE/Compiler.cmake
M Source/ThirdParty/ANGLE/D3D.cmake
M Source/ThirdParty/ANGLE/DEPS
M Source/ThirdParty/ANGLE/GL.cmake
M Source/ThirdParty/ANGLE/GLESv2.cmake
M Source/ThirdParty/ANGLE/Metal.cmake
M Source/ThirdParty/ANGLE/OWNERS
M Source/ThirdParty/ANGLE/PRESUBMIT.py
M Source/ThirdParty/ANGLE/WebKit/ANGLEShaderProgramVersion.h
M Source/ThirdParty/ANGLE/WebKit/SourcesCGL.cpp
M Source/ThirdParty/ANGLE/WebKit/SourcesEAGL.cpp
M Source/ThirdParty/ANGLE/WebKit/angle_commit.h
M Source/ThirdParty/ANGLE/build_overrides/angle.gni
A Source/ThirdParty/ANGLE/build_overrides/vulkan_utility_libraries.gni
M Source/ThirdParty/ANGLE/build_overrides/vulkan_validation_layers.gni
M Source/ThirdParty/ANGLE/changes.diff
M Source/ThirdParty/ANGLE/doc/Orientation.md
M 
Source/ThirdParty/ANGLE/extensions/EGL_ANGLE_stream_producer_d3d_texture.txt
M Source/ThirdParty/ANGLE/gni/angle.gni
M Source/ThirdParty/ANGLE/include/EGL/egl.h
M Source/ThirdParty/ANGLE/include/EGL/eglext.h
M Source/ThirdParty/ANGLE/include/EGL/eglplatform.h
M Source/ThirdParty/ANGLE/include/GLSLANG/ShaderLang.h
M Source/ThirdParty/ANGLE/include/platform/Feature.h
M Source/ThirdParty/ANGLE/include/platform/autogen/FeaturesGL_autogen.h
M Source/ThirdParty/ANGLE/include/platform/autogen/FeaturesVk_autogen.h
M Source/ThirdParty/ANGLE/include/platform/gl_features.json
M Source/ThirdParty/ANGLE/include/platform/vk_features.json
M Source/ThirdParty/ANGLE/infra/ANGLEWrangling.md
M Source/ThirdParty/ANGLE/infra/config/generated/commit-queue.cfg
M Source/ThirdParty/ANGLE/infra/config/generated/cr-buildbucket.cfg
M Source/ThirdParty/ANGLE/infra/config/generated/project.cfg
M Source/ThirdParty/ANGLE/infra/config/main.star
M Source/ThirdParty/ANGLE/infra/specs/angle.json
M Source/ThirdParty/ANGLE/infra/specs/angle_mb_config.pyl
M Source/ThirdParty/ANGLE/infra/specs/mixins.pyl
M Source/ThirdParty/ANGLE/infra/specs/test_suites.pyl
M Source/ThirdParty/ANGLE/infra/specs/waterfalls.pyl
A Source/ThirdParty/ANGLE/scripts/angle_deqp_bundle.py
M Source/ThirdParty/ANGLE/scripts/angle_trace_bundle.py
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/ANGLE_format.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/ANGLE_load_functions_table.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/D3D11_format.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/DXGI_format.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/Extension_files.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/GL_CTS_(dEQP)_build_files.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/GL_EGL_WGL_loader.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/GL_EGL_entry_points.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/GL_format_map.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/GLenum_value_to_string_map.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/Metal_default_shaders.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/Metal_format_table.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/Vulkan_format.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/Vulkan_mandatory_format_support_table.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/interpreter_utils.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/packed_enum.json
M Source/ThirdParty/ANGLE/scripts/code_generation_hashes/proc_table.json
M 
Source/ThirdParty/ANGLE/scripts/code_generation_hashes/restricted_traces.json
R Source/ThirdParty/ANGLE/scripts/perf_test_runner.py
M Source/ThirdParty/ANGLE/scripts/registry_xml.py
M Source/ThirdParty/ANGLE/scripts/roll_aosp.sh
M Source/ThirdParty/ANGLE/scripts/roll_chromium_deps.py
M Source/ThirdParty/ANGLE/src/common/CompiledShaderState.cpp
M Source/ThirdParty/ANGLE/src/common/CompiledShaderState.h
M Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.cpp
M Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.h
M Source/ThirdParty/ANGLE/src/common/WorkerThread.cpp
M Source/ThirdParty/ANGLE/src/common/angleutils.h
M Source/ThirdParty/ANGLE/src

[webkit-changes] [WebKit/WebKit] b8769a: Some ImageBufferBackend implementations use resolu...

2023-09-04 Thread Kimmo Kinnunen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8769a5cf417b26f5883b32059d1fa1a29986703
  
https://github.com/WebKit/WebKit/commit/b8769a5cf417b26f5883b32059d1fa1a29986703
  Author: Kimmo Kinnunen 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M Source/WebCore/platform/graphics/ImageBuffer.cpp
M Source/WebCore/platform/graphics/ImageBuffer.h
M Source/WebCore/platform/graphics/ImageBufferBackend.h
M Source/WebCore/platform/graphics/cg/ImageBufferCGBackend.cpp
M Source/WebCore/platform/graphics/cg/ImageBufferCGBackend.h
M 
Source/WebKit/WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp
M 
Source/WebKit/WebProcess/GPU/graphics/cocoa/ImageBufferRemoteIOSurfaceBackend.h
M 
Source/WebKit/WebProcess/GPU/graphics/cocoa/ImageBufferShareableMappedIOSurfaceBitmapBackend.h

  Log Message:
  ---
  Some ImageBufferBackend implementations use resolutionScale
https://bugs.webkit.org/show_bug.cgi?id=255983
rdar://108554761

Reviewed by Matt Woodrow.

The resolutionScale is used to set up the initial transformation matrix
of the graphics context used to draw to ImageBuffer. This is
ImageBuffer logic.

Move the creation signal of the GraphicsContext to ImageBuffer.
When ImageBuffer knows when the context is being created, it can also
apply the needed state to the new GraphicsContext. The transformation
is already known statically due to the Info::baseTransform.

This is work towards making the ImageBufferBackend implementations
less rendundant and error-prone. This allows further commits to remove
logicalSize and resolutionScale from ImageBufferBackend and removing
unneeded virtual functions related to size concepts.

* Source/WebCore/platform/graphics/ImageBuffer.cpp:
(WebCore::ImageBuffer::context const):
(WebCore::ImageBuffer::setBackend):
(WebCore::ImageBuffer::releaseGraphicsContext):
* Source/WebCore/platform/graphics/ImageBuffer.h:
* Source/WebCore/platform/graphics/ImageBufferBackend.h:
(WebCore::ImageBufferBackend::originAtBottomLeftCorner const): Deleted.
* Source/WebCore/platform/graphics/cg/ImageBufferCGBackend.cpp:
(WebCore::ImageBufferCGBackend::applyBaseTransform const):
(WebCore::ImageBufferCGBackend::originAtBottomLeftCorner const): Deleted.
* Source/WebCore/platform/graphics/cg/ImageBufferCGBackend.h:
* Source/WebKit/WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp:
(WebKit::ImageBufferShareableBitmapBackend::ImageBufferShareableBitmapBackend):
* 
Source/WebKit/WebProcess/GPU/graphics/cocoa/ImageBufferRemoteIOSurfaceBackend.h:
* 
Source/WebKit/WebProcess/GPU/graphics/cocoa/ImageBufferShareableMappedIOSurfaceBitmapBackend.h:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [WebKit/WebKit] 68e96f: Split out :has(:host-context()) invalidation tests

2023-09-04 Thread Tim Nguyen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68e96f24aae90f5a0a5e0c56c932c93616766cc7
  
https://github.com/WebKit/WebKit/commit/68e96f24aae90f5a0a5e0c56c932c93616766cc7
  Author: Tim Nguyen 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
A 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-context-pseudo-class-in-has-expected.txt
A 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-context-pseudo-class-in-has.html
M 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has.html

  Log Message:
  ---
  Split out :has(:host-context()) invalidation tests
https://bugs.webkit.org/show_bug.cgi?id=261098
rdar://114918695

Reviewed by Cameron McCormack.

We intentionally don't implement :host-context().

* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-context-pseudo-class-in-has-expected.txt:
 Copied from 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has-expected.txt.
* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-context-pseudo-class-in-has.html:
 Copied from 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has.html.
* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/host-pseudo-class-in-has.html:

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


___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes