[webkit-changes] [WebKit/WebKit] c9fdb2: Remove unused DeprecatedGlobalSettings.h includes

2023-01-07 Thread Tim Nguyen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c9fdb2c5fbdab38f8db4b0fe8a8f34f6801f2035
  
https://github.com/WebKit/WebKit/commit/c9fdb2c5fbdab38f8db4b0fe8a8f34f6801f2035
  Author: Tim Nguyen 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebCore/css/CSSStyleDeclaration.cpp
M Source/WebCore/css/parser/CSSParserFastPaths.cpp
M Source/WebCore/loader/ServerTimingParser.cpp
M Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm
M 
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
M Source/WebCore/platform/ios/PlatformScreenIOS.mm
M Source/WebCore/rendering/RenderLayerScrollableArea.cpp
M Source/WebCore/rendering/RenderListBox.cpp
M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
M Source/WebKit/WebProcess/Inspector/WebInspectorUI.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp
M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm
M Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm
M Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm
M Source/WebKitLegacy/mac/WebView/WebPreferences.mm

  Log Message:
  ---
  Remove unused DeprecatedGlobalSettings.h includes
https://bugs.webkit.org/show_bug.cgi?id=250287
rdar://103996597

Reviewed by Tim Horton.

These have been unused for a while.

* Source/WebCore/css/CSSStyleDeclaration.cpp:
* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
* Source/WebCore/loader/ServerTimingParser.cpp:
* Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:
* 
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
* Source/WebCore/platform/ios/PlatformScreenIOS.mm:
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
* Source/WebCore/rendering/RenderListBox.cpp:
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
* Source/WebKit/WebProcess/Inspector/WebInspectorUI.cpp:
* Source/WebKit/WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp:
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
* Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm:
* Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:

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


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


[webkit-changes] [WebKit/WebKit] 4fc0ed: [JSC] Wasm memory import should check current size...

2023-01-07 Thread Yusuke Suzuki
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4fc0ed9a6a8ac5409a983cdfc6ab6e28db848f8e
  
https://github.com/WebKit/WebKit/commit/4fc0ed9a6a8ac5409a983cdfc6ab6e28db848f8e
  Author: Yusuke Suzuki 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M JSTests/wasm/function-tests/memory-import-and-grow.js
M JSTests/wasm/js-api/test_memory.js
M JSTests/wasm/modules/wasm-imports-js-exports.js
M JSTests/wasm/spec-tests/imports.wast.js
M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp

  Log Message:
  ---
  [JSC] Wasm memory import should check current size instead of "initial"
https://bugs.webkit.org/show_bug.cgi?id=250266
rdar://103986643

Reviewed by Justin Michaud.

This patch fixes wasm memory import which checks the current Wasm Memory's size 
instead of "initial" size.
This makes JSTests/wasm/spec-tests/imports.wast.js pass.

* JSTests/wasm/spec-tests/imports.wast.js:
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::initializeImports):

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


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


[webkit-changes] [WebKit/WebKit] c4fe8f: [JSC] Validation and initialization of data / elem...

2023-01-07 Thread Yusuke Suzuki
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c4fe8f26a0a6d794681133253fb09778963aef5a
  
https://github.com/WebKit/WebKit/commit/c4fe8f26a0a6d794681133253fb09778963aef5a
  Author: Yusuke Suzuki 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M JSTests/wasm/spec-tests/linking.wast.js
M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp

  Log Message:
  ---
  [JSC] Validation and initialization of data / element should be done 
incrementally
https://bugs.webkit.org/show_bug.cgi?id=250267
rdar://103987325

Reviewed by Justin Michaud.

Previously, we first iterate all element / data and validate them. And after 
that, initializing them.
But this is not aligned to the spec. The spec requires both are done in one 
loop. So, earlier elements
should be initialized before encoutering an error. This patch fixes these 
ordering.

* JSTests/wasm/spec-tests/linking.wast.js:
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::evaluate):

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


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


[webkit-changes] [WebKit/WebKit] 29ef78: [IFC] LineBuilder should hold on to the initial lo...

2023-01-07 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 29ef78cf21f7d7564d62ac3b4ea41b489215e643
  
https://github.com/WebKit/WebKit/commit/29ef78cf21f7d7564d62ac3b4ea41b489215e643
  Author: Alan Baradlay 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

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

  Log Message:
  ---
  [IFC] LineBuilder should hold on to the initial logical left value
https://bugs.webkit.org/show_bug.cgi?id=250257

Reviewed by Antti Koivisto.

m_lineLogicalRect.left() is already adjusted by intrusive floats. 
initialLineLogicalRect.left() is the original value.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::computedIntrinsicWidth):
(WebCore::Layout::LineBuilder::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:

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


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


[webkit-changes] [WebKit/WebKit] 064795: Remove the precision="float" attribute on

2023-01-07 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06479587e171c15e02394bc40840619744826116
  
https://github.com/WebKit/WebKit/commit/06479587e171c15e02394bc40840619744826116
  Author: Ahmad Saleem 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebCore/html/HTMLAttributeNames.in
M Source/WebCore/html/HTMLInputElement.cpp
M Source/WebCore/html/RangeInputType.cpp

  Log Message:
  ---
  Remove the precision="float" attribute on 

Remove the precision="float" attribute on 
https://bugs.webkit.org/show_bug.cgi?id=250047

Reviewed by Alexey Shvayka.

This patch is to align WebKit with Gecko / Firefox, Blink / Chromium by 
removing non-standard 'precision' attribute.

Merge - 
https://chromium.googlesource.com/chromium/blink/+/6b76e9c0e649bf8d4b1c6c321af513e0e0c6c1af

This was added in WebKit but it was non-standard and it was never added by any 
other browser.
Blink removed it in 2014 so only WebKit support it as of right now and it is 
broken feature
since it does not support 'step'  with precision="float".

* Source/WebCore/html/HTMLAttributeNames.in: Remove "precision"
* Source/WebCore/html/HTMLInputElement.cpp: Remove "precisionAttr"
* Source/WebCore/html/RangeInputType.cpp: Remove "precision='float'" support 
and FIXME

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


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


[webkit-changes] [WebKit/WebKit] 194503: _WKContextMenuElementInfo should expose a _WKHitTe...

2023-01-07 Thread Jeff Miller
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 194503237785a3e8e926acfb1dbadb179700cd56
  
https://github.com/WebKit/WebKit/commit/194503237785a3e8e926acfb1dbadb179700cd56
  Author: Jeff Miller 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebKit/Shared/API/APIObject.h
M Source/WebKit/Shared/Cocoa/APIObject.mm
A Source/WebKit/UIProcess/API/APIContextMenuElementInfoMac.h
M Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.h
M Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm
A Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfoInternal.h
M Source/WebKit/UIProcess/Cocoa/UIDelegate.mm
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/Tests/mac/ContextMenuTests.mm

  Log Message:
  ---
  _WKContextMenuElementInfo should expose a _WKHitTestResult property
https://bugs.webkit.org/show_bug.cgi?id=250115


Reviewed by Alex Christensen.

* Source/WebKit/Shared/API/APIObject.h:
Added ContextMenuElementInfoMac.

* Source/WebKit/Shared/Cocoa/APIObject.mm:
(API::Object::newObject):
Added support for _WKContextMenuElementInfo.

* Source/WebKit/UIProcess/API/APIContextMenuElementInfoMac.h:
Added. Unfortunately, there is already an iOS-only APIContextMenuElementInfo 
class and a
corresponding WKContextMenuElementInfo Objective-C class, so I had to use the 
Mac suffix here.

* Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.h:
Declare a new hitTestResult property.

* Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm:
This now wraps API::ContextMenuElementInfoMac.
(-[_WKContextMenuElementInfo dealloc]):
(-[_WKContextMenuElementInfo hitTestResult]):
Create a _WKHitTestResult from WebHitTestResultData.
(-[_WKContextMenuElementInfo _apiObject]):

* Source/WebKit/UIProcess/API/Cocoa/_WKContextMenuElementInfoInternal.h:
Added, wraps the API:APIContextMenuElementInfoMac class.

* Source/WebKit/UIProcess/Cocoa/UIDelegate.mm:
(WebKit::UIDelegate::ContextMenuClient::menuFromProposedMenu):
Use the hit test result when creating the _WKContextMenuElementInfo.
Clean up some style checker errors.

* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Added APIContextMenuElementInfoMac.h and _WKContextMenuElementInfoInternal.h.

* Tools/TestWebKitAPI/Tests/mac/ContextMenuTests.mm:
(TestWebKitAPI::TEST):
Added a test that just verifies the _WKContextMenuElementInfo hitTestResult 
property is set.

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


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


[webkit-changes] [WebKit/WebKit] 8b8f0c: [IFC][initial letter] Inline letter boxes can be i...

2023-01-07 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8b8f0c201eb0d1a96590a17ab6b6908f137707c0
  
https://github.com/WebKit/WebKit/commit/8b8f0c201eb0d1a96590a17ab6b6908f137707c0
  Author: Alan Baradlay 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebCore/layout/formattingContexts/block/BlockLayoutState.h
M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h

  Log Message:
  ---
  [IFC][initial letter] Inline letter boxes can be intrusive to sibling IFCs
https://bugs.webkit.org/show_bug.cgi?id=250256

Reviewed by Antti Koivisto.

This patch is in preparation for supporting -webkit-initial-letter.
While initial-letter based float boxes do not have their clear property set,
intrusive initial-letters boxes are supposed to be cleared (avoided) by other
initial-letter boxes.
e.g.

 __
|  |
||his initial letter box sticks out of this|
||container into the sibling IFC.  |
||_|
 |

 |  | ere we have another initial-letter box which is supposed to clear the 
intrusive one above.
 |--|
 |  |

* Source/WebCore/layout/formattingContexts/block/BlockLayoutState.h:
(WebCore::Layout::BlockLayoutState::BlockLayoutState):
(WebCore::Layout::BlockLayoutState::intrusiveInitialLetterLogicalBottom const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::LineBuilder):
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
(WebCore::Layout::LineBuilder::blockLayoutState const):
(WebCore::Layout::LineBuilder::floatingState):
(WebCore::Layout::LineBuilder::floatingState const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::layout):
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::computeLogicalLocationForFloat):
(WebCore::RenderBlockFlow::lowestInitialLetterLogicalBottom const):
* Source/WebCore/rendering/RenderBlockFlow.h:

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


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


[webkit-changes] [WebKit/WebKit] 4c22f9: CSS animations on pseudo elements should participa...

2023-01-07 Thread Antti Koivisto
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c22f9946fddcb1ec86eea7b5b529663950d01fa
  
https://github.com/WebKit/WebKit/commit/4c22f9946fddcb1ec86eea7b5b529663950d01fa
  Author: Antti Koivisto 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M LayoutTests/TestExpectations
M 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-important-001-expected.txt
M Source/WebCore/css/MediaQueryMatcher.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/html/HTMLTitleElement.cpp
M Source/WebCore/html/shadow/DateTimeFieldElement.cpp
M Source/WebCore/html/shadow/DateTimeFieldElement.h
M Source/WebCore/html/shadow/SliderThumbElement.cpp
M Source/WebCore/html/shadow/SliderThumbElement.h
M Source/WebCore/html/shadow/TextControlInnerElements.cpp
M Source/WebCore/html/shadow/TextControlInnerElements.h
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/style/StyleResolver.cpp
M Source/WebCore/style/StyleResolver.h
M Source/WebCore/style/StyleTreeResolver.cpp
M Source/WebCore/style/StyleTreeResolver.h
M Source/WebCore/svg/SVGElement.cpp
M Source/WebCore/svg/SVGElement.h
M Source/WebCore/svg/SVGElementRareData.h
M Source/WebCore/testing/Internals.cpp

  Log Message:
  ---
  CSS animations on pseudo elements should participate in the cascade
https://bugs.webkit.org/show_bug.cgi?id=250262


Reviewed by Alan Baradlay.

Followup to https://bugs.webkit.org/show_bug.cgi?id=210963 to cover pseudo 
elements.

This is just a matter of passing MatchResult through from 
Style::Resolver::styleForPseudoElement
so we can construct the cascade after applying animation.

Also some related style resolution cleanup.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-important-001-expected.txt:
* Source/WebCore/css/MediaQueryMatcher.cpp:
(WebCore::MediaQueryMatcher::documentElementUserAgentStyle const):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::styleForElementIgnoringPendingStylesheets):
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::resolveStyle):
(WebCore::Element::resolveCustomStyle):
* Source/WebCore/dom/Element.h:
* Source/WebCore/html/HTMLTitleElement.cpp:
(WebCore::HTMLTitleElement::computedTextWithDirection):
* Source/WebCore/html/shadow/DateTimeFieldElement.cpp:
(WebCore::DateTimeFieldElement::resolveCustomStyle):
* Source/WebCore/html/shadow/DateTimeFieldElement.h:
* Source/WebCore/html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::resolveCustomStyle):
* Source/WebCore/html/shadow/SliderThumbElement.h:
* Source/WebCore/html/shadow/TextControlInnerElements.cpp:
(WebCore::TextControlInnerContainer::resolveCustomStyle):
(WebCore::TextControlInnerElement::resolveCustomStyle):
(WebCore::TextControlInnerTextElement::resolveCustomStyle):
(WebCore::TextControlPlaceholderElement::resolveCustomStyle):
(WebCore::SearchFieldResultsButtonElement::resolveCustomStyle):
(WebCore::SearchFieldCancelButtonElement::resolveCustomStyle):
* Source/WebCore/html/shadow/TextControlInnerElements.h:
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::getUncachedPseudoStyle const):
* Source/WebCore/style/StyleResolver.cpp:
(WebCore::Style::Resolver::Resolver):
(WebCore::Style::Resolver::styleForElement):
(WebCore::Style::Resolver::styleForPseudoElement):

Return ResolvedStyle struct (that includes MatchResult) instead of a plain 
style.
Rename for clarity.

(WebCore::Style::Resolver::pseudoStyleForElement): Deleted.
* Source/WebCore/style/StyleResolver.h:

Rename ElementStyle -> ResolvedStyle.

* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::styleForStyleable):
(WebCore::Style::TreeResolver::resolveElement):
(WebCore::Style::TreeResolver::resolvePseudoElement):
(WebCore::Style::TreeResolver::resolveAncestorPseudoElement):
(WebCore::Style::TreeResolver::resolveAncestorFirstLinePseudoElement):
(WebCore::Style::TreeResolver::resolveAncestorFirstLetterPseudoElement):

Pass ElementStyle.

(WebCore::Style::TreeResolver::createAnimatedElementUpdate):

Refactor to use lambdas.

* Source/WebCore/style/StyleTreeResolver.h:
* Source/WebCore/svg/SVGElement.cpp:
(WebCore::SVGElement::resolveCustomStyle):
* Source/WebCore/svg/SVGElement.h:
* Source/WebCore/svg/SVGElementRareData.h:
(WebCore::SVGElementRareData::overrideComputedStyle):
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::highlightPseudoElementColor):

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


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


[webkit-changes] [WebKit/WebKit] 055784: Invoke ValidatedFormListedElement::parseReadOnlyAt...

2023-01-07 Thread Commit Queue
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05578471c16ebe4939cd5606f9491c0c600187eb
  
https://github.com/WebKit/WebKit/commit/05578471c16ebe4939cd5606f9491c0c600187eb
  Author: Alexey Shvayka 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebCore/html/FormAssociatedCustomElement.cpp
M Source/WebCore/html/ValidatedFormListedElement.cpp
M Source/WebCore/html/ValidatedFormListedElement.h

  Log Message:
  ---
  Invoke ValidatedFormListedElement::parseReadOnlyAttribute() conditionally
https://bugs.webkit.org/show_bug.cgi?id=250268

Reviewed by Ryosuke Niwa.

Since not all inherently validated form controls care about "readonly" attribute
(namely , , and ), this change guards 
parseReadOnlyAttribute()
with a readOnlyBarsFromConstraintValidation() check.

Also adds an assert that controls which supportsReadOnly() are subset of those 
who are
barred from constraint validation if "readonly" is present, and renames 
"parseReadonlyAttribute"
to match case with other methods.

No new tests, no behavior change.

* Source/WebCore/html/FormAssociatedCustomElement.cpp:
(WebCore::FormAssociatedCustomElement::didUpgrade):
* Source/WebCore/html/ValidatedFormListedElement.cpp:
(WebCore::ValidatedFormListedElement::parseAttribute):
(WebCore::ValidatedFormListedElement::parseReadOnlyAttribute):
(WebCore::ValidatedFormListedElement::parseReadonlyAttribute): Deleted.
* Source/WebCore/html/ValidatedFormListedElement.h:

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


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


[webkit-changes] [WebKit/WebKit] 50b564: [GLIB] Unify baselines for WPT offscreen 2d.gradie...

2023-01-07 Thread Lauro Moura
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 50b564eecd6056720b19eebe1293c752db1b1c4a
  
https://github.com/WebKit/WebKit/commit/50b564eecd6056720b19eebe1293c752db1b1c4a
  Author: Lauro Moura 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.positive.rotation.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.bottom.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.front.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.shape1.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.cone.top.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside1.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside2.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside1.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside2.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.outside3.worker-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2-expected.txt
A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.touch2.worker-expected.txt
R 
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation-expected.txt
R 
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.conic.negative.rotation.worker-expected.txt
R 
Layout

[webkit-changes] [WebKit/WebKit] 9a224f: Disable MediaSession by default

2023-01-07 Thread Michael Catanzaro
  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: 9a224f3ed860757adc2f8ee13423b4dd45c78737
  
https://github.com/WebKit/WebKit/commit/9a224f3ed860757adc2f8ee13423b4dd45c78737
  Author: Michael Catanzaro 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/cmake/OptionsGTK.cmake
M Source/cmake/OptionsWPE.cmake

  Log Message:
  ---
  Disable MediaSession by default
https://bugs.webkit.org/show_bug.cgi?id=247527

Unreviewed stable branch commit. This reverts 250153@main.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:


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


[webkit-changes] [WebKit/WebKit] ea3f1c: Replace use of WTF_ARRAY_LENGTH with std::size()

2023-01-07 Thread Myles C. Maxfield
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea3f1c213913d1420007fdeb707e4b051f4f332c
  
https://github.com/WebKit/WebKit/commit/ea3f1c213913d1420007fdeb707e4b051f4f332c
  Author: Myles C. Maxfield 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M 
Source/JavaScriptCore/Scripts/tests/builtins/expected/WebCoreJSBuiltins.h-result
M 
Source/JavaScriptCore/Scripts/wkbuiltins/builtins_generate_internals_wrapper_implementation.py
M Source/JavaScriptCore/assembler/JITOperationList.cpp
M Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp
M Source/JavaScriptCore/parser/Lexer.cpp
M Source/JavaScriptCore/runtime/IntlDisplayNames.cpp
M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp
M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
M Source/WTF/wtf/StdLibExtras.h
M Source/WTF/wtf/text/TextBreakIterator.h
M Source/WTF/wtf/win/FileSystemWin.cpp
M Source/WebCore/Modules/mediasource/MediaSource.cpp
M Source/WebCore/Modules/speech/SpeechRecognitionUpdate.cpp
M Source/WebCore/Modules/webaudio/AudioNode.cpp
M Source/WebCore/Modules/webdatabase/SQLTransaction.cpp
M Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
M Source/WebCore/PAL/pal/text/TextCodecICU.cpp
M Source/WebCore/accessibility/AccessibilityObject.cpp
M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm
M Source/WebCore/animation/CSSPropertyAnimation.cpp
M Source/WebCore/bindings/js/JSDOMGlobalObject.cpp
M Source/WebCore/bindings/js/JSDOMWindowBase.cpp
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/test/JS/JSTestCallbackInterface.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestDefaultToJSONEnum.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneDictionary.cpp
M Source/WebCore/bindings/scripts/test/JS/JSTestStandaloneEnumeration.cpp
M Source/WebCore/css/StyleProperties.cpp
M Source/WebCore/cssjit/RegisterAllocator.h
M Source/WebCore/dom/DOMException.cpp
M Source/WebCore/dom/DatasetDOMStringMap.cpp
M Source/WebCore/editing/EditingStyle.cpp
M Source/WebCore/editing/MarkupAccumulator.cpp
M Source/WebCore/html/HTMLMediaElement.cpp
M Source/WebCore/html/MediaElementSession.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/html/track/VTTCue.cpp
M Source/WebCore/loader/FTPDirectoryParser.cpp
M Source/WebCore/mathml/MathMLOperatorDictionary.cpp
M Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm
M Source/WebCore/page/ios/FrameIOS.mm
M Source/WebCore/platform/audio/AudioSession.cpp
M Source/WebCore/platform/audio/PlatformMediaSession.cpp
M Source/WebCore/platform/graphics/Font.cpp
M Source/WebCore/platform/graphics/GraphicsTypes.cpp
M Source/WebCore/platform/graphics/MediaPlayer.cpp
M Source/WebCore/platform/graphics/SourceBufferPrivateClient.cpp
M 
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
M 
Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp
M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
M Source/WebCore/platform/graphics/ca/PlatformCALayer.cpp
M Source/WebCore/platform/graphics/cg/GradientRendererCG.cpp
M Source/WebCore/platform/graphics/cocoa/CMUtilities.mm
M Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
M Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp
M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp
M Source/WebCore/platform/graphics/coretext/FontPlatformDataCoreText.cpp
M 
Source/WebCore/platform/graphics/filters/software/FEComponentTransferSoftwareApplier.cpp
M Source/WebCore/platform/graphics/gbm/GBMDevice.cpp
M Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.mm
M Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp
M Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp
M Source/WebCore/platform/graphics/win/FontCacheWin.cpp
M Source/WebCore/platform/graphics/win/GraphicsContextCGWin.cpp
M Source/WebCore/platform/graphics/win/IconWin.cpp
M Source/WebCore/platform/ios/KeyEventIOS.mm
M Source/WebCore/platform/ios/LegacyTileCache.mm
M Source/WebCore/platform/mac/KeyEventMac.mm
M Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp
M Source/WebCore/platform/mediastream/RealtimeMediaSourceSettings.cpp
M Source/WebCore/platform/network/cf/SocketStreamHandleImplCFNet.cpp
M Source/WebCore/platform/text/LocaleICU.cpp
M Source/WebCore/platform/text/LocaleNone.cpp
M Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp
M Sourc

[webkit-changes] [WebKit/WebKit] 15030f: [IFC][initial letter] Initial letter float box use...

2023-01-07 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15030f5e89a8bf437e765e936c0526580b042a27
  
https://github.com/WebKit/WebKit/commit/15030f5e89a8bf437e765e936c0526580b042a27
  Author: Alan Baradlay 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

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

  Log Message:
  ---
  [IFC][initial letter] Initial letter float box uses adjusted initial vertical 
position
https://bugs.webkit.org/show_bug.cgi?id=250254

Reviewed by Antti Koivisto.

-webkit-initial-letter is a float based implementation where the initial-letter 
box behaves as a float.
In this patch we adjust the static position of this float box (this is the 
vertical position the float can't get higher)
so that it stays in flush with the rest of the line's capHeight metric.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp:
(WebCore::Layout::InlineFormattingQuirks::initialLetterAlignmentOffset const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):

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


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


[webkit-changes] [WebKit/WebKit] 1105db: [IFC][initial letter] Initial letter line box sizi...

2023-01-07 Thread Alan Baradlay
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1105db4ef4beff2c87fbe05387c58123ee89ff97
  
https://github.com/WebKit/WebKit/commit/1105db4ef4beff2c87fbe05387c58123ee89ff97
  Author: Alan Baradlay 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

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

  Log Message:
  ---
  [IFC][initial letter] Initial letter line box sizing is based on capHeight
https://bugs.webkit.org/show_bug.cgi?id=250253

Reviewed by Antti Koivisto.

This patch is in preparation for supporting -webkit-initial-letter.
The inline letter's line box (it has its own container too) is based on the cap 
height of the primary font (alphabetic baseline only at this point).

* Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:
(WebCore::Layout::InlineLevelBox::lineBoxContain const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::adjustInlineBoxHeightsForLineBoxContainIfApplicable):

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


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


[webkit-changes] [WebKit/WebKit] 92d0cd: [UI-side compositing] Scrolling fails inside an el...

2023-01-07 Thread Simon Fraser
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 92d0cdff8e9e1df0503807e371311c01e28ff0d4
  
https://github.com/WebKit/WebKit/commit/92d0cdff8e9e1df0503807e371311c01e28ff0d4
  Author: Simon Fraser 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M 
Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp

  Log Message:
  ---
  [UI-side compositing] Scrolling fails inside an element with a passive wheel 
event handler
https://bugs.webkit.org/show_bug.cgi?id=250239
rdar://103972021

Reviewed by Tim Horton.

When handling a wheel event inside a region with passive wheel event handlers, 
we'll
get processing steps `[scrolling thread, main thread non-blocking DOM event 
dispatch]`.
So we want to handle the scroll in the UI Process, but also send the wheel 
event to the
web process for DOM event handling.

So only early return in `RemoteScrollingCoordinatorProxy::handleWheelEvent()` 
when we
don't see the "scrolling thread" step, and make sure we pass the steps to
ScrollingTree::handleWheelEvent() so they get returned in the 
WheelEventHandlingResult.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp:
(WebKit::RemoteScrollingCoordinatorProxy::handleWheelEvent):

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


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


[webkit-changes] [WebKit/WebKit] efaf35: [ews-build.webkit.org] Use TwistedAdditions in pla...

2023-01-07 Thread Jonathan Bedard
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: efaf35700c5f944a5397b26efed03231c082a299
  
https://github.com/WebKit/WebKit/commit/efaf35700c5f944a5397b26efed03231c082a299
  Author: Jonathan Bedard 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Tools/CISupport/ews-build/events.py
M Tools/CISupport/ews-build/twisted_additions.py

  Log Message:
  ---
  [ews-build.webkit.org] Use TwistedAdditions in place of Twisted requests
https://bugs.webkit.org/show_bug.cgi?id=249663
rdar://103564994

Reviewed by Dewei Zhu.

* Tools/CISupport/ews-build/events.py:
(Events):
(Events.sendDataToEWS):
(Events.sendDataToGitHub):
(JSONProducer): Moved to twisted_additions.
* Tools/CISupport/ews-build/twisted_additions.py:
(TwistedAdditions.JSONProducer): Moved from events.py.
(TwistedAdditions.request): Allow caller to POST data.

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


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


[webkit-changes] [WebKit/WebKit] 134163: Getting input.value for number inputs (type=number...

2023-01-07 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 134163e4e3101c02038c4447672158e4a2fac445
  
https://github.com/WebKit/WebKit/commit/134163e4e3101c02038c4447672158e4a2fac445
  Author: Ahmad Saleem 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
M 
LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt
M LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html
M LayoutTests/fast/forms/number/number-stepup-stepdown.html
M LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
M LayoutTests/fast/forms/number/number-valueasnumber.html
M Source/WebCore/html/NumberInputType.cpp
M Source/WebCore/html/parser/HTMLParserIdioms.cpp

  Log Message:
  ---
  Getting input.value for number inputs (type=number) with over 39 characters 
returns an empty string

Getting input.value for number inputs (type=number) with over 39 characters 
returns an empty string
https://bugs.webkit.org/show_bug.cgi?id=249783

Reviewed by Ryosuke Niwa.

This patch is to align WebKit with Blink / Chromium, Firefox / Gecko and 
Web-Specification.

Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=168513

Number input type maximum value increased from float to double.
Float allowed only max value of 3.402823466e38, it has now been
increased to 1.7976931348623158e+308, by using double.

InvalidStateError exception is removed from
NumberInputType::setValueAsDouble and
NumberInputType::setValueAsDecimal, as HTMLInputType::setValueAsNumber checks 
if value is infinite.

HTMLParserIdioms has also been updated as the functions are
triggered in NumberInputType functions and has check for max
values, thus updated.

* Source/WebCore/html/NumberInputType.cpp:
(NumberInputType::valueAsDouble):
- Updated Comment and also removed FIXME
(NumberInputType::valueAsDecimal):
- Updated Comment and also removed FIXME
(NumberInputType::createStepRange):
(1) Remove "FIXME"
(2) Use "doubleMax" instead of "floatMax"
* Source/WebCore/html/parser/HTMLParserIdioms.cpp:
(parseToDecimalForNumberType):
(1) Updated Comment and also removed FIXME
(2) Use "doubleMax" instead of "floatMax"
(3) Update condition to ASSERT
* LayoutTests/fast/forms/number/number-valueasnumber.html: Updated
* LayoutTests/fast/forms/number/number-valueasnumber-expected.txt: Ditto
* LayoutTests/fast/forms/number/number-stepup-stepdown.html: Updated
* LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt: Ditto
* LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html: 
Updated
* 
LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt:
 Ditto

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


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


[webkit-changes] [WebKit/WebKit] 24d9e4: Add exclusive "shouldBeGreaterThan" function to js...

2023-01-07 Thread Ahmad Saleem
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 24d9e4a1e3d32fa8e0c0a2f81c5160eedf5bf070
  
https://github.com/WebKit/WebKit/commit/24d9e4a1e3d32fa8e0c0a2f81c5160eedf5bf070
  Author: Ahmad Saleem 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M LayoutTests/http/tests/resources/js-test-pre.js
M LayoutTests/resources/js-test-pre.js
M LayoutTests/resources/js-test.js

  Log Message:
  ---
  Add exclusive "shouldBeGreaterThan" function to js-test*.js similar to 
Chromium

Add exclusive "shouldBeGreaterThan" function to js-test*.js similar to Chromium
https://bugs.webkit.org/show_bug.cgi?id=250227

Reviewed by Ryosuke Niwa and Alexey Proskuryakov.

This patch adds exclusive "shouldBeGreaterThan" function to check values 
greater than without "equal"
part to testing script and it is pre-requisite for one of SVG SMIL animation 
test case.

* LayoutTests/resources/js-test.js: Add "shouldBeGreaterThan" function
* LayoutTests/http/tests/resources/js-test-pre.js: Ditto
* LayoutTests/resources/js-test-pre.js: Ditto

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


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


[webkit-changes] [WebKit/WebKit] 3ea031: [WPE] Garden some css-fonts failures common to the...

2023-01-07 Thread Lauro Moura
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ea031cd9d0468512be635f75f6e28b939bb494d
  
https://github.com/WebKit/WebKit/commit/3ea031cd9d0468512be635f75f6e28b939bb494d
  Author: Lauro Moura 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/gtk/TestExpectations

  Log Message:
  ---
  [WPE] Garden some css-fonts failures common to the GTK port

Unreviewed test gardening.

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/gtk/TestExpectations:

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


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


[webkit-changes] [WebKit/WebKit] 3c5337: Fix Windows build after 258570@main

2023-01-07 Thread Tim Nguyen
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c53378a77e57141a3b53f344e4bc1c14f7cef39
  
https://github.com/WebKit/WebKit/commit/3c53378a77e57141a3b53f344e4bc1c14f7cef39
  Author: Tim Nguyen 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebKitLegacy/win/WebView.cpp

  Log Message:
  ---
  Fix Windows build after 258570@main
https://bugs.webkit.org/show_bug.cgi?id=250265

Unreviewed build fix.

* Source/WebKitLegacy/win/WebView.cpp:
(WebView::notifyPreferencesChanged):

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


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


[webkit-changes] [WebKit/WebKit] a793d8: Implement StorageManager.estimate()

2023-01-07 Thread Sihui
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a793d8b68a12b37482e8734a578926405f7edc45
  
https://github.com/WebKit/WebKit/commit/a793d8b68a12b37482e8734a578926405f7edc45
  Author: Sihui Liu 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-indexeddb.https.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-indexeddb.https.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-parallel.https.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-parallel.https.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-application-cache.https.tentative-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-caches.https.tentative.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-caches.https.tentative.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-indexeddb.https.tentative.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-indexeddb.https.tentative.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-service-workers.https.tentative.window-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details.https.tentative.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details.https.tentative.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/idlharness.https.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/idlharness.https.any.worker-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/opaque-origin.https.window-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/storagemanager-estimate.https.any-expected.txt
M 
LayoutTests/imported/w3c/web-platform-tests/storage/storagemanager-estimate.https.any.worker-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/Headers.cmake
M Source/WebCore/Modules/storage/DummyStorageProvider.h
M Source/WebCore/Modules/storage/StorageConnection.h
A Source/WebCore/Modules/storage/StorageEstimate.h
M Source/WebCore/Modules/storage/StorageManager.cpp
M Source/WebCore/Modules/storage/StorageManager.h
M Source/WebCore/Modules/storage/StorageManager.idl
M Source/WebCore/Modules/storage/WorkerStorageConnection.cpp
M Source/WebCore/Modules/storage/WorkerStorageConnection.h
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp
M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.h
M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.messages.in
M Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp
M Source/WebKit/NetworkProcess/storage/OriginStorageManager.h
M Source/WebKit/NetworkProcess/storage/QuotaManager.cpp
M Source/WebKit/NetworkProcess/storage/QuotaManager.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/WebProcess/WebCoreSupport/WebStorageConnection.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebStorageConnection.h

  Log Message:
  ---
  Implement StorageManager.estimate()
https://bugs.webkit.org/show_bug.cgi?id=248918
rdar://problem/103380414

Reviewed by Chris Dumez.

Spec: https://storage.spec.whatwg.org/#dom-storagemanager-estimate

* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-indexeddb.https.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-indexeddb.https.any.worker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-parallel.https.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-parallel.https.any.worker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-application-cache.https.tentative-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-caches.https.tentative.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-caches.https.tentative.any.worker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-indexeddb.https.tentative.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-indexeddb.https.tentative.any.worker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details-service-workers.https.tentative.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage/estimate-usage-details.https.tentative.

[webkit-changes] [WebKit/WebKit] f180b7: Always supply frameID for focusedElementInformation

2023-01-07 Thread J Pascoe
  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f180b7af5f58e500a341bf4e821465d18d441052
  
https://github.com/WebKit/WebKit/commit/f180b7af5f58e500a341bf4e821465d18d441052
  Author: J Pascoe 
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  ---
  Always supply frameID for focusedElementInformation
https://bugs.webkit.org/show_bug.cgi?id=250260
rdar://problem/103980985

Reviewed by Tim Nguyen.

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::focusedElementInformation):
Always initialize frameID instead of doing it conditionally to avoid issues
when calling .object().

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


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