Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream 2023 11 11 #18

Merged
merged 4,543 commits into from
Jan 12, 2024
Merged

Merge upstream 2023 11 11 #18

merged 4,543 commits into from
Jan 12, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 11, 2023

  1. Fix compilation failures on ARM64 linux

    https://bugs.webkit.org/show_bug.cgi?id=264380
    rdar://118093158
    
    Reviewed by Yusuke Suzuki.
    
    Fixing a few "error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]"
    and "error: suggest parentheses around ‘-’ in operand of ‘&’ [-Werror=parentheses]".
    
    * Source/JavaScriptCore/assembler/testmasm.cpp:
    (JSC::testExtractUnsignedBitfield64):
    (JSC::testInsertUnsignedBitfieldInZero32):
    (JSC::testInsertUnsignedBitfieldInZero64):
    (JSC::testInsertBitField32):
    (JSC::testInsertBitField64):
    (JSC::testExtractInsertBitfieldAtLowEnd32):
    (JSC::testExtractInsertBitfieldAtLowEnd64):
    (JSC::testClearBitField32):
    (JSC::testClearBitField64):
    (JSC::testInsertSignedBitfieldInZero32):
    (JSC::testInsertSignedBitfieldInZero64):
    (JSC::testExtractSignedBitfield32):
    (JSC::testExtractSignedBitfield64):
    (JSC::testExtractRegister32):
    (JSC::testExtractRegister64):
    (JSC::testZeroExtend48ToWord):
    
    Canonical link: https://commits.webkit.org/270371@main
    jyavenard authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    803b163 View commit details
    Browse the repository at this point in the history
  2. Don't sweep when opportunistic sweeping is keeping up

    https://bugs.webkit.org/show_bug.cgi?id=264348
    
    Reviewed by Wenson Hsieh and Yusuke Suzuki.
    
    Avoid sweeping when IncrementalSweeper fires if opportunistic task has been keeping up.
    This appears to be ~1% progression on JetStream 2.
    
    * Source/JavaScriptCore/heap/IncrementalSweeper.cpp:
    (JSC::IncrementalSweeper::doWork):
    (JSC::IncrementalSweeper::doSweep):
    * Source/JavaScriptCore/heap/IncrementalSweeper.h:
    
    Canonical link: https://commits.webkit.org/270372@main
    rniwa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    107abc1 View commit details
    Browse the repository at this point in the history
  3. Use CompactContextMenuPresenter to show context menus for focused ele…

    …ments with datalist
    
    https://bugs.webkit.org/show_bug.cgi?id=264038
    rdar://117809656
    
    Reviewed by Richard Robinson and Megan Gardner.
    
    Deploy `CompactContextMenuPresenter` in `WKDataListSuggestionsDropdown`, to support compact context
    menu presentation without relying on UIKit SPI. Note that this (in theory) means we no longer need
    logic to manually specify preferred edge insets for the suggestions menu, since we now lay out the
    hidden native `UIButton` over the bounds of the focused datalist element, which UIKit will
    automatically avoid obscuring when presenting or updating the menu.
    
    * Source/WebKit/Platform/spi/ios/UIKitSPI.h:
    
    Remove SPI declarations that are no longer necessary.
    
    * Source/WebKit/UIProcess/ios/CompactContextMenuPresenter.h:
    * Source/WebKit/UIProcess/ios/CompactContextMenuPresenter.mm:
    (WebKit::CompactContextMenuPresenter::updateVisibleMenu):
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView _createTargetedContextMenuHintPreviewForFocusedElement:]):
    (-[WKContentView _createTargetedContextMenuHintPreviewForFocusedElement]): Deleted.
    
    Add support for an option to create a targeted context menu hint that's positioned against the left
    or right edge of the input, provided there's sufficient space to fit the 250pt (by default) menu.
    When the view is RTL, note that we'll prefer to position the menu at the the right edge of the
    element, fall back to the left edge if there's not enough horizonal space, and finally fall back to
    the element rect itself if there's no space on either side.
    
    * Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
    (-[WKDataListSuggestionsDropdown _showSuggestions]):
    (-[WKDataListSuggestionsDropdown _removeContextMenuInteraction]):
    (-[WKDataListSuggestionsDropdown contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:]):
    (-[WKDataListSuggestionsDropdown _preferredEdgeInsetsForSuggestionsMenu]): Deleted.
    (-[WKDataListSuggestionsDropdown _contextMenuInteraction:styleForMenuWithConfiguration:]): Deleted.
    * Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm:
    (-[WKSelectPicker contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:]):
    
    Canonical link: https://commits.webkit.org/270373@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    233fd83 View commit details
    Browse the repository at this point in the history
  4. Remove dead code protected by !HAVE(NSURLSESSION_WEBSOCKET)

    https://bugs.webkit.org/show_bug.cgi?id=264366
    
    Reviewed by Dan Glastonbury.
    
    The transition to all Cocoa platforms having NSURLSessionWebSocketTask is complete.
    This removes dead code and some unneeded abstractions like allowing all TLS for WebSockets.
    
    * Source/WTF/wtf/PlatformHave.h:
    * Source/WebKit/NetworkProcess/NetworkProcess.cpp:
    (WebKit::NetworkProcess::setAllowsAnySSLCertificateForWebSocket): Deleted.
    * Source/WebKit/NetworkProcess/NetworkProcess.h:
    * Source/WebKit/NetworkProcess/NetworkProcess.messages.in:
    * Source/WebKit/NetworkProcess/NetworkSession.cpp:
    (WebKit::m_shouldAcceptInsecureCertificatesForWebSockets): Deleted.
    * Source/WebKit/NetworkProcess/NetworkSession.h:
    * Source/WebKit/NetworkProcess/NetworkSessionCreationParameters.cpp:
    (WebKit::NetworkSessionCreationParameters::encode):
    (WebKit::NetworkSessionCreationParameters::decode):
    * Source/WebKit/NetworkProcess/NetworkSessionCreationParameters.h:
    * Source/WebKit/NetworkProcess/NetworkSocketChannel.cpp:
    (WebKit::NetworkSocketChannel::NetworkSocketChannel):
    (WebKit::NetworkSocketChannel::~NetworkSocketChannel):
    * Source/WebKit/NetworkProcess/WebSocketTask.h:
    * Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h:
    * Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
    (-[WKNetworkSessionDelegate URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:]):
    (-[WKNetworkSessionDelegate sessionFromTask:]):
    (-[WKNetworkSessionDelegate URLSession:webSocketTask:didCloseWithCode:reason:]):
    (WebKit::SessionWrapper::recreateSessionWithUpdatedProxyConfigurations):
    (WebKit::NetworkSessionCocoa::continueDidReceiveChallenge):
    * Source/WebKit/NetworkProcess/cocoa/WebSocketTaskCocoa.h:
    * Source/WebKit/NetworkProcess/cocoa/WebSocketTaskCocoa.mm:
    * Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.cpp:
    (WKWebsiteDataStoreSetAllowsAnySSLCertificateForWebSocketTesting):
    * Source/WebKit/UIProcess/API/C/WKWebsiteDataStoreRef.h:
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.h:
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreConfiguration.mm:
    (-[_WKWebsiteDataStoreConfiguration _shouldAcceptInsecureCertificatesForWebSockets]):
    (-[_WKWebsiteDataStoreConfiguration _setShouldAcceptInsecureCertificatesForWebSockets:]):
    * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
    (WebKit::WebsiteDataStore::parameters):
    (WebKit::WebsiteDataStore::setAllowsAnySSLCertificateForWebSocket): Deleted.
    * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h:
    * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:
    (WebKit::WebsiteDataStoreConfiguration::copy const):
    * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.h:
    (WebKit::WebsiteDataStoreConfiguration::shouldAcceptInsecureCertificatesForWebSockets const): Deleted.
    (WebKit::WebsiteDataStoreConfiguration::setShouldAcceptInsecureCertificatesForWebSockets): Deleted.
    * Source/WebKitLegacy/WebCoreSupport/SocketStreamHandleImplCFNet.cpp:
    (WebCore::SocketStreamHandleImpl::createStreams):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WebSocket.mm:
    (TestWebKitAPI::TEST):
    * Tools/WebKitTestRunner/TestController.cpp:
    (WTR::TestController::setAllowsAnySSLCertificate):
    * Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm:
    (WTR::TestController::setAllowsAnySSLCertificate):
    
    Canonical link: https://commits.webkit.org/270374@main
    achristensen07 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5d7be1e View commit details
    Browse the repository at this point in the history
  5. [git-webkit] git revert does not produce a meaningful commit message

    https://bugs.webkit.org/show_bug.cgi?id=243947
    rdar://problem/98992367
    
    Reviewed by Jonathan Bedard.
    
    Changes to logic so git revert is no longer a blank template.
    Also prevents git-webkit revert from affecting future commits on main.
    A better commit message for git revert is in the works!
    
    * Tools/Scripts/hooks/prepare-commit-msg:
    * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py:
    (Revert):
    * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/revert_unittest.py:
    (TestRevert.test_github):
    (TestRevert.test_github_two_step):
    (test_update):
    
    Canonical link: https://commits.webkit.org/270375@main
    briannafan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    28e56ac View commit details
    Browse the repository at this point in the history
  6. Cache complex CSS variable values

    https://bugs.webkit.org/show_bug.cgi?id=264250
    rdar://117996144
    
    Reviewed by Alan Baradlay.
    
    Cache the final CSSValue for variable references in all cases.
    
    * Source/WebCore/Sources.txt:
    * Source/WebCore/WebCore.xcodeproj/project.pbxproj:
    * Source/WebCore/css/CSSPendingSubstitutionValue.cpp: Added.
    (WebCore::CSSPendingSubstitutionValue::resolveValue const):
    
    For shortcut references cache each individual longhand.
    
    * Source/WebCore/css/CSSPendingSubstitutionValue.h:
    * Source/WebCore/css/CSSVariableReferenceValue.cpp:
    (WebCore::CSSVariableReferenceValue::cacheSimpleReference):
    (WebCore::CSSVariableReferenceValue::resolveSingleValue const):
    (WebCore::CSSVariableReferenceValue::resolveAndCacheValue const): Deleted.
    (WebCore::CSSVariableReferenceValue::resolveSubstitutionValue const): Deleted.
    * Source/WebCore/css/CSSVariableReferenceValue.h:
    (WebCore::CSSVariableReferenceValue::resolveAndCacheValue const):
    
    Cache also in non-simple reference case. In these cases we still resolve the tokens and
    use their equaivalence to test the validity of the cached value.
    
    * Source/WebCore/style/StyleBuilder.cpp:
    (WebCore::Style::Builder::resolveVariableReferences):
    
    Canonical link: https://commits.webkit.org/270376@main
    anttijk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    62aafa9 View commit details
    Browse the repository at this point in the history
  7. Generate IPC serialization for WebKit::PrintInfo

    https://bugs.webkit.org/show_bug.cgi?id=264274
    
    Reviewed by Michael Catanzaro.
    
    Provide serialization input file for the WebKit::PrintInfo struct, removing the
    need for custom encode/decode methods.
    
    For the GTK port, the PrintMode enumeration is turned into the scoped equivalent
    along with the necessary changes at points of use. ArgumentCoder specializations
    are also provided for the two types that are GRefPtr-wrapped.
    
    * Source/WebKit/CMakeLists.txt:
    * Source/WebKit/Shared/PrintInfo.cpp:
    (WebKit::PrintInfo::PrintInfo):
    (WebKit::PrintInfo::encode const): Deleted.
    (WebKit::PrintInfo::decode): Deleted.
    * Source/WebKit/Shared/PrintInfo.h:
    * Source/WebKit/Shared/PrintInfo.serialization.in: Added.
    * Source/WebKit/Shared/gtk/ArgumentCodersGtk.cpp:
    (IPC::ArgumentCoder<GRefPtr<GtkPrintSettings>>::encode):
    (IPC::ArgumentCoder<GRefPtr<GtkPrintSettings>>::decode):
    (IPC::ArgumentCoder<GRefPtr<GtkPageSetup>>::encode):
    (IPC::ArgumentCoder<GRefPtr<GtkPageSetup>>::decode):
    (IPC::encode): Deleted.
    (IPC::decode): Deleted.
    * Source/WebKit/Shared/gtk/ArgumentCodersGtk.h:
    * Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
    (webkitWebViewPrintFrame):
    * Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.cpp:
    (webkitPrintOperationPrintPagesForFrame):
    * Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp:
    (WebKit::WebPrintOperationGtk::PrintPagesData::PrintPagesData):
    (WebKit::WebPrintOperationGtk::print):
    * Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h:
    
    Canonical link: https://commits.webkit.org/270377@main
    zdobersek authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    011cc9a View commit details
    Browse the repository at this point in the history
  8. Deploy further smart pointers in Source/WebKit/UIProcess

    https://bugs.webkit.org/show_bug.cgi?id=264029
    
    Reviewed by Chris Dumez.
    
    * Source/WebKit/UIProcess/Automation/SimulatedInputDispatcher.cpp:
    (WebKit::SimulatedInputDispatcher::transitionToNextInputSourceState):
    * Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
    (WebKit::WebAutomationSession::performInteractionSequence):
    (WebKit::WebAutomationSession::cancelInteractionSequence):
    * Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm:
    (WebKit::VideoPresentationManagerProxy::createModelAndInterface):
    (WebKit::VideoPresentationManagerProxy::removeClientForContext):
    (WebKit::VideoPresentationManagerProxy::requestBitmapImageForCurrentTime):
    (WebKit::VideoPresentationManagerProxy::enterFullscreen):
    * Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
    (WebKit::WebPasteboardProxy::didModifyContentsOfPasteboard):
    (WebKit::WebPasteboardProxy::setPasteboardURL):
    (WebKit::WebPasteboardProxy::determineDataOwner const):
    * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm:
    (WebKit::RemoteScrollingTreeMac::handleWheelEventPhase):
    (WebKit::isScrolledBy):
    (WebKit::RemoteScrollingTreeMac::scrollingNodeForPoint):
    * Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
    (WebKit::UserMediaPermissionRequestManagerProxy::grantRequest):
    (WebKit::UserMediaPermissionRequestManagerProxy::finishGrantingRequest):
    (WebKit::UserMediaPermissionRequestManagerProxy::getRequestAction):
    (WebKit::UserMediaPermissionRequestManagerProxy::startProcessingUserMediaPermissionRequest):
    (WebKit::UserMediaPermissionRequestManagerProxy::processUserMediaPermissionRequest):
    (WebKit::UserMediaPermissionRequestManagerProxy::decidePolicyForUserMediaPermissionRequest):
    (WebKit::UserMediaPermissionRequestManagerProxy::captureStateChanged):
    * Source/WebKit/UIProcess/UserMediaPermissionRequestProxy.h:
    (WebKit::UserMediaPermissionRequestProxy::protectedTopLevelDocumentSecurityOrigin const):
    (WebKit::UserMediaPermissionRequestProxy::protectedUserMediaDocumentSecurityOrigin const):
    * Source/WebKit/UIProcess/UserMediaProcessManager.cpp:
    (WebKit::UserMediaProcessManager::willCreateMediaStream):
    * Source/WebKit/UIProcess/WebContextMenuProxy.cpp:
    (WebKit::WebContextMenuProxy::show):
    * Source/WebKit/UIProcess/WebGeolocationManagerProxy.cpp:
    (WebKit::connectionToWebProcessProxy):
    
    Canonical link: https://commits.webkit.org/270378@main
    rniwa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ce17928 View commit details
    Browse the repository at this point in the history
  9. [JSC] Refine SyntaxError message for generator method parsing failure

    https://bugs.webkit.org/show_bug.cgi?id=264368
    <rdar://problem/118081884>
    
    Reviewed by Justin Michaud.
    
    This change rewords SyntaxError message, thrown in case of generator method parsing failure,
    to mention "method" rather than "function", aligning error wording for sync generator functions
    with async counterparts.
    
    Also, tweaks the helper to return "generator function" instead of "generator" for GeneratorBodyMode,
    which is unobservable yet matches the terminology of the spec [1].
    
    [1]: https://tc39.es/ecma262/#sec-generator-objects
    
    * JSTests/stress/generator-class-methods-syntax.js:
    * JSTests/stress/regress-189292.js:
    * Source/JavaScriptCore/parser/Parser.cpp:
    (JSC::stringForFunctionMode):
    
    Canonical link: https://commits.webkit.org/270379@main
    Alexey Shvayka authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d288ffa View commit details
    Browse the repository at this point in the history
  10. Remove remaining WebGL diagnostic logging

    https://bugs.webkit.org/show_bug.cgi?id=264347
    rdar://118066101
    
    Reviewed by Dan Glastonbury.
    
    This removes the remaining pieces of WebGL diagnostic logging, in
    particular for context loss and some remaining constants.
    
    * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
    (WebCore::WebGLRenderingContextBase::WebGLRenderingContextBase):
    (WebCore::WebGLRenderingContextBase::checkForContextLossHandling): Deleted.
    * Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
    * Source/WebCore/page/DiagnosticLoggingKeys.cpp:
    (WebCore::DiagnosticLoggingKeys::pageHandlesWebGLContextLossKey): Deleted.
    (WebCore::DiagnosticLoggingKeys::inactiveKey): Deleted.
    (WebCore::DiagnosticLoggingKeys::activeInForegroundTabKey): Deleted.
    (WebCore::DiagnosticLoggingKeys::activeInBackgroundTabOnlyKey): Deleted.
    * Source/WebCore/page/DiagnosticLoggingKeys.h:
    
    Canonical link: https://commits.webkit.org/270380@main
    annevk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5a25d74 View commit details
    Browse the repository at this point in the history
  11. [GTK] Move the drawing monitor implementation from drawing area to th…

    …e web view
    
    https://bugs.webkit.org/show_bug.cgi?id=264225
    
    Reviewed by Alejandro G. Castro.
    
    This way we can use the same implementation for GTK3 and GTK4.
    
    * Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
    (_WebKitWebViewBasePrivate::_WebKitWebViewBasePrivate):
    (_WebKitWebViewBasePrivate::nextPresentationUpdateTimerFired):
    (webkitWebViewBaseNextPresentationUpdateMonitorStart):
    (webkitWebViewBaseNextPresentationUpdateMonitorStop):
    (webkitWebViewBaseNextPresentationUpdateFrame):
    (webkitWebViewBaseDispose):
    (webkitWebViewBaseSnapshot):
    (webkitWebViewBaseDraw):
    (webkitWebViewBaseCallAfterNextPresentationUpdate):
    * Source/WebKit/UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
    * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp:
    (WebKit::DrawingAreaProxyCoordinatedGraphics::DrawingMonitor::DrawingMonitor):
    (WebKit::DrawingAreaProxyCoordinatedGraphics::DrawingMonitor::start):
    (WebKit::DrawingAreaProxyCoordinatedGraphics::DrawingMonitor::stop):
    (WebKit::DrawingAreaProxyCoordinatedGraphics::DrawingMonitor::webViewDrawCallback): Deleted.
    (WebKit::DrawingAreaProxyCoordinatedGraphics::DrawingMonitor::didDraw): Deleted.
    * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h:
    * Source/WebKit/UIProcess/WebPageProxy.cpp:
    * Source/WebKit/UIProcess/gtk/WebPageProxyGtk.cpp:
    (WebKit::WebPageProxy::callAfterNextPresentationUpdate):
    
    Canonical link: https://commits.webkit.org/270381@main
    carlosgcampos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    cb49367 View commit details
    Browse the repository at this point in the history
  12. Move approved WebGL extensions out of draft

    https://bugs.webkit.org/show_bug.cgi?id=264365
    
    Reviewed by Kimmo Kinnunen.
    
    Enabled support for the following approved extensions:
    * EXT_clip_control
    * EXT_depth_clamp
    * EXT_polygon_offset_clamp
    * WEBGL_polygon_mode
    
    * LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-default-expected.txt:
    * LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-on-expected.txt:
    * LayoutTests/webgl/resources/webgl-draft-extensions-flag.js:
    * LayoutTests/webgl/webgl-draft-extensions-flag-default-expected.txt:
    * LayoutTests/webgl/webgl-draft-extensions-flag-off-expected.txt:
    * LayoutTests/webgl/webgl-draft-extensions-flag-on-expected.txt:
    * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
    (WebCore::WebGL2RenderingContext::getExtension):
    (WebCore::WebGL2RenderingContext::getSupportedExtensions):
    * Source/WebCore/html/canvas/WebGLPolygonMode.cpp:
    (WebCore::WebGLPolygonMode::WebGLPolygonMode):
    * Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
    (WebCore::WebGLRenderingContext::getExtension):
    (WebCore::WebGLRenderingContext::getSupportedExtensions):
    * Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
    
    Canonical link: https://commits.webkit.org/270382@main
    lexaknyazev authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7320934 View commit details
    Browse the repository at this point in the history
  13. [WebGPU] GPUCommandEncoder does not update the state of the encoder

    https://bugs.webkit.org/show_bug.cgi?id=264363
    rdar://117854010
    
    Reviewed by Dan Glastonbury.
    
    Validation was not working at submission time as the encoder state was
    never changed from Open to Locked.
    
    * Source/WebGPU/WebGPU/CommandEncoder.h:
    * Source/WebGPU/WebGPU/CommandEncoder.mm:
    (WebGPU::CommandEncoder::beginComputePass):
    (WebGPU::CommandEncoder::beginRenderPass):
    (WebGPU::CommandEncoder::lock):
    * Source/WebGPU/WebGPU/ComputePassEncoder.h:
    (WebGPU::ComputePassEncoder::create):
    * Source/WebGPU/WebGPU/ComputePassEncoder.mm:
    (WebGPU::ComputePassEncoder::ComputePassEncoder):
    (WebGPU::ComputePassEncoder::endPass):
    * Source/WebGPU/WebGPU/RenderPassEncoder.h:
    (WebGPU::RenderPassEncoder::create):
    * Source/WebGPU/WebGPU/RenderPassEncoder.mm:
    (WebGPU::RenderPassEncoder::RenderPassEncoder):
    (WebGPU::RenderPassEncoder::endPass):
    
    Canonical link: https://commits.webkit.org/270383@main
    mwyrzykowski authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b493ecb View commit details
    Browse the repository at this point in the history
  14. Skip intl-data-time-format-string-overflow.js if $memoryLimited

    https://bugs.webkit.org/show_bug.cgi?id=264395
    
    Unreviewed gardening.
    
    This test requires memory that exceeds the limit when running with
    --memory-limited.
    
    * JSTests/stress/intl-data-time-format-string-overflow.js:
    
    Canonical link: https://commits.webkit.org/270384@main
    aoikonomopoulos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    88ae21e View commit details
    Browse the repository at this point in the history
  15. Create script to compile sandboxes

    https://bugs.webkit.org/show_bug.cgi?id=264093
    rdar://117854457
    
    Reviewed by Elliott Williams.
    
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Scripts/compile-sandbox.sh: Added.
    
    Canonical link: https://commits.webkit.org/270385@main
    pvollan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f0deb3d View commit details
    Browse the repository at this point in the history
  16. Remove EnumTraits<WebCore::Cookie::SameSitePolicy> from Cookie.h

    https://bugs.webkit.org/show_bug.cgi?id=264364
    
    Reviewed by Chris Dumez.
    
    255698@main added serializer for the struct Cookie, including
    WebCore::Cookie::SameSitePolicy, but the EnumTraits was never removed.
    
    * Source/WebCore/platform/Cookie.h:
    
    Canonical link: https://commits.webkit.org/270386@main
    mikhailramalho authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2f6ac9f View commit details
    Browse the repository at this point in the history
  17. Skip failing fold-multi-get-by-offset-to-get-by-offset.js on 32-bit arm

    https://bugs.webkit.org/show_bug.cgi?id=264396
    
    Unreviewed gardening.
    
    * JSTests/stress/fold-multi-get-by-offset-to-get-by-offset.js:
    
    Canonical link: https://commits.webkit.org/270387@main
    aoikonomopoulos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    266eebe View commit details
    Browse the repository at this point in the history
  18. [ThreadedCompositor] The compositing thread should not wait for paint…

    … threads
    
    https://bugs.webkit.org/show_bug.cgi?id=264090
    
    Reviewed by Alejandro G. Castro.
    
    If there's an async scrolling request the compositing thread might be
    busy just waiting for the painting threads. We can wait for them in the
    main thread, which is already expected to be blocked painting.
    
    * Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.cpp:
    (Nicosia::BackingStore::waitUntilPaintingComplete):
    * Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.h:
    * Source/WebCore/platform/graphics/nicosia/NicosiaCompositionLayer.h:
    * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
    (WebCore::CoordinatedBackingStoreTile::swapBuffers):
    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp:
    (WebKit::CompositingCoordinator::flushPendingLayerChanges):
    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
    (WebKit::LayerTreeHost::LayerTreeHost):
    (WebKit::LayerTreeHost::scheduleLayerFlush):
    (WebKit::LayerTreeHost::layerFlushTimerFired):
    (WebKit::LayerTreeHost::forceRepaint):
    (WebKit::LayerTreeHost::forceRepaintAsync):
    (WebKit::LayerTreeHost::commitSceneState):
    (WebKit::LayerTreeHost::didRenderFrame):
    (WebKit::LayerTreeHost::handleDisplayRefreshMonitorUpdate):
    (WebKit::LayerTreeHost::renderNextFrame):
    (WebKit::LayerTreeHost::didRenderFrameTimerFired): Deleted.
    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
    
    Canonical link: https://commits.webkit.org/270388@main
    carlosgcampos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5b23936 View commit details
    Browse the repository at this point in the history
  19. [LBSE] Update some test results after 270302@main

    https://bugs.webkit.org/show_bug.cgi?id=264332
    
    Reviewed by Nikolas Zimmermann.
    
    Update some test results after 270302@main.
    
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/batik/text/textEffect2-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/batik/text/textProperties-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/custom/text-clip-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/filters/filter-clip-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/foreignObject/clip-expected.txt:
    * LayoutTests/platform/mac-sonoma-wk2-lbse-text/svg/repaint/mask-clip-target-transform-expected.txt:
    
    Canonical link: https://commits.webkit.org/270389@main
    rwlbuis authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c7ba823 View commit details
    Browse the repository at this point in the history
  20. [MSE] MediaSource::isEnded is unnecessarily passed to all methods

    https://bugs.webkit.org/show_bug.cgi?id=264146
    rdar://problem/117899460
    
    Reviewed by Youenn Fablet.
    
    There were two existing methods used to notify the SourceBufferPrivate
    that the MediaSource was ended (through a call to MediaSource::endOfStream()):
     - SourceBuffer::readyStateChanged
     - SourceBuffer::setMediaSourceEnded
    
    and both were duplicated in SourceBufferPrivate classes, though the
    SourceBufferPrivateGStreamer used setMediaSourceEnded, while the others
    used readyStateChanged.
    They conveyed the same information.
    
    We remove SourceBuffer::readyStateChanged and adopt setMediaSourceEnded
    everywhere.
    
    Also, by recalculating the buffered range when SourceBufferPrivate is notified
    we can remove the two IPC loops between the GPU process and the content process
    simply to update at the end the buffered ranges.
    
    Covered by existing tests, no change in observable behaviour.
    
    * Source/WebCore/Modules/mediasource/MediaSource.cpp:
    (WebCore::MediaSource::streamEndedWithError):
    (WebCore::MediaSource::onReadyStateChange): No longer needs to notify the SourceBuffers.
    * Source/WebCore/Modules/mediasource/SourceBuffer.cpp:
    (WebCore::SourceBuffer::appendBufferInternal):
    (WebCore::SourceBuffer::removeTimerFired):
    (WebCore::SourceBuffer::memoryPressure):
    (WebCore::SourceBuffer::readyStateChanged): Deleted.
    * Source/WebCore/Modules/mediasource/SourceBuffer.h:
    * Source/WebCore/platform/graphics/SourceBufferPrivate.cpp:
    (WebCore::SourceBufferPrivate::updateBufferedFromTrackBuffers):
    (WebCore::SourceBufferPrivate::appendCompleted):
    (WebCore::SourceBufferPrivate::processAppendCompletedOperation):
    (WebCore::SourceBufferPrivate::clearTrackBuffers):
    (WebCore::SourceBufferPrivate::setMediaSourceEnded):
    (WebCore::SourceBufferPrivate::removeCodedFrames):
    (WebCore::SourceBufferPrivate::evictCodedFrames):
    (WebCore::SourceBufferPrivate::memoryPressure):
    (WebCore::SourceBufferPrivate::evictFrames):
    (WebCore::SourceBufferPrivate::clientReadyStateChanged): Deleted.
    * Source/WebCore/platform/graphics/SourceBufferPrivate.h:
    (WebCore::SourceBufferPrivate::removeCodedFrames):
    (WebCore::SourceBufferPrivate::updateBufferedFromTrackBuffers):
    (WebCore::SourceBufferPrivate::appendCompleted):
    * Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
    (WebCore::SourceBufferPrivateAVFObjC::appendCompleted):
    * Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:
    (WebCore::SourceBufferPrivateGStreamer::didReceiveAllPendingSamples):
    (WebCore::SourceBufferPrivateGStreamer::appendParsingFailed):
    * Source/WebCore/platform/mock/mediasource/MockSourceBufferPrivate.cpp:
    (WebCore::MockSourceBufferPrivate::appendInternal):
    * Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.cpp:
    (WebKit::RemoteSourceBufferProxy::removeCodedFrames):
    (WebKit::RemoteSourceBufferProxy::evictCodedFrames):
    (WebKit::RemoteSourceBufferProxy::memoryPressure):
    (WebKit::RemoteSourceBufferProxy::clientReadyStateChanged): Deleted.
    * Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.h:
    * Source/WebKit/GPUProcess/media/RemoteSourceBufferProxy.messages.in:
    * Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.cpp:
    (WebKit::SourceBufferPrivateRemote::setMediaSourceEnded):
    (WebKit::SourceBufferPrivateRemote::removeCodedFrames):
    (WebKit::SourceBufferPrivateRemote::evictCodedFrames):
    (WebKit::SourceBufferPrivateRemote::memoryPressure):
    (WebKit::SourceBufferPrivateRemote::clientReadyStateChanged): Deleted.
    * Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h:
    
    Canonical link: https://commits.webkit.org/270390@main
    jyavenard authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2c48f5c View commit details
    Browse the repository at this point in the history
  21. Deploy smart pointers in UserTypingGestureIndicator.cpp, VisitedLinkS…

    …tate.cpp, and ImageControlsMac.cpp
    
    https://bugs.webkit.org/show_bug.cgi?id=264389
    
    Reviewed by Chris Dumez.
    
    Deploy smart pointers as warned by the clang static analyzer.
    
    * Source/WebCore/dom/UserTypingGestureIndicator.cpp:
    (WebCore::UserTypingGestureIndicator::UserTypingGestureIndicator):
    * Source/WebCore/dom/VisitedLinkState.cpp:
    (WebCore::linkAttribute):
    (WebCore::VisitedLinkState::invalidateStyleForAllLinks):
    (WebCore::VisitedLinkState::invalidateStyleForLink):
    (WebCore::VisitedLinkState::determineLinkStateSlowCase):
    * Source/WebCore/dom/VisitedLinkState.h:
    * Source/WebCore/dom/mac/ImageControlsMac.cpp:
    (WebCore::ImageControlsMac::createImageControls):
    (WebCore::ImageControlsMac::handleEvent):
    
    Canonical link: https://commits.webkit.org/270391@main
    rniwa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8ce1efb View commit details
    Browse the repository at this point in the history
  22. Deploy smart pointers in TreeScope.cpp, TreeScopeOrderedMap.cpp, and …

    …UserGestureIndicator.cpp
    
    https://bugs.webkit.org/show_bug.cgi?id=264393
    
    Reviewed by Chris Dumez.
    
    Deploy smart pointers as warned by the clang static analyzer.
    
    * Source/WebCore/dom/TreeScope.cpp:
    (WebCore::TreeScope::labelElementsForId):
    (WebCore::TreeScope::elementFromPoint):
    (WebCore::TreeScope::findAnchor):
    * Source/WebCore/dom/TreeScope.h:
    * Source/WebCore/dom/TreeScopeInlines.h:
    (WebCore::TreeScope::protectedRootNode const):
    * Source/WebCore/dom/TreeScopeOrderedMap.cpp:
    (WebCore::TreeScopeOrderedMap::get const):
    (WebCore::TreeScopeOrderedMap::getAll const):
    * Source/WebCore/dom/UserGestureIndicator.cpp:
    (WebCore::UserGestureToken::UserGestureToken):
    
    Canonical link: https://commits.webkit.org/270392@main
    rniwa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ed08212 View commit details
    Browse the repository at this point in the history
  23. Crash under ContentSecurityPolicy::reportViolation()

    https://bugs.webkit.org/show_bug.cgi?id=264372
    rdar://117727308
    
    Reviewed by David Kilzer.
    
    The code was doing an early return in this case:
    ```
    if (!usesReportTo && !is<Document>(m_scriptExecutionContext))
        return;
    ```
    Then proceeding to downcast m_scriptExecutionContext to a Document.
    This meant we would do a bad cast in the case where usesReportTo is
    true.
    
    * Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
    (WebCore::ContentSecurityPolicy::reportViolation const):
    
    Canonical link: https://commits.webkit.org/270393@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d726711 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    dfd700b View commit details
    Browse the repository at this point in the history
  25. [git-webkit] update method name

    https://bugs.webkit.org/show_bug.cgi?id=264416
    
    Reviewed by Jonathan Bedard.
    
    Updates method name when called to match def.
    
    * Tools/Scripts/hooks/prepare-commit-msg:
    
    Canonical link: https://commits.webkit.org/270395@main
    briannafan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a915169 View commit details
    Browse the repository at this point in the history
  26. Unify the naming of the RenderObject type checking functions

    https://bugs.webkit.org/show_bug.cgi?id=264378
    
    Reviewed by Simon Fraser.
    
    * Source/WebCore/accessibility/AXObjectCache.cpp:
    (WebCore::AXObjectCache::createObjectFromRenderer):
    * Source/WebCore/accessibility/AccessibilityList.cpp:
    (WebCore::AccessibilityList::determineAccessibilityRole):
    * Source/WebCore/accessibility/AccessibilityObject.cpp:
    (WebCore::AccessibilityObject::isMeter const):
    * Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
    (WebCore::AccessibilityRenderObject::boundingBoxRect const):
    (WebCore::AccessibilityRenderObject::supportsPath const):
    (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored const):
    (WebCore::AccessibilityRenderObject::setValue):
    (WebCore::AccessibilityRenderObject::renderObjectIsObservable const):
    (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
    * Source/WebCore/accessibility/AccessibilitySVGElement.cpp:
    (WebCore::AccessibilitySVGElement::description const):
    (WebCore::AccessibilitySVGElement::computeAccessibilityIsIgnored const):
    (WebCore::AccessibilitySVGElement::determineAccessibilityRole):
    * Source/WebCore/accessibility/AccessibilitySlider.cpp:
    (WebCore::AccessibilitySliderThumb::elementRect const):
    * Source/WebCore/css/ComputedStyleExtractor.cpp:
    (WebCore::positionOffsetValue):
    (WebCore::paddingOrMarginIsRendererDependent):
    (WebCore::positionOffsetValueIsRendererDependent):
    (WebCore::isFlexOrGridItem):
    * Source/WebCore/dom/Document.cpp:
    (WebCore::Document::updateHoverActiveState):
    * Source/WebCore/dom/Element.cpp:
    (WebCore::Element::clientWidth):
    (WebCore::Element::clientHeight):
    * Source/WebCore/editing/CompositeEditCommand.cpp:
    (WebCore::CompositeEditCommand::addBlockPlaceholderIfNeeded):
    * Source/WebCore/editing/Editing.cpp:
    (WebCore::isBlock):
    (WebCore::isTableStructureNode):
    (WebCore::isFirstPositionAfterTable):
    (WebCore::isLastPositionBeforeTable):
    (WebCore::isListItem):
    (WebCore::isRenderedTable):
    (WebCore::isTableCell):
    (WebCore::isRenderedAsNonInlineTableImageOrHR):
    * Source/WebCore/editing/Editor.cpp:
    (WebCore::findFirstMarkable):
    * Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp:
    (WebCore::InsertParagraphSeparatorCommand::doApply):
    * Source/WebCore/editing/ModifySelectionListLevel.cpp:
    (WebCore::getStartEndListChildren):
    * Source/WebCore/editing/ReplaceSelectionCommand.cpp:
    (WebCore::ReplaceSelectionCommand::doApply):
    * Source/WebCore/editing/TextIterator.cpp:
    (WebCore::ignoresContainerClip):
    (WebCore::isRendererReplacedElement):
    (WebCore::shouldEmitNewlinesBeforeAndAfterNode):
    (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
    (WebCore::TextIterator::shouldEmitSpaceBeforeAndAfterNode):
    * Source/WebCore/editing/TypingCommand.cpp:
    (WebCore::TypingCommand::forwardDeleteKeyPressed):
    * Source/WebCore/html/HTMLEmbedElement.cpp:
    (WebCore::HTMLEmbedElement::rendererIsNeeded):
    * Source/WebCore/html/HTMLPlugInElement.cpp:
    (WebCore::HTMLPlugInElement::willRespondToMouseClickEventsWithEditability const):
    * Source/WebCore/html/HTMLSelectElement.cpp:
    (WebCore::HTMLSelectElement::updateListBoxSelection):
    (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
    (WebCore::HTMLSelectElement::defaultEventHandler):
    * Source/WebCore/html/shadow/SliderThumbElement.cpp:
    (WebCore::RenderSliderContainer::computeLogicalHeight const):
    * Source/WebCore/inspector/InspectorOverlay.cpp:
    (WebCore::buildRendererHighlight):
    * Source/WebCore/layout/formattingContexts/inline/InlineLevelBoxInlines.h:
    * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
    (WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
    * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
    (WebCore::Layout::LineBuilder::candidateContentForLine):
    * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
    (WebCore::Layout::InlineDisplayContentBuilder::appendInlineBoxDisplayBox):
    (WebCore::Layout::InlineDisplayContentBuilder::appendSpanningInlineBoxDisplayBox):
    (WebCore::Layout::InlineDisplayContentBuilder::handleInlineBoxEnd):
    (WebCore::Layout::InlineDisplayContentBuilder::appendRubyAnnotationBox):
    (WebCore::Layout::InlineDisplayContentBuilder::applyRubyOverhang):
    * Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
    (WebCore::Layout::nextWrapOpportunityWithinRubyContainer):
    (WebCore::Layout::RubyFormattingContext::placeRubyContent):
    (WebCore::Layout::RubyFormattingContext::placeAnnotationBox):
    (WebCore::Layout::RubyFormattingContext::sizeAnnotationBox):
    (WebCore::Layout::RubyFormattingContext::applyAnnotationContributionToLayoutBounds const):
    (WebCore::Layout::RubyFormattingContext::nextWrapOpportunity):
    (WebCore::Layout::RubyFormattingContext::annotationOverlapCheck const):
    (WebCore::Layout::RubyFormattingContext::logicaWidthForRubyRange const):
    * Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
    (WebCore::LayoutIntegration::canUseForChild):
    (WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
    (WebCore::LayoutIntegration::canUseForFlexLayout):
    * Source/WebCore/layout/integration/inline/InlineIteratorLineBox.cpp:
    (WebCore::InlineIterator::closestBoxForHorizontalPosition):
    * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
    (WebCore::LayoutIntegration::isContentRenderer):
    (WebCore::LayoutIntegration::LineLayout::containing):
    * Source/WebCore/layout/layouttree/LayoutBox.h:
    (WebCore::Layout::Box::isRenderRubyBase const):
    (WebCore::Layout::Box::isRubyBase const): Deleted.
    * Source/WebCore/page/AutoscrollController.cpp:
    (WebCore::AutoscrollController::startAutoscrollForSelection):
    * Source/WebCore/page/EventHandler.cpp:
    (WebCore::EventHandler::handleMouseDraggedEvent):
    (WebCore::EventHandler::updateSelectionForMouseDrag):
    (WebCore::EventHandler::scrollOverflow):
    (WebCore::EventHandler::logicalScrollOverflow):
    (WebCore::EventHandler::startKeyboardScrollAnimationOnEnclosingScrollableContainer):
    * Source/WebCore/page/LocalFrameView.cpp:
    (WebCore::LocalFrameView::scrollToFocusedElementInternal):
    * Source/WebCore/page/ios/FrameIOS.mm:
    (WebCore::LocalFrame::nodeRespondingToScrollWheelEvents):
    * Source/WebCore/rendering/CaretRectComputation.cpp:
    (WebCore::computeCaretRectForText):
    (WebCore::computeCaretRectForBox):
    * Source/WebCore/rendering/HitTestResult.cpp:
    (WebCore::HitTestResult::mediaElement const):
    * Source/WebCore/rendering/LegacyInlineBox.cpp:
    (WebCore::LegacyInlineBox::logicalHeight const):
    * Source/WebCore/rendering/LegacyInlineBox.h:
    (WebCore::LegacyInlineBox::isLineBreak const):
    * Source/WebCore/rendering/LegacyInlineFlowBox.cpp:
    (WebCore::LegacyInlineFlowBox::addToLine):
    (WebCore::verticalAlignApplies):
    * Source/WebCore/rendering/LegacyInlineIterator.h:
    (WebCore::isIteratorTarget):
    (WebCore::LegacyInlineIterator::direction const):
    * Source/WebCore/rendering/LegacyInlineTextBox.cpp:
    (WebCore::LegacyInlineTextBox::isRenderLineBreak const):
    (WebCore::LegacyInlineTextBox::nodeAtPoint):
    (WebCore::LegacyInlineTextBox::paint):
    (WebCore::LegacyInlineTextBox::selectableRange const):
    (WebCore::LegacyInlineTextBox::expansionBehavior const):
    (WebCore::LegacyInlineTextBox::isLineBreak const): Deleted.
    * Source/WebCore/rendering/LegacyLineLayout.cpp:
    (WebCore::LegacyLineLayout::constructLine):
    (WebCore::LegacyLineLayout::setMarginsForRubyRun):
    (WebCore::LegacyLineLayout::computeExpansionForJustifiedText):
    (WebCore::isLastInFlowRun):
    (WebCore::LegacyLineLayout::computeInlineDirectionPositionsForSegment):
    (WebCore::LegacyLineLayout::createLineBoxesFromBidiRuns):
    (WebCore::LegacyLineLayout::layoutLineBoxes):
    * Source/WebCore/rendering/LegacyRootInlineBox.cpp:
    (WebCore::LegacyRootInlineBox::selectionTop const):
    (WebCore::LegacyRootInlineBox::selectionBottom const):
    (WebCore::LegacyRootInlineBox::ascentAndDescentForBox const):
    (WebCore::LegacyRootInlineBox::verticalPositionForBox):
    (WebCore::LegacyRootInlineBox::includeLeadingForBox const):
    (WebCore::LegacyRootInlineBox::includeFontForBox const):
    (WebCore::LegacyRootInlineBox::includeGlyphsForBox const):
    (WebCore::LegacyRootInlineBox::includeInitialLetterForBox const):
    (WebCore::LegacyRootInlineBox::includeMarginForBox const):
    * Source/WebCore/rendering/RenderAttachment.cpp:
    (WebCore::RenderAttachment::RenderAttachment):
    * Source/WebCore/rendering/RenderAttachment.h:
    * Source/WebCore/rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::isSelfCollapsingBlock const):
    (WebCore::RenderBlock::isSelectionRoot const):
    (WebCore::RenderBlock::paintSelection):
    (WebCore::RenderBlock::selectionGaps):
    (WebCore::RenderBlock::blockSelectionGaps):
    (WebCore::RenderBlock::hitTestContents):
    (WebCore::RenderBlock::positionForPoint):
    (WebCore::RenderBlock::computePreferredLogicalWidths):
    (WebCore::RenderBlock::computeBlockPreferredLogicalWidths const):
    (WebCore::RenderBlock::computeChildPreferredLogicalWidths const):
    (WebCore::RenderBlock::baselinePosition const):
    (WebCore::RenderBlock::firstLineBaseline const):
    (WebCore::RenderBlock::lastLineBaseline const):
    (WebCore::RenderBlock::inlineBlockBaseline const):
    * Source/WebCore/rendering/RenderBlockFlow.cpp:
    (WebCore::RenderBlockFlow::MarginInfo::MarginInfo):
    (WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats):
    (WebCore::RenderBlockFlow::willCreateColumns const):
    (WebCore::RenderBlockFlow::layoutBlock):
    (WebCore::RenderBlockFlow::marginBeforeEstimateForChild const):
    (WebCore::RenderBlockFlow::adjustBlockChildForPagination):
    (WebCore::RenderBlockFlow::computeLineAdjustmentForPagination):
    (WebCore::RenderBlockFlow::firstLineBaseline const):
    (WebCore::RenderBlockFlow::lastLineBaseline const):
    (WebCore::RenderBlockFlow::inlineBlockBaseline const):
    (WebCore::RenderBlockFlow::inlineSelectionGaps):
    (WebCore::RenderBlockFlow::positionForPointWithInlineChildren):
    (WebCore::isNonBlocksOrNonFixedHeightListItems):
    (WebCore::InlineMinMaxIterator::next):
    (WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths const):
    * Source/WebCore/rendering/RenderBox.cpp:
    (WebCore::RenderBox::RenderBox):
    (WebCore::RenderBox::computeBackgroundIsKnownToBeObscured):
    (WebCore::RenderBox::computeVisibleRectInContainer const):
    (WebCore::RenderBox::computeLogicalWidthInFragment const):
    (WebCore::RenderBox::isStretchingColumnFlexItem const):
    (WebCore::RenderBox::sizesLogicalWidthToFitContent const):
    (WebCore::RenderBox::overrideLogicalHeightForSizeContainment):
    (WebCore::RenderBox::computeLogicalHeight const):
    (WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation const):
    (WebCore::RenderBox::computePercentageLogicalHeight const):
    (WebCore::RenderBox::computeReplacedLogicalHeightUsing const):
    (WebCore::RenderBox::availableLogicalHeightUsing const):
    (WebCore::RenderBox::computeBlockDirectionMargins const):
    (WebCore::RenderBox::containingBlockLogicalHeightForPositioned const):
    (WebCore::RenderBox::computePositionedLogicalHeightUsing const):
    (WebCore::RenderBox::positionForPoint):
    * Source/WebCore/rendering/RenderBox.h:
    * Source/WebCore/rendering/RenderBoxModelObject.cpp:
    (WebCore::RenderBoxModelObject::RenderBoxModelObject):
    (WebCore::RenderBoxModelObject::containingBlockForAutoHeightDetection const):
    (WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight const):
    (WebCore::RenderBoxModelObject::computeStickyPositionConstraints const):
    * Source/WebCore/rendering/RenderBoxModelObject.h:
    (WebCore::RenderBoxModelObject::canHaveBoxInfoInFragment const):
    * Source/WebCore/rendering/RenderCombineText.cpp:
    (WebCore::RenderCombineText::RenderCombineText):
    * Source/WebCore/rendering/RenderCombineText.h:
    * Source/WebCore/rendering/RenderCounter.cpp:
    (WebCore::RenderCounter::RenderCounter):
    * Source/WebCore/rendering/RenderCounter.h:
    * Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
    (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
    * Source/WebCore/rendering/RenderDeprecatedFlexibleBox.h:
    * Source/WebCore/rendering/RenderDetailsMarker.cpp:
    (WebCore::RenderDetailsMarker::RenderDetailsMarker):
    * Source/WebCore/rendering/RenderDetailsMarker.h:
    * Source/WebCore/rendering/RenderElement.cpp:
    (WebCore::RenderElement::layerCreationAllowedForSubtree const):
    (WebCore::RenderElement::adjustComputedFontSizesOnBlocks):
    (WebCore::RenderElement::resetTextAutosizing):
    (WebCore::RenderElement::createsNewFormattingContext const):
    (WebCore::RenderElement::referenceBoxRect const):
    * Source/WebCore/rendering/RenderElement.h:
    (WebCore::RenderElement::isDeprecatedFlexItem const):
    (WebCore::RenderElement::isRenderBoxModelObject const):
    (WebCore::RenderObject::isRenderBoxModelObject const):
    (WebCore::RenderObject::isFlexibleBoxIncludingDeprecated const):
    (WebCore::RenderObject::style const):
    (WebCore::RenderObject::firstLineStyle const):
    (WebCore::RenderObject::isSkippedContentRoot const):
    (WebCore::RenderElement::isBoxModelObject const): Deleted.
    (WebCore::RenderObject::isBoxModelObject const): Deleted.
    * Source/WebCore/rendering/RenderElementInlines.h:
    (WebCore::RenderElement::canContainAbsolutelyPositionedObjects const):
    (WebCore::RenderElement::canContainFixedPositionObjects const):
    (WebCore::RenderElement::shouldApplyLayoutOrPaintContainment const):
    (WebCore::RenderElement::shouldApplySizeOrStyleContainment const):
    * Source/WebCore/rendering/RenderEmbeddedObject.cpp:
    (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
    * Source/WebCore/rendering/RenderEmbeddedObject.h:
    * Source/WebCore/rendering/RenderFileUploadControl.cpp:
    (WebCore::RenderFileUploadControl::RenderFileUploadControl):
    * Source/WebCore/rendering/RenderFileUploadControl.h:
    * Source/WebCore/rendering/RenderFlexibleBox.cpp:
    (WebCore::RenderFlexibleBox::computeChildIntrinsicLogicalWidths const):
    (WebCore::isSVGRootWithIntrinsicAspectRatio):
    (WebCore::RenderFlexibleBox::computeMainSizeFromAspectRatioUsing const):
    (WebCore::RenderFlexibleBox::computeFlexItemMinMaxSizes):
    * Source/WebCore/rendering/RenderFragmentedFlow.cpp:
    (WebCore::RenderFragmentedFlow::objectShouldFragmentInFlowFragment const):
    (WebCore::RenderFragmentedFlow::objectInFlowFragment const):
    * Source/WebCore/rendering/RenderFrame.cpp:
    (WebCore::RenderFrame::RenderFrame):
    * Source/WebCore/rendering/RenderFrame.h:
    * Source/WebCore/rendering/RenderFrameSet.cpp:
    (WebCore::RenderFrameSet::RenderFrameSet):
    (WebCore::RenderFrameSet::layout):
    (WebCore::RenderFrameSet::isChildAllowed const):
    * Source/WebCore/rendering/RenderFrameSet.h:
    * Source/WebCore/rendering/RenderGeometryMap.cpp:
    (WebCore::canMapBetweenRenderersViaLayers):
    * Source/WebCore/rendering/RenderHTMLCanvas.cpp:
    (WebCore::RenderHTMLCanvas::RenderHTMLCanvas):
    * Source/WebCore/rendering/RenderHTMLCanvas.h:
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::RenderLayer):
    (WebCore::RenderLayer::shouldBeNormalFlowOnly const):
    (WebCore::RenderLayer::referenceBoxRectForClipPath const):
    (WebCore::expandClipRectForDescendantsAndReflection):
    (WebCore::RenderLayer::beginTransparencyLayers):
    (WebCore::RenderLayer::convertToLayerCoords const):
    (WebCore::RenderLayer::shouldTryToScrollForScrollIntoView const):
    (WebCore::RenderLayer::paintLayerByApplyingTransform):
    (WebCore::RenderLayer::enclosingSVGRootLayer const):
    (WebCore::RenderLayer::calculateClipRects const):
    * Source/WebCore/rendering/RenderLayer.h:
    (WebCore::RenderLayer::isReflection const):
    * Source/WebCore/rendering/RenderLayerBacking.cpp:
    (WebCore::canvasCompositingStrategy):
    (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
    (WebCore::RenderLayerBacking::shouldSetContentsDisplayDelegate const):
    (WebCore::RenderLayerBacking::updateVideoGravity):
    (WebCore::RenderLayerBacking::updateContentsScalingFilters):
    (WebCore::RenderLayerBacking::contentChanged):
    (WebCore::RenderLayerBacking::startAnimation):
    * Source/WebCore/rendering/RenderLayerCompositor.cpp:
    (WebCore::RenderLayerCompositor::computeCompositingRequirements):
    (WebCore::RenderLayerCompositor::requiresCompositingForCanvas const):
    * Source/WebCore/rendering/RenderLayerInlines.h:
    (WebCore::RenderLayer::canUseOffsetFromAncestor const):
    * Source/WebCore/rendering/RenderLayerModelObject.cpp:
    (WebCore::rendererNeedsPixelSnapping):
    * Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
    (WebCore::RenderLayerScrollableArea::createOrDestroyMarquee):
    (WebCore::RenderLayerScrollableArea::isScrollCornerVisible const):
    (WebCore::RenderLayerScrollableArea::updateScrollbarsAfterLayout):
    * Source/WebCore/rendering/RenderLineBreak.cpp:
    (WebCore::RenderLineBreak::RenderLineBreak):
    (WebCore::RenderLineBreak::collectSelectionGeometries):
    * Source/WebCore/rendering/RenderLineBreak.h:
    * Source/WebCore/rendering/RenderListBox.h:
    (isType):
    * Source/WebCore/rendering/RenderListItem.cpp:
    (WebCore::RenderListItem::RenderListItem):
    * Source/WebCore/rendering/RenderListItem.h:
    * Source/WebCore/rendering/RenderListMarker.cpp:
    (WebCore::RenderListMarker::RenderListMarker):
    (WebCore::RenderListMarker::addOverflowFromListMarker):
    * Source/WebCore/rendering/RenderListMarker.h:
    * Source/WebCore/rendering/RenderMedia.h:
    * Source/WebCore/rendering/RenderMenuList.cpp:
    (WebCore::RenderMenuList::RenderMenuList):
    * Source/WebCore/rendering/RenderMenuList.h:
    * Source/WebCore/rendering/RenderMeter.cpp:
    (WebCore::RenderMeter::RenderMeter):
    * Source/WebCore/rendering/RenderMeter.h:
    * Source/WebCore/rendering/RenderObject.cpp:
    (WebCore::objectIsRelayoutBoundary):
    (WebCore::RenderObject::invalidateContainerPreferredLogicalWidths):
    (WebCore::RenderObject::collectSelectionGeometriesInternal):
    * Source/WebCore/rendering/RenderObject.h:
    (WebCore::RenderObject::isRenderElement const):
    (WebCore::RenderObject::isRenderCounter const):
    (WebCore::RenderObject::isRenderQuote const):
    (WebCore::RenderObject::isRenderDetailsMarker const):
    (WebCore::RenderObject::isRenderEmbeddedObject const):
    (WebCore::RenderObject::isRenderFileUploadControl const):
    (WebCore::RenderObject::isRenderFrame const):
    (WebCore::RenderObject::isRenderFrameSet const):
    (WebCore::RenderObject::isRenderListBox const):
    (WebCore::RenderObject::isRenderListItem const):
    (WebCore::RenderObject::isRenderListMarker const):
    (WebCore::RenderObject::isRenderMedia const):
    (WebCore::RenderObject::isRenderMenuList const):
    (WebCore::RenderObject::isRenderMeter const):
    (WebCore::RenderObject::isRenderProgress const):
    (WebCore::RenderObject::isRenderTextFragment const):
    (WebCore::RenderObject::isRenderReplica const):
    (WebCore::RenderObject::isRenderRubyAsInline const):
    (WebCore::RenderObject::isRenderRubyAsBlock const):
    (WebCore::RenderObject::isRenderRubyBase const):
    (WebCore::RenderObject::isRenderRubyRun const):
    (WebCore::RenderObject::isRenderRubyText const):
    (WebCore::RenderObject::isRenderSlider const):
    (WebCore::RenderObject::isRenderTableCell const):
    (WebCore::RenderObject::isRenderTableCaption const):
    (WebCore::RenderObject::isRenderTableSection const):
    (WebCore::RenderObject::isRenderTextControlMultiLine const):
    (WebCore::RenderObject::isRenderTextControlSingleLine const):
    (WebCore::RenderObject::isRenderSearchField const):
    (WebCore::RenderObject::isRenderTextControlInnerBlock const):
    (WebCore::RenderObject::isRenderVideo const):
    (WebCore::RenderObject::isRenderWidget const):
    (WebCore::RenderObject::isRenderHTMLCanvas const):
    (WebCore::RenderObject::isRenderAttachment const):
    (WebCore::RenderObject::isTablePart const):
    (WebCore::RenderObject::isLegacyRenderSVGRoot const):
    (WebCore::RenderObject::isRenderSVGRoot const):
    (WebCore::RenderObject::isRenderSVGContainer const):
    (WebCore::RenderObject::isLegacyRenderSVGContainer const):
    (WebCore::RenderObject::isRenderSVGTransformableContainer const):
    (WebCore::RenderObject::isLegacyRenderSVGTransformableContainer const):
    (WebCore::RenderObject::isRenderSVGViewportContainer const):
    (WebCore::RenderObject::isLegacyRenderSVGViewportContainer const):
    (WebCore::RenderObject::isRenderSVGGradientStop const):
    (WebCore::RenderObject::isLegacyRenderSVGHiddenContainer const):
    (WebCore::RenderObject::isRenderSVGHiddenContainer const):
    (WebCore::RenderObject::isLegacyRenderSVGPath const):
    (WebCore::RenderObject::isRenderSVGPath const):
    (WebCore::RenderObject::isRenderSVGShape const):
    (WebCore::RenderObject::isLegacyRenderSVGShape const):
    (WebCore::RenderObject::isRenderSVGText const):
    (WebCore::RenderObject::isRenderSVGTextPath const):
    (WebCore::RenderObject::isRenderSVGTSpan const):
    (WebCore::RenderObject::isRenderSVGInline const):
    (WebCore::RenderObject::isRenderSVGInlineText const):
    (WebCore::RenderObject::isLegacyRenderSVGImage const):
    (WebCore::RenderObject::isRenderSVGImage const):
    (WebCore::RenderObject::isLegacyRenderSVGForeignObject const):
    (WebCore::RenderObject::isRenderSVGForeignObject const):
    (WebCore::RenderObject::isLegacyRenderSVGResourceContainer const):
    (WebCore::RenderObject::isRenderSVGResourceContainer const):
    (WebCore::RenderObject::isRenderSVGResourceFilter const):
    (WebCore::RenderObject::isLegacyRenderSVGResourceClipper const):
    (WebCore::RenderObject::isRenderSVGResourceClipper const):
    (WebCore::RenderObject::isRenderSVGResourceFilterPrimitive const):
    (WebCore::RenderObject::isRenderOrLegacyRenderSVGRoot const):
    (WebCore::RenderObject::isRenderOrLegacyRenderSVGShape const):
    (WebCore::RenderObject::isRenderOrLegacyRenderSVGPath const):
    (WebCore::RenderObject::isRenderOrLegacyRenderSVGImage const):
    (WebCore::RenderObject::isRenderOrLegacyRenderSVGForeignObject const):
    (WebCore::RenderObject::isSVGLayerAwareRenderer const):
    (WebCore::RenderObject::hasIntrinsicAspectRatio const):
    (WebCore::RenderObject::shouldUsePositionedClipping const):
    (WebCore::RenderObject::isRenderText const):
    (WebCore::RenderObject::isRenderLineBreak const):
    (WebCore::RenderObject::isBR const):
    (WebCore::RenderObject::isLineBreakOpportunity const):
    (WebCore::RenderObject::isRenderTextOrLineBreak const):
    (WebCore::RenderObject::isRenderBox const):
    (WebCore::RenderObject::isRenderTableRow const):
    (WebCore::RenderObject::setIsRenderText):
    (WebCore::RenderObject::setIsRenderBox):
    (WebCore::RenderObject::isRenderDeprecatedFlexibleBox const):
    (WebCore::RenderObject::isRenderCombineText const):
    (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
    (WebCore::RenderObject::isBeforeContent const):
    (WebCore::RenderObject::isAfterContent const):
    (WebCore::RenderObject::isAnonymousBlock const):
    (WebCore::RenderObject::setPositionState):
    (WebCore::RenderObject::isRenderTable const):
    (WebCore::RenderObject::isCounter const): Deleted.
    (WebCore::RenderObject::isQuote const): Deleted.
    (WebCore::RenderObject::isDetailsMarker const): Deleted.
    (WebCore::RenderObject::isEmbeddedObject const): Deleted.
    (WebCore::RenderObject::isFileUploadControl const): Deleted.
    (WebCore::RenderObject::isFrame const): Deleted.
    (WebCore::RenderObject::isFrameSet const): Deleted.
    (WebCore::RenderObject::isListBox const): Deleted.
    (WebCore::RenderObject::isListItem const): Deleted.
    (WebCore::RenderObject::isListMarker const): Deleted.
    (WebCore::RenderObject::isMedia const): Deleted.
    (WebCore::RenderObject::isMenuList const): Deleted.
    (WebCore::RenderObject::isMeter const): Deleted.
    (WebCore::RenderObject::isProgress const): Deleted.
    (WebCore::RenderObject::isTextFragment const): Deleted.
    (WebCore::RenderObject::isReplica const): Deleted.
    (WebCore::RenderObject::isRubyInline const): Deleted.
    (WebCore::RenderObject::isRubyBlock const): Deleted.
    (WebCore::RenderObject::isRubyBase const): Deleted.
    (WebCore::RenderObject::isRubyRun const): Deleted.
    (WebCore::RenderObject::isRubyText const): Deleted.
    (WebCore::RenderObject::isSlider const): Deleted.
    (WebCore::RenderObject::isTableCell const): Deleted.
    (WebCore::RenderObject::isTableCaption const): Deleted.
    (WebCore::RenderObject::isTableSection const): Deleted.
    (WebCore::RenderObject::isTextArea const): Deleted.
    (WebCore::RenderObject::isTextField const): Deleted.
    (WebCore::RenderObject::isSearchField const): Deleted.
    (WebCore::RenderObject::isTextControlInnerBlock const): Deleted.
    (WebCore::RenderObject::isVideo const): Deleted.
    (WebCore::RenderObject::isWidget const): Deleted.
    (WebCore::RenderObject::isCanvas const): Deleted.
    (WebCore::RenderObject::isAttachment const): Deleted.
    (WebCore::RenderObject::isLegacySVGRoot const): Deleted.
    (WebCore::RenderObject::isSVGRoot const): Deleted.
    (WebCore::RenderObject::isSVGContainer const): Deleted.
    (WebCore::RenderObject::isLegacySVGContainer const): Deleted.
    (WebCore::RenderObject::isSVGTransformableContainer const): Deleted.
    (WebCore::RenderObject::isLegacySVGTransformableContainer const): Deleted.
    (WebCore::RenderObject::isSVGViewportContainer const): Deleted.
    (WebCore::RenderObject::isLegacySVGViewportContainer const): Deleted.
    (WebCore::RenderObject::isSVGGradientStop const): Deleted.
    (WebCore::RenderObject::isLegacySVGHiddenContainer const): Deleted.
    (WebCore::RenderObject::isSVGHiddenContainer const): Deleted.
    (WebCore::RenderObject::isLegacySVGPath const): Deleted.
    (WebCore::RenderObject::isSVGPath const): Deleted.
    (WebCore::RenderObject::isSVGShape const): Deleted.
    (WebCore::RenderObject::isLegacySVGShape const): Deleted.
    (WebCore::RenderObject::isSVGText const): Deleted.
    (WebCore::RenderObject::isSVGTextPath const): Deleted.
    (WebCore::RenderObject::isSVGTSpan const): Deleted.
    (WebCore::RenderObject::isSVGInline const): Deleted.
    (WebCore::RenderObject::isSVGInlineText const): Deleted.
    (WebCore::RenderObject::isLegacySVGImage const): Deleted.
    (WebCore::RenderObject::isSVGImage const): Deleted.
    (WebCore::RenderObject::isLegacySVGForeignObject const): Deleted.
    (WebCore::RenderObject::isSVGForeignObject const): Deleted.
    (WebCore::RenderObject::isLegacySVGResourceContainer const): Deleted.
    (WebCore::RenderObject::isSVGResourceContainer const): Deleted.
    (WebCore::RenderObject::isSVGResourceFilter const): Deleted.
    (WebCore::RenderObject::isLegacySVGResourceClipper const): Deleted.
    (WebCore::RenderObject::isSVGResourceClipper const): Deleted.
    (WebCore::RenderObject::isSVGResourceFilterPrimitive const): Deleted.
    (WebCore::RenderObject::isSVGRootOrLegacySVGRoot const): Deleted.
    (WebCore::RenderObject::isSVGShapeOrLegacySVGShape const): Deleted.
    (WebCore::RenderObject::isSVGPathOrLegacySVGPath const): Deleted.
    (WebCore::RenderObject::isSVGImageOrLegacySVGImage const): Deleted.
    (WebCore::RenderObject::isSVGForeignObjectOrLegacySVGForeignObject const): Deleted.
    (WebCore::RenderObject::isText const): Deleted.
    (WebCore::RenderObject::isLineBreak const): Deleted.
    (WebCore::RenderObject::isTextOrLineBreak const): Deleted.
    (WebCore::RenderObject::isBox const): Deleted.
    (WebCore::RenderObject::isTableRow const): Deleted.
    (WebCore::RenderObject::setIsText): Deleted.
    (WebCore::RenderObject::setIsBox): Deleted.
    (WebCore::RenderObject::isDeprecatedFlexibleBox const): Deleted.
    (WebCore::RenderObject::isCombineText const): Deleted.
    (WebCore::RenderObject::isTable const): Deleted.
    * Source/WebCore/rendering/RenderObjectInlines.h:
    (WebCore::RenderObject::preservesNewline const):
    * Source/WebCore/rendering/RenderProgress.cpp:
    (WebCore::RenderProgress::RenderProgress):
    * Source/WebCore/rendering/RenderProgress.h:
    * Source/WebCore/rendering/RenderQuote.cpp:
    (WebCore::RenderQuote::RenderQuote):
    * Source/WebCore/rendering/RenderQuote.h:
    * Source/WebCore/rendering/RenderReplaced.cpp:
    (WebCore::RenderReplaced::computeIntrinsicRatioInformation const):
    (WebCore::hasIntrinsicSize):
    * Source/WebCore/rendering/RenderReplica.h:
    * Source/WebCore/rendering/RenderRuby.cpp:
    (WebCore::RenderRubyAsInline::RenderRubyAsInline):
    (WebCore::RenderRubyAsBlock::RenderRubyAsBlock):
    * Source/WebCore/rendering/RenderRuby.h:
    * Source/WebCore/rendering/RenderRubyBase.cpp:
    (WebCore::RenderRubyBase::RenderRubyBase):
    * Source/WebCore/rendering/RenderRubyBase.h:
    * Source/WebCore/rendering/RenderRubyRun.cpp:
    (WebCore::RenderRubyRun::RenderRubyRun):
    (WebCore::RenderRubyRun::hasRubyText const):
    (WebCore::RenderRubyRun::hasRubyBase const):
    (WebCore::RenderRubyRun::rubyText const):
    (WebCore::RenderRubyRun::rubyBase const):
    (WebCore::RenderRubyRun::isChildAllowed const):
    * Source/WebCore/rendering/RenderRubyRun.h:
    * Source/WebCore/rendering/RenderRubyText.cpp:
    (WebCore::RenderRubyText::RenderRubyText):
    * Source/WebCore/rendering/RenderRubyText.h:
    * Source/WebCore/rendering/RenderSearchField.cpp:
    (WebCore::RenderSearchField::RenderSearchField):
    * Source/WebCore/rendering/RenderSearchField.h:
    * Source/WebCore/rendering/RenderSelection.cpp:
    (WebCore::RenderSelection::apply):
    * Source/WebCore/rendering/RenderSlider.cpp:
    (WebCore::RenderSlider::RenderSlider):
    * Source/WebCore/rendering/RenderSlider.h:
    * Source/WebCore/rendering/RenderTable.cpp:
    (WebCore::RenderTable::RenderTable):
    (WebCore::RenderTable::paintObject):
    (WebCore::RenderTable::nodeAtPoint):
    * Source/WebCore/rendering/RenderTable.h:
    * Source/WebCore/rendering/RenderTableCaption.cpp:
    (WebCore::RenderTableCaption::RenderTableCaption):
    * Source/WebCore/rendering/RenderTableCaption.h:
    * Source/WebCore/rendering/RenderTableCell.cpp:
    (WebCore::RenderTableCell::RenderTableCell):
    * Source/WebCore/rendering/RenderTableCell.h:
    * Source/WebCore/rendering/RenderTableRow.cpp:
    (WebCore::RenderTableRow::RenderTableRow):
    * Source/WebCore/rendering/RenderTableRow.h:
    * Source/WebCore/rendering/RenderTableSection.cpp:
    (WebCore::RenderTableSection::RenderTableSection):
    * Source/WebCore/rendering/RenderTableSection.h:
    * Source/WebCore/rendering/RenderText.cpp:
    (WebCore::offsetForPositionInRun):
    (WebCore::RenderText::RenderText):
    (WebCore::RenderText::collectSelectionGeometries):
    (WebCore::RenderText::positionForPoint):
    (WebCore::containsOffset):
    (WebCore::RenderText::emphasisMarkExistsAndIsAbove):
    * Source/WebCore/rendering/RenderText.h:
    * Source/WebCore/rendering/RenderTextControlMultiLine.cpp:
    (WebCore::RenderTextControlMultiLine::RenderTextControlMultiLine):
    * Source/WebCore/rendering/RenderTextControlMultiLine.h:
    * Source/WebCore/rendering/RenderTextControlSingleLine.cpp:
    (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock):
    * Source/WebCore/rendering/RenderTextControlSingleLine.h:
    * Source/WebCore/rendering/RenderTextFragment.h:
    (isType):
    * Source/WebCore/rendering/RenderThemeAdwaita.cpp:
    (WebCore::RenderThemeAdwaita::paintProgressBar):
    * Source/WebCore/rendering/RenderThemeIOS.mm:
    (WebCore::RenderThemeIOS::paintMenuListButtonDecorations):
    (WebCore::RenderThemeIOS::paintMenuListButtonDecorationsWithFormControlRefresh):
    * Source/WebCore/rendering/RenderTreeAsText.cpp:
    (WebCore::RenderTreeAsText::writeRenderObject):
    * Source/WebCore/rendering/RenderVideo.cpp:
    (WebCore::RenderVideo::RenderVideo):
    * Source/WebCore/rendering/RenderVideo.h:
    * Source/WebCore/rendering/RenderView.cpp:
    (WebCore::RenderView::isChildAllowed const):
    (WebCore::RenderView::layout):
    * Source/WebCore/rendering/RenderWidget.h:
    * Source/WebCore/rendering/TextDecorationPainter.cpp:
    (WebCore::collectStylesForRenderer):
    * Source/WebCore/rendering/line/BreakingContext.h:
    (WebCore::BreakingContext::BreakingContext):
    (WebCore::BreakingContext::initializeForCurrentObject):
    (WebCore::BreakingContext::handleText):
    (WebCore::BreakingContext::canBreakAtThisPosition):
    (WebCore::BreakingContext::commitAndUpdateLineBreakIfNeeded):
    * Source/WebCore/rendering/svg/RenderSVGContainer.h:
    * Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:
    (WebCore::RenderSVGForeignObject::RenderSVGForeignObject):
    * Source/WebCore/rendering/svg/RenderSVGForeignObject.h:
    * Source/WebCore/rendering/svg/RenderSVGGradientStop.cpp:
    (WebCore::RenderSVGGradientStop::RenderSVGGradientStop):
    * Source/WebCore/rendering/svg/RenderSVGGradientStop.h:
    * Source/WebCore/rendering/svg/RenderSVGHiddenContainer.cpp:
    (WebCore::RenderSVGHiddenContainer::RenderSVGHiddenContainer):
    * Source/WebCore/rendering/svg/RenderSVGHiddenContainer.h:
    * Source/WebCore/rendering/svg/RenderSVGImage.cpp:
    (WebCore::RenderSVGImage::RenderSVGImage):
    * Source/WebCore/rendering/svg/RenderSVGImage.h:
    * Source/WebCore/rendering/svg/RenderSVGInline.cpp:
    (WebCore::RenderSVGInline::RenderSVGInline):
    * Source/WebCore/rendering/svg/RenderSVGInline.h:
    * Source/WebCore/rendering/svg/RenderSVGInlineText.cpp:
    (WebCore::RenderSVGInlineText::RenderSVGInlineText):
    (WebCore::RenderSVGInlineText::characterStartsNewTextChunk const):
    * Source/WebCore/rendering/svg/RenderSVGInlineText.h:
    * Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:
    (WebCore::isGraphicsElement):
    * Source/WebCore/rendering/svg/RenderSVGPath.cpp:
    (WebCore::RenderSVGPath::RenderSVGPath):
    * Source/WebCore/rendering/svg/RenderSVGPath.h:
    * Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp:
    (WebCore::RenderSVGResourceClipper::RenderSVGResourceClipper):
    * Source/WebCore/rendering/svg/RenderSVGResourceClipper.h:
    * Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp:
    (WebCore::RenderSVGResourceContainer::RenderSVGResourceContainer):
    * Source/WebCore/rendering/svg/RenderSVGResourceContainer.h:
    * Source/WebCore/rendering/svg/RenderSVGResourceFilter.h:
    (isType):
    * Source/WebCore/rendering/svg/RenderSVGResourceFilterPrimitive.h:
    * Source/WebCore/rendering/svg/RenderSVGRoot.cpp:
    (WebCore::RenderSVGRoot::RenderSVGRoot):
    (WebCore::RenderSVGRoot::isEmbeddedThroughFrameContainingSVGDocument const):
    (WebCore::RenderSVGRoot::paintObject):
    * Source/WebCore/rendering/svg/RenderSVGRoot.h:
    * Source/WebCore/rendering/svg/RenderSVGShape.h:
    * Source/WebCore/rendering/svg/RenderSVGTSpan.h:
    * Source/WebCore/rendering/svg/RenderSVGText.cpp:
    (WebCore::RenderSVGText::RenderSVGText):
    (WebCore::RenderSVGText::subtreeChildWasAdded):
    (WebCore::RenderSVGText::subtreeChildWillBeRemoved):
    * Source/WebCore/rendering/svg/RenderSVGText.h:
    * Source/WebCore/rendering/svg/RenderSVGTextPath.cpp:
    (WebCore::RenderSVGTextPath::RenderSVGTextPath):
    * Source/WebCore/rendering/svg/RenderSVGTextPath.h:
    * Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp:
    (WebCore::RenderSVGTransformableContainer::RenderSVGTransformableContainer):
    * Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h:
    * Source/WebCore/rendering/svg/RenderSVGViewportContainer.cpp:
    (WebCore::RenderSVGViewportContainer::RenderSVGViewportContainer):
    * Source/WebCore/rendering/svg/RenderSVGViewportContainer.h:
    * Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp:
    (WebCore::SVGBoundingBoxComputation::handleRootOrContainer const):
    * Source/WebCore/rendering/svg/SVGContainerLayout.cpp:
    (WebCore::SVGContainerLayout::positionChildrenRelativeToContainer):
    (WebCore::SVGContainerLayout::verifyLayoutLocationConsistency):
    * Source/WebCore/rendering/svg/SVGInlineTextBox.cpp:
    (WebCore::SVGInlineTextBox::nodeAtPoint):
    * Source/WebCore/rendering/svg/SVGLayerTransformComputation.h:
    (WebCore::SVGLayerTransformComputation::computeAccumulatedTransform const):
    * Source/WebCore/rendering/svg/SVGRenderSupport.cpp:
    (WebCore::SVGRenderSupport::computeContainerBoundingBoxes):
    (WebCore::SVGRenderSupport::computeContainerStrokeBoundingBox):
    (WebCore::SVGRenderSupport::transformToRootChanged):
    (WebCore::SVGRenderSupport::applyStrokeStyleToContext):
    * Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp:
    (WebCore::writeSVGContainer):
    * Source/WebCore/rendering/svg/SVGRenderingContext.cpp:
    (WebCore::SVGRenderingContext::prepareToRenderSVGContent):
    (WebCore::SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem):
    * Source/WebCore/rendering/svg/SVGResourcesCache.cpp:
    (WebCore::rendererCanHaveResources):
    (WebCore::SVGResourcesCache::clientStyleChanged):
    * Source/WebCore/rendering/svg/SVGResourcesCycleSolver.cpp:
    (WebCore::SVGResourcesCycleSolver::resourceContainsCycles):
    * Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp:
    (WebCore::SVGTextLayoutEngine::parentDefinesTextLength const):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGContainer.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGForeignObject.cpp:
    (WebCore::LegacyRenderSVGForeignObject::LegacyRenderSVGForeignObject):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGForeignObject.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGHiddenContainer.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.cpp:
    (WebCore::LegacyRenderSVGImage::LegacyRenderSVGImage):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGImage.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGModelObject.cpp:
    (WebCore::isGraphicsElement):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp:
    (WebCore::LegacyRenderSVGPath::LegacyRenderSVGPath):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGResource.cpp:
    (WebCore::LegacyRenderSVGResource::fillAndStrokePathOrShape const):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGResourceClipper.cpp:
    (WebCore::LegacyRenderSVGResourceClipper::drawContentIntoMaskImage):
    (WebCore::LegacyRenderSVGResourceClipper::calculateClipContentRepaintRect):
    (WebCore::LegacyRenderSVGResourceClipper::hitTestClipContent):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGResourceClipper.h:
    (isType):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGResourceContainer.cpp:
    (WebCore::LegacyRenderSVGResourceContainer::computeTextPaintingScale):
    (WebCore::LegacyRenderSVGResourceContainer::transformOnNonScalingStroke):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGResourceContainer.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp:
    (WebCore::LegacyRenderSVGRoot::LegacyRenderSVGRoot):
    (WebCore::LegacyRenderSVGRoot::paintReplaced):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGTransformableContainer.cpp:
    (WebCore::LegacyRenderSVGTransformableContainer::LegacyRenderSVGTransformableContainer):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGTransformableContainer.h:
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGViewportContainer.cpp:
    (WebCore::LegacyRenderSVGViewportContainer::LegacyRenderSVGViewportContainer):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGViewportContainer.h:
    * Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
    (WebCore::RenderTreeBuilder::attachToRenderElementInternal):
    (WebCore::RenderTreeBuilder::destroyAndCleanUpAnonymousWrappers):
    (WebCore::RenderTreeBuilder::detachFromRenderElement):
    (WebCore::RenderTreeBuilder::reportVisuallyNonEmptyContent):
    * Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp:
    (WebCore::canDropAnonymousBlock):
    (WebCore::RenderTreeBuilder::Block::attachIgnoringContinuation):
    * Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp:
    (WebCore::isRubyChildForNormalRemoval):
    (WebCore::RenderTreeBuilder::Ruby::attach):
    (WebCore::RenderTreeBuilder::Ruby::findOrCreateParentForChild):
    (WebCore::RenderTreeBuilder::Ruby::detach):
    * Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
    (WebCore::RenderTreeUpdater::textRendererIsNeeded):
    * Source/WebCore/svg/SVGElement.cpp:
    (WebCore::SVGElement::hasAssociatedSVGLayoutBox const):
    * Source/WebCore/svg/SVGFELightElement.cpp:
    (WebCore::SVGFELightElement::svgAttributeChanged):
    * Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp:
    (WebCore::SVGFilterPrimitiveStandardAttributes::invalidateFilterPrimitiveParent):
    * Source/WebCore/svg/SVGForeignObjectElement.cpp:
    (WebCore::SVGForeignObjectElement::rendererIsNeeded):
    * Source/WebCore/svg/SVGTextContentElement.cpp:
    (WebCore::SVGTextContentElement::elementFromRenderer):
    * Source/WebCore/svg/graphics/SVGImage.cpp:
    (WebCore::SVGImage::setContainerSize):
    (WebCore::SVGImage::containerSize const):
    * Source/WebKit/WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp:
    (WebKit::createShareableBitmap):
    * Source/WebKitLegacy/mac/DOM/DOMUIKitExtensions.mm:
    (-[DOMNode containsOnlyInlineObjects]):
    (-[DOMHTMLElement structuralComplexityContribution]):
    
    Canonical link: https://commits.webkit.org/270396@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    66c8339 View commit details
    Browse the repository at this point in the history
  27. WebKit process extensions do not have the same entitlement requirements

    https://bugs.webkit.org/show_bug.cgi?id=264206
    rdar://117944583
    
    Reviewed by Brent Fulgham.
    
    WebKit process extensions do not have the same entitlement requirements as XPC services.
    This patch is an intial step in making that distinction.
    
    * Source/WebKit/Scripts/process-entitlements.sh:
    
    Canonical link: https://commits.webkit.org/270397@main
    pvollan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a7908ad View commit details
    Browse the repository at this point in the history
  28. Skip http/tests/site-isolation/double-iframe.html on iOS

    https://bugs.webkit.org/show_bug.cgi?id=264422
    
    Unreviewed.
    
    WebKit/WebKit#20120 added a new test that fails on iOS
    because of some unrelated drawing issues that also affect other site-isolation
    tests.  Skip this new test like we do the others until the underlying issue is
    fixed.
    
    * LayoutTests/platform/ios/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270398@main
    achristensen07 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    14080ff View commit details
    Browse the repository at this point in the history
  29. Multiple iframes in same isolated process results in one of them not …

    …being drawn.
    
    https://bugs.webkit.org/show_bug.cgi?id=264356
    <rdar://118034981>
    
    Reviewed by Alex Christensen.
    
    RemoteLayerBackingStoreCollection::willCommitLayerTree collects all the backing stores that were unreachable,
    and includes that list in the transaction so that the UI process can ensure the buffer references are removed.
    
    This changes moves that call until we've finished building all the transactions, so that were not considering
    buffers only used in latter transactions to be unreachable for the first transaction.
    
    It also adds a new 'willBuildTransaction' function. The set of backing stores that need display is a property
    of the transaction (where we call prepareBuffersForDisplay, and then paint them), so we want to clear this
    state per-transaction, not per rendering update.
    
    * LayoutTests/http/tests/site-isolation/double-iframe-expected.html: Added.
    * LayoutTests/http/tests/site-isolation/double-iframe.html: Added.
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.h:
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStoreCollection.mm:
    (WebKit::RemoteLayerBackingStoreCollection::willFlushLayers):
    (WebKit::RemoteLayerBackingStoreCollection::willBuildTransaction):
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:
    (WebKit::RemoteLayerTreeDrawingArea::updateRendering):
    
    Canonical link: https://commits.webkit.org/270399@main
    mattwoodrow authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    9e86f8a View commit details
    Browse the repository at this point in the history
  30. [Gardening]: REGRESSION (269641@main): [ Ventura+ arm64 ] inspector/u…

    …nit-tests/iterableweakset.html is a flaky failure
    
    https://bugs.webkit.org/show_bug.cgi?id=264426
    rdar://118129008
    
    Unreviewed test gardening.
    
    Adding test expectation
    
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270400@main
    martadarbinyan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2ed9781 View commit details
    Browse the repository at this point in the history
  31. Simplify PDFPlugin* access to Page

    https://bugs.webkit.org/show_bug.cgi?id=264423
    rdar://118127511
    
    Reviewed by Chris Dumez.
    
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
    (WebKit::PDFPlugin::hudEnabled const):
    (WebKit::PDFPlugin::jsPDFDocPrint):
    (WebKit::PDFPlugin::paintControlForLayerInContext):
    (WebKit::PDFPlugin::convertFromPDFViewToScreen const):
    (WebKit::PDFPlugin::boundsOnScreen const):
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h:
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm:
    (WebKit::PDFPluginBase::page const):
    (WebKit::PDFPluginBase::isActive const):
    (WebKit::PDFPluginBase::forceUpdateScrollbarsOnMainThreadForPerformanceTesting const):
    (WebKit::PDFPluginBase::deviceScaleFactor const):
    (WebKit::PDFPluginBase::createScrollbar):
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    (WebKit::UnifiedPDFPlugin::createGraphicsLayer):
    (WebKit::UnifiedPDFPlugin::scheduleRenderingUpdate):
    Add page() helper and adopt it in a bunch of places where we do a humorous
    amount of work just to get to Page.
    
    Canonical link: https://commits.webkit.org/270401@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    55a18a1 View commit details
    Browse the repository at this point in the history
  32. [web-animations] move shared timing data between AnimationEffect and …

    …AcceleratedEffect to a dedicated struct
    
    https://bugs.webkit.org/show_bug.cgi?id=264394
    
    Reviewed by Dean Jackson.
    
    Refactor `AcceleratedEffect` and `AnimationEffect` to use a shared struct to store timing-related properties: `AnimationEffectTiming`.
    This will allow `AcceleratedEffect` to resolve timing and compute the transformed progress of an animation with the same code used
    for `KeyframeEffect` in the WebContent process.
    
    * Source/WebCore/Sources.txt:
    * Source/WebCore/WebCore.xcodeproj/project.pbxproj:
    * Source/WebCore/animation/AnimationEffect.cpp:
    (WebCore::AnimationEffect::AnimationEffect):
    (WebCore::AnimationEffect::getBindingsTiming const):
    (WebCore::AnimationEffect::localTime const):
    (WebCore::AnimationEffect::playbackRate const):
    (WebCore::AnimationEffect::getBasicTiming const):
    (WebCore::AnimationEffect::getComputedTiming const):
    (WebCore::AnimationEffect::updateTiming):
    (WebCore::AnimationEffect::updateStaticTimingProperties):
    (WebCore::AnimationEffect::setIterationStart):
    (WebCore::AnimationEffect::setIterations):
    (WebCore::AnimationEffect::setDelay):
    (WebCore::AnimationEffect::setEndDelay):
    (WebCore::AnimationEffect::setFill):
    (WebCore::AnimationEffect::setIterationDuration):
    (WebCore::AnimationEffect::setDirection):
    (WebCore::AnimationEffect::setTimingFunction):
    (WebCore::AnimationEffect::progressUntilNextStep const):
    (WebCore::AnimationEffect::getTiming const): Deleted.
    * Source/WebCore/animation/AnimationEffect.h:
    (WebCore::AnimationEffect::timing const):
    (WebCore::AnimationEffect::delay const):
    (WebCore::AnimationEffect::endDelay const):
    (WebCore::AnimationEffect::fill const):
    (WebCore::AnimationEffect::iterationStart const):
    (WebCore::AnimationEffect::iterations const):
    (WebCore::AnimationEffect::iterationDuration const):
    (WebCore::AnimationEffect::direction const):
    (WebCore::AnimationEffect::timingFunction const):
    (WebCore::AnimationEffect::activeDuration const):
    (WebCore::AnimationEffect::endTime const):
    * Source/WebCore/animation/AnimationEffectTiming.cpp: Added.
    (WebCore::AnimationEffectTiming::updateComputedProperties):
    (WebCore::AnimationEffectTiming::getBasicTiming const):
    (WebCore::AnimationEffectTiming::resolve const):
    * Source/WebCore/animation/AnimationEffectTiming.h: Added.
    * Source/WebCore/platform/animation/AcceleratedEffect.cpp:
    (WebCore::AcceleratedEffect::create):
    (WebCore::AcceleratedEffect::clone const):
    (WebCore::AcceleratedEffect::AcceleratedEffect):
    * Source/WebCore/platform/animation/AcceleratedEffect.h:
    (WebCore::AcceleratedEffect::timing const):
    (WebCore::AcceleratedEffect::animationType const):
    (WebCore::AcceleratedEffect::compositeOperation const):
    (WebCore::AcceleratedEffect::paused const):
    (WebCore::AcceleratedEffect::playbackRate const):
    (WebCore::AcceleratedEffect::fill const): Deleted.
    (WebCore::AcceleratedEffect::direction const): Deleted.
    (WebCore::AcceleratedEffect::timingFunction const): Deleted.
    (WebCore::AcceleratedEffect::iterationStart const): Deleted.
    (WebCore::AcceleratedEffect::iterations const): Deleted.
    (WebCore::AcceleratedEffect::delay const): Deleted.
    (WebCore::AcceleratedEffect::endDelay const): Deleted.
    (WebCore::AcceleratedEffect::iterationDuration const): Deleted.
    (WebCore::AcceleratedEffect::activeDuration const): Deleted.
    (WebCore::AcceleratedEffect::endTime const): Deleted.
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270402@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5af218d View commit details
    Browse the repository at this point in the history
  33. [iOS] [UIAsyncTextInput] Support text context requests for autocorrec…

    …tion in UIKit
    
    https://bugs.webkit.org/show_bug.cgi?id=264412
    
    Reviewed by Tim Horton.
    
    Adopt `-requestTextContextForAutocorrectionWithCompletionHandler:`, which is intended to replace
    `-requestAutocorrectionContextWithCompletionHandler:`; the only functional difference here is that
    the completion handler takes a `UIWKDocumentContext` (which will, itself, have a more generic name
    in the near future) instead of a `UIWKAutocorrectionContext`.
    
    To make this compatible with both the async text input codepath and legacy codepaths, we refactor
    our logic for delivering this autocorrection context, such that the two codepaths both rely on a
    common `-_internalRequestAutocorrectionContextWithCompletionHandler:` helper, which calls the
    completion handler with an enum type indicating whether or not we should return the last cached
    autocorrection context data on the content view. The logic to convert this cached WebKit struct into
    either a `UIWKDocumentContext` or `UIWKAutocorrectionContext` exists in the delegate methods
    themselves (`-requestAutocorrectionContextWithCompletionHandler:` and
    `requestTextContextForAutocorrectionWithCompletionHandler:`).
    
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView _cancelPendingAutocorrectionContextHandler]):
    (-[WKContentView requestAutocorrectionContextWithCompletionHandler:]):
    (-[WKContentView _internalRequestAutocorrectionContextWithCompletionHandler:]):
    (-[WKContentView requestTextContextForAutocorrectionWithCompletionHandler:]):
    (-[WKContentView _invokePendingAutocorrectionContextHandler:]): Deleted.
    * Source/WebKit/UIProcess/ios/WKTextInteractionWrapper.mm:
    (-[WKTextInteractionWrapper dealloc]):
    
    Drive-by fix: make sure we uninstall the async text interaction when tearing down the wrapper. This
    is crucial to make sure that the interactions and related gestures are actually uninstalled from
    the web view, upon calling `-[WKContentView cleanupInteraction]`
    
    Canonical link: https://commits.webkit.org/270403@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ebb1718 View commit details
    Browse the repository at this point in the history
  34. RemoteDisplayListRecorder should lazily allocate a SharedVideoFrameRe…

    …ader
    
    https://bugs.webkit.org/show_bug.cgi?id=262380
    rdar://116586176
    
    Reviewed by Youenn Fablet and Eric Carlson.
    
    Only a small subset of RemoteDisplayListRecorder instances need a SharedVideoFrameReader,
    and making one has some overhead because of the semaphore, so allocate lazily.
    
    * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.cpp:
    (WebKit::RemoteDisplayListRecorder::RemoteDisplayListRecorder):
    (WebKit::RemoteDisplayListRecorder::sharedVideoFrameReader):
    (WebKit::RemoteDisplayListRecorder::paintVideoFrame):
    (WebKit::RemoteDisplayListRecorder::setSharedVideoFrameSemaphore):
    (WebKit::RemoteDisplayListRecorder::setSharedVideoFrameMemory):
    (): Deleted.
    * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.h:
    
    Canonical link: https://commits.webkit.org/270404@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8ffb577 View commit details
    Browse the repository at this point in the history
  35. [WinCairo] Unreviewed test gardening

    * LayoutTests/platform/wincairo/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270405@main
    fujii authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d64a61a View commit details
    Browse the repository at this point in the history
  36. Support searching by commit for results.webkit.org

    https://bugs.webkit.org/show_bug.cgi?id=256809
    
    Reviewed by Jonathan Bedard.
    
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/timeline.js: Add commit search input and jump to next regess point button
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/library/css/webkit.css: Add new highlight color and make timeline series seamless
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js: Add new search API, highlight and jump to highlighted scale, add new search dot and hightlight the dot's scale API
    
    Canonical link: https://commits.webkit.org/270406@main
    facetothefate authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    aea08c9 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    e82c2c8 View commit details
    Browse the repository at this point in the history
  38. Allowlist tests run in test-webkitpy-python2

    https://bugs.webkit.org/show_bug.cgi?id=264431
    rdar://problem/118135522
    
    Reviewed by Jonathan Bedard.
    
    As we move towards a Python 3-only code base, we no longer need all of
    our modules to run and be tested on Python 2. Instead, move to having an
    allowlist of modules tested on Python 2, and expect every _other_ module
    to fail to import with ImportError or SyntaxError. (This pedantically
    only checks that the test module fails to import; it could be that the
    test module fails to import but the actual implementation does
    not. Hopefully that doesn't happen.)
    
    * Tools/Scripts/webkitpy/test/main.py:
    (main):
    (Tester.__init__):
    (Tester.expect_error_on_import):
    (Tester._run_tests):
    (Tester._check_imports):
    
    Canonical link: https://commits.webkit.org/270408@main
    gsnedders authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d1f7df8 View commit details
    Browse the repository at this point in the history
  39. Security hardening for SincResampler

    https://bugs.webkit.org/show_bug.cgi?id=261317
    rdar://105650262
    
    Reviewed by David Kilzer and Darin Adler.
    
    Do security hardening for SincResampler as we have evidence that we're getting
    the logic wrong in some cases and doing a heap-buffer overflow WRITE.
    
    This patch updates SincResampler to use `std::span<float>` instead of `float*` and
    to leverage new memcpySpans() / memsetSpan() functions
    I added to WTF.
    
    This had several benefits:
    - Using std::span means we don't lose tracks of our buffer bounds so we can do
      extra bounds checks.
    - We benefit from std::span's bounds checks too which are already enabled on trunk
      via `-D_LIBCPP_ENABLE_ASSERTIONS=1`. Those checks apply to subspan() and operator[]
      in particular, both of which are used by SincResampler.
    
    * Source/WTF/WTF.xcodeproj/project.pbxproj:
    * Source/WTF/wtf/Algorithms.h:.
    (WTF::memcpySpans):
    (WTF::memsetSpan):
    * Source/WebCore/platform/audio/AudioArray.h:
    (WebCore::AudioArray::toSpan):
    (WebCore::AudioArray::toSpan const):
    * Source/WebCore/platform/audio/AudioBus.cpp:
    (WebCore::AudioBus::createBySampleRateConverting):
    * Source/WebCore/platform/audio/AudioChannel.h:
    * Source/WebCore/platform/audio/MultiChannelResampler.cpp:
    (WebCore::MultiChannelResampler::process):
    (WebCore::MultiChannelResampler::provideInputForChannel):
    * Source/WebCore/platform/audio/MultiChannelResampler.h:
    * Source/WebCore/platform/audio/SincResampler.cpp:
    (WebCore::SincResampler::SincResampler):
    (WebCore::SincResampler::updateRegions):
    (WebCore::SincResampler::processBuffer):
    (WebCore::SincResampler::process):
    * Source/WebCore/platform/audio/SincResampler.h:
    
    Originally-landed-as: 265870.537@safari-7616-branch (9c1f377498c2). rdar://118088415
    Canonical link: https://commits.webkit.org/270409@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    85ed263 View commit details
    Browse the repository at this point in the history
  40. Enable management of WebKit process as extensions by default

    https://bugs.webkit.org/show_bug.cgi?id=264316
    rdar://118035310
    
    Reviewed by Brent Fulgham.
    
    This means ExtensionKit SPI will be used to launch WebKit processes, and provide them with run time.
    
    * Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm:
    (WebKit::ProcessAssertion::ProcessAssertion):
    * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
    (WebKit::WebProcessPool::platformInitialize):
    
    * Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm:
    (WebKit::ProcessAssertion::ProcessAssertion):
    
    Canonical link: https://commits.webkit.org/270410@main
    pvollan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4c80ecf View commit details
    Browse the repository at this point in the history
  41. Adopt a smart pointer for ContentSecurityPolicy::m_scriptExecutionCon…

    …text
    
    https://bugs.webkit.org/show_bug.cgi?id=264358
    
    Reviewed by Brent Fulgham.
    
    * Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
    (WebCore::ContentSecurityPolicy::ContentSecurityPolicy):
    (WebCore::ContentSecurityPolicy::applyPolicyToScriptExecutionContext):
    (WebCore::ContentSecurityPolicy::allowContentSecurityPolicySourceStarToMatchAnyProtocol const):
    (WebCore::ContentSecurityPolicy::reportViolation const):
    (WebCore::ContentSecurityPolicy::reportBlockedScriptExecutionToInspector const):
    * Source/WebCore/page/csp/ContentSecurityPolicy.h:
    
    Canonical link: https://commits.webkit.org/270411@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    20868da View commit details
    Browse the repository at this point in the history
  42. Move the selfNeedsLayout() check out of RenderElement::repaintAfterLa…

    …youtIfNeeded()
    
    https://bugs.webkit.org/show_bug.cgi?id=264434
    rdar://118138171
    
    Reviewed by Alan Baradlay.
    
    It's surprising that `RenderElement::repaintAfterLayoutIfNeeded()` consults selfNeedsLayout(), because why would we have different
    behavior for renderers that get laid out but don't have the "self" bit set? This code was added in 9388@main to reduce repainting.
    Also, there are callers of `repaintAfterLayoutIfNeeded()` outside of layout; namely RenderLayer.
    
    So, for clarify, move the `selfNeedsLayout()` check to `LayoutRepainter::repaintAfterLayout()`, where it makes more sense to
    check layout bits.
    
    * Source/WebCore/rendering/LayoutRepainter.cpp:
    (WebCore::LayoutRepainter::repaintAfterLayout):
    * Source/WebCore/rendering/RenderElement.cpp:
    (WebCore::RenderElement::repaintAfterLayoutIfNeeded):
    * Source/WebCore/rendering/RenderElement.h:
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::recursiveUpdateLayerPositions):
    
    Canonical link: https://commits.webkit.org/270412@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a86f94a View commit details
    Browse the repository at this point in the history
  43. Make RenderLayer's RepaintStatus a enum class

    https://bugs.webkit.org/show_bug.cgi?id=264377
    rdar://118092077
    
    Reviewed by Alan Baradlay.
    
    The `if (m_repaintStatus & NeedsFullRepaint)` was confusing and subtle; make it explicitly check
    for both NeedsFullRepaint and NeedsFullRepaintForPositionedMovementLayout, and make the enum
    an enum class.
    
    We can also use an enum in the bitfield, and initialize it now.
    
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::RenderLayer):
    (WebCore::RenderLayer::removeOnlyThisLayer):
    (WebCore::RenderLayer::recursiveUpdateLayerPositions):
    (WebCore::RenderLayer::shouldRepaintAfterLayout const):
    * Source/WebCore/rendering/RenderLayer.h:
    (WebCore::RenderLayer::repaintStatus const):
    (WebCore::RenderLayer::needsFullRepaint const):
    * Source/WebCore/rendering/RenderLayerModelObject.cpp:
    (WebCore::RenderLayerModelObject::styleDidChange):
    * Source/WebCore/rendering/RenderObject.cpp:
    (WebCore::RenderObject::setLayerNeedsFullRepaint):
    (WebCore::RenderObject::setLayerNeedsFullRepaintForPositionedMovementLayout):
    
    Canonical link: https://commits.webkit.org/270413@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2287cc7 View commit details
    Browse the repository at this point in the history
  44. REGRESSION(268354@main): Text gets shadow if its container has a filt…

    …er drop-shadow
    
    https://bugs.webkit.org/show_bug.cgi?id=264354
    rdar://117987393
    
    Reviewed by Simon Fraser.
    
    GraphicsContextState used to have two different entities one for drop-shadow and
    and another one for filter-effect-style. After 266544@main they became one entity
    represented by GraphicsStyle.
    
    This change did not consider the drop-shadow and the filter-effect-style can be
    two different states and can coexist. So it caused the following problem: If the
    text does not have text-shadow but its ancestor has filter drop-shadow, the text
    will rendered with the drop-shadow of its ancestor.
    
    To fix this bug, these two states have to be split again so rendering the text
    does not get confused by the filter effect style. The drop-shadow can still be
    represented as GraphicsDropShadow.
    
    * LayoutTests/fast/text/text-container-filter-drop-shadow-expected.html: Added.
    * LayoutTests/fast/text/text-container-filter-drop-shadow.html: Added.
    * Source/WebCore/platform/graphics/GraphicsContext.cpp:
    (WebCore::GraphicsContext::clearShadow): Deleted.
    (WebCore::GraphicsContext::hasVisibleShadow const): Deleted.
    (WebCore::GraphicsContext::hasBlurredShadow const): Deleted.
    (WebCore::GraphicsContext::hasShadow const): Deleted.
    * Source/WebCore/platform/graphics/GraphicsContext.h:
    (WebCore::GraphicsContext::setDropShadow):
    (WebCore::GraphicsContext::clearDropShadow):
    (WebCore::GraphicsContext::hasBlurredDropShadow const):
    (WebCore::GraphicsContext::hasDropShadow const):
    * Source/WebCore/platform/graphics/GraphicsContextState.cpp:
    (WebCore::GraphicsContextState::mergeLastChanges):
    (WebCore::GraphicsContextState::mergeAllChanges):
    (WebCore::stateChangeName):
    (WebCore::GraphicsContextState::dump const):
    (WebCore::GraphicsContextState::dropShadow const): Deleted.
    * Source/WebCore/platform/graphics/GraphicsContextState.h:
    (WebCore::GraphicsContextState::dropShadow const):
    (WebCore::GraphicsContextState::setDropShadow):
    * Source/WebCore/platform/graphics/ShadowBlur.cpp:
    (WebCore::ShadowBlur::drawShadowBuffer):
    (WebCore::ShadowBlur::drawRectShadow):
    (WebCore::ShadowBlur::drawInsetShadow):
    * Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp:
    (WebCore::GraphicsContextCairo::didUpdateState):
    * Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:
    (WebCore::GraphicsContextCG::fillPath):
    (WebCore::GraphicsContextCG::strokePath):
    (WebCore::GraphicsContextCG::fillRect):
    (WebCore::GraphicsContextCG::setCGShadow):
    (WebCore::GraphicsContextCG::didUpdateState):
    (WebCore::GraphicsContextCG::strokeRect):
    (WebCore::GraphicsContextCG::canUseShadowBlur const):
    * Source/WebCore/platform/graphics/cg/GraphicsContextCG.h:
    * Source/WebCore/platform/graphics/coretext/DrawGlyphsRecorderCoreText.cpp:
    (WebCore::DrawGlyphsRecorder::populateInternalContext):
    (WebCore::DrawGlyphsRecorder::updateShadow):
    * Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp:
    (WebCore::FontCascade::drawGlyphs):
    * Source/WebCore/platform/graphics/displaylists/DisplayListItem.h:
    * Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:
    (WebCore::DisplayList::ClearDropShadow::apply const):
    (WebCore::DisplayList::ClearShadow::apply const): Deleted.
    * Source/WebCore/platform/graphics/displaylists/DisplayListItems.h:
    (WebCore::DisplayList::ClearShadow::dump const): Deleted.
    * Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h:
    * Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp:
    (WebCore::DisplayList::RecorderImpl::recordClearDropShadow):
    (WebCore::DisplayList::RecorderImpl::recordClearShadow): Deleted.
    * Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h:
    * Source/WebCore/rendering/EllipsisBoxPainter.cpp:
    (WebCore::EllipsisBoxPainter::paint):
    * Source/WebCore/rendering/TextDecorationPainter.cpp:
    (WebCore::TextDecorationPainter::paintBackgroundDecorations):
    * Source/WebCore/rendering/TextPainter.cpp:
    (WebCore::ShadowApplier::~ShadowApplier):
    * Source/WebCore/rendering/svg/RenderSVGRect.cpp:
    (WebCore::RenderSVGRect::fillShape const):
    * Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRect.cpp:
    (WebCore::LegacyRenderSVGRect::fillShape const):
    * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.cpp:
    (WebKit::RemoteDisplayListRecorder::clearDropShadow):
    (WebKit::RemoteDisplayListRecorder::clearShadow): Deleted.
    * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.h:
    * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.messages.in:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp:
    (WebKit::RemoteDisplayListRecorderProxy::recordClearDropShadow):
    (WebKit::RemoteDisplayListRecorderProxy::recordClearShadow): Deleted.
    * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h:
    * Source/WebKit/WebProcess/WebPage/FindController.cpp:
    (WebKit::FindController::drawRect):
    * Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp:
    (WebKit::WebFoundTextRangeController::drawRect):
    
    Canonical link: https://commits.webkit.org/270414@main
    shallawa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    875cc9f View commit details
    Browse the repository at this point in the history
  45. [macOS] Fix input[type=search] rendering in vertical writing mode

    https://bugs.webkit.org/show_bug.cgi?id=248334
    rdar://102658361
    
    Reviewed by Tim Nguyen.
    
    Native search fields are not height resizable, and have shadows,
    preventing their use in vertical writing mode. Instead, fall back
    to drawing native text fields, which are height resizable.
    
    Additionally, ensure that the cancel and results buttons are displayed
    correctly in vertical writing mode.
    
    * Source/WebCore/html/shadow/TextControlInnerElements.cpp:
    
    253691@main introduced logic to hide the cancel and results buttons when
    authors specify `appearance: textfield` on search inputs. Preserve this
    functionality, but also allow cases where the user agent applies
    `appearance: textfield` for rendering purposes (in this case, in vertical
    writing mode), by comparing `appearance` in addition to `effectiveAppearance`.
    
    (WebCore::searchFieldStyleHasExplicitlySpecifiedTextFieldAppearance):
    (WebCore::SearchFieldResultsButtonElement::resolveCustomStyle):
    (WebCore::SearchFieldCancelButtonElement::resolveCustomStyle):
    * Source/WebCore/rendering/RenderTheme.cpp:
    (WebCore::RenderTheme::adjustStyle):
    
    Set an effective appearance of `TextField` for search fields using a vertical
    writing mode.
    
    * Source/WebCore/rendering/RenderTheme.h:
    (WebCore::RenderTheme::searchFieldShouldAppearAsTextField const):
    * Source/WebCore/rendering/RenderThemeMac.h:
    * Source/WebCore/rendering/RenderThemeMac.mm:
    (WebCore::RenderThemeMac::searchFieldShouldAppearAsTextField const):
    (WebCore::RenderThemeMac::adjustSearchFieldDecorationPartStyle const):
    
    While the results and cancel buttons are not being rotated, ensure there is not
    an excessive amount of padding at the logical top of the control in cases where
    the results button is hidden.
    
    Canonical link: https://commits.webkit.org/270415@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    392f7b6 View commit details
    Browse the repository at this point in the history
  46. Stop doing a synchronous DecidePolicyForNavigationAction IPC for frag…

    …ment navigations
    
    https://bugs.webkit.org/show_bug.cgi?id=262206
    rdar://116480976
    
    Reviewed by Alex Christensen.
    
    Stop doing a synchronous DecidePolicyForNavigationAction IPC for fragment navigations.
    We still call the client delegate (but asynchronously) and proceed with the navigation
    synchronously, without waiting for the client decision. This is consistent with what
    we did for empty document loads (about:blank). Navigation to fragments are not true
    navigations and merely cause scrolling.
    
    The behavior change is gated on a linked-on-after check to mitigate compatibility
    risks.
    
    * LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore-expected.txt: Removed.
    * LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore.html: Removed.
    * Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
    * Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
    
    Canonical link: https://commits.webkit.org/270416@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    9a01f5b View commit details
    Browse the repository at this point in the history
  47. Convert ContentSecurityPolicyResponseHeaders to the new IPC serializa…

    …tion format
    
    https://bugs.webkit.org/show_bug.cgi?id=264424
    
    Reviewed by Alex Christensen.
    
    * Source/WebCore/page/csp/ContentSecurityPolicyResponseHeaders.h:
    (WebCore::ContentSecurityPolicyResponseHeaders::ContentSecurityPolicyResponseHeaders):
    (WebCore::ContentSecurityPolicyResponseHeaders::headers const):
    (WebCore::ContentSecurityPolicyResponseHeaders::setHeaders):
    (WebCore::ContentSecurityPolicyResponseHeaders::httpStatusCode const):
    (WebCore::ContentSecurityPolicyResponseHeaders::setHTTPStatusCode):
    (WebCore::ContentSecurityPolicyResponseHeaders::encode const): Deleted.
    (WebCore::ContentSecurityPolicyResponseHeaders::decode): Deleted.
    * Source/WebCore/platform/WebCorePersistentCoders.cpp:
    (WTF::Persistence::Coder<WebCore::ContentSecurityPolicyResponseHeaders>::encodeForPersistence):
    (WTF::Persistence::Coder<WebCore::ContentSecurityPolicyResponseHeaders>::decodeForPersistence):
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270417@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2054ea4 View commit details
    Browse the repository at this point in the history
  48. REGRESSION (269641@main): [ Ventura+ arm64 ] inspector/unit-tests/ite…

    …rableweakset.html is a flaky failure
    
    https://bugs.webkit.org/show_bug.cgi?id=264426
    rdar://118129008
    
    Reviewed by Ryosuke Niwa.
    
    Make the test a bit more robust and trigger gc() multiple times until the value
    goes away.
    
    * LayoutTests/inspector/unit-tests/iterableweakset.html:
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270418@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2286c00 View commit details
    Browse the repository at this point in the history
  49. [Gardening]: REGRESSION(Sonoma 14.1): Multiple tests are constantly f…

    …ailing following update from 14.0.
    
    rdar://118123747
    https://bugs.webkit.org/show_bug.cgi?id=264419
    
    Unreviewed test gardening.
    
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270419@main
    bls1999 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    22125e5 View commit details
    Browse the repository at this point in the history
  50. REGRESSION (268484@main): Dynamic Content Scaling is disabled

    https://bugs.webkit.org/show_bug.cgi?id=264463
    rdar://117906435
    
    Reviewed by Brady Eidson.
    
    * Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteLayerTreeLayers.mm:
    (-[WKCompositingLayer _setWKContents:withDisplayList:replayForTesting:]):
    I accidentally copy-pasteo'd WKDynamicContentScalingContentsKey into both
    keys instead of WKDynamicContentScalingPortsKey in the second one.
    
    Canonical link: https://commits.webkit.org/270420@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4ac0354 View commit details
    Browse the repository at this point in the history
  51. Compilation failure using gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)

    https://bugs.webkit.org/show_bug.cgi?id=264442
    rdar://118141764
    
    Reviewed by Alex Christensen.
    
    Fix compilation error "error: possibly dangling reference to a temporary [-Werror=dangling-reference]"
    No change in observable behaviour.
    
    * Source/WebCore/dom/TreeScope.cpp:
    (WebCore::TreeScope::findAnchor):
    * Source/WebCore/dom/TreeScopeOrderedMap.cpp:
    (WebCore::TreeScopeOrderedMap::get const):
    
    Canonical link: https://commits.webkit.org/270421@main
    jyavenard authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5651a91 View commit details
    Browse the repository at this point in the history
  52. Cookies from AppSSO extension are getting stored in iframe even when …

    …CSP restricts page to be loaded in iframe
    
    https://bugs.webkit.org/show_bug.cgi?id=264447
    rdar://118121639
    
    Reviewed by Brent Fulgham.
    
    In https://bugs.webkit.org/show_bug.cgi?id=260100, we added CSP validation when setting cookies
    in the response of an AppSSO request. However, in that patch, we consider CSP options that are
    only relevant for i-frames in the redirect case. In NetworkResourceLoader::shouldInterruptLoadForXFrameOptions,
    we do an early return in non-main frame cases, but do not in the check for AppSSO.
    
    In SOAuthorizationCoordinator::tryAuthorize, it can be gleamed that a non-mainframe navigation implies
    a SubFrameSOAuthorizationSession will be created. Therefore we only need to perform these i-frame specific
    CSP checks whenever we have a SubFrameSOAuthorizationSession.
    
    * Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
    (WebKit::SOAuthorizationSession::shouldInterruptLoadForCSPFrameAncestorsOrXFrameOptions):
    * Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.h:
    (WebKit::SOAuthorizationSession::shouldInterruptLoadForCSPFrameAncestorsOrXFrameOptions):
    * Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
    (WebKit::SOAuthorizationSession::shouldInterruptLoadForXFrameOptions): Deleted.
    (WebKit::SOAuthorizationSession::shouldInterruptLoadForCSPFrameAncestorsOrXFrameOptions): Deleted.
    * Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.h:
    * Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.mm:
    (WebKit::SubFrameSOAuthorizationSession::shouldInterruptLoadForXFrameOptions):
    (WebKit::SubFrameSOAuthorizationSession::shouldInterruptLoadForCSPFrameAncestorsOrXFrameOptions):
    
    Canonical link: https://commits.webkit.org/270422@main
    pascoej authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    dabc124 View commit details
    Browse the repository at this point in the history
  53. AVVideoCaptureSource::cameraCaptureDeviceTypes() should return a Reta…

    …inPtr
    
    https://bugs.webkit.org/show_bug.cgi?id=263577
    rdar://117388247
    
    Reviewed by Eric Carlson.
    
    Remove the adoptNS since the array is static.
    
    * Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm:
    (WebCore::AVCaptureDeviceManager::AVCaptureDeviceManager):
    
    Canonical link: https://commits.webkit.org/270423@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    dee2368 View commit details
    Browse the repository at this point in the history
  54. [iOS] Non-fullscreen content peeks into top safe area in element full…

    …screen mode
    
    https://bugs.webkit.org/show_bug.cgi?id=264455
    rdar://118147164
    
    Reviewed by Simon Fraser.
    
    When entering fullscreen, certain properties of the WKWebView and scrollView are reset to
    default values, as clients like Safari may have overridden them. One of these properties,
    contentInset, is reset to zero by that machinery. However, this causes overflow content to
    be visible above the safe area; instead, it should be reset to a correct initial value that
    accounts for the page's adoption of safe areas, via -_initialContentOffsetForScrollView.
    
    * Source/WebKit/UIProcess/API/ios/WKWebViewIOS.h:
    * Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
    (-[WKWebView _resetContentOffset]):
    * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
    (-[WKFullScreenWindowController enterFullScreen:]):
    
    Canonical link: https://commits.webkit.org/270424@main
    jernoble authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    417da4a View commit details
    Browse the repository at this point in the history
  55. [cssom-view] Enable element.checkVisibility() API by default

    https://bugs.webkit.org/show_bug.cgi?id=264464
    rdar://118157977
    
    Reviewed by Aditya Keerthi.
    
    Enable this API by default so websites can optimize for content-visibility.
    
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    
    Canonical link: https://commits.webkit.org/270425@main
    nt1m authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a84abf1 View commit details
    Browse the repository at this point in the history
  56. LocalSampleBufferDisplayLayer does not need to recreate its AVSampleB…

    …ufferDisplayLayer
    
    https://bugs.webkit.org/show_bug.cgi?id=264251
    rdar://117996669
    
    Reviewed by Eric Carlson.
    
    We did a workaround to speed up the rendering of MediaStreamTrack in case of size change.
    The cost was a small flash as we were replacing one AVSBDL by another using replaceLayer.
    We are removing this workaround which removes the small flash.
    We still have issues with the temporary resizing that happens when the size changes.
    This should be fixed as a follow-up.
    
    * Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.h:
    * Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm:
    (WebCore::LocalSampleBufferDisplayLayer::initialize):
    (WebCore::LocalSampleBufferDisplayLayer::updateSampleLayerBoundsAndPosition):
    (WebCore::LocalSampleBufferDisplayLayer::flush):
    (WebCore::LocalSampleBufferDisplayLayer::flushAndRemoveImage):
    (WebCore::LocalSampleBufferDisplayLayer::enqueueVideoFrame):
    (WebCore::LocalSampleBufferDisplayLayer::enqueueBufferInternal):
    (WebCore::LocalSampleBufferDisplayLayer::clearVideoFrames):
    (WebCore::LocalSampleBufferDisplayLayer::requestNotificationWhenReadyForVideoData):
    
    Canonical link: https://commits.webkit.org/270426@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c5ff8e3 View commit details
    Browse the repository at this point in the history
  57. [WGSL] countLeadingZeros, countOneBits, countTrailingZeros, reverseBi…

    …ts, extractBits, faceForward, insertBits are unimplemented
    
    https://bugs.webkit.org/show_bug.cgi?id=264384
    rdar://118098831
    
    Reviewed by Mike Wyrzykowski.
    
    Add code generation for all the missing bit functions
    
    * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
    (WGSL::Metal::FunctionDefinitionWriter::visit):
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270427@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4d49455 View commit details
    Browse the repository at this point in the history
  58. [WGSL] Add support for matrix subtraction

    https://bugs.webkit.org/show_bug.cgi?id=264406
    rdar://118117794
    
    Reviewed by Mike Wyrzykowski.
    
    The TypeDeclarations file was missing the subtraction overload for matrices. Add
    the missing overload and implement constant matrix subtraction as well.
    
    * Source/WebGPU/WGSL/ConstantFunctions.h:
    (WGSL::CONSTANT_FUNCTION):
    * Source/WebGPU/WGSL/TypeDeclarations.rb:
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270428@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    305bced View commit details
    Browse the repository at this point in the history
  59. Enable WASM on Windows

    https://bugs.webkit.org/show_bug.cgi?id=222315
    
    Reviewed by Justin Michaud.
    
    Enable the WASM LLInt on Windows. We use csr2 in place of ws1 as a
    scratch register inside WebAssembly.asm on Windows, which needs to be
    saved / restored on the stack.
    
    A number of changes were required in offlineasm x86.rb for intel syntax
    output.
    
    Integer division / remainder operations had issues, which could be
    caught by static asserts https://bugs.webkit.org/show_bug.cgi?id=203692
    
    g_wtfConfigForLLInt is used to reference global wtf config, working
    around global loading bug https://bugs.webkit.org/show_bug.cgi?id=175104
    
    * .gitignore:
    * Source/JavaScriptCore/CMakeLists.txt:
    * Source/JavaScriptCore/jit/GPRInfo.h:
    * Source/JavaScriptCore/jit/RegisterSet.cpp:
    (JSC::RegisterSetBuilder::wasmPinnedRegisters):
    * Source/JavaScriptCore/llint/LLIntThunks.cpp:
    (JSC::LLInt::inPlaceInterpreterEntryThunk):
    (JSC::LLInt::inPlaceInterpreterEntryThunkSIMD):
    * Source/JavaScriptCore/llint/LowLevelInterpreter.asm:
    * Source/JavaScriptCore/llint/WebAssembly.asm:
    * Source/JavaScriptCore/llint/WebAssembly64.asm:
    * Source/JavaScriptCore/offlineasm/asm.rb:
    * Source/JavaScriptCore/offlineasm/x86.rb:
    * Source/JavaScriptCore/runtime/InitializeThreading.cpp:
    (JSC::initialize):
    * Source/JavaScriptCore/runtime/JSCConfig.cpp:
    * Source/JavaScriptCore/runtime/JSCConfig.h:
    * Source/JavaScriptCore/wasm/WasmCallee.cpp:
    (JSC::Wasm::LLIntCallee::calleeSaveRegistersImpl):
    * Source/JavaScriptCore/wasm/WasmCallee.h:
    * Source/JavaScriptCore/wasm/WasmCallingConvention.h:
    * Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
    * Source/JavaScriptCore/wasm/WasmSlowPaths.cpp:
    * Source/JavaScriptCore/wasm/WasmSlowPaths.h:
    * Source/JavaScriptCore/wasm/WasmStreamingParser.cpp:
    (JSC::Wasm::StreamingParser::addBytes):
    * Source/cmake/OptionsJSCOnly.cmake:
    * Source/cmake/OptionsWin.cmake:
    * Tools/Scripts/run-jsc-stress-tests:
    
    Canonical link: https://commits.webkit.org/270429@main
    iangrunert authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    333dba7 View commit details
    Browse the repository at this point in the history
  60. [WGSL] textureSampleGrad is not implemented

    https://bugs.webkit.org/show_bug.cgi?id=264371
    rdar://118084526
    
    Reviewed by Mike Wyrzykowski.
    
    Add code generation for textureSampleGrad
    
    * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
    (WGSL::Metal::emitTextureSampleGrad):
    (WGSL::Metal::FunctionDefinitionWriter::visit):
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270430@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2bc922d View commit details
    Browse the repository at this point in the history
  61. [WGSL] MSL compilation error opening https://webllm.mlc.ai/ - 'global…

    …2' is not declared
    
    https://bugs.webkit.org/show_bug.cgi?id=264373
    rdar://118086159
    
    Reviewed by Mike Wyrzykowski.
    
    The GlobalVariableRewriter wasn't visiting the MemberAccessExpression's index, so
    globals that were only used as indices were never marked as used.
    
    * Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
    (WGSL::RewriteGlobalVariables::getPacking):
    * Source/WebGPU/WGSL/tests/valid/packing.wgsl:
    
    Canonical link: https://commits.webkit.org/270431@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    93c225f View commit details
    Browse the repository at this point in the history
  62. Align with Chrome on SpeechRecognition policy handling

    https://bugs.webkit.org/show_bug.cgi?id=264338
    rdar://117598690
    
    Reviewed by Jean-Yves Avenard.
    
    To improve interop, we apply microphone feature policy to SpeechRecognition.
    Covered by newly added test.
    
    * LayoutTests/http/tests/media/media-stream/resources/speechRecognition-iframe.html: Added.
    * LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute-expected.txt: Added.
    * LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute.html: Added.
    * LayoutTests/platform/glib/TestExpectations:
    * Source/WebCore/Modules/speech/SpeechRecognition.cpp:
    (WebCore::SpeechRecognition::startRecognition):
    
    Canonical link: https://commits.webkit.org/270432@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e1267b6 View commit details
    Browse the repository at this point in the history
  63. AirPods removed from ears should not disturb and ongoing video call

    https://bugs.webkit.org/show_bug.cgi?id=264334
    rdar://116091083
    
    Reviewed by Eric Carlson.
    
    When AirPods are removed from ears, AirPods are disappearing from the list of existing devices.
    Before the patch, it would trigger capture failure. But web pages do not handle well capture failure.
    To help web pages, if capturing with the default microphone and the microphone is disappearing, we are now
    migrating to the new default microphone.
    We make sure to trigger a configurationchange event on the MediaStreamTrack, which exposes the change to the web page.
    
    * Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp:
    (WebCore::BaseAudioSharedUnit::setCaptureDevice):
    (WebCore::BaseAudioSharedUnit::devicesChanged):
    * Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h:
    (WebCore::BaseAudioSharedUnit::migrateToNewDefaultDevice):
    * Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.cpp:
    (WebCore::CoreAudioSharedUnit::migrateToNewDefaultDevice):
    * Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.h:
    
    Canonical link: https://commits.webkit.org/270433@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c446f02 View commit details
    Browse the repository at this point in the history
  64. [WGSL] Bit shift operators are missing abstract overloads

    https://bugs.webkit.org/show_bug.cgi?id=264428
    rdar://118129463
    
    Reviewed by Mike Wyrzykowski.
    
    When writing the declaration for shift left and right, I missed that there is a
    separate overload for abstract integers. Add the missing overload and constant
    evaluation.
    
    * Source/WebGPU/WGSL/ConstantFunctions.h:
    (WGSL::CONSTANT_FUNCTION):
    * Source/WebGPU/WGSL/TypeDeclarations.rb:
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270434@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ca34fa2 View commit details
    Browse the repository at this point in the history
  65. [WGSL] Add constant support for primitive structs

    https://bugs.webkit.org/show_bug.cgi?id=264409
    rdar://118118103
    
    Reviewed by Mike Wyrzykowski.
    
    This is necessary to compute operations that return structs during constant
    evaluation (e.g. frexp).
    
    * Source/WebGPU/WGSL/ConstantFunctions.h:
    (WGSL::CONSTANT_FUNCTION):
    * Source/WebGPU/WGSL/ConstantValue.cpp:
    (WGSL::ConstantValue::dump const):
    * Source/WebGPU/WGSL/ConstantValue.h:
    * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
    (WGSL::Metal::FunctionDefinitionWriter::serializeConstant):
    * Source/WebGPU/WGSL/TypeCheck.cpp:
    (WGSL::TypeChecker::convertValue):
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270435@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0c57937 View commit details
    Browse the repository at this point in the history
  66. [WGSL] Add support for constant indexing of vectors, arrays and matrices

    https://bugs.webkit.org/show_bug.cgi?id=264430
    rdar://118130183
    
    Reviewed by Mike Wyrzykowski.
    
    Perform bounds checking and set the constant result of the access if both the
    base and the index are constants.
    
    * Source/WebGPU/WGSL/ConstantValue.cpp:
    (WGSL::ConstantArray::operator[]):
    (WGSL::ConstantVector::operator[]):
    (WGSL::ConstantMatrix::operator[]):
    * Source/WebGPU/WGSL/ConstantValue.h:
    (WGSL::ConstantArray::upperBound):
    (WGSL::ConstantVector::upperBound):
    (WGSL::ConstantMatrix::upperBound):
    * Source/WebGPU/WGSL/TypeCheck.cpp:
    (WGSL::TypeChecker::visit):
    
    Canonical link: https://commits.webkit.org/270436@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e794f0b View commit details
    Browse the repository at this point in the history
  67. [WGSL] Do not convert constant where there was a type error

    https://bugs.webkit.org/show_bug.cgi?id=264427
    rdar://118129205
    
    Reviewed by Mike Wyrzykowski.
    
    The constant version code has a strong assumption that typing is correct, i.e. it
    assumes that the current type is compatible with the target type. That was causing
    an assertion failure when initializing a variable with a constant of an incompatible
    type, since we failed type checking but still tried to convert the constant.
    
    * Source/WebGPU/WGSL/ConstantFunctions.h:
    (WGSL::CONSTANT_FUNCTION):
    * Source/WebGPU/WGSL/TypeCheck.cpp:
    (WGSL::TypeChecker::visitVariable):
    * Source/WebGPU/WGSL/tests/invalid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270437@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    78709d1 View commit details
    Browse the repository at this point in the history
  68. [WGSL] Packed struct should not assume every nested struct is also pa…

    …cked
    
    https://bugs.webkit.org/show_bug.cgi?id=264429
    rdar://118129804
    
    Reviewed by Mike Wyrzykowski.
    
    A struct `S` might contain a field `x` whose type is another struct `T`. Currently,
    if we pack `S`, during code generation we'll emit the type of `x` as `T::Packed`,
    i.e. we just assume that all the structs referenced by `S` will also be packed.
    Instead, we need to check before emitting code whether `T` was packed or not.
    
    * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
    (WGSL::Metal::FunctionDefinitionWriter::visit):
    * Source/WebGPU/WGSL/tests/valid/packing.wgsl:
    
    Canonical link: https://commits.webkit.org/270438@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    71eedce View commit details
    Browse the repository at this point in the history
  69. [WGSL] Add support for accessing field of primitive structs at consta…

    …nt time
    
    https://bugs.webkit.org/show_bug.cgi?id=264420
    rdar://118126948
    
    Reviewed by Mike Wyrzykowski.
    
    While type checking, also compute the constant result of accessing a field from
    a constant primitive struct (e.g. as produced by frexp)
    
    * Source/WebGPU/WGSL/TypeCheck.cpp:
    (WGSL::TypeChecker::visit):
    * Source/WebGPU/WGSL/tests/valid/constants.wgsl:
    
    Canonical link: https://commits.webkit.org/270439@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f014a86 View commit details
    Browse the repository at this point in the history
  70. [Buildstream SDK] Update to FDO 23.08 release

    https://bugs.webkit.org/show_bug.cgi?id=262879
    
    Reviewed by Carlos Alberto Lopez Perez and Carlos Garcia Campos.
    
    This new SDK version notably ships:
    
    - ICU 73.2
    - GCC 13.2.0
    - clang 16.0.6
    - sccache 0.7.1
    - Mesa 23.1.8
    - Cairo 1.18.0
    - Ruby 3.2.2
    - Python 3.11.5
    
    The SDK build infrastructure was migrated from Pipenv to a Podman container shipping BuildStream2.
    This new approach should make the build easier to setup.
    
    The ccls recipe was removed, clangd is now preferred. The GStreamer kate plugin was removed,
    upstream has also removed it and it won't ship in GStreamer 1.24.
    
    This patch updates only the build recipes. The updated SDK will be deployed on the bots later on.
    
    * .gitignore:
    * Tools/Scripts/bst-wrapper:
    (run):
    (ensure_environment):
    (main):
    (run_pipenv): Deleted.
    (run_bst): Deleted.
    * Tools/Scripts/webkit-flatpak-sdk:
    (run_wrapper):
    * Tools/buildstream/Makefile:
    * Tools/buildstream/Pipfile: Removed.
    * Tools/buildstream/Pipfile.lock: Removed.
    * Tools/buildstream/README.md:
    * Tools/buildstream/elements/flatpak-platform-extensions-extra.bst:
    * Tools/buildstream/elements/flatpak-platform-extensions.bst:
    * Tools/buildstream/elements/flatpak-runtimes.bst:
    * Tools/buildstream/elements/freedesktop-sdk.bst:
    * Tools/buildstream/elements/plugins/bst-plugins-experimental.bst: Added.
    * Tools/buildstream/elements/plugins/buildstream-plugins.bst: Added.
    * Tools/buildstream/elements/qt5/qtbase.bst:
    * Tools/buildstream/elements/qt5/qtdeclarative.bst:
    * Tools/buildstream/elements/qt5/qtquickcontrols.bst:
    * Tools/buildstream/elements/qt5/qtquickcontrols2.bst:
    * Tools/buildstream/elements/qt5/qtwayland.bst:
    * Tools/buildstream/elements/qt5/qtx11extras.bst:
    * Tools/buildstream/elements/sdk-build-depends/rapidjson.bst: Removed.
    * Tools/buildstream/elements/sdk-build-depends/scons.bst:
    * Tools/buildstream/elements/sdk-platform.bst:
    * Tools/buildstream/elements/sdk.bst:
    * Tools/buildstream/elements/sdk/apitrace.bst:
    * Tools/buildstream/elements/sdk/breakpad.bst:
    * Tools/buildstream/elements/sdk/capnp.bst:
    * Tools/buildstream/elements/sdk/cargo-c.bst:
    * Tools/buildstream/elements/sdk/ccls.bst: Removed.
    * Tools/buildstream/elements/sdk/clangd.bst:
    * Tools/buildstream/elements/sdk/eigen.bst:
    * Tools/buildstream/elements/sdk/flite.bst:
    * Tools/buildstream/elements/sdk/gi-docgen.bst:
    * Tools/buildstream/elements/sdk/gst-plugin-closedcaption.bst:
    * Tools/buildstream/elements/sdk/gst-plugin-dav1d.bst:
    * Tools/buildstream/elements/sdk/gst-plugin-rtp.bst:
    * Tools/buildstream/elements/sdk/gtk+-3.bst:
    * Tools/buildstream/elements/sdk/gtk.bst:
    * Tools/buildstream/elements/sdk/icecc.bst:
    * Tools/buildstream/elements/sdk/libavif.bst:
    * Tools/buildstream/elements/sdk/libbacktrace.bst:
    * Tools/buildstream/elements/sdk/libevent.bst:
    * Tools/buildstream/elements/sdk/libjxl.bst:
    * Tools/buildstream/elements/sdk/libmanette.bst:
    * Tools/buildstream/elements/sdk/libusrsctp.bst:
    * Tools/buildstream/elements/sdk/libwpe.bst:
    * Tools/buildstream/elements/sdk/mold.bst:
    * Tools/buildstream/elements/sdk/monado.bst:
    * Tools/buildstream/elements/sdk/openxr.bst:
    * Tools/buildstream/elements/sdk/patchelf.bst:
    * Tools/buildstream/elements/sdk/psmisc.bst:
    * Tools/buildstream/elements/sdk/python3-smartypants.bst:
    * Tools/buildstream/elements/sdk/rr.bst:
    * Tools/buildstream/elements/sdk/sccache.bst:
    * Tools/buildstream/elements/sdk/sparkle-cdm.bst:
    * Tools/buildstream/elements/sdk/svt-av1.bst:
    * Tools/buildstream/elements/sdk/tbb.bst:
    * Tools/buildstream/elements/sdk/wpebackend-fdo.bst:
    * Tools/buildstream/elements/sdk/xdg-dbus-proxy.bst:
    * Tools/buildstream/elements/test-infra.bst:
    * Tools/buildstream/elements/test-infra/apr.bst:
    * Tools/buildstream/elements/test-infra/httpd.bst:
    * Tools/buildstream/elements/test-infra/perl-digest-crc-pm.bst: Added.
    * Tools/buildstream/elements/test-infra/webkitgtk-test-dicts.bst:
    * Tools/buildstream/patches/fdo-0001-gst-plugins-bad-Add-support-Kate.patch: Removed.
    * Tools/buildstream/patches/fdo-0001-mesa-Bump-to-23.1.5.patch: Removed.
    * Tools/buildstream/patches/fdo-0001-pipewire-base-Disable-AEC-module.patch: Removed.
    * Tools/buildstream/patches/fdo-0002-ffmpeg-Support-more-codecs.patch:
    * Tools/buildstream/patches/fdo-0003-gst-plugins-bad-Support-for-updated-webrtc-audio-pro.patch: Removed.
    * Tools/buildstream/patches/fdo-0004-gst-plugins-ugly-Enable-x264-encoder.patch:
    * Tools/buildstream/patches/fdo-0005-GStreamer-Bump-to-1.22.6.patch:
    * Tools/buildstream/patches/fdo-0006-gst-plugins-bad-Enable-soundtouch.patch:
    * Tools/buildstream/patches/fdo-0007-components-Bump-GLib-to-version-2.76.patch: Removed.
    * Tools/buildstream/patches/fdo-0008-components-Bump-g-i-to-version-1.76.patch: Removed.
    * Tools/buildstream/patches/fdo-0009-gst-plugins-bad-Enable-x265-encoder.patch:
    * Tools/buildstream/patches/flite-fix-voice-list-build.patch: Added.
    * Tools/buildstream/patches/rapidjson-0001-Fix-build-warnings-emitted-by-GCC-10-on-Aarch64.patch: Removed.
    * Tools/buildstream/patches/tbb-Retry-if-pthread_create-fails-with-EAGAIN.patch: Removed.
    * Tools/buildstream/project.conf:
    
    Canonical link: https://commits.webkit.org/270440@main
    philn authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0f4a85f View commit details
    Browse the repository at this point in the history
  71. [WPE] Skip Qt API tests if the system doesn't have a GPU available

    https://bugs.webkit.org/show_bug.cgi?id=264460
    
    Reviewed by Philippe Normand.
    
    Qt API tests don't work (crash) when executed on a system without GPU.
    Skip this tests on such systems meanwhile the problem reported on
    https://webkit.org/b/264458 is not fixed.
    
    * Tools/glib/api_test_runner.py:
    (TestRunner._has_gpu_available):
    (TestRunner.run_tests):
    
    Canonical link: https://commits.webkit.org/270441@main
    clopez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5ce9e6a View commit details
    Browse the repository at this point in the history
  72. [IFC] inline-block child preceded by an inline child has incorrect po…

    …sitioning in vertical writing modes with a right-to-left direction
    
    https://bugs.webkit.org/show_bug.cgi?id=264425
    <rdar://problem/118128181>
    
    Reviewed by Antti Koivisto.
    
    Turn (half)logical left to visual on BoxGeometry too.
    
    * LayoutTests/fast/text/rtl-vertical-text-misalign-with-inline-blocks-expected.html: Added.
    * LayoutTests/fast/text/rtl-vertical-text-misalign-with-inline-blocks.html: Added.
    * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
    (WebCore::Layout::InlineDisplayContentBuilder::adjustVisualGeometryForDisplayBox):
    (WebCore::Layout::InlineDisplayContentBuilder::setLeftForWritingMode const):
    * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.h:
    
    Canonical link: https://commits.webkit.org/270442@main
    alanbaradlay authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    14a98ff View commit details
    Browse the repository at this point in the history
  73. Create script to compile sandboxes

    https://bugs.webkit.org/show_bug.cgi?id=264093
    rdar://117854457
    
    Reviewed by Elliot Williams.
    
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Scripts/compile-sandbox.sh: Added.
    
    Canonical link: https://commits.webkit.org/270443@main
    pvollan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2357896 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    d558cd5 View commit details
    Browse the repository at this point in the history
  75. Port ControlPart related controls to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=261819
    rdar://115781032
    
    Reviewed by Aditya Keerthi and Said Abou-Hallawa.
    
    This change ports ControlPart and it's related appearances to the new IPC
    serialization format. In order to do this, we've had to extract the
    ControlPartAppearance out of the ControlPart class itself. ControlPart now
    acts as a wrapper around the the ControlPartAppearance, the ControlFactory,
    and the PlatformControl. It's the responsibility of the ControlPartAppearance
    to perform appearance specific operations on behald of the ControlPart. This
    includes instantiating the appearance specific PlatformControl.
    
    This change also adds the all of the new ControlPartAppearance to the
    .serialization.in files, allowing them to be serialized within a
    ControlPart. This includes:
        - ApplePayButtonAppearance,
        - ButtonAppearance,
        - ColorWellAppearance,
        - DefaultButtonAppearance,
        - ImageControlsButtonAppearance,
        - InnerSpinButtonAppearance,
        - MenuListButtonAppearance,
        - MenuListAppearance,
        - MeterAppearance,
        - ProgressBarAppearance,
        - PushButtonAppearance,
        - SearchFieldCancelButtonAppearance,
        - SearchFieldAppearance,
        - SearchFieldResultsButtonAppearance,
        - SearchFieldResultsDecorationAppearance,
        - SliderThumbHorizontalAppearance,
        - SliderThumbVerticalAppearance,
        - SliderTrackHorizontalAppearance,
        - SliderTrackVerticalAppearance,
        - SquareButtonAppearance,
        - ListBoxAppearance,
        - TextAreaAppearance,
        - TextFieldAppearance,
        - CheckboxAppearance,
        - RadioAppearance
    
    * Source/WebCore/platform/graphics/cocoa/controls/ApplePayButtonCocoa.h:
    * Source/WebCore/platform/graphics/cocoa/controls/ApplePayButtonCocoa.mm:
    (WebCore::ApplePayButtonCocoa::ApplePayButtonCocoa):
    (WebCore::ApplePayButtonCocoa::draw):
    * Source/WebCore/platform/graphics/cocoa/controls/ControlFactoryCocoa.h:
    * Source/WebCore/platform/graphics/cocoa/controls/ControlFactoryCocoa.mm:
    (WebCore::ControlFactoryCocoa::createPlatformApplePayButton):
    * Source/WebCore/platform/graphics/controls/ApplePayButtonPart.cpp:
    (WebCore::ApplePayButtonPart::ApplePayButtonPart):
    (WebCore::ApplePayButtonPart::createPlatformControl):
    (WebCore::ApplePayButtonPart::create): Deleted.
    * Source/WebCore/platform/graphics/controls/ApplePayButtonPart.h:
    * Source/WebCore/platform/graphics/controls/ButtonPart.h:
    (WebCore::ButtonPart::createPlatformControl):
    * Source/WebCore/platform/graphics/controls/ColorWellPart.h:
    * Source/WebCore/platform/graphics/controls/ControlFactory.h:
    * Source/WebCore/platform/graphics/controls/ControlPart.cpp:
    (WebCore::ControlPart::create):
    (WebCore::ControlPart::ControlPart):
    (WebCore::ControlPart::createPlatformControl):
    (WebCore::ControlPart::style const):
    (WebCore::ControlPart::type const):
    * Source/WebCore/platform/graphics/controls/ControlPart.h:
    (WebCore::ControlPart::type const): Deleted.
    * Source/WebCore/platform/graphics/controls/ImageControlsButtonPart.h:
    * Source/WebCore/platform/graphics/controls/InnerSpinButtonPart.h:
    * Source/WebCore/platform/graphics/controls/MenuListButtonPart.h:
    * Source/WebCore/platform/graphics/controls/MenuListPart.h:
    * Source/WebCore/platform/graphics/controls/MeterPart.cpp:
    (WebCore::MeterPart::MeterPart):
    (WebCore::MeterPart::createPlatformControl):
    (WebCore::MeterPart::create): Deleted.
    * Source/WebCore/platform/graphics/controls/MeterPart.h:
    * Source/WebCore/platform/graphics/controls/PlatformControl.h:
    (WebCore::PlatformControl::owningPart const):
    * Source/WebCore/platform/graphics/controls/ProgressBarPart.cpp:
    (WebCore::ProgressBarPart::ProgressBarPart):
    (WebCore::ProgressBarPart::createPlatformControl):
    (WebCore::ProgressBarPart::create): Deleted.
    * Source/WebCore/platform/graphics/controls/ProgressBarPart.h:
    (WebCore::ProgressBarPart::position const): Deleted.
    (WebCore::ProgressBarPart::setPosition): Deleted.
    (WebCore::ProgressBarPart::animationStartTime const): Deleted.
    (WebCore::ProgressBarPart::setAnimationStartTime): Deleted.
    * Source/WebCore/platform/graphics/controls/SearchFieldCancelButtonPart.h:
    * Source/WebCore/platform/graphics/controls/SearchFieldPart.h:
    * Source/WebCore/platform/graphics/controls/SearchFieldResultsPart.h:
    (WebCore::SearchFieldResultsPart::createPlatformControl):
    * Source/WebCore/platform/graphics/controls/SliderThumbPart.h:
    (WebCore::SliderThumbPart::createPlatformControl):
    * Source/WebCore/platform/graphics/controls/SliderTrackPart.cpp:
    (WebCore::SliderTrackHorizontalPart::SliderTrackHorizontalPart):
    (WebCore::SliderTrackVerticalPart::SliderTrackVerticalPart):
    (WebCore::SliderTrackPart::SliderTrackPart):
    (WebCore::SliderTrackHorizontalPart::drawTicks const):
    (WebCore::SliderTrackVerticalPart::drawTicks const):
    (WebCore::SliderTrackPart::createPlatformControl):
    (WebCore::SliderTrackPart::create): Deleted.
    (WebCore::SliderTrackPart::drawTicks const): Deleted.
    * Source/WebCore/platform/graphics/controls/SliderTrackPart.h:
    (isType): Deleted.
    * Source/WebCore/platform/graphics/controls/TextAreaPart.h:
    (WebCore::TextAreaPart::createPlatformControl):
    * Source/WebCore/platform/graphics/controls/TextFieldPart.h:
    * Source/WebCore/platform/graphics/controls/ToggleButtonPart.h:
    (WebCore::ToggleButtonPart::createPlatformControl):
    * Source/WebCore/platform/graphics/ios/controls/ControlFactoryIOS.h:
    * Source/WebCore/platform/graphics/ios/controls/ControlFactoryIOS.mm:
    (WebCore::ControlFactoryIOS::createPlatformButton):
    (WebCore::ControlFactoryIOS::createPlatformColorWell):
    (WebCore::ControlFactoryIOS::createPlatformInnerSpinButton):
    (WebCore::ControlFactoryIOS::createPlatformMenuList):
    (WebCore::ControlFactoryIOS::createPlatformMenuListButton):
    (WebCore::ControlFactoryIOS::createPlatformMeter):
    (WebCore::ControlFactoryIOS::createPlatformProgressBar):
    (WebCore::ControlFactoryIOS::createPlatformSearchField):
    (WebCore::ControlFactoryIOS::createPlatformSearchFieldCancelButton):
    (WebCore::ControlFactoryIOS::createPlatformSearchFieldResults):
    (WebCore::ControlFactoryIOS::createPlatformSliderThumb):
    (WebCore::ControlFactoryIOS::createPlatformSliderTrack):
    (WebCore::ControlFactoryIOS::createPlatformTextArea):
    (WebCore::ControlFactoryIOS::createPlatformTextField):
    (WebCore::ControlFactoryIOS::createPlatformToggleButton):
    * Source/WebCore/platform/graphics/mac/controls/ButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ButtonMac.mm:
    (WebCore::ButtonMac::ButtonMac):
    * Source/WebCore/platform/graphics/mac/controls/ColorWellMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ColorWellMac.mm:
    (WebCore::ColorWellMac::ColorWellMac):
    * Source/WebCore/platform/graphics/mac/controls/ControlFactoryMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ControlFactoryMac.mm:
    (WebCore::ControlFactoryMac::createPlatformButton):
    (WebCore::ControlFactoryMac::createPlatformColorWell):
    (WebCore::ControlFactoryMac::createPlatformImageControlsButton):
    (WebCore::ControlFactoryMac::createPlatformInnerSpinButton):
    (WebCore::ControlFactoryMac::createPlatformMenuList):
    (WebCore::ControlFactoryMac::createPlatformMenuListButton):
    (WebCore::ControlFactoryMac::createPlatformMeter):
    (WebCore::ControlFactoryMac::createPlatformProgressBar):
    (WebCore::ControlFactoryMac::createPlatformSearchField):
    (WebCore::ControlFactoryMac::createPlatformSearchFieldCancelButton):
    (WebCore::ControlFactoryMac::createPlatformSearchFieldResults):
    (WebCore::ControlFactoryMac::createPlatformSliderThumb):
    (WebCore::ControlFactoryMac::createPlatformSliderTrack):
    (WebCore::ControlFactoryMac::createPlatformTextArea):
    (WebCore::ControlFactoryMac::createPlatformTextField):
    (WebCore::ControlFactoryMac::createPlatformToggleButton):
    * Source/WebCore/platform/graphics/mac/controls/ImageControlsButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ImageControlsButtonMac.mm:
    (WebCore::ImageControlsButtonMac::ImageControlsButtonMac):
    * Source/WebCore/platform/graphics/mac/controls/InnerSpinButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/InnerSpinButtonMac.mm:
    (WebCore::InnerSpinButtonMac::InnerSpinButtonMac):
    * Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm:
    (WebCore::MenuListButtonMac::MenuListButtonMac):
    * Source/WebCore/platform/graphics/mac/controls/MenuListMac.h:
    * Source/WebCore/platform/graphics/mac/controls/MenuListMac.mm:
    (WebCore::MenuListMac::MenuListMac):
    * Source/WebCore/platform/graphics/mac/controls/MeterMac.h:
    * Source/WebCore/platform/graphics/mac/controls/MeterMac.mm:
    (WebCore::MeterMac::MeterMac):
    (WebCore::MeterMac::updateCellStates):
    * Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.mm:
    (WebCore::ProgressBarMac::ProgressBarMac):
    (WebCore::ProgressBarMac::draw):
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.mm:
    (WebCore::SearchFieldCancelButtonMac::SearchFieldCancelButtonMac):
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldMac.h:
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldMac.mm:
    (WebCore::SearchFieldMac::SearchFieldMac):
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldResultsMac.h:
    * Source/WebCore/platform/graphics/mac/controls/SearchFieldResultsMac.mm:
    (WebCore::SearchFieldResultsMac::SearchFieldResultsMac):
    * Source/WebCore/platform/graphics/mac/controls/SliderThumbMac.h:
    * Source/WebCore/platform/graphics/mac/controls/SliderThumbMac.mm:
    (WebCore::SliderThumbMac::SliderThumbMac):
    * Source/WebCore/platform/graphics/mac/controls/SliderTrackMac.h:
    * Source/WebCore/platform/graphics/mac/controls/SliderTrackMac.mm:
    (WebCore::SliderTrackMac::SliderTrackMac):
    (WebCore::SliderTrackMac::rectForBounds const):
    (WebCore::SliderTrackMac::draw):
    * Source/WebCore/platform/graphics/mac/controls/TextAreaMac.h:
    * Source/WebCore/platform/graphics/mac/controls/TextAreaMac.mm:
    (WebCore::TextAreaMac::TextAreaMac):
    * Source/WebCore/platform/graphics/mac/controls/TextFieldMac.h:
    * Source/WebCore/platform/graphics/mac/controls/TextFieldMac.mm:
    (WebCore::TextFieldMac::TextFieldMac):
    * Source/WebCore/platform/graphics/mac/controls/ToggleButtonMac.h:
    * Source/WebCore/platform/graphics/mac/controls/ToggleButtonMac.mm:
    (WebCore::ToggleButtonMac::ToggleButtonMac):
    * Source/WebCore/rendering/RenderTheme.cpp:
    (WebCore::RenderTheme::createControlPart const):
    (WebCore::RenderTheme::updateControlPartForRenderer const):
    * Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
    (IPC::ArgumentCoder<ControlPart>::encode): Deleted.
    (IPC::ArgumentCoder<ControlPart>::decode): Deleted.
    * Source/WebKit/Shared/WebCoreArgumentCoders.h:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270445@main
    gavin-apple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4e6e5b0 View commit details
    Browse the repository at this point in the history
  76. CSSVariableReferenceValue.h: error: member access into incomplete typ…

    …e 'WebCore::CSSVariableData'
    
    https://bugs.webkit.org/show_bug.cgi?id=264480
    
    Reviewed by Antti Koivisto.
    
    Looks like we need to actually import CSSVariableData.h.
    
    * Source/WebCore/css/CSSVariableReferenceValue.h:
    
    Canonical link: https://commits.webkit.org/270446@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    db75348 View commit details
    Browse the repository at this point in the history
  77. REGRESSION(270409@main): Broke linux clang-16 builds

    https://bugs.webkit.org/show_bug.cgi?id=264484
    
    Reviewed by Chris Dumez.
    
    * Source/WebCore/platform/audio/SincResampler.cpp:
    (WebCore::SincResampler::processBuffer): Use gcc/clang agnostic pragma macros instead of the ones
    specific to GCC.
    
    Canonical link: https://commits.webkit.org/270447@main
    philn authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8018f2e View commit details
    Browse the repository at this point in the history
  78. Remove unused "mapAttributeToCSSProperty" from 'SVGElement.h'

    https://bugs.webkit.org/show_bug.cgi?id=264475
    
    Reviewed by Rob Buis.
    
    This PR just removes unused 'mapAttributeToCSSProperty'.
    
    * Source/WebCore/svg/SVGElement.h:
    
    Canonical link: https://commits.webkit.org/270448@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ebe159b View commit details
    Browse the repository at this point in the history
  79. Build error: reference to 'MediaQueryList' is ambiguous

    https://bugs.webkit.org/show_bug.cgi?id=264481
    
    Reviewed by Antti Koivisto.
    
    * Source/WebCore/page/LocalDOMWindow.h:
    
    Canonical link: https://commits.webkit.org/270449@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3edab07 View commit details
    Browse the repository at this point in the history
  80. MediaSourcePrivate::notifyActiveSourceBuffersChanged only implemented…

    … for Cocoa platform
    
    https://bugs.webkit.org/show_bug.cgi?id=264471
    rdar://118165705
    
    Reviewed by Philippe Normand.
    
    For platform consistency, duplicate the behavious on Mock and GStreamer implementation.
    
    * Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
    (WebCore::MediaPlayerPrivateGStreamerMSE::notifyActiveSourceBuffersChanged):
    * Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.h:
    * Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.cpp:
    (WebCore::MediaSourcePrivateGStreamer::notifyActiveSourceBuffersChanged):
    * Source/WebCore/platform/graphics/gstreamer/mse/MediaSourcePrivateGStreamer.h:
    * Source/WebCore/platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:
    (WebCore::MockMediaPlayerMediaSource::notifyActiveSourceBuffersChanged):
    * Source/WebCore/platform/mock/mediasource/MockMediaPlayerMediaSource.h:
    
    Canonical link: https://commits.webkit.org/270450@main
    jyavenard authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5cb42b3 View commit details
    Browse the repository at this point in the history
  81. [scroll-timeline] add the ScrollTimeline interface

    https://bugs.webkit.org/show_bug.cgi?id=264407
    
    Reviewed by Chris Dumez.
    
    The Scroll-driven Animations spec introduces a new ScrollTimeline subclass of AnimationTimeline.
    We add the IDL and supporting code for this interface as well as the supporting ScrollTimelineOptions
    dictionary and ScrollAxis enum, all behind the appropriate runtime flag.
    
    We're skipping some additional tests because merely exposing the ScrollTimeline interface makes some new
    tests progress further and turn early failures into timeouts for unfulfilled promises.
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/cancel-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/constructor-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/current-time-nan-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/current-time-root-scroller-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/current-time-writing-modes-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/effect-updateTiming-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/finish-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/intrinsic-iteration-duration.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/pause-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/play-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/reverse-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-animation-effect-fill-modes.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-animation-effect-phases.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-animation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-animation-inactive-timeline-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-timeline-invalidation-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-timeline-range-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/scroll-timeline-snapshotting-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/setting-current-time-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/setting-playback-rate-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/setting-start-time-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/setting-timeline.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/source-quirks-mode-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/update-playback-rate-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/scroll-timelines/updating-the-finished-state-expected.txt:
    * LayoutTests/platform/mac-wk1/TestExpectations:
    * Source/WebCore/CMakeLists.txt:
    * Source/WebCore/DerivedSources-input.xcfilelist:
    * Source/WebCore/DerivedSources-output.xcfilelist:
    * Source/WebCore/DerivedSources.make:
    * Source/WebCore/Sources.txt:
    * Source/WebCore/WebCore.xcodeproj/project.pbxproj:
    * Source/WebCore/animation/AnimationTimeline.h:
    (WebCore::AnimationTimeline::isDocumentTimeline const):
    (WebCore::AnimationTimeline::isScrollTimeline const):
    (WebCore::AnimationTimeline::isDocumentTimeline): Deleted.
    * Source/WebCore/animation/DocumentTimeline.h:
    * Source/WebCore/animation/ScrollAxis.h: Copied from Source/WebCore/animation/AnimationTimeline.h.
    * Source/WebCore/animation/ScrollAxis.idl: Added.
    * Source/WebCore/animation/ScrollTimeline.cpp: Copied from Source/WebCore/animation/AnimationTimeline.h.
    (WebCore::ScrollTimeline::create):
    (WebCore::ScrollTimeline::ScrollTimeline):
    * Source/WebCore/animation/ScrollTimeline.h: Copied from Source/WebCore/animation/AnimationTimeline.h.
    * Source/WebCore/animation/ScrollTimeline.idl: Added.
    * Source/WebCore/animation/ScrollTimelineOptions.h: Copied from Source/WebCore/animation/AnimationTimeline.h.
    * Source/WebCore/animation/ScrollTimelineOptions.idl: Added.
    * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
    
    Canonical link: https://commits.webkit.org/270451@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5cf41f0 View commit details
    Browse the repository at this point in the history
  82. Generate IPC serialization for WebCore::UserStyleLevel enumeration

    https://bugs.webkit.org/show_bug.cgi?id=264403
    
    Reviewed by Chris Dumez and Michael Catanzaro.
    
    Turn the WebCore::UserStyleLevel enumeration into a scoped one, adjusting uses
    of values accordingly. This enables removing the EnumTraits specialization in
    favor of better-handled IPC serialization specification.
    
    * Source/WebCore/dom/ExtensionStyleSheets.cpp:
    (WebCore::createExtensionsStyleSheet):
    (WebCore::ExtensionStyleSheets::pageUserSheet):
    * Source/WebCore/page/UserStyleSheet.h:
    (WebCore::UserStyleSheet::UserStyleSheet):
    * Source/WebCore/page/UserStyleSheetTypes.h:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    * Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm:
    (-[_WKUserStyleSheet initWithSource:forMainFrameOnly:]):
    * Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheetInternal.h:
    (API::toWebCoreUserStyleLevel):
    * Source/WebKit/UIProcess/API/glib/WebKitUserContent.cpp:
    (toUserStyleLevel):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
    (WebKit::WebExtensionContext::addInjectedContent):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionDynamicScriptsCocoa.mm:
    (WebKit::WebExtensionDynamicScripts::injectStyleSheets):
    * Source/WebKit/WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::addUserStyleSheet):
    * Source/WebKitLegacy/mac/WebView/WebView.mm:
    (+[WebView _addUserStyleSheetToGroup:world:source:url:includeMatchPatternStrings:excludeMatchPatternStrings:injectedFrames:]):
    
    Canonical link: https://commits.webkit.org/270452@main
    zdobersek authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    94ae7ec View commit details
    Browse the repository at this point in the history
  83. [iOS] Fix rendering of <select> in vertical writing mode

    https://bugs.webkit.org/show_bug.cgi?id=264441
    rdar://118141664
    
    Reviewed by Tim Nguyen.
    
    Fix the position of the arrows in vertical writing mode, and ensure logical
    properties are used instead of physical properties.
    
    * Source/WebCore/rendering/RenderThemeIOS.mm:
    (WebCore::RenderThemeIOS::adjustRoundBorderRadius):
    (WebCore::applyCommonButtonPaddingToStyle):
    (WebCore::RenderThemeIOS::adjustMenuListButtonStyle const):
    (WebCore::RenderThemeIOS::adjustButtonStyle const):
    (WebCore::RenderThemeIOS::paintMenuListButtonDecorationsWithFormControlRefresh):
    * Source/WebCore/rendering/style/RenderStyle.h:
    * Source/WebCore/rendering/style/RenderStyleSetters.h:
    (WebCore::RenderStyle::setLogicalMinHeight):
    (WebCore::RenderStyle::setLogicalMaxHeight):
    
    Canonical link: https://commits.webkit.org/270453@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2e985d8 View commit details
    Browse the repository at this point in the history
  84. Simplify repainting logic in RenderLayer::recursiveUpdateLayerPositio…

    …ns()
    
    https://bugs.webkit.org/show_bug.cgi?id=264461
    rdar://118151709
    
    Reviewed by Alan Baradlay.
    
    The `NeedsFullRepaint` case previously duplicate some logic that exists in `RenderElement::repaintAfterLayoutIfNeeded()`,
    which is that if we're doing a full repaint, we just need to paint the clippedOverflowRects.
    
    This logic was optimized in 270370@main to turn two repaints into one sometimes, and we can re-use it here. We know
    that in the RequiresFullRepaint::Yes case, `RenderElement::repaintAfterLayoutIfNeeded()` only consults the clippedOverflowRects,
    so we can fold this logic with the second `shouldRepaintAfterLayout()` clause. It's fine to pass empty oldRects if we didn't
    have any.
    
    `repaintAfterLayoutIfNeeded()` does the check for printing, so we can remove that. Also the comment duplicates comments
    in that function too, so remove it.
    
    * LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates-expected.txt:
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::recursiveUpdateLayerPositions):
    (WebCore::RenderLayer::shouldRepaintAfterLayout const):
    
    Canonical link: https://commits.webkit.org/270454@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d019b1f View commit details
    Browse the repository at this point in the history
  85. [scroll-anchoring] Implement suppression triggers

    https://bugs.webkit.org/show_bug.cgi?id=261719
    rdar://115704143
    
    Reviewed by Simon Fraser.
    
    Implement suppression of scroll anchoring adjustments according to the spec
    (https://www.w3.org/TR/css-scroll-anchoring-1/#suppression-triggers). This involves suppressing scroll
     anchoring adjustments  when certain “suppression trigger” operations occur when an anchor element has
     been chosen but before a scroll anchoring adjustment has occurred, that would cause the next scroll
    anchoring adjustment to be incorrect. These suppression triggers are certain style changes on the anchor
    element or any element in the anchor element ancestor chain, up to and including the scrolling element
    that owns the scroll anchroing controller, as well as changing to or from being absolutely posititioned,
    for any element under the owning scrolling element.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/ancestor-change-heuristic-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/heuristic-with-offset-update-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/opt-out-dynamic-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/opt-out-dynamic-scroller-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/position-change-heuristic-expected.txt:
    * Source/WebCore/page/LocalFrameView.cpp:
    (WebCore::LocalFrameView::scheduleResizeEventIfNeeded):
    * Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
    (WebCore::elementIsScrollableArea):
    (WebCore::setInScrollAnchoringAncestorChain):
    (WebCore::ScrollAnchoringController::invalidateAnchorElement):
    (WebCore::ScrollAnchoringController::notifyChildHadSuppressingStyleChange):
    (WebCore::scrollAnchoringControllerForElement):
    (WebCore::ScrollAnchoringController::notifyParentScrollAnchoringControllerHadSuppressingStyleChange):
    (WebCore::ScrollAnchoringController::didFindPriorityCandidate):
    (WebCore::ScrollAnchoringController::chooseAnchorElement):
    (WebCore::ScrollAnchoringController::adjustScrollPositionForAnchoring):
    * Source/WebCore/page/scrolling/ScrollAnchoringController.h:
    * Source/WebCore/rendering/RenderElement.cpp:
    (WebCore::RenderElement::styleDidChange):
    * Source/WebCore/rendering/RenderObject.h:
    (WebCore::RenderObject::isInScrollAnchoringAncestorChain const):
    (WebCore::RenderObject::setIsInScrollAnchoringAncestorChain):
    (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
    * Source/WebCore/rendering/style/RenderStyle.cpp:
    (WebCore::RenderStyle::scrollAnchoringSuppressionStyleDidChange const):
    (WebCore::RenderStyle::absolutePositionStyleDidChange const):
    * Source/WebCore/rendering/style/RenderStyle.h:
    
    Canonical link: https://commits.webkit.org/270455@main
    nmoucht authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8377bc0 View commit details
    Browse the repository at this point in the history
  86. visionOS: Enable GPU Process for WebGL (and WebXR, indirectly)

    https://bugs.webkit.org/show_bug.cgi?id=264468
    rdar://114834238
    
    Reviewed by Aditya Keerthi, Dean Jackson and Kimmo Kinnunen.
    
    * Source/WTF/wtf/PlatformEnableCocoa.h:
    Turn it on, since it appears all is well.
    
    Canonical link: https://commits.webkit.org/270456@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    501889e View commit details
    Browse the repository at this point in the history
  87. Remove AspectRatioOfImgFromWidthAndHeightEnabled preference

    https://bugs.webkit.org/show_bug.cgi?id=264482
    rdar://118175875
    
    Reviewed by Tim Nguyen.
    
    This flag was last touched well over two years ago in 235862@main.
    
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html:
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/content-aspect-ratio.html:
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html:
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/html/HTMLElement.cpp:
    (WebCore::HTMLElement::applyAspectRatioFromWidthAndHeightAttributesToStyle):
    (WebCore::HTMLElement::applyAspectRatioWithoutDimensionalRulesFromWidthAndHeightAttributesToStyle):
    * Source/WebCore/rendering/RenderImage.cpp:
    (WebCore::RenderImage::computeIntrinsicRatioInformation const):
    * Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
    (-[WebPreferences aspectRatioOfImgFromWidthAndHeightEnabled]):
    (-[WebPreferences setAspectRatioOfImgFromWidthAndHeightEnabled:]):
    * Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:
    
    Canonical link: https://commits.webkit.org/270457@main
    annevk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d3c60a0 View commit details
    Browse the repository at this point in the history
  88. [macOS] Fix rendering of <select> in vertical writing mode

    https://bugs.webkit.org/show_bug.cgi?id=264457
    rdar://118147979
    
    Reviewed by Tim Nguyen.
    
    `NSPopUpButton` is not height resizable, resulting in a squished appearance
    for `<select>` in vertical writing mode. To fix, fall back to the
    `MenuListButton` path and use custom rendering when using a vertical writing
    mode. Update the painting code for menu list buttons to support vertical
    writing mode.
    
    * Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm:
    (WebCore::MenuListButtonMac::draw):
    
    Remove incorrect logic to draw a separator next to the arrows. Currently, and
    dating back to at least Safari 13, the separators do not show up (even in
    horizontal writing mode). Fixing the logic to get separators working does not
    result in an improvement in appearance. As a result, rather than re-writing the
    logic, simply remove it.
    
    * Source/WebCore/rendering/RenderThemeMac.mm:
    (WebCore::RenderThemeMac::isControlStyled const):
    
    Apply our fallback for zoomed `<select>` to `<select>`s that have a
    vertical writing mode. In both cases, the fallback is necessary as the
    native control only renders at fixed sizes.
    
    Canonical link: https://commits.webkit.org/270458@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    321c49e View commit details
    Browse the repository at this point in the history
  89. Do not promote WebRTC video conference web pages to NowPlaying

    https://bugs.webkit.org/show_bug.cgi?id=264335
    rdar://118057213
    
    Reviewed by Eric Carlson.
    
    When a web page becomes the NowPlaying app, it might receive Pause and Play commands.
    This for instance happens when AirPods are removed from ears.
    There are cases where the Pause command will be received but the Play command will not be sent when AirPods are back in ears.
    
    Given video conference web pages currently do not handle well pause/play, we are, by default, no longer making web pages that do capture
    and play several media streams the now playing app, except for web pages that use MediaSession since they are then responsible to handle play/pause commands.
    
    * LayoutTests/media/now-playing-status-for-video-conference-web-page-expected.txt: Added.
    * LayoutTests/media/now-playing-status-for-video-conference-web-page.html: Added.
    * LayoutTests/platform/mac-wk1/TestExpectations:
    * Source/WebCore/html/MediaElementSession.cpp:
    (WebCore::isDocumentPlayingSeveralMediaStreamsAndCapturing):
    (WebCore::processRemoteControlCommandIfPlayingMediaStreams):
    (WebCore::MediaElementSession::nowPlayingInfo const):
    (WebCore::isDocumentPlayingSeveralMediaStreams): Deleted.
    
    Canonical link: https://commits.webkit.org/270459@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c049334 View commit details
    Browse the repository at this point in the history
  90. [Wasm-GC] Implement casts at Wasm-JS function call boundaries

    https://bugs.webkit.org/show_bug.cgi?id=254693
    
    Reviewed by Justin Michaud.
    
    Allows Wasm GC values to be passed in from JS to Wasm with the
    appropriate casts used at the boundary for safety.
    
    These casts are added for setting globals and for function calls between
    JS and Wasm. Casts for table mutation were added in a previous patch.
    
    Also adds the WPT tests for the JS API, which are set to run using the
    experimental GC flags. This requires modifying some existing tests as
    well, due to the test helper changing.
    
    Upstream WPT tests are from commit
    5c087e6ad3cfaa1dc38dd93edb3b05e3a9efe5f1 of the GC proposal repo.
    
    Some additional fixes were needed to pass all the JS API tests:
      * ref.i31 was modified to create the i31 canonically in signed format,
        so that it can be passed to JS without changes.
      * when GC is off and typed funcrefs are on, we need to use a different
        code path to check types at the boundary because functions will not
        have an RTT without GC on.
    
    * JSTests/wasm/gc-spec-harness/sync_index.js:
    * JSTests/wasm/gc-spec-tests/extern.wast.js: Added.
    * JSTests/wasm/gc/arrays.js:
    * JSTests/wasm/gc/const-exprs.js:
    (async testGCConstExprs):
    * JSTests/wasm/gc/i31.js:
    * JSTests/wasm/gc/js-api.js:
    (testI31):
    (testCastFailure):
    (testTable):
    (testImport):
    * JSTests/wasm/gc/structs.js:
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/exception/basic.tentative.any.js:
    (promise_test.async const):
    (promise_test):
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/casts.tentative.any-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/casts.tentative.any.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/casts.tentative.any.js: Added.
    (setup):
    (test):
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/exported-object.tentative.any-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/exported-object.tentative.any.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/exported-object.tentative.any.js: Added.
    (setup):
    (test):
    (set string_appeared_here):
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/i31.tentative.any-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/i31.tentative.any.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/gc/i31.tentative.any.js: Added.
    (setup):
    (test):
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/instanceTestFactory.js:
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/module/exports.any.js:
    (test):
    * LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/wasm-module-builder.js:
    (wasmRefNullType):
    (wasmRefType):
    (GCInstr):
    (Binary.prototype.emit_heap_type):
    (Binary.prototype.emit_type):
    (Binary.prototype.emit_init_expr):
    (WasmGlobalBuilder):
    (checkExpr):
    (WasmTableBuilder):
    (makeField):
    (WasmStruct):
    (WasmArray):
    (WasmModuleBuilder):
    (WasmModuleBuilder.prototype.addType):
    (WasmModuleBuilder.prototype.addStruct):
    (WasmModuleBuilder.prototype.addArray):
    (WasmModuleBuilder.defaultFor):
    (WasmModuleBuilder.prototype.addGlobal):
    (WasmModuleBuilder.prototype.addTable):
    (WasmModuleBuilder.prototype.addTag):
    (WasmModuleBuilder.prototype.addImportedTag):
    (WasmModuleBuilder.prototype.startRecGroup):
    (WasmModuleBuilder.prototype.endRecGroup):
    (WasmModuleBuilder.prototype.toBuffer):
    (WasmModuleBuilder.prototype.addException): Deleted.
    (WasmModuleBuilder.prototype.addImportedException): Deleted.
    * Source/JavaScriptCore/llint/WebAssembly32_64.asm:
    * Source/JavaScriptCore/llint/WebAssembly64.asm:
    * Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:
    (JSC::Wasm::B3IRGenerator::addRefI31):
    (JSC::Wasm::B3IRGenerator::addI31GetS):
    (JSC::Wasm::B3IRGenerator::addI31GetU):
    * Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
    (JSC::Wasm::BBQJIT::getGlobal):
    (JSC::Wasm::BBQJIT::setGlobal):
    (JSC::Wasm::BBQJIT::addRefI31):
    (JSC::Wasm::BBQJIT::addI31GetS):
    (JSC::Wasm::BBQJIT::addI31GetU):
    * Source/JavaScriptCore/wasm/WasmConstExprGenerator.cpp:
    (JSC::Wasm::ConstExprGenerator::addRefI31):
    * Source/JavaScriptCore/wasm/WasmFormat.h:
    (JSC::Wasm::isSubtype):
    * Source/JavaScriptCore/wasm/WasmGlobal.cpp:
    (JSC::Wasm::Global::set):
    * Source/JavaScriptCore/wasm/WasmOperations.cpp:
    (JSC::Wasm::JSC_DEFINE_JIT_OPERATION):
    * Source/JavaScriptCore/wasm/WasmOperations.h:
    * Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp:
    (JSC::Wasm::TypeInformation::castReference):
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h:
    (JSC::fromJSValue):
    * Source/JavaScriptCore/wasm/js/WasmToJS.cpp:
    (JSC::Wasm::wasmToJS):
    * Source/JavaScriptCore/wasm/js/WebAssemblyFunction.cpp:
    (JSC::WebAssemblyFunction::jsCallEntrypointSlow):
    
    Canonical link: https://commits.webkit.org/270460@main
    takikawa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5158edf View commit details
    Browse the repository at this point in the history
  91. Refactor some fundamentals in ArgumentCodersCocoa.h

    https://bugs.webkit.org/show_bug.cgi?id=264385
    rdar://118099847
    
    Reviewed by Alex Christensen.
    
    - Make all encode() methods work in terms of a single master encode() method
    - Get rid of many extra decode() methods
    - Make all decode() methods work in terms of a single master decode() method
    - Rename the final decode() method that takes "allowed classes" to "decodeWithAllowedClasses" for compile
      safety and clarity
    - Move the main "decodeWithAllowedClasses" entry point to Decoder itself to avoid re-entrancy in some situations.
    - Make the way that "decodeWithAllowedClasses" gets the default array-of-allowed-classes a template so
      our softlinked classes can work with the default parameter
    - Update callers that used to explicitly pass an allowed class to rely on the default, when possible.
    
    Why do all this?
    
    It makes Obj-C decode use nicer to write and to look at.
    
    But also upcoming work for NSArray and NSDictionary will completely upend how we encode/decode for our Obj-C types
    and this patch is a standalone prerequisite to enabling that work.
    
    * Source/WebKit/Platform/IPC/Decoder.h:
    (IPC::getClass):
    (IPC::Decoder::decodeWithAllowedClasses):
    * Source/WebKit/Scripts/generate-serializers.py:
    (decode_type):
    * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp:
    (IPC::ArgumentCoder<Namespace::OtherClass>::decode):
    (IPC::ArgumentCoder<SoftLinkedMember>::decode):
    * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h:
    (IPC::decodeWithAllowedClasses):
    (IPC::ArgumentCoder<RetainPtr<T>>::decode):
    (IPC::encode):
    (IPC::decode): Deleted.
    * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
    (IPC::decodeFontInternal):
    * Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
    (IPC::getClass<PKPayment>):
    (IPC::getClass<PKContact>):
    (IPC::getClass<PKPaymentMerchantSession>):
    (IPC::getClass<PKPaymentMethod>):
    (IPC::ArgumentCoder<WebCore::Payment>::decode):
    (IPC::ArgumentCoder<WebCore::PaymentContact>::decode):
    (IPC::ArgumentCoder<WebCore::PaymentMerchantSession>::decode):
    (IPC::ArgumentCoder<WebCore::PaymentMethod>::decode):
    (IPC::ArgumentCoder<WebCore::PaymentSessionError>::decode):
    (IPC::getClass<DDScannerResult>):
    (IPC::ArgumentCoder<WebCore::DataDetectorElementInfo>::decode):
    (IPC::getClass<AVOutputContext>):
    (IPC::ArgumentCoder<WebCore::MediaPlaybackTargetContext>::decodePlatformData):
    (IPC::ArgumentCoder<WebCore::TextRecognitionDataDetector>::decodePlatformData):
    (IPC::getClass<VKCImageAnalysis>):
    (IPC::ArgumentCoder<RetainPtr<VKCImageAnalysis>>::decode):
    * Source/WebKit/Shared/mac/ObjCObjectGraph.mm:
    (WebKit::ObjCObjectGraph::decode):
    * Source/WebKit/Shared/mac/WebCoreArgumentCodersMac.mm:
    (IPC::ArgumentCoder<WebCore::Credential>::decodePlatformData):
    
    Canonical link: https://commits.webkit.org/270461@main
    beidson authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a662e7f View commit details
    Browse the repository at this point in the history
  92. [Xcode] Support building into a WebKit-specific products directory fo…

    …r archival purposes
    
    https://bugs.webkit.org/show_bug.cgi?id=264214
    rdar://117948754
    
    Reviewed by Alexey Proskuryakov.
    
    When WK_CONFIGURATION_BUILD_DIR is set, override the products directory
    WebKit builds into.
    
    This is useful for internal archival purposes, where we build Safari and
    WebKit but want to archive their products separately, but it can be used
    in any Xcode project which builds WebKit as part of a larger whole.
    
    * Configurations/WebKitProjectPaths.xcconfig:
    * Tools/lldb/lldbWebKitTester/Configurations/DebugRelease.xcconfig:
      Include LocalOverrides.xcconfig for development usage.
    
    Canonical link: https://commits.webkit.org/270462@main
    emw-apple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d3f213a View commit details
    Browse the repository at this point in the history
  93. Add tests for browser.tabs script APIs

    https://bugs.webkit.org/show_bug.cgi?id=263037
    
    Reviewed by Timothy Hatcher.
    
    This patch adds tests for executeScript(), insertCSS(), and removeCSS() APIs for browser.tabs.
    
    * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPITabsCocoa.mm:
    (WebKit::toWebAPI):
    (WebKit::WebExtensionAPITabs::parseScriptOptions):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPITabs.mm:
    (TestWebKitAPI::TEST):
    
    Canonical link: https://commits.webkit.org/270463@main
    kiaraarose authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    58eefa5 View commit details
    Browse the repository at this point in the history
  94. [UIAsyncTextInputClient] Adopt delegate methods to provide text conte…

    …xt for the edit menu
    
    https://bugs.webkit.org/show_bug.cgi?id=264452
    rdar://118145278
    
    Reviewed by Aditya Keerthi.
    
    Implement `-selectTextForContextMenuWithLocationInView:completionHandler:`, refactoring the
    underlying implementation to share code with `-prepareSelectionForContextMenuWithLocationInView:`.
    
    Additionally, remove our reliance on `_isPreparingEditMenu`, which is currently used to prevent the
    edit menu from containing certain actions (Select All, Insert) when the selection is ranged.
    Instead, to know whether or not the action is for the edit menu, we check whether the sender is a
    `UIKeyCommand` (which is the case, even when using the edit menu) and it's happening outside of the
    context of interpreting key events.
    
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView canPerformActionForWebView:withSender:]):
    (-[WKContentView _interpretKeyEvent:isCharEvent:]):
    (-[WKContentView requestRVItemInSelectedRangeWithCompletionHandler:]):
    (-[WKContentView prepareSelectionForContextMenuWithLocationInView:completionHandler:]):
    (-[WKContentView _internalSelectTextForContextMenuWithLocationInView:completionHandler:]):
    (-[WKContentView selectTextForContextMenuWithLocationInView:completionHandler:]):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm:
    
    Update this test to properly exercise edit menu presentation, by passing in a `UIKeyCommand` as the
    sender.
    
    Canonical link: https://commits.webkit.org/270464@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    69522e0 View commit details
    Browse the repository at this point in the history
  95. [web-animations] rename AnimatableProperty to AnimatableCSSProperty

    https://bugs.webkit.org/show_bug.cgi?id=264499
    
    Reviewed by Chris Dumez.
    
    The name AnimatableProperty currently used is more generic than needed since this only covers CSS properties at
    the moment. So it is best to rename as AnimatableCSSProperty.
    
    * Source/WebCore/animation/CSSPropertyAnimation.cpp:
    (WebCore::CSSPropertyBlendingContext::CSSPropertyBlendingContext):
    (WebCore::CSSPropertyAnimation::blendProperty):
    (WebCore::CSSPropertyAnimation::isPropertyAnimatable):
    (WebCore::CSSPropertyAnimation::isPropertyAdditiveOrCumulative):
    (WebCore::CSSPropertyAnimation::propertyRequiresBlendingForAccumulativeIteration):
    (WebCore::CSSPropertyAnimation::animationOfPropertyIsAccelerated):
    (WebCore::CSSPropertyAnimation::propertiesEqual):
    (WebCore::CSSPropertyAnimation::canPropertyBeInterpolated):
    * Source/WebCore/animation/CSSPropertyAnimation.h:
    * Source/WebCore/animation/CSSTransition.cpp:
    (WebCore::CSSTransition::create):
    (WebCore::CSSTransition::CSSTransition):
    * Source/WebCore/animation/CSSTransition.h:
    * Source/WebCore/animation/DocumentTimeline.cpp:
    (WebCore::DocumentTimeline::animationCanBeRemoved):
    * Source/WebCore/animation/ElementAnimationRareData.h:
    (WebCore::ElementAnimationRareData::completedTransitionsByProperty):
    (WebCore::ElementAnimationRareData::runningTransitionsByProperty):
    * Source/WebCore/animation/KeyframeEffect.cpp:
    (WebCore::KeyframeEffect::getKeyframes):
    (WebCore::KeyframeEffect::animatedProperties):
    (WebCore::KeyframeEffect::animatesProperty const):
    (WebCore::KeyframeEffect::setAnimatedPropertiesInStyle):
    (WebCore::acceleratedPropertyDidChange):
    * Source/WebCore/animation/KeyframeEffect.h:
    * Source/WebCore/animation/KeyframeEffectStack.cpp:
    (WebCore::KeyframeEffectStack::applyKeyframeEffects):
    (WebCore::KeyframeEffectStack::cascadeDidOverrideProperties):
    * Source/WebCore/animation/KeyframeEffectStack.h:
    (WebCore::KeyframeEffectStack::acceleratedPropertiesOverriddenByCascade const):
    * Source/WebCore/animation/WebAnimation.cpp:
    (WebCore::WebAnimation::commitStyles):
    * Source/WebCore/animation/WebAnimationTypes.h:
    (WTF::DefaultHash<WebCore::AnimatableCSSProperty>::hash):
    (WTF::DefaultHash<WebCore::AnimatableCSSProperty>::equal):
    (WTF::HashTraits<WebCore::AnimatableCSSProperty>::constructDeletedValue):
    (WTF::HashTraits<WebCore::AnimatableCSSProperty>::isDeletedValue):
    (WTF::DefaultHash<WebCore::AnimatableProperty>::hash): Deleted.
    (WTF::DefaultHash<WebCore::AnimatableProperty>::equal): Deleted.
    (WTF::HashTraits<WebCore::AnimatableProperty>::constructDeletedValue): Deleted.
    (WTF::HashTraits<WebCore::AnimatableProperty>::isDeletedValue): Deleted.
    * Source/WebCore/animation/WebAnimationUtilities.cpp:
    (WebCore::animatablePropertyAsString):
    * Source/WebCore/animation/WebAnimationUtilities.h:
    * Source/WebCore/dom/Element.cpp:
    (WebCore::Element::hasCompletedTransitionForProperty const):
    (WebCore::Element::hasRunningTransitionForProperty const):
    (WebCore::Element::completedTransitionsByProperty const):
    (WebCore::Element::runningTransitionsByProperty const):
    (WebCore::Element::ensureCompletedTransitionsByProperty):
    (WebCore::Element::ensureRunningTransitionsByProperty):
    * Source/WebCore/dom/Element.h:
    * Source/WebCore/page/ios/ContentChangeObserver.cpp:
    (WebCore::isObservedPropertyForTransition):
    * Source/WebCore/platform/animation/AcceleratedEffect.cpp:
    (WebCore::acceleratedPropertyFromCSSProperty):
    * Source/WebCore/platform/animation/Animation.h:
    * Source/WebCore/rendering/style/KeyframeList.cpp:
    (WebCore::KeyframeList::fillImplicitKeyframes):
    (WebCore::KeyframeList::containsAnimatableCSSProperty const):
    (WebCore::KeyframeList::addProperty):
    (WebCore::KeyframeList::containsProperty const):
    (WebCore::KeyframeList::propertiesSetToInherit const):
    (WebCore::KeyframeValue::addProperty):
    (WebCore::KeyframeValue::containsProperty const):
    (WebCore::KeyframeList::containsAnimatableProperty const): Deleted.
    * Source/WebCore/rendering/style/KeyframeList.h:
    (WebCore::KeyframeValue::properties const):
    (WebCore::KeyframeList::properties const):
    * Source/WebCore/style/PropertyCascade.cpp:
    (WebCore::Style::PropertyCascade::PropertyCascade):
    (WebCore::Style::PropertyCascade::AnimationLayer::AnimationLayer):
    (WebCore::Style::PropertyCascade::overriddenAnimatedProperties const):
    * Source/WebCore/style/PropertyCascade.h:
    * Source/WebCore/style/StyleBuilder.cpp:
    (WebCore::Style::Builder::Builder):
    * Source/WebCore/style/StyleBuilder.h:
    (WebCore::Style::Builder::overriddenAnimatedProperties const):
    * Source/WebCore/style/StyleTreeResolver.cpp:
    (WebCore::Style::TreeResolver::createAnimatedElementUpdate):
    (WebCore::Style::TreeResolver::applyCascadeAfterAnimation):
    * Source/WebCore/style/StyleTreeResolver.h:
    * Source/WebCore/style/Styleable.cpp:
    (WebCore::removeCSSTransitionFromMap):
    (WebCore::Styleable::animationWasRemoved const):
    (WebCore::keyframeEffectForElementAndProperty):
    (WebCore::propertyInStyleMatchesValueForTransitionInMap):
    (WebCore::transitionMatchesProperty):
    (WebCore::updateCSSTransitionsForStyleableAndProperty):
    (WebCore::Styleable::updateCSSTransitions const):
    * Source/WebCore/style/Styleable.h:
    (WebCore::Styleable::applyKeyframeEffects const):
    (WebCore::Styleable::hasCompletedTransitionForProperty const):
    (WebCore::Styleable::hasRunningTransitionForProperty const):
    (WebCore::Styleable::ensureCompletedTransitionsByProperty const):
    (WebCore::Styleable::ensureRunningTransitionsByProperty const):
    
    Canonical link: https://commits.webkit.org/270465@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1cc5e76 View commit details
    Browse the repository at this point in the history
  96. [Cocoa] Adopt -[AVContentKey externalContentProtectionStatus]

    https://bugs.webkit.org/show_bug.cgi?id=264465
    rdar://118089335
    
    Reviewed by Jer Noble.
    
    Adopted -[AVContentKey externalContentProtectionStatus] API, where available, as a replacement to
    the -[AVContentKeyRequest externalContentProtectionStatus] SPI. Also implemented the
    -contentKeySession:externalProtectionStatusDidChangeForContentKey: delegate method from
    AVContentKeySessionDelegate to learn when a key's protection status changes.
    
    * Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h:
    * Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
    (-[WebCoreFPSContentKeySessionDelegate contentKeySession:externalProtectionStatusDidChangeForContentKey:]):
    (WebCore::CDMInstanceFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKey):
    (WebCore::CDMInstanceFairPlayStreamingAVFObjC::sessionForKey const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::displayChanged):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeys const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeyRequests const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::hasKey const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::hasRequest const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateKeyStatuses):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKey):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKeyRequest):
    (WebCore::keyStatusForContentProtectionStatus):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForRequest const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateProtectionStatus):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeyGroupDataSourceKeys const):
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForDisplayID const): Deleted.
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateProtectionStatusForDisplayID): Deleted.
    
    Canonical link: https://commits.webkit.org/270466@main
    aestes authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8065484 View commit details
    Browse the repository at this point in the history
  97. AX: Caption and figure caption elements are ignored.

    https://bugs.webkit.org/show_bug.cgi?id=264437
    <rdar://problem/118139030>
    
    Reviewed by Tyler Wilcock.
    
    <caption> and <figcaption> are ignored causing that AXTitleUIElement can return an ignored object. This is a problem in ITM since ignored objects are not part of the AX tree. This inconsistency in the API was not caught by the figure-element.html test due to a bug in the test itself. This patch rewrites this test, updates several others and fixes the underlying problem
    
    * LayoutTests/accessibility/help-text-expected.txt:
    * LayoutTests/accessibility/mac/figure-element-expected.txt:
    * LayoutTests/accessibility/mac/figure-element.html:
    * LayoutTests/accessibility/roles-computedRoleString.html:
    * LayoutTests/platform/mac-wk1/accessibility/roles-exposed-expected.txt:
    * LayoutTests/platform/mac-wk2/accessibility/roles-exposed-expected.txt:
    * LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt:
    * Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::determineAccessibilityRoleFromNode const):
    * Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:
    (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject const):
    
    Canonical link: https://commits.webkit.org/270467@main
    AndresGonzalezApple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0b4888b View commit details
    Browse the repository at this point in the history
  98. [WPE] Gardening of API tests on the EWS

    https://bugs.webkit.org/show_bug.cgi?id=264483
    
    Unreviewed test gardening.
    
    This is a gardening of the flaky tests that happen since a week ago
    in the EWS at https://ews-build.webkit.org/#/builders/API-Tests-WPE-EWS
    
    There are several flaky and more consistent failures happening there.
    Mark those as expected.
    
    * Tools/TestWebKitAPI/glib/TestExpectations.json:
    
    Canonical link: https://commits.webkit.org/270468@main
    clopez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3d37218 View commit details
    Browse the repository at this point in the history
  99. [WebGPU] Pipeline needs to pass zNear and zFar to fragment shader for…

    … clamping depth writes
    
    https://bugs.webkit.org/show_bug.cgi?id=264436
    <radar://118138930>
    
    Reviewed by Tadeu Zagallo.
    
    WebGPU expects writes to frag_depth to be clipped to the viewport
    bounds which is not something which natively exists in Metal, so
    we need to pass the viewport bounds to the fragment shader so the
    shader can clamp.
    
    * Source/WebGPU/WebGPU/Queue.h:
    * Source/WebGPU/WebGPU/Queue.mm:
    (WebGPU::Queue::writeBuffer):
    * Source/WebGPU/WebGPU/RenderBundle.h:
    * Source/WebGPU/WebGPU/RenderBundle.mm:
    (WebGPU::RenderBundle::updateMinMaxDepths):
    * Source/WebGPU/WebGPU/RenderBundleEncoder.h:
    * Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
    (-[RenderBundleICBWithResources initWithICB:pipelineState:depthStencilState:cullMode:frontFace:depthClipMode:depthBias:depthBiasSlopeScale:depthBiasClamp:fragmentDynamicOffsetsBuffer:]):
    (WebGPU::makeRenderBundleICBWithResources):
    (WebGPU::Device::createRenderBundleEncoder):
    (WebGPU::RenderBundleEncoder::executePreDrawCommands):
    (WebGPU::RenderBundleEncoder::endCurrentICB):
    (WebGPU::RenderBundleEncoder::setBindGroup):
    (-[RenderBundleICBWithResources initWithICB:pipelineState:depthStencilState:cullMode:frontFace:depthClipMode:depthBias:depthBiasSlopeScale:depthBiasClamp:]): Deleted.
    * Source/WebGPU/WebGPU/RenderPassEncoder.h:
    * Source/WebGPU/WebGPU/RenderPassEncoder.mm:
    (WebGPU::setViewportMinMaxDepthIntoBuffer):
    (WebGPU::RenderPassEncoder::executePreDrawCommands):
    (WebGPU::RenderPassEncoder::executeBundles):
    (WebGPU::RenderPassEncoder::setPipeline):
    (WebGPU::RenderPassEncoder::setViewport):
    (wgpuRenderPassEncoderExecuteBundles):
    
    Canonical link: https://commits.webkit.org/270469@main
    mwyrzykowski authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    084425a View commit details
    Browse the repository at this point in the history
  100. Add test function for WebCore::SincResampler

    https://bugs.webkit.org/show_bug.cgi?id=261702
    <rdar://115682448>
    
    Reviewed by Chris Dumez and Alex Christensen.
    
    Add test method that calls SincResampler::processBuffer().
    
    * Source/WebCore/testing/js/WebCoreTestSupport.cpp:
    (WebCoreTestSupport::testSincResamplerProcessBuffer): Add.
    * Source/WebCore/testing/js/WebCoreTestSupport.h:
    (WebCoreTestSupport::testSincResamplerProcessBuffer): Add.
    
    Originally-landed-as: 265870.567@safari-7616-branch (6380262a8580). rdar://117819812
    Canonical link: https://commits.webkit.org/270470@main
    David Kilzer authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e5c2362 View commit details
    Browse the repository at this point in the history
  101. Add support for os_signpost for WebContent on iOS

    https://bugs.webkit.org/show_bug.cgi?id=264357
    rdar://117593169
    
    Reviewed by Per Arne Vollan.
    
    269026@main blocked WebContent from talking to logd. This also broke os_signpost in WebContent since
    signposts are emitted to logd.
    
    To work around this, in this patch we send WebContent os_signposts down the same IPC pipe as regular
    os_logs. On the receiving side (in NetworkProcess), we deserialize the log line and emit an
    os_signpost. This requires some unfortunate use of scanf on the receiving side, but I don't see a
    better way of doing this without improved signpost hooks from libtrace (rdar://111422207).
    
    This also requires a bunch of C macros because signpost names *must* be C string literal tokens from
    the point of view of the C preprocessor, due to the way os_signpost is implemented. So there are
    several places here where we use a switch-case through every single possible signpost name in order
    to emit the right os_signpost call. The various os_signpost APIs themselves are also macros, so
    there are also places where we have to switch-case through every signpost API type (emit event,
    begin interval, and end inverval) in order to call the appropriate os_signpost macro.
    
    I also made some changes to few existing callers of os_signpost in the codebase:
    
    - There were two places where we were calling the EmitSignpostAlways variant of the API. This
      probably doesn't make sense anymore considering a signpost is now heavier weight and requires an
      IPC. I converted those call sites to use `os_signpost` directly, which means they emit signposts
      when logd is enabled (on Mac), and don't emit signposts when logd is blocked.
    
    - `handleWheelEvent` used the animation tagged variant of the signpost API. This is hard to continue
      using when sending signposts over IPC since it requires the format string to be encoded in a
      particular manner. I also converted this to use os_signpost directly, which should be okay since
      this code is only running on Mac.
    
    - I consolidated all of the page loading and paint signposts under a single signpost name called
      NavigationAndPaintTiming. For each document loaded, we now emit an interval from [startTime,
      loadEventEnd) under this signpost name. Within this interval, key milestones from the
      NavigationTiming and PaintTiming APIs are annotated, e.g. domInteractive,
      domContentLoadedEventStart, loadEventStart, firstContentfulPaint, etc.
    
    * Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
    (JSC::JSC_DEFINE_HOST_FUNCTION):
    * Source/WTF/wtf/SystemTracing.h:
    * Source/WTF/wtf/cocoa/SystemTracingCocoa.cpp:
    (beginSignpostInterval):
    (endSignpostInterval):
    (emitSignpostEvent):
    (emitSignpost):
    (WTFSignpostHandleIndirectLog):
    (machTimebaseInfo):
    (WTFCurrentContinuousTime):
    * Source/WebCore/dom/Document.cpp:
    (WebCore::m_frameIdentifier):
    (WebCore::Document::~Document):
    (WebCore::Document::setReadyState):
    (WebCore::Document::enqueuePaintTimingEntryIfNeeded):
    (WebCore::Document::finishedParsing):
    * Source/WebCore/dom/ScriptElement.cpp:
    (WebCore::ScriptElement::executeClassicScript):
    (WebCore::ScriptElement::registerImportMap):
    (WebCore::ScriptElement::executeModuleScript):
    * Source/WebCore/page/LocalDOMWindow.cpp:
    (WebCore::LocalDOMWindow::dispatchLoadEvent):
    * Source/WebCore/page/LocalFrameView.cpp:
    (WebCore::LocalFrameView::firePaintRelatedMilestonesIfNeeded):
    * Source/WebCore/platform/mac/ScrollingEffectsController.mm:
    (WebCore::ScrollingEffectsController::handleWheelEvent):
    * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
    (WebKit::NetworkConnectionToWebProcess::logOnBehalfOfWebContent):
    * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
    (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
    (WebKit::NetworkDataTaskCocoa::~NetworkDataTaskCocoa):
    (WebKit::NetworkDataTaskCocoa::didSendData):
    (WebKit::NetworkDataTaskCocoa::didReceiveChallenge):
    (WebKit::NetworkDataTaskCocoa::didCompleteWithError):
    (WebKit::NetworkDataTaskCocoa::didReceiveData):
    (WebKit::NetworkDataTaskCocoa::didReceiveResponse):
    (WebKit::NetworkDataTaskCocoa::willPerformHTTPRedirection):
    (WebKit::NetworkDataTaskCocoa::cancel):
    (WebKit::NetworkDataTaskCocoa::resume):
    * Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
    (WebKit::registerLogHook):
    
    Canonical link: https://commits.webkit.org/270471@main
    bnham authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    9f6ac89 View commit details
    Browse the repository at this point in the history
  102. Move DragItem to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264501
    
    Reviewed by Ryosuke Niwa.
    
    * Source/WebCore/platform/DragImage.h:
    * Source/WebCore/platform/DragItem.h:
    (WebCore::DragItem::encode const): Deleted.
    (WebCore::DragItem::decode): Deleted.
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270472@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    48df3c8 View commit details
    Browse the repository at this point in the history
  103. [WinCairo] Unreviewed test gardening

    * LayoutTests/platform/wincairo/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270473@main
    fujii authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    37cebe1 View commit details
    Browse the repository at this point in the history
  104. [iOS] Stop using -_presentMenuAtLocation: when `-[UIButton performP…

    …rimaryAction]` is available
    
    https://bugs.webkit.org/show_bug.cgi?id=264503
    rdar://114331050
    
    Reviewed by Aditya Keerthi.
    
    Remove the last usage of `-[UIContextMenuInteraction _presentMenuAtLocation:]`, by setting
    `showsMenuAsPrimaryAction` to YES on the `CompactContextMenuPresenter`'s hidden `UIButton`, and then
    using the new `-performPrimaryAction` method for programmatic menu presentation.
    
    * Source/WebKit/Platform/spi/ios/UIKitSPI.h:
    * Source/WebKit/UIProcess/ios/CompactContextMenuPresenter.mm:
    (WebKit::CompactContextMenuPresenter::CompactContextMenuPresenter):
    (WebKit::CompactContextMenuPresenter::present):
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView presentContextMenu:atLocation:]): Deleted.
    
    Canonical link: https://commits.webkit.org/270474@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    afb855d View commit details
    Browse the repository at this point in the history
  105. [JSC] Enable wasm extended constant expressions

    https://bugs.webkit.org/show_bug.cgi?id=264510
    rdar://118190467
    
    Reviewed by Justin Michaud.
    
    Enable wasm extended constant expressions[1].
    We also fix forceAllFunctionsToUseSIMD, which should not be in features list section.
    
    [1]: https://github.com/WebAssembly/extended-const
    
    * Source/JavaScriptCore/runtime/OptionsList.h:
    
    Canonical link: https://commits.webkit.org/270475@main
    Constellation authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    60aae49 View commit details
    Browse the repository at this point in the history
  106. Avoid computing containerForRepaint() for non-self-painting layers

    https://bugs.webkit.org/show_bug.cgi?id=264504
    rdar://118186580
    
    Reviewed by Alan Baradlay.
    
    In RenderLayer::recursiveUpdateLayerPositions(), a non-self-painting layer will just clear the clip rects,
    so doesn't need to compute the repaintContainer (which is an ancestor tree walk, so not free).
    
    So factor some code into a lambda so we can early return, which allows for some simplification.
    
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::recursiveUpdateLayerPositions):
    
    Canonical link: https://commits.webkit.org/270476@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4c22ac0 View commit details
    Browse the repository at this point in the history
  107. Unreviewed, reverting 270410@main.

    https://bugs.webkit.org/show_bug.cgi?id=264517
    
    Introduced crashes
    
    Reverted changeset:
    
    "Enable management of WebKit process as extensions by default"
    https://bugs.webkit.org/show_bug.cgi?id=264316
    https://commits.webkit.org/270410@main
    
    Canonical link: https://commits.webkit.org/270477@main
    webkit-commit-queue authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    207ec7c View commit details
    Browse the repository at this point in the history
  108. AX: Heap-use-after-free in WebCore::AXObjectCache::get(WebCore::Node*…

    …)+0x41c
    
    rdar://113770369
    
    Reviewed by Ryosuke Niwa.
    
    This UAF is most likely caused by a mutation in the WeakListHashSet while iterating over it. This patch avoids the problem by copying the set to a Vector and iterating over the Vector.
    The same technique is applied to another iteration over a WeakListHashsSet, m_deferredNodeAddedOrRemovedList, in the same method.
    
    * Source/WebCore/accessibility/AXObjectCache.cpp:
    (WebCore::AXObjectCache::performDeferredCacheUpdate):
    
    Originally-landed-as: 0f4469003671. rdar://117810598
    Canonical link: https://commits.webkit.org/270478@main
    AndresGonzalezApple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a82c327 View commit details
    Browse the repository at this point in the history
  109. Unreviewed, reverting 270462@main.

    https://bugs.webkit.org/show_bug.cgi?id=264518
    
    Breaks Xcode's run action
    
    Reverted changeset:
    
    "[Xcode] Support building into a WebKit-specific products directory for archival purposes"
    https://bugs.webkit.org/show_bug.cgi?id=264214
    https://commits.webkit.org/270462@main
    
    Canonical link: https://commits.webkit.org/270479@main
    webkit-commit-queue authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4e31906 View commit details
    Browse the repository at this point in the history
  110. [macOS] Fix keyboard selection/editing of date/time inputs in vertica…

    …l writing mode
    
    https://bugs.webkit.org/show_bug.cgi?id=264466
    rdar://118159670
    
    Reviewed by Wenson Hsieh.
    
    In vertical writing mode, vertical arrow keys should select the next/previous
    editable date/time component, and horizontal arrow keys should increment and
    decrement the value of the currently selected component.
    
    Update existing keyboard selection/editing tests to include vertical writing
    modes.
    
    * LayoutTests/fast/forms/date/date-editable-components/date-editable-components-keyboard-events-expected.txt:
    * LayoutTests/fast/forms/date/date-editable-components/date-editable-components-keyboard-events.html:
    * LayoutTests/fast/forms/datetimelocal/datetimelocal-editable-components/datetimelocal-editable-components-keyboard-events-expected.txt:
    * LayoutTests/fast/forms/datetimelocal/datetimelocal-editable-components/datetimelocal-editable-components-keyboard-events.html:
    * LayoutTests/fast/forms/month/month-editable-components/month-editable-components-keyboard-events-expected.txt:
    * LayoutTests/fast/forms/month/month-editable-components/month-editable-components-keyboard-events.html:
    * LayoutTests/fast/forms/time/time-editable-components/time-editable-components-keyboard-events-expected.txt:
    * LayoutTests/fast/forms/time/time-editable-components/time-editable-components-keyboard-events.html:
    * Source/WebCore/html/shadow/DateTimeEditElement.cpp:
    (WebCore::DateTimeEditElement::isFieldOwnerHorizontal const):
    * Source/WebCore/html/shadow/DateTimeEditElement.h:
    * Source/WebCore/html/shadow/DateTimeFieldElement.cpp:
    (WebCore::DateTimeFieldElement::defaultKeyboardEventHandler):
    (WebCore::DateTimeFieldElement::isFieldOwnerHorizontal const):
    * Source/WebCore/html/shadow/DateTimeFieldElement.h:
    
    Canonical link: https://commits.webkit.org/270480@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    149e23f View commit details
    Browse the repository at this point in the history
  111. [JSC] Fix addImmediateShouldSpeculateInt32 for case int32 + constant …

    …double
    
    https://bugs.webkit.org/show_bug.cgi?id=264278
    rdar://117563215
    
    Reviewed by Yusuke Suzuki.
    
    Current fixup phase would convert the DFG node
    
        ValueAdd(Int32, DoubleConstant)
    
    to
    
        ArithAdd(Int32, JSConstant(DoubleConstant))
    
    if the node is OK to be truncated to Int32. This is
    wrong. For example, let Int32 be -1 and DoubleConstant
    be 0.1 where
    
        ToInt32(-1 + 0.1) == 0
    
    but
    
        -1 + ToInt32(0.1) == -1
    
    . So, we should not speculate that node with Int32 in this case.
    
    * JSTests/stress/dfg-int32-add-non-int-double.js: Added.
    (foo):
    * Source/JavaScriptCore/dfg/DFGGraph.h:
    
    Canonical link: https://commits.webkit.org/270481@main
    hyjorc1 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8e39ed4 View commit details
    Browse the repository at this point in the history
  112. Add clear cursor feature for search commit and regress point in resul…

    …ts.webkit.org
    
    https://bugs.webkit.org/show_bug.cgi?id=256809
    rdar://108869264
    
    Reviewed by Jonathan Bedard.
    
    This patch add a clear button for search commits and regress points, this can let user clear the highlight cursor
    
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/css/search.css:
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/drawer.js:
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/timeline.js:
    * Tools/Scripts/libraries/resultsdbpy/resultsdbpy/view/static/library/js/components/TimelineComponents.js:
    
    Canonical link: https://commits.webkit.org/270482@main
    facetothefate authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d172eca View commit details
    Browse the repository at this point in the history
  113. [scroll-anchoring] Contract owning scroller rect for scroll padding

    https://bugs.webkit.org/show_bug.cgi?id=262342
    rdar://116209834
    
    Reviewed by Simon Fraser.
    
    Contract owning scroller rect for scroll padding.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/scroll-padding-affects-anchoring-expected.txt:
    * Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
    (WebCore::ScrollAnchoringController::examineCandidate):
    
    Canonical link: https://commits.webkit.org/270483@main
    nmoucht authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    fc79f0a View commit details
    Browse the repository at this point in the history
  114. jsc shell and testapi process should also have CaptivePortal entitlement

    https://bugs.webkit.org/show_bug.cgi?id=264432
    rdar://118131530
    
    Reviewed by Mark Lam.
    
    When JIT is disabled, the jsc shell and testapi process also needs
    to be able to allocate the Gigacage.
    
    * Source/JavaScriptCore/Scripts/process-entitlements.sh:
    
    Canonical link: https://commits.webkit.org/270484@main
    hyjorc1 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7f48824 View commit details
    Browse the repository at this point in the history
  115. [Gardening]: REGRESSION (270319@main): [Ventura+ iOS17 ]imported/w3c/…

    …web-platform-tests/css/css-cascade/idlharness.html is a flaky failure
    
    https://bugs.webkit.org/show_bug.cgi?id=264527
    rdar://118203546
    
    Unreviewed test gardening.
    
    Adding test expectation
    
    * LayoutTests/platform/ios/TestExpectations:
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270485@main
    martadarbinyan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    36c3ad5 View commit details
    Browse the repository at this point in the history
  116. markAllBackingStoreVolatileFromTimer can stop the volatility timer to…

    …o soon and not mark all surfaces as volatile.
    
    https://bugs.webkit.org/show_bug.cgi?id=264229
    <rdar://116711724>
    
    Reviewed by Simon Fraser.
    
    RemoteLayerWithRemoteRenderingBackingStoreCollection::markAllBackingStoreVolatileFromTimer stops the volatility timer if the operation is successful, since there should be no further backing stores to mark volatile.
    
    This is an async operation though, and it's possible for markBackingStoreVolatileAfterReachabilityChange to have been called in the interim and there are now new backing stores that aren't yet volatile.
    
    This change ensures that we reschedule the volatility timer if any markBackingStoreVolatileAfterReachabilityChange don't succesfully mark the relevant surfaces as volatile.
    
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerWithRemoteRenderingBackingStoreCollection.mm:
    (WebKit::RemoteLayerWithRemoteRenderingBackingStoreCollection::markBackingStoreVolatileAfterReachabilityChange):
    
    Canonical link: https://commits.webkit.org/270486@main
    mattwoodrow authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    34957db View commit details
    Browse the repository at this point in the history
  117. rdar://117803684 ([5d1fa25f3fa41fc3] ASAN_SEGV | WebCore::RenderBox::…

    …repaintLayerRectsForImage; WebCore::RenderBox::imageChanged; WebCore::CachedImage::notifyObservers)
    
    Reviewed by Matt Woodrow.
    
    This checks for a non-unexpected case where an Element has no direct layer to render to.
    
    * LayoutTests/fast/svg/svg_should_not_crash-expected.txt: Added.
    * LayoutTests/fast/svg/svg_should_not_crash.html: Added.
    * Source/WebCore/rendering/RenderBox.cpp:
    (WebCore::RenderBox::repaintLayerRectsForImage):
    
    Canonical link: https://commits.webkit.org/270487@main
    mscottapple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e30d0b5 View commit details
    Browse the repository at this point in the history
  118. Sync 'TouchList' with WebIDL Specification

    https://bugs.webkit.org/show_bug.cgi?id=264125
    
    Reviewed by Michael Catanzaro.
    
    This patch is to align 'TouchList.idl' with Web-Specification [1] by adding missing '?' in `getter`.
    
    [1] https://w3c.github.io/touch-events/#touchlist-interface
    
    * Source/WebCore/dom/TouchList.idl:
    
    Canonical link: https://commits.webkit.org/270488@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4c5dc84 View commit details
    Browse the repository at this point in the history
  119. Unreviewed, reverting 269859@main.

    https://bugs.webkit.org/show_bug.cgi?id=264534
    
    Caused CPU spins in some WebView client applications
    
    Reverted changeset:
    
    "REGRESSION (263917@main): [ macOS ] 3 inspector/timeline/timeline-event-Timer tests are a consistent failure"
    https://bugs.webkit.org/show_bug.cgi?id=260360
    https://commits.webkit.org/269859@main
    
    Canonical link: https://commits.webkit.org/270489@main
    webkit-commit-queue authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5a41b5a View commit details
    Browse the repository at this point in the history
  120. Unreviewed, reverting 270445@main.

    https://bugs.webkit.org/show_bug.cgi?id=264536
    
    Seems to have regressed binary size significantly
    
    Reverted changeset:
    
    "Port ControlPart related controls to the new IPC serialization format"
    https://bugs.webkit.org/show_bug.cgi?id=261819
    https://commits.webkit.org/270445@main
    
    Canonical link: https://commits.webkit.org/270490@main
    webkit-commit-queue authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    77425a5 View commit details
    Browse the repository at this point in the history
  121. Port GPUProcessPreferences to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264514
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/CMakeLists.txt:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/GPUProcess/GPUProcessPreferences.cpp:
    (WebKit::GPUProcessPreferences::encode const): Deleted.
    (WebKit::GPUProcessPreferences::decode): Deleted.
    * Source/WebKit/GPUProcess/GPUProcessPreferences.h:
    * Source/WebKit/GPUProcess/GPUProcessPreferences.serialization.in: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/270491@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0fde73f View commit details
    Browse the repository at this point in the history
  122. RE-BASELINE (Sonoma): 12 layout tests that are constantly failing fol…

    …lowing tester update to 14.1.
    
    rdar://118127050
    https://bugs.webkit.org/show_bug.cgi?id=264421
    
    Unreviewed test re-baseline.
    
    Re-baselining 12 layout tests that are constantly failing with text pixel differences following the tester update to 14.1.
    
    * LayoutTests/platform/mac-ventura/css1/box_properties/acid_test-expected.txt: Copied from LayoutTests/platform/mac/css1/box_properties/acid_test-expected.txt.
    * LayoutTests/platform/mac-ventura/css2.1/t09-c5526c-display-00-e-expected.txt: Copied from LayoutTests/platform/mac/css2.1/t09-c5526c-display-00-e-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/block/basic/011-expected.txt: Copied from LayoutTests/platform/mac/fast/block/basic/011-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/block/basic/minheight-expected.txt: Copied from LayoutTests/platform/mac/fast/block/basic/minheight-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/block/margin-collapse/103-expected.txt: Copied from LayoutTests/platform/mac/fast/block/margin-collapse/103-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/css/002-expected.txt: Copied from LayoutTests/platform/mac/fast/css/002-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/invalid/008-expected.txt: Copied from LayoutTests/platform/mac/fast/invalid/008-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/overflow/003-expected.txt: Copied from LayoutTests/platform/mac/fast/overflow/003-expected.txt.
    * LayoutTests/platform/mac-ventura/fast/text/basic/generic-family-reset-expected.txt: Copied from LayoutTests/platform/mac/fast/text/basic/generic-family-reset-expected.txt.
    * LayoutTests/platform/mac-ventura/scrollbars/overflow-scrollbar-combinations-expected.txt: Copied from LayoutTests/platform/mac/scrollbars/overflow-scrollbar-combinations-expected.txt.
    * LayoutTests/platform/mac-ventura/svg/custom/svg-fonts-in-html-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.txt.
    * LayoutTests/platform/mac/TestExpectations:
    * LayoutTests/platform/mac/css1/box_properties/acid_test-expected.txt:
    * LayoutTests/platform/mac/css2.1/t09-c5526c-display-00-e-expected.txt:
    * LayoutTests/platform/mac/fast/block/basic/011-expected.txt:
    * LayoutTests/platform/mac/fast/block/basic/minheight-expected.txt:
    * LayoutTests/platform/mac/fast/block/margin-collapse/103-expected.txt:
    * LayoutTests/platform/mac/fast/css/002-expected.txt:
    * LayoutTests/platform/mac/fast/invalid/008-expected.txt:
    * LayoutTests/platform/mac/fast/overflow/003-expected.txt:
    * LayoutTests/platform/mac/fast/text/basic/generic-family-reset-expected.txt:
    * LayoutTests/platform/mac/scrollbars/overflow-scrollbar-combinations-expected.txt:
    * LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
    * LayoutTests/platform/mac/tables/mozilla/bugs/bug2479-2-expected.txt:
    
    Canonical link: https://commits.webkit.org/270492@main
    bls1999 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0b55ffb View commit details
    Browse the repository at this point in the history
  123. [WPE] frameDisplayed may be called after View has been deleted

    https://bugs.webkit.org/show_bug.cgi?id=264360
    
    Reviewed by Michael Catanzaro.
    
    WKWPE::View is set as a client to wpe_view_backend in the view's
    constructor. Since the backend may live longer than the view,
    we reset clear the client in the view destuctor to avoid use
    after free similar to the one mentioned in the bug.
    
    * Source/WebKit/UIProcess/API/wpe/WPEView.cpp:
    (WKWPE::View::~View):
    
    Canonical link: https://commits.webkit.org/270493@main
    yury-s authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b1fb95e View commit details
    Browse the repository at this point in the history
  124. Add support for parsing Web Extension commands.

    https://bugs.webkit.org/show_bug.cgi?id=260157
    rdar://problem/114823250
    
    Reviewed by Brian Weinstein.
    
    Add support for parsing Web Extension commands and the new `_WKWebExtensionCommand`.
    This does not expose the `browser.commands` API yet, that will be next.
    
    The `_WKWebExtensionCommand` class supports customization by the app, which will
    be reflected back to the extensions in `browser.commands.getAll()`.
    
    * Source/WebCore/en.lproj/Localizable.strings: Updated.
    * Source/WebKit/Modules/OSX_Private.modulemap: Added new _WKWebExtensionCommand.
    * Source/WebKit/Modules/iOS_Private.modulemap: Ditto.
    * Source/WebKit/Shared/API/APIObject.h:
    * Source/WebKit/Shared/Cocoa/APIObject.mm:
    (API::Object::newObject):
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtension.h:
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtension.mm:
    (-[_WKWebExtension hasCommands]):
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionCommand.h: Added.
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionCommand.mm: Added.
    (-[_WKWebExtensionCommand dealloc]):
    (-[_WKWebExtensionCommand hash]):
    (-[_WKWebExtensionCommand isEqual:]):
    (-[_WKWebExtensionCommand description]):
    (-[_WKWebExtensionCommand debugDescription]):
    (-[_WKWebExtensionCommand webExtensionContext]):
    (-[_WKWebExtensionCommand identifier]):
    (-[_WKWebExtensionCommand discoverabilityTitle]):
    (-[_WKWebExtensionCommand activationKey]):
    (-[_WKWebExtensionCommand setActivationKey:]):
    (-[_WKWebExtensionCommand modifierFlags]):
    (-[_WKWebExtensionCommand setModifierFlags:]):
    (-[_WKWebExtensionCommand _apiObject]):
    (-[_WKWebExtensionCommand _webExtensionCommand]):
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionCommandInternal.h: Added.
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionCommandPrivate.h: Added.
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionContext.h:
    * Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionContext.mm:
    (-[_WKWebExtensionContext commands]):
    (-[_WKWebExtensionContext performCommand:]):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm:
    (WebKit::toAPI):
    (WebKit::WebExtension::createError):
    (WebKit::WebExtension::errors):
    (WebKit::WebExtension::commands):
    (WebKit::WebExtension::hasCommands):
    (WebKit::parseCommandShortcut):
    (WebKit::WebExtension::populateCommandsIfNeeded):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCommandCocoa.mm: Added.
    (WebKit::WebExtensionCommand::setActivationKey):
    (WebKit::WebExtensionCommand::setModifierFlags):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
    (WebKit::WebExtensionContext::commands):
    (WebKit::WebExtensionContext::performCommand):
    * Source/WebKit/UIProcess/Extensions/WebExtension.h:
    * Source/WebKit/UIProcess/Extensions/WebExtensionCommand.cpp: Added.
    (WebKit::WebExtensionCommand::WebExtensionCommand):
    (WebKit::WebExtensionCommand::operator== const):
    (WebKit::WebExtensionCommand::extensionContext const):
    * Source/WebKit/UIProcess/Extensions/WebExtensionCommand.h: Added.
    (WebKit::WebExtensionCommand::create):
    (WebKit::WebExtensionCommand::identifier const):
    (WebKit::WebExtensionCommand::description const):
    (WebKit::WebExtensionCommand::activationKey const):
    (WebKit::WebExtensionCommand::modifierFlags const):
    (WebKit::WebExtensionCommand::wrapper const):
    * Source/WebKit/UIProcess/Extensions/WebExtensionContext.h:
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtension.mm:
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionContext.mm:
    (TestWebKitAPI::TEST):
    
    Canonical link: https://commits.webkit.org/270494@main
    xeenon authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3e1e97a View commit details
    Browse the repository at this point in the history
  125. [Gardening]: [ iOS ] compositing/video/video-border-radius-clipping.h…

    …tml is a consistent image failure.
    
    rdar://104152683
    
    Unreviewed test gardening.
    
    Removing outdated test expectations.
    
    * LayoutTests/platform/ios/TestExpectations:
    * LayoutTests/platform/mac-wk2/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270495@main
    bls1999 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    84d170d View commit details
    Browse the repository at this point in the history
  126. [Gardening]: REGRESSION(Sonoma 14.1+): [ Sonoma ] css3/filters/effect…

    …-opacity-hw.html is a constant ImageOnlyFailure.
    
    rdar://118212252
    https://bugs.webkit.org/show_bug.cgi?id=264544
    
    Unreviewed test gardening.
    
    Updating Bugzilla links for individual bugs under umbrella bug.
    
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270496@main
    bls1999 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f07710c View commit details
    Browse the repository at this point in the history
  127. Assert that several private protocol methods are never called when as…

    …ync interactions are enabled
    
    https://bugs.webkit.org/show_bug.cgi?id=264522
    rdar://118202852
    
    Reviewed by Tim Horton, Megan Gardner and Abrar Rahman Protyasha.
    
    Add several release assertions to make it easier to identify cases where legacy UIKit SPIs are still
    being exercised, in the case where these SPI methods are invoked, but the async interactions are
    enabled in WebKit.
    
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView startAutoscroll:]):
    (-[WKContentView scrollSelectionToVisible:]):
    (-[WKContentView requestAutocorrectionRectsForString:withCompletionHandler:]):
    (-[WKContentView applyAutocorrection:toString:isCandidate:withCompletionHandler:]):
    (-[WKContentView requestAutocorrectionContextWithCompletionHandler:]):
    (-[WKContentView modifierFlagsDidChangeFrom:to:]):
    (-[WKContentView handleKeyWebEvent:withCompletionHandler:]):
    (-[WKContentView _internalHandleKeyWebEvent:withCompletionHandler:]):
    (-[WKContentView requestRVItemInSelectedRangeWithCompletionHandler:]):
    (-[WKContentView prepareSelectionForContextMenuWithLocationInView:completionHandler:]):
    (-[WKContentView handleAsyncKeyEvent:withCompletionHandler:]):
    (-[WKContentView handleKeyWebEvent:]): Deleted.
    
    Canonical link: https://commits.webkit.org/270497@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    f809bfb View commit details
    Browse the repository at this point in the history
  128. Fix bad cases of refcounted objects being stored in std::unique_ptr

    https://bugs.webkit.org/show_bug.cgi?id=261280
    rdar://115122287
    
    Reviewed by David Kilzer and Alex Christensen.
    
    In Bug 261224, I fixed a security bug where an object was refcounted but was
    incorrectly stored in a std::unique_ptr<>, leading to use-after-frees.
    
    In this patch, I am adding a check to WTF::makeUnique<T>() to fail if T::ref()
    exists. This founds bugs / unsafe code, which I am fixing in this patch.
    
    There is also a common pattern in our code where an object implements ref() &
    deref() to forward the refcounting to their owner. In turn, the owner then owns
    the object via a std::unique_ptr<>. This is obviously tripping my check and yet
    this is usually safe. As a result, I am introducing a
    makeUniqueWithoutRefCountedCheck() for these cases.
    
    * Source/JavaScriptCore/wasm/WasmWorklist.cpp:
    (JSC::Wasm::Worklist::Worklist):
    * Source/JavaScriptCore/wasm/WasmWorklist.h:
    * Source/WTF/wtf/StdLibExtras.h:
    (WTF::makeUnique):
    (WTF::makeUniqueWithoutRefCountedCheck):
    (WTF::makeUniqueWithoutFastMallocCheck):
    * Source/WebCore/Modules/indexeddb/client/IDBConnectionToServer.cpp:
    (WebCore::IDBClient::IDBConnectionToServer::IDBConnectionToServer):
    * Source/WebCore/Modules/push-api/ServiceWorkerRegistrationPushAPI.cpp:
    (WebCore::ServiceWorkerRegistrationPushAPI::pushManager):
    * Source/WebCore/css/CSSGroupingRule.cpp:
    (WebCore::CSSGroupingRule::cssRules const):
    * Source/WebCore/css/CSSKeyframesRule.cpp:
    (WebCore::CSSKeyframesRule::cssRules):
    * Source/WebCore/css/CSSStyleRule.cpp:
    (WebCore::CSSStyleRule::cssRules const):
    * Source/WebCore/dom/DataTransfer.cpp:
    (WebCore::DataTransfer::items):
    * Source/WebCore/dom/Document.cpp:
    (WebCore::Document::implementation):
    * Source/WebCore/dom/Element.cpp:
    (WebCore::Element::attributes const):
    (WebCore::Element::classList):
    (WebCore::Element::part):
    (WebCore::Element::dataset):
    (WebCore::Element::ensureFormAssociatedCustomElement):
    * Source/WebCore/html/HTMLAnchorElement.cpp:
    (WebCore::HTMLAnchorElement::relList):
    * Source/WebCore/html/HTMLCanvasElement.cpp:
    (WebCore::HTMLCanvasElement::transferControlToOffscreen):
    * Source/WebCore/html/HTMLFormElement.cpp:
    (WebCore::HTMLFormElement::relList):
    * Source/WebCore/html/HTMLIFrameElement.cpp:
    (WebCore::HTMLIFrameElement::sandbox):
    * Source/WebCore/html/HTMLLinkElement.cpp:
    (WebCore::HTMLLinkElement::sizes):
    (WebCore::HTMLLinkElement::relList):
    * Source/WebCore/html/HTMLOutputElement.cpp:
    (WebCore::HTMLOutputElement::htmlFor):
    * Source/WebCore/svg/SVGAElement.cpp:
    (WebCore::SVGAElement::relList):
    * Source/WebCore/xml/XMLHttpRequest.cpp:
    (WebCore::XMLHttpRequest::upload):
    * Source/WebKit/WebProcess/GPU/GPUProcessConnection.cpp:
    (WebKit::GPUProcessConnection::mediaPlayerManager):
    (WebKit::GPUProcessConnection::dispatchMessage):
    * Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp:
    (WebKit::RemoteImageDecoderAVFManager::create):
    (WebKit::RemoteImageDecoderAVFManager::RemoteImageDecoderAVFManager): Deleted.
    (WebKit::RemoteImageDecoderAVFManager::supplementName): Deleted.
    * Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.h:
    * Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.cpp:
    (WebKit::RemoteMediaPlayerManager::create):
    (WebKit::RemoteMediaPlayerManager::RemoteMediaPlayerManager): Deleted.
    (WebKit::RemoteMediaPlayerManager::~RemoteMediaPlayerManager): Deleted.
    (WebKit::RemoteMediaPlayerManager::supplementName): Deleted.
    * Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.h:
    * Source/WebKit/WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::updatePreferences):
    * Source/WebKit/WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::WebProcess):
    (WebKit::WebProcess::initializeWebProcess):
    * Source/WebKit/WebProcess/WebProcess.h:
    (WebKit::WebProcess::remoteMediaPlayerManager):
    (WebKit::WebProcess::remoteImageDecoderAVFManager):
    * Tools/TestWebKitAPI/Tests/WTF/RobinHoodHashMap.cpp:
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/WTF/RobinHoodHashSet.cpp:
    (TestWebKitAPI::TEST):
    
    Originally-landed-as: 265870.533@safari-7616-branch (f5992c6c2848). rdar://118127983
    Canonical link: https://commits.webkit.org/270498@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5aed7dd View commit details
    Browse the repository at this point in the history
  129. Port ScrollingAccelerationCurve to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264526
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/CMakeLists.txt:
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Shared/ScrollingAccelerationCurve.cpp:
    (WebKit::ScrollingAccelerationCurve::encode const): Deleted.
    (WebKit::ScrollingAccelerationCurve::decode): Deleted.
    * Source/WebKit/Shared/ScrollingAccelerationCurve.h:
    (WebKit::ScrollingAccelerationCurve::gainLinear const):
    (WebKit::ScrollingAccelerationCurve::gainParabolic const):
    (WebKit::ScrollingAccelerationCurve::gainCubic const):
    (WebKit::ScrollingAccelerationCurve::gainQuartic const):
    (WebKit::ScrollingAccelerationCurve::tangentSpeedLinear const):
    (WebKit::ScrollingAccelerationCurve::tangentSpeedParabolicRoot const):
    (WebKit::ScrollingAccelerationCurve::resolution const):
    * Source/WebKit/Shared/ScrollingAccelerationCurve.serialization.in: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/270499@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    93b31fa View commit details
    Browse the repository at this point in the history
  130. Port BufferAndBackendInfo to new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264519
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Shared/RemoteLayerTree/BufferAndBackendInfo.h: Added.
    (WebKit::BufferAndBackendInfo::fromImageBuffer):
    * Source/WebKit/Shared/RemoteLayerTree/BufferAndBackendInfo.serialization.in: Added.
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.h:
    (WebKit::BufferAndBackendInfo::BufferAndBackendInfo): Deleted.
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
    (WebKit::RemoteLayerBackingStore::encode const):
    (WebKit::BufferAndBackendInfo::encode const): Deleted.
    (WebKit::BufferAndBackendInfo::decode): Deleted.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/270500@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e0d7f25 View commit details
    Browse the repository at this point in the history
  131. [UnifiedPDF] Use a tiled layer for rendering

    https://bugs.webkit.org/show_bug.cgi?id=264539
    rdar://114831923
    
    Reviewed by Simon Fraser.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDocumentLayout.mm:
    (WebKit::PDFDocumentLayout::documentMargin):
    (WebKit::PDFDocumentLayout::pageMargin):
    Adjust margins to match PDFExtensionViewController (the PDFLayerController
    numbers are similar but confusingly nonintegral, and that seems nonideal).
    
    (WebKit::PDFDocumentLayout::layoutSingleColumn):
    (WebKit::PDFDocumentLayout::layoutTwoUpColumn):
    m_documentBounds is in document space (below the scaling), so use the unscaled
    width here.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    (WebKit::UnifiedPDFPlugin::updateLayerHierarchy):
    Make a tiled layer.
    
    (WebKit::UnifiedPDFPlugin::notifyFlushRequired):
    (WebKit::UnifiedPDFPlugin::didChangeIsInWindow):
    Implement some tiled layer dependencies.
    
    (WebKit::UnifiedPDFPlugin::paintContents):
    Use the document size instead of view size in various places, fixing rendering once you scroll.
    Also, paint the background color into the layer.
    
    Canonical link: https://commits.webkit.org/270501@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    edb2263 View commit details
    Browse the repository at this point in the history
  132. [JSC] Prefer full GC on opportunistic GC when navigation happens

    https://bugs.webkit.org/show_bug.cgi?id=264492
    rdar://118179290
    
    Reviewed by Wenson Hsieh.
    
    Previously, when navigation happens, opportunistic GC may perform full GC.
    But this happens only when GC statistics says "we should do full GC instead of eden GC
    based on memory usage".
    
    But this happens only when navigation happens, and if we have enough time, then it is
    nice if we can just do full GC instead of eden GC even though we are not reaching to
    full GC threshold since (1) there are out-living objects and they can be collected only
    in full GC and (2) it is likely that most of objects are already garbage when navigation
    happens regardless of allocation threshold.
    
    This patch changes scheduleOpportunisticFullCollectionIfNeeded to attempt to perform full
    GC always when navigation happens.
    
    * Source/JavaScriptCore/heap/Heap.cpp:
    (JSC::Heap::scheduleOpportunisticFullCollectionIfNeeded):
    
    Canonical link: https://commits.webkit.org/270502@main
    Constellation authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    6de9a1d View commit details
    Browse the repository at this point in the history
  133. Check for webNavigation permission before dispatching events

    https://bugs.webkit.org/show_bug.cgi?id=264542
    rdar://102820594
    
    Reviewed by Timothy Hatcher.
    
    This PR also updates the webNavigation tests so they to continue working.
    
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerCocoa.mm:
    (WebKit::WebExtensionController::didStartProvisionalLoadForFrame):
    (WebKit::WebExtensionController::didCommitLoadForFrame):
    (WebKit::WebExtensionController::didFinishLoadForFrame):
    (WebKit::WebExtensionController::didFailLoadForFrame):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIWebNavigation.mm:
    (TestWebKitAPI::TEST):
    
    Canonical link: https://commits.webkit.org/270503@main
    b-weinstein authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    114ec66 View commit details
    Browse the repository at this point in the history
  134. Fix the build after 270501@main

    https://bugs.webkit.org/show_bug.cgi?id=264548
    rdar://118216881
    
    Unreviewed build fix.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    
    Canonical link: https://commits.webkit.org/270504@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    981103d View commit details
    Browse the repository at this point in the history
  135. Port WebCompiledContentRuleListData to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264538
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/NetworkProcess/NetworkContentRuleListManager.cpp:
    (WebKit::NetworkContentRuleListManager::addContentRuleLists):
    * Source/WebKit/Shared/WebCompiledContentRuleList.cpp:
    (WebKit::WebCompiledContentRuleList::create):
    * Source/WebKit/Shared/WebCompiledContentRuleList.h:
    * Source/WebKit/Shared/WebCompiledContentRuleListData.cpp:
    (WebKit::WebCompiledContentRuleListData::createDataHandle const):
    (WebKit::WebCompiledContentRuleListData::WebCompiledContentRuleListData):
    (WebKit::WebCompiledContentRuleListData::encode const): Deleted.
    (WebKit::WebCompiledContentRuleListData::decode): Deleted.
    * Source/WebKit/Shared/WebCompiledContentRuleListData.h:
    * Source/WebKit/Shared/WebCompiledContentRuleListData.serialization.in: Added.
    * Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp:
    (API::createExtension):
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Source/WebKit/WebProcess/UserContent/WebUserContentController.cpp:
    (WebKit::WebUserContentController::addContentRuleLists):
    
    Canonical link: https://commits.webkit.org/270505@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ea4cfa8 View commit details
    Browse the repository at this point in the history
  136. Port RemoteScrollingUIState to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264523
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in:
    * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingUIState.cpp:
    (WebKit::RemoteScrollingUIState::RemoteScrollingUIState):
    (WebKit::emptyNodesHashSet):
    (WebKit::RemoteScrollingUIState::nodesWithActiveScrollSnapIfChanged const):
    (WebKit::RemoteScrollingUIState::nodesWithActiveUserScrollsIfChanged const):
    (WebKit::RemoteScrollingUIState::nodesWithActiveRubberbandIfChanged const):
    (WebKit::RemoteScrollingUIState::encode const): Deleted.
    (WebKit::RemoteScrollingUIState::decode): Deleted.
    * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingUIState.h:
    * Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingUIState.serialization.in: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/270506@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    23f999b View commit details
    Browse the repository at this point in the history
  137. Build fix for "[Xcode] Support building into a WebKit-specific produc…

    …ts directory for archival purposes"
    
    https://bugs.webkit.org/show_bug.cgi?id=264214
    rdar://117948754
    
    Unreviewed.
    
    Xcode's run action uses an in-process (non-XCBuild) codepath for
    resolving build settings, which struggles to expand $(inherited) for
    CONFIGURATION_BUILD_DIR (rdar://118201428).
    
    Replace with a semantically equivalent definition that does not use
    $(inherited).
    
    * Configurations/WebKitProjectPaths.xcconfig:
    
    Canonical link: https://commits.webkit.org/270507@main
    emw-apple authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e9405dc View commit details
    Browse the repository at this point in the history
  138. [scroll-animations] add the ViewTimeline interface

    https://bugs.webkit.org/show_bug.cgi?id=264411
    
    Reviewed by Chris Dumez.
    
    The Scroll-driven Animations spec introduces a new ViewTimeline subclass of AnimationTimeline.
    We add the IDL and supporting code for this interface as well as the supporting ViewTimelineOptions
    dictionary, both behind the appropriate runtime flag.
    
    We're skipping some additional tests because merely exposing the ViewTimeline interface makes some
    tests progress further and turn early failures into timeouts for unfulfilled promises.
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/animation-events-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/animation-events-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/block-view-timeline-current-time-vertical-rl.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/block-view-timeline-current-time.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/block-view-timeline-nested-subject.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/get-keyframes-with-timeline-offset-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/inline-view-timeline-current-time.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-1-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-2-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-3-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-4-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-5-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-6-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-7-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/timeline-offset-in-keyframe-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/unattached-subject-inset-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-get-current-time-range-name-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-get-set-range-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-inset-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-missing-subject-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-on-display-none-element-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-range-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-range-large-subject-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-root-source-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-snapport-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-source.tentative-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-sticky-block-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-sticky-inline-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-subject-size-changes-expected.txt:
    * Source/WebCore/CMakeLists.txt:
    * Source/WebCore/DerivedSources-input.xcfilelist:
    * Source/WebCore/DerivedSources-output.xcfilelist:
    * Source/WebCore/DerivedSources.make:
    * Source/WebCore/Sources.txt:
    * Source/WebCore/WebCore.xcodeproj/project.pbxproj:
    * Source/WebCore/animation/AnimationTimeline.h:
    (WebCore::AnimationTimeline::isViewTimeline const):
    * Source/WebCore/animation/ViewTimeline.cpp: Copied from Source/WebCore/animation/AnimationTimeline.h.
    (WebCore::ViewTimeline::create):
    (WebCore::ViewTimeline::ViewTimeline):
    * Source/WebCore/animation/ViewTimeline.h: Copied from Source/WebCore/animation/AnimationTimeline.h.
    * Source/WebCore/animation/ViewTimeline.idl: Added.
    * Source/WebCore/animation/ViewTimelineOptions.h: Copied from Source/WebCore/animation/AnimationTimeline.h.
    * Source/WebCore/animation/ViewTimelineOptions.idl: Added.
    * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
    
    Canonical link: https://commits.webkit.org/270508@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    588563f View commit details
    Browse the repository at this point in the history
  139. Assign generic role to aside tag within the sectioning content elements

    https://bugs.webkit.org/show_bug.cgi?id=235065
    rdar://problem/87391915
    
    Reviewed by Tyler Wilcock.
    
    This change assigns a generic ARIA role to <aside> elements when they are nested
    within <aside>, <article>, <section>, or <nav> elements, aligning with the spec
    (https://w3c.github.io/html-aam/#el-aside).
    This follows the discussion in w3c/html-aam#512
    
    Additionally, it introduces a check to return LandmarkComplementary when an <aside>
    tag has an explicit accessible name.
    
    * LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual.html:
    * Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::determineAccessibilityRoleFromNode const):
    
    Canonical link: https://commits.webkit.org/270509@main
    Joone Hur authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d9dc5b6 View commit details
    Browse the repository at this point in the history
  140. REGRESSION (270237@main): ASSERTION FAILED: !m_deletionHasBegun in Re…

    …fCountedBase::hasOneRef() when running media/media-source/mock-managedmse-bufferedchange.html
    
    https://bugs.webkit.org/show_bug.cgi?id=264535
    rdar://problem/118206047
    
    Reviewed by Jer Noble.
    
    media/media-source/mock-managedmse-bufferedchange.html (and others) crash in Debug builds when
    HAVE(AVSAMPLEBUFFERDISPLAYLAYER_READYFORDISPLAY) is enabled due to an attempt to ref() an instance
    of SourceBufferPrivateAVFObjC in its destructor.
    
    Addressed this by partially reverting 270237@main to not create RefPtrs when getting
    WebAVSampleBufferListener's _parent WeakPtr.
    
    No new tests; covered by existing tests.
    
    * Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
    (-[WebAVSampleBufferListener observeValueForKeyPath:ofObject:change:context:]):
    (-[WebAVSampleBufferListener layerFailedToDecode:]):
    (-[WebAVSampleBufferListener layerRequiresFlushToResumeDecodingChanged:]):
    (-[WebAVSampleBufferListener layerReadyForDisplayChanged:]):
    (-[WebAVSampleBufferListener audioRendererWasAutomaticallyFlushed:]):
    
    Canonical link: https://commits.webkit.org/270510@main
    aestes authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c5ca376 View commit details
    Browse the repository at this point in the history
  141. [WPT] Sync css/css-nesting

    https://bugs.webkit.org/show_bug.cgi?id=264515
    rdar://118197558
    
    Reviewed by Tim Nguyen.
    
    WPT @ 70bbf2794df7512689347271be4a45ccb7ff9e8f
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-001-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-001.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-002-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-002.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-003-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-003.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-004-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-004.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-005-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/host-nesting-005.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/implicit-nesting-ident-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/implicit-nesting-ident-recovery-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/implicit-nesting-ident-recovery.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/implicit-nesting-ident.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/w3c-import.log:
    
    Canonical link: https://commits.webkit.org/270511@main
    mdubet authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    43948b8 View commit details
    Browse the repository at this point in the history
  142. Build fix when SERVICE_WORKER is disabled

    https://bugs.webkit.org/show_bug.cgi?id=264383
    
    Reviewed by Chris Dumez.
    
    When SERVICE_WORKER is disabled, building WebKit fails because WorkerGlobalScope.h
    is not included in Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h
    
    * Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h:
    
    Canonical link: https://commits.webkit.org/270512@main
    tKnmori authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1e8517b View commit details
    Browse the repository at this point in the history
  143. [pdf] 270501@main broke the build

    https://bugs.webkit.org/show_bug.cgi?id=264557
    
    Unreviewed build fix.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    
    Canonical link: https://commits.webkit.org/270513@main
    graouts authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3734115 View commit details
    Browse the repository at this point in the history
  144. Generate IPC serialization for WebCore::WheelEventTestMonitor::DeferR…

    …eason
    
    https://bugs.webkit.org/show_bug.cgi?id=264405
    
    Reviewed by Chris Dumez.
    
    Move the WheelEventTestMonitor::DeferReason enum outside the WheelEventTestMonitor
    class and turn it into an enumerated scope, providing a type alias inside the
    WheelEventTestMonitor class and updating the uses of the enumeration values.
    
    This enables specifying IPC serialization for this enumeration, avoiding listing
    all the enumeration values in the EnumTraits specialization that can now be
    removed. The two messages in the RemoteScrollingCoordinator IPC interface are
    updated to handle these enumeration values as OptionSets, also requiring to
    adjust the deferForReason and removeDeferralForReason methods on the
    WheelEventTestMonitor class to work with OptionSet parameters.
    
    * Source/WebCore/page/WheelEventTestMonitor.cpp:
    (WebCore::WheelEventTestMonitor::deferForReason):
    (WebCore::WheelEventTestMonitor::removeDeferralForReason):
    (WebCore::operator<<):
    * Source/WebCore/page/WheelEventTestMonitor.h:
    (): Deleted.
    * Source/WebCore/page/scrolling/ThreadedScrollingCoordinator.cpp:
    (WebCore::ThreadedScrollingCoordinator::handleWheelEventForScrolling):
    * Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp:
    (WebCore::ThreadedScrollingTree::scrollingTreeNodeDidScroll):
    * Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm:
    (WebCore::ScrollingTreeScrollingNodeDelegateMac::handleWheelEvent):
    * Source/WebCore/page/scrolling/nicosia/ScrollingTreeScrollingNodeDelegateNicosia.cpp:
    (WebCore::ScrollingTreeScrollingNodeDelegateNicosia::handleWheelEvent):
    * Source/WebCore/platform/ScrollingEffectsController.cpp:
    (WebCore::ScrollingEffectsController::startScrollSnapAnimation):
    (WebCore::ScrollingEffectsController::stopScrollSnapAnimation):
    (WebCore::ScrollingEffectsController::scrollAnimationWillStart):
    (WebCore::ScrollingEffectsController::scrollAnimationDidEnd):
    * Source/WebCore/platform/mac/ScrollbarsControllerMac.mm:
    (WebCore::ScrollbarsControllerMac::didBeginScrollGesture):
    (WebCore::ScrollbarsControllerMac::didEndScrollGesture):
    (WebCore::ScrollbarsControllerMac::sendContentAreaScrolledTimerFired):
    (WebCore::ScrollbarsControllerMac::sendContentAreaScrolledSoon):
    * Source/WebCore/platform/mac/ScrollingEffectsController.mm:
    (WebCore::ScrollingEffectsController::willStartRubberBandAnimation):
    (WebCore::ScrollingEffectsController::didStopRubberBandAnimation):
    (WebCore::ScrollingEffectsController::scheduleDiscreteScrollSnap):
    (WebCore::ScrollingEffectsController::discreteSnapTransitionTimerFired):
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.h:
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.messages.in:
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollingCoordinator.mm:
    (WebKit::RemoteScrollingCoordinator::startDeferringScrollingTestCompletionForNode):
    (WebKit::RemoteScrollingCoordinator::stopDeferringScrollingTestCompletionForNode):
    
    Canonical link: https://commits.webkit.org/270514@main
    zdobersek authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    545fbb0 View commit details
    Browse the repository at this point in the history
  145. REGRESSION(265098@main): [DEBUG] build fails

    https://bugs.webkit.org/show_bug.cgi?id=264472
    
    Reviewed by Philippe Normand.
    
    Since enum UseKind is uint8_t it is not needed to assert it is >= 0.
    
    * Source/JavaScriptCore/dfg/DFGEdge.h:
    (JSC::DFG::Edge::makeWord):
    
    Canonical link: https://commits.webkit.org/270515@main
    pgorszkowski-igalia authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    6f0012f View commit details
    Browse the repository at this point in the history
  146. [iOS] svh/dvh units are unexpectedly equal when Safari tab bar is…

    … not visible
    
    https://bugs.webkit.org/show_bug.cgi?id=261185
    rdar://115085360
    
    Reviewed by Wenson Hsieh.
    
    The SPI `-[WKWebView _overrideLayoutParametersWithMinimumLayoutSize:maximumUnobscuredSizeOverride:]`
    is underspecified, and clients calling into this method conflate
    `minimumLayoutSize` as _the_ current layout size. This is not appropriate
    for us to use as the `minimumUnobscuredSizeOverride` because the current
    layout size may not be computed in light of the fact that some dynamic
    UI of a client is not visible.
    
    To address this issue, we update the SPI signature to include a new
    `minimumUnobscuredSizeOverride` argument, following the precedence set
    by the `maximumUnobscuredSizeOverride` parameter, which callers should
    populate with the minimum unobscured layout size assuming all dynamic UI
    is expanded.
    
    We also update some API tests that call this SPI and reflect the
    semantics of the new argument in the updated test expectations.
    
    * Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:
    * Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
    (-[WKWebView _overrideLayoutParametersWithMinimumLayoutSize:maximumUnobscuredSizeOverride:]):
    (-[WKWebView _overrideLayoutParametersWithMinimumLayoutSize:minimumUnobscuredSizeOverride:maximumUnobscuredSizeOverride:]):
    * Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
    (WebKit::WKWebViewState::applyTo):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
    (TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm:
    (TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm:
    (TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/RestoreScrollPosition.mm:
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm:
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:
    (TestWebKitAPI::TEST):
    * Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:
    (-[PlatformWebViewController viewWillTransitionToSize:withTransitionCoordinator:]):
    
    Canonical link: https://commits.webkit.org/270516@main
    aprotyas authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    785eab2 View commit details
    Browse the repository at this point in the history
  147. [GTK][WPE] Release tarballs contain unused bundled libavif and dav1d

    https://bugs.webkit.org/show_bug.cgi?id=263786
    
    Unreviewed. Exclude the new path of libavif.
    
    * Tools/gtk/manifest.txt.in:
    * Tools/wpe/manifest.txt.in:
    
    Canonical link: https://commits.webkit.org/270517@main
    carlosgcampos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    89b868a View commit details
    Browse the repository at this point in the history
  148. Unreviewed. [GTK][WPE] Fix make-dist after 270273@main

    Locale files now use a different extension.
    
    * Tools/gtk/manifest.txt.in:
    * Tools/wpe/manifest.txt.in:
    
    Canonical link: https://commits.webkit.org/270518@main
    carlosgcampos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2454816 View commit details
    Browse the repository at this point in the history
  149. Throw exception if querying SVGAnimationElement with unresolved interval

    https://bugs.webkit.org/show_bug.cgi?id=264543
    
    Reviewed by Said Abou-Hallawa.
    
    This patch is to align WebKit with Blink / Chromium, Gecko / Firefox and Web Specification [1].
    
    [1] https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement
    
    For 'getStartTime', it throws 'DOMException' (NVALID_STATE_ERR) and for 'getSimpleDuration', it throws 'DOMException' (NOT_SUPPORTED_ERR).
    
    * Source/WebCore/svg/SVGAnimationElement.cpp:
    (SVGAnimationElement::getStartTime):
    (SVGAnimationElement::getSimpleDuration):
    * Source/WebCore/svg/SVGAnimationElement.h:
    * LayoutTests/imported/w3c/web-platform-tests/svg/animations/scripted/SVGAnimationElement-exceptions-expected.txt: Rebaselined
    
    Canonical link: https://commits.webkit.org/270519@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    4484b1b View commit details
    Browse the repository at this point in the history
  150. [Wasm-GC] Implement packed types in struct fields

    https://bugs.webkit.org/show_bug.cgi?id=246981
    
    Reviewed by Justin Michaud.
    
    Adds support for packed types (i8, i16) to Wasm GC struct types.
    The implementation is similar to packed array support.
    
    This enables struct.js tests from the GC proposal spec testsuite to run
    (from commit e5d10bafbbeec8227de40314edd8f26f0bb69130).
    
    Also updates the test version of wasm.json, which was overlooked in
    previous patches.
    
    * JSTests/wasm/gc-spec-tests/struct.wast.js: Added.
    * JSTests/wasm/gc/structs.js:
    (testStructPacked):
    * JSTests/wasm/wasm.json:
    * Source/JavaScriptCore/bytecode/BytecodeList.rb:
    * Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:
    (JSC::Wasm::B3IRGenerator::emitStructSet):
    (JSC::Wasm::B3IRGenerator::addStructGet):
    * Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
    (JSC::Wasm::BBQJIT::emitStructSet):
    (JSC::Wasm::BBQJIT::addStructGet):
    * Source/JavaScriptCore/wasm/WasmConstExprGenerator.cpp:
    * Source/JavaScriptCore/wasm/WasmFunctionParser.h:
    (JSC::Wasm::FunctionParser<Context>::parseExpression):
    * Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
    (JSC::Wasm::IPIntGenerator::addStructGet):
    * Source/JavaScriptCore/wasm/WasmLLIntGenerator.cpp:
    (JSC::Wasm::LLIntGenerator::addStructGet):
    * Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
    (JSC::Wasm::structNew):
    (JSC::Wasm::structSet):
    * Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
    (JSC::Wasm::SectionParser::parseStructType):
    * Source/JavaScriptCore/wasm/WasmSlowPaths.cpp:
    (JSC::LLInt::WASM_SLOW_PATH_DECL):
    * Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.cpp:
    (JSC::JSWebAssemblyStruct::get const):
    (JSC::JSWebAssemblyStruct::set):
    * Source/JavaScriptCore/wasm/wasm.json:
    
    Canonical link: https://commits.webkit.org/270520@main
    takikawa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5954fba View commit details
    Browse the repository at this point in the history
  151. [WGSL] Add missing tests for 270436@main

    https://bugs.webkit.org/show_bug.cgi?id=264497
    rdar://118180741
    
    Reviewed by Mike Wyrzykowski.
    
    For some reason the test wasn't included in the original commit.
    
    * Source/WebGPU/WGSL/tests/invalid/constants.wgsl: Added.
    
    Canonical link: https://commits.webkit.org/270521@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    57bd8e8 View commit details
    Browse the repository at this point in the history
  152. [WGSL] Organize type declarations and respective tests

    https://bugs.webkit.org/show_bug.cgi?id=264495
    rdar://118180528
    
    Reviewed by Mike Wyrzykowski.
    
    Sort the entries, add fixmes for the few missing functions and update the header
    numbers that became incorrect due to changes in the spec.
    
    * Source/WebGPU/WGSL/TypeDeclarations.rb:
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270522@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    923ce50 View commit details
    Browse the repository at this point in the history
  153. Add support for the Web Extension commands API and events.

    https://bugs.webkit.org/show_bug.cgi?id=260157
    rdar://problem/114823250
    
    Reviewed by Brent Fulgham.
    
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources-output.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Scripts/webkit/messages.py:
    (types_that_cannot_be_forward_declared):
    * Source/WebKit/Shared/Extensions/WebExtensionCommandParameters.h: Added.
    * Source/WebKit/Shared/Extensions/WebExtensionCommandParameters.serialization.in: Added.
    * Source/WebKit/Shared/Extensions/WebExtensionEventListenerType.h: Added CommandsOnChanged and sorted.
    * Source/WebKit/Shared/Extensions/WebExtensionEventListenerType.serialization.in: Ditto.
    * Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPICommandsCocoa.mm: Added.
    (WebKit::WebExtensionContext::commandsGetAll):
    (WebKit::WebExtensionContext::fireCommandEventIfNeeded):
    (WebKit::WebExtensionContext::fireCommandChangedEventIfNeeded):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCocoa.mm:
    (WebKit::WebExtension::hasAction): Added.
    (WebKit::WebExtension::hasBrowserAction): Added.
    (WebKit::WebExtension::hasPageAction): Added.
    (WebKit::WebExtension::populateCommandsIfNeeded): Added action command.
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionCommandCocoa.mm:
    (WebKit::WebExtensionCommand::dispatchChangedEventSoonIfNeeded): Added.
    (WebKit::WebExtensionCommand::setActivationKey): Call dispatchChangedEventSoonIfNeeded().
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
    (WebKit::WebExtensionContext::performCommand): Call performAction() and fireCommandEventIfNeeded().
    * Source/WebKit/UIProcess/Extensions/WebExtension.h:
    * Source/WebKit/UIProcess/Extensions/WebExtensionCommand.cpp:
    (WebKit::WebExtensionCommand::isActionCommand const): Added.
    (WebKit::WebExtensionCommand::parameters const): Added.
    * Source/WebKit/UIProcess/Extensions/WebExtensionCommand.h:
    (WebKit::WebExtensionCommand::setModifierFlags):
    * Source/WebKit/UIProcess/Extensions/WebExtensionContext.h:
    * Source/WebKit/UIProcess/Extensions/WebExtensionContext.messages.in:
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPICommandsCocoa.mm: Added.
    (WebKit::toAPI):
    (WebKit::WebExtensionAPICommands::getAll):
    (WebKit::WebExtensionAPICommands::onCommand):
    (WebKit::WebExtensionAPICommands::onChanged):
    (WebKit::WebExtensionContextProxy::dispatchCommandsCommandEvent):
    (WebKit::WebExtensionContextProxy::dispatchCommandsChangedEvent):
    * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPINamespaceCocoa.mm:
    (WebKit::WebExtensionAPINamespace::isPropertyAllowed):
    (WebKit::WebExtensionAPINamespace::commands):
    * Source/WebKit/WebProcess/Extensions/API/WebExtensionAPICommands.h: Added.
    * Source/WebKit/WebProcess/Extensions/API/WebExtensionAPINamespace.h:
    * Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPICommands.idl: Added.
    * Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPINamespace.idl: Added commands.
    * Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.h:
    * Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.messages.in:
    * Tools/TestWebKitAPI/SourcesCocoa.txt:
    * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtension.mm:
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPICommands.mm: Added.
    (TestWebKitAPI::TEST):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionContext.mm:
    (TestWebKitAPI::TEST):
    
    Canonical link: https://commits.webkit.org/270523@main
    xeenon authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    408af4c View commit details
    Browse the repository at this point in the history
  154. [WPE][Debug] Gardening scroll-related assertion crashes

    https://bugs.webkit.org/show_bug.cgi?id=264566
    
    Unreviewed gardening.
    
    * LayoutTests/platform/wpe/TestExpectations: Mark Debug crashes.
    
    Canonical link: https://commits.webkit.org/270524@main
    csaavedra authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0656d41 View commit details
    Browse the repository at this point in the history
  155. When no clearance applies to an element with clear set, place the e…

    …lement below the float just as we would if it was `clear:none`
    
    https://bugs.webkit.org/show_bug.cgi?id=264397
    
    Reviewed by Antti Koivisto.
    
    This patch aligns WebKit with Blink / Chromium and Gecko / Firefox.
    
    Merge: https://chromium.googlesource.com/chromium/blink/+/502ffded2efe7d27b5e0ec085a47d4764b65c12c
    
    If an element has 'clear' set but we don't actually calculate clearance
    for it then it should be placed as though it had 'clear:none'. This is
    especially pertinent when the element has margin-top that puts it clear of any float.
    
    The relevant web-specification [1] is:
    
    "Computing the clearance of an element on which clear is set is done by ..."
    
    [1] https://drafts.csswg.org/css2/#clearance
    
    * Source/WebCore/rendering/RenderBlockFlow.cpp:
    (RenderBlockFlow::marginBeforeEstimateForChild):
    * LayoutTests/fast/block/float/element-clears-float-without-clearance.html: Add Test Case
    * LayoutTests/fast/block/float/element-clears-float-without-clearance-expected.html: Add Test Case Expectation
    
    Canonical link: https://commits.webkit.org/270525@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    409bcfe View commit details
    Browse the repository at this point in the history
  156. [GCC] Fix build for Debian Stable after 270351@main

    https://bugs.webkit.org/show_bug.cgi?id=264299
    
    Reviewed by Yusuke Suzuki.
    
    Wrap memcpy function call into local function to work around build
    error.
    
    * Source/JavaScriptCore/assembler/X86Assembler.h:
    (JSC::X86Assembler::memcpyWrapper):
    (JSC::X86Assembler::replaceWithNops):
    
    Canonical link: https://commits.webkit.org/270526@main
    dpino authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ef29d2b View commit details
    Browse the repository at this point in the history
  157. [WebGPU] Reimplement device lost callback after https://bugs.webkit.o…

    …rg/show_bug.cgi?id=257640
    
    https://bugs.webkit.org/show_bug.cgi?id=257656
    <radar://110539837>
    
    Reviewed by Dan Glastonbury.
    
    Restore the deleted code from https://bugs.webkit.org/show_bug.cgi?id=257640 as it passes
    the CTS and conforms to the specification.
    
    Enable newly passing requestDevice.html CTS test.
    
    Also implement the concept of invalid / stale adapters. Effectively, an adapter can only
    request one device so make it invalid after the device is requested.
    
    Unexpectedly the device_lost validation CTS test is now passing as well.
    
    * LayoutTests/http/tests/webgpu/webgpu/api/operation/device/lost-expected.txt:
    * LayoutTests/http/tests/webgpu/webgpu/api/validation/state/device_lost/destroy-expected.txt:
    * LayoutTests/http/tests/webgpu/webgpu/api/operation/adapter/requestDevice-expected.txt:
    * LayoutTests/platform/mac-wk2/TestExpectations:
    * Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
    (WebCore::GPUDevice::lost):
    * Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp:
    (WebCore::WebGPU::AdapterImpl::requestDevice):
    * Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.cpp:
    (WebCore::WebGPU::DeviceImpl::resolveDeviceLostPromise):
    * Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.h:
    * Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUDevice.h:
    * Source/WebGPU/WebGPU/Adapter.mm:
    (WebGPU::Adapter::requestDevice):
    * Source/WebGPU/WebGPU/Device.h:
    * Source/WebGPU/WebGPU/Device.mm:
    (WebGPU::Device::setDeviceLostCallback):
    (wgpuDeviceSetDeviceLostCallback):
    (wgpuDeviceSetDeviceLostCallbackWithBlock):
    * Source/WebGPU/WebGPU/WebGPUExt.h:
    * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.cpp:
    (WebKit::RemoteDevice::resolveDeviceLostPromise):
    * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.h:
    * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteDevice.messages.in:
    * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteDeviceProxy.cpp:
    (WebKit::WebGPU::RemoteDeviceProxy::resolveDeviceLostPromise):
    * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteDeviceProxy.h:
    * LayoutTests/platform/mac-wk2/TestExpectations:
    * Source/WebGPU/WebGPU/BindGroup.mm:
    (WebGPU::Device::createBindGroup):
    * Source/WebGPU/WebGPU/BindGroupLayout.mm:
    (WebGPU::Device::createBindGroupLayout):
    * Source/WebGPU/WebGPU/Buffer.mm:
    (WebGPU::Device::createBuffer):
    * Source/WebGPU/WebGPU/CommandEncoder.mm:
    (WebGPU::Device::createCommandEncoder):
    * Source/WebGPU/WebGPU/ComputePipeline.mm:
    (WebGPU::Device::createComputePipelineAsync):
    * Source/WebGPU/WebGPU/Device.mm:
    (WebGPU::Device::loseTheDevice):
    * Source/WebGPU/WebGPU/ExternalTexture.mm:
    (WebGPU::Device::createExternalTexture):
    * Source/WebGPU/WebGPU/PipelineLayout.mm:
    (WebGPU::Device::createPipelineLayout):
    * Source/WebGPU/WebGPU/QuerySet.mm:
    (WebGPU::Device::createQuerySet):
    * Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
    (WebGPU::Device::createRenderBundleEncoder):
    * Source/WebGPU/WebGPU/RenderPipeline.mm:
    (WebGPU::Device::createRenderPipeline):
    (WebGPU::Device::createRenderPipelineAsync):
    * Source/WebGPU/WebGPU/Sampler.mm:
    (WebGPU::Device::createSampler):
    * Source/WebGPU/WebGPU/ShaderModule.mm:
    (WebGPU::Device::createShaderModule):
    * Source/WebGPU/WebGPU/Texture.mm:
    (WebGPU::Device::createTexture):
    
    * Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp:
    
    Canonical link: https://commits.webkit.org/270527@main
    mwyrzykowski authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5920b7a View commit details
    Browse the repository at this point in the history
  158. Stop using Vector::unsafeAppendWithoutCapacityCheck() in JSC::intlAva…

    …ilableTimeZones()
    
    https://bugs.webkit.org/show_bug.cgi?id=264546
    
    Reviewed by Darin Adler.
    
    * Source/JavaScriptCore/runtime/IntlObject.cpp:
    (JSC::intlAvailableTimeZones):
    
    Canonical link: https://commits.webkit.org/270528@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1b7680b View commit details
    Browse the repository at this point in the history
  159. Avoid using Vector::unsafeAppendWithoutCapacityCheck() in ThreadSafeW…

    …eakHashSet::values()
    
    https://bugs.webkit.org/show_bug.cgi?id=264545
    
    Reviewed by Darin Adler.
    
    Use WTF::compactMap() instead.
    
    * Source/WTF/wtf/ThreadSafeWeakHashSet.h:
    
    Canonical link: https://commits.webkit.org/270529@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e6f2908 View commit details
    Browse the repository at this point in the history
  160. stop using Vector::unsafeAppendWithoutCapacityCheck() in ArrayPattern…

    …Node::emitDirectBinding()
    
    https://bugs.webkit.org/show_bug.cgi?id=264549
    
    Reviewed by Darin Adler.
    
    * Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
    (JSC::ArrayPatternNode::emitDirectBinding):
    
    Canonical link: https://commits.webkit.org/270530@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    15a1fe6 View commit details
    Browse the repository at this point in the history
  161. [WPT] Fix import of css/css-cascade

    rdar://118203546
    
    Reviewed by Tim Nguyen.
    
    Missing files from previous import https://commits.webkit.org/270319@main
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/idlharness-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/interfaces/css-cascade-6.idl: Added.
    * LayoutTests/imported/w3c/web-platform-tests/interfaces/css-cascade.idl: Added.
    
    Canonical link: https://commits.webkit.org/270531@main
    mdubet authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d0960aa View commit details
    Browse the repository at this point in the history
  162. Stop using Vector::unsafeAppendWithoutCapacityCheck() in DFGByteCodeP…

    …arser.cpp
    
    https://bugs.webkit.org/show_bug.cgi?id=264553
    
    Reviewed by Darin Adler.
    
    * Source/JavaScriptCore/bytecode/ValueProfile.h:
    * Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::parseBlock):
    
    Canonical link: https://commits.webkit.org/270532@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c6cd5fa View commit details
    Browse the repository at this point in the history
  163. SharedVideoFrameReader does not need to create a default IPC::Semaphore

    https://bugs.webkit.org/show_bug.cgi?id=264467
    rdar://118160442
    
    Reviewed by Chris Dumez.
    
    Creating a default IPC::Semaphore is costly.
    Given SharedVideoFrameReader will never use its default IPC::Semaphore (it should use the one created from writer side),
    we move m_semaphore to std::optional<IPC::Semaphore> to make the SharedVideoFrameReader constructor less expensive.
    
    * Source/WebKit/WebProcess/GPU/webrtc/SharedVideoFrame.cpp:
    (WebKit::SharedVideoFrameReader::readBufferFromSharedMemory):
    * Source/WebKit/WebProcess/GPU/webrtc/SharedVideoFrame.h:
    
    Canonical link: https://commits.webkit.org/270533@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2c4a9dc View commit details
    Browse the repository at this point in the history
  164. Make ExceptionCode an enum class

    https://bugs.webkit.org/show_bug.cgi?id=264491
    
    Reviewed by Chris Dumez.
    
    Make ExceptionCode an enum class and update all the calls to add the full scope.
    
    This is necessary so we can move ExceptionCode to use the serializer.
    
    * Source/WebCore/Modules/ShapeDetection/BarcodeDetector.cpp:
    (WebCore::BarcodeDetector::create):
    (WebCore::BarcodeDetector::getSupportedFormats):
    * Source/WebCore/Modules/ShapeDetection/FaceDetector.cpp:
    (WebCore::FaceDetector::create):
    * Source/WebCore/Modules/ShapeDetection/TextDetector.cpp:
    (WebCore::TextDetector::create):
    * Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
    (WebCore::GPUAdapter::requestDevice):
    * Source/WebCore/Modules/WebGPU/GPUBuffer.cpp:
    (WebCore::GPUBuffer::mapAsync):
    (WebCore::GPUBuffer::getMappedRange):
    (WebCore::GPUBuffer::unmap):
    * Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
    (WebCore::GPUQueue::writeBuffer):
    * Source/WebCore/Modules/applepay-ams-ui/ApplePayAMSUIPaymentHandler.cpp:
    (WebCore::convertAndValidateApplePayAMSUIRequest):
    (WebCore::ApplePayAMSUIPaymentHandler::finishSession):
    (WebCore::ApplePayAMSUIPaymentHandler::show):
    * Source/WebCore/Modules/applepay/ApplePayContactField.cpp:
    (WebCore::convertAndValidate):
    * Source/WebCore/Modules/applepay/ApplePayMerchantCapability.cpp:
    (WebCore::convertAndValidate):
    * Source/WebCore/Modules/applepay/ApplePayRequestBase.cpp:
    (WebCore::convertAndValidate):
    * Source/WebCore/Modules/applepay/ApplePaySession.cpp:
    (WebCore::convertAndValidateTotal):
    (WebCore::convertAndValidate):
    (WebCore::ApplePayDeferredPaymentRequest::validate const):
    (WebCore::ApplePaySession::create):
    (WebCore::ApplePaySession::supportsVersion):
    (WebCore::ApplePaySession::canMakePayments):
    (WebCore::ApplePaySession::canMakePaymentsWithActiveCard):
    (WebCore::ApplePaySession::openPaymentSetup):
    (WebCore::ApplePaySession::begin):
    (WebCore::ApplePaySession::abort):
    (WebCore::ApplePaySession::completeMerchantValidation):
    (WebCore::ApplePaySession::completeShippingMethodSelection):
    (WebCore::ApplePaySession::completeShippingContactSelection):
    (WebCore::ApplePaySession::completePaymentMethodSelection):
    (WebCore::ApplePaySession::completeCouponCodeChange):
    (WebCore::ApplePaySession::completePayment):
    * Source/WebCore/Modules/applepay/ApplePaySetup.cpp:
    (WebCore::ApplePaySetup::getSetupFeatures):
    (WebCore::ApplePaySetup::begin):
    (WebCore::ApplePaySetup::stop):
    * Source/WebCore/Modules/applepay/PaymentInstallmentConfiguration.mm:
    (WebCore::PaymentInstallmentConfiguration::create):
    * Source/WebCore/Modules/applepay/PaymentRequestValidator.mm:
    (WebCore::PaymentRequestValidator::validateTotal):
    (WebCore::validateCountryCode):
    (WebCore::validateCurrencyCode):
    (WebCore::validateMerchantCapabilities):
    (WebCore::validateSupportedNetworks):
    (WebCore::validateShippingMethod):
    * Source/WebCore/Modules/applepay/PaymentSession.cpp:
    (WebCore::PaymentSession::canCreateSession):
    * Source/WebCore/Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp:
    (WebCore::convertAndValidateApplePayRequest):
    (WebCore::validate):
    (WebCore::ApplePayPaymentHandler::show):
    (WebCore::ApplePayPaymentHandler::computePaymentMethodErrors const):
    (WebCore::ApplePayPaymentHandler::firstApplicableModifier const):
    (WebCore::ApplePayPaymentHandler::detailsUpdated):
    (WebCore::ApplePayPaymentHandler::merchantValidationCompleted):
    (WebCore::convertAndValidate):
    (WebCore::ApplePayPaymentHandler::complete):
    (WebCore::ApplePayPaymentHandler::retry):
    * Source/WebCore/Modules/async-clipboard/Clipboard.cpp:
    (WebCore::Clipboard::readText):
    (WebCore::Clipboard::writeText):
    (WebCore::Clipboard::read):
    (WebCore::Clipboard::getType):
    (WebCore::Clipboard::write):
    (WebCore::Clipboard::ItemWriter::reject):
    * Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
    (WebCore::ClipboardItemBindingsDataSource::getType):
    * Source/WebCore/Modules/async-clipboard/ClipboardItemPasteboardDataSource.cpp:
    (WebCore::ClipboardItemPasteboardDataSource::getType):
    * Source/WebCore/Modules/audiosession/DOMAudioSession.cpp:
    (WebCore::DOMAudioSession::setType):
    * Source/WebCore/Modules/beacon/NavigatorBeacon.cpp:
    (WebCore::NavigatorBeacon::sendBeacon):
    * Source/WebCore/Modules/cache/DOMCache.cpp:
    (WebCore::DOMCache::requestFromInfo):
    (WebCore::DOMCache::addAll):
    (WebCore::DOMCache::put):
    * Source/WebCore/Modules/cache/DOMCacheEngine.cpp:
    (WebCore::DOMCacheEngine::convertToException):
    * Source/WebCore/Modules/cache/WindowOrWorkerGlobalScopeCaches.cpp:
    * Source/WebCore/Modules/compression/CompressionStreamEncoder.cpp:
    (WebCore::CompressionStreamEncoder::encode):
    (WebCore::CompressionStreamEncoder::initialize):
    (WebCore::CompressionStreamEncoder::compress):
    * Source/WebCore/Modules/compression/DecompressionStreamDecoder.cpp:
    (WebCore::DecompressionStreamDecoder::decode):
    (WebCore::DecompressionStreamDecoder::initialize):
    (WebCore::DecompressionStreamDecoder::decompressZlib):
    (WebCore::DecompressionStreamDecoder::initializeAppleCompressionFramework):
    (WebCore::DecompressionStreamDecoder::decompressAppleCompressionFramework):
    * Source/WebCore/Modules/contact-picker/ContactsManager.cpp:
    (WebCore::ContactsManager::select):
    * Source/WebCore/Modules/cookie-consent/NavigatorCookieConsent.cpp:
    (WebCore::NavigatorCookieConsent::requestCookieConsent):
    * Source/WebCore/Modules/cookie-store/CookieStore.cpp:
    (WebCore::CookieStore::MainThreadBridge::get):
    (WebCore::CookieStore::MainThreadBridge::getAll):
    (WebCore::CookieStore::MainThreadBridge::set):
    (WebCore::CookieStore::get):
    (WebCore::CookieStore::getAll):
    (WebCore::CookieStore::set):
    (WebCore::CookieStore::remove):
    * Source/WebCore/Modules/cookie-store/CookieStoreManager.cpp:
    (WebCore::CookieStoreManager::subscribe):
    (WebCore::CookieStoreManager::getSubscriptions):
    (WebCore::CookieStoreManager::unsubscribe):
    * Source/WebCore/Modules/credentialmanagement/BasicCredential.cpp:
    (WebCore::BasicCredential::isConditionalMediationAvailable):
    * Source/WebCore/Modules/credentialmanagement/CredentialsContainer.cpp:
    (WebCore::CredentialsContainer::get):
    (WebCore::CredentialsContainer::store):
    (WebCore::CredentialsContainer::isCreate):
    * Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:
    (WebCore::MediaKeySession::generateRequest):
    (WebCore::MediaKeySession::load):
    (WebCore::MediaKeySession::update):
    (WebCore::MediaKeySession::close):
    (WebCore::MediaKeySession::remove):
    * Source/WebCore/Modules/encryptedmedia/MediaKeySystemAccess.cpp:
    (WebCore::MediaKeySystemAccess::createMediaKeys):
    * Source/WebCore/Modules/encryptedmedia/MediaKeySystemRequest.cpp:
    (WebCore::MediaKeySystemRequest::deny):
    * Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp:
    (WebCore::MediaKeys::createSession):
    (WebCore::MediaKeys::setServerCertificate):
    * Source/WebCore/Modules/encryptedmedia/NavigatorEME.cpp:
    (WebCore::NavigatorEME::requestMediaKeySystemAccess):
    (WebCore::tryNextSupportedConfiguration):
    * Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp:
    (WebCore::WebKitMediaKeySession::update):
    * Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp:
    (WebCore::WebKitMediaKeys::create):
    (WebCore::WebKitMediaKeys::createSession):
    * Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp:
    (WebCore::listDirectoryWithMetadata):
    (WebCore::validatePathIsExpectedType):
    (WebCore::DOMFileSystem::getEntry):
    * Source/WebCore/Modules/entriesapi/FileSystemDirectoryEntry.cpp:
    (WebCore::FileSystemDirectoryEntry::getEntry):
    * Source/WebCore/Modules/entriesapi/FileSystemDirectoryReader.cpp:
    (WebCore::FileSystemDirectoryReader::readEntries):
    * Source/WebCore/Modules/fetch/FetchBody.cpp:
    (WebCore::FetchBody::extract):
    * Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp:
    (WebCore::resolveWithTypeAndData):
    (WebCore::FetchBodyConsumer::resolve):
    * Source/WebCore/Modules/fetch/FetchBodyOwner.cpp:
    (WebCore::FetchBodyOwner::arrayBuffer):
    (WebCore::FetchBodyOwner::blob):
    (WebCore::FetchBodyOwner::consumeOnceLoadingFinished):
    (WebCore::FetchBodyOwner::formData):
    (WebCore::FetchBodyOwner::json):
    (WebCore::FetchBodyOwner::text):
    (WebCore::FetchBodyOwner::loadBlob):
    (WebCore::FetchBodyOwner::blobLoadingFailed):
    (WebCore::FetchBodyOwner::loadingException const):
    * Source/WebCore/Modules/fetch/FetchHeaders.cpp:
    (WebCore::canWriteHeader):
    (WebCore::appendSetCookie):
    (WebCore::fillHeaderMap):
    (WebCore::FetchHeaders::remove):
    (WebCore::FetchHeaders::get const):
    (WebCore::FetchHeaders::has const):
    * Source/WebCore/Modules/fetch/FetchRequest.cpp:
    (WebCore::setMethod):
    (WebCore::computeReferrer):
    (WebCore::buildOptions):
    (WebCore::FetchRequest::initializeOptions):
    (WebCore::processInvalidSignal):
    (WebCore::FetchRequest::initializeWith):
    (WebCore::FetchRequest::setBody):
    (WebCore::FetchRequest::clone):
    * Source/WebCore/Modules/fetch/FetchResponse.cpp:
    (WebCore::FetchResponse::create):
    (WebCore::FetchResponse::redirect):
    (WebCore::FetchResponse::jsonForBindings):
    (WebCore::FetchResponse::clone):
    (WebCore::FetchResponse::addAbortSteps):
    (WebCore::FetchResponse::fetch):
    (WebCore::FetchResponse::cancelStream):
    * Source/WebCore/Modules/fetch/FormDataConsumer.cpp:
    (WebCore::FormDataConsumer::consumeFile):
    (WebCore::FormDataConsumer::consumeBlob):
    * Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.cpp:
    (WebCore::doFetch):
    (WebCore::WindowOrWorkerGlobalScopeFetch::fetch):
    * Source/WebCore/Modules/filesystemaccess/FileSystemDirectoryHandle.cpp:
    (WebCore::FileSystemDirectoryHandle::getFileHandle):
    (WebCore::FileSystemDirectoryHandle::getDirectoryHandle):
    (WebCore::FileSystemDirectoryHandle::removeEntry):
    (WebCore::FileSystemDirectoryHandle::resolve):
    (WebCore::FileSystemDirectoryHandle::getHandleNames):
    (WebCore::FileSystemDirectoryHandle::getHandle):
    * Source/WebCore/Modules/filesystemaccess/FileSystemFileHandle.cpp:
    (WebCore::FileSystemFileHandle::getFile):
    (WebCore::FileSystemFileHandle::createSyncAccessHandle):
    * Source/WebCore/Modules/filesystemaccess/FileSystemHandle.cpp:
    (WebCore::FileSystemHandle::isSameEntry const):
    (WebCore::FileSystemHandle::move):
    * Source/WebCore/Modules/filesystemaccess/FileSystemSyncAccessHandle.cpp:
    (WebCore::FileSystemSyncAccessHandle::truncate):
    (WebCore::FileSystemSyncAccessHandle::getSize):
    (WebCore::FileSystemSyncAccessHandle::flush):
    (WebCore::FileSystemSyncAccessHandle::read):
    (WebCore::FileSystemSyncAccessHandle::write):
    * Source/WebCore/Modules/filesystemaccess/WorkerFileSystemStorageConnection.cpp:
    (WebCore::WorkerFileSystemStorageConnection::scopeClosed):
    (WebCore::WorkerFileSystemStorageConnection::isSameEntry):
    (WebCore::WorkerFileSystemStorageConnection::getFileHandle):
    (WebCore::WorkerFileSystemStorageConnection::getDirectoryHandle):
    (WebCore::WorkerFileSystemStorageConnection::removeEntry):
    (WebCore::WorkerFileSystemStorageConnection::resolve):
    (WebCore::WorkerFileSystemStorageConnection::getFile):
    (WebCore::WorkerFileSystemStorageConnection::createSyncAccessHandle):
    (WebCore::WorkerFileSystemStorageConnection::getHandleNames):
    (WebCore::WorkerFileSystemStorageConnection::getHandle):
    (WebCore::WorkerFileSystemStorageConnection::move):
    * Source/WebCore/Modules/gamepad/GamepadHapticActuator.cpp:
    (WebCore::GamepadHapticActuator::playEffect):
    * Source/WebCore/Modules/indexeddb/IDBCursor.cpp:
    (WebCore::IDBCursor::update):
    (WebCore::IDBCursor::advance):
    (WebCore::IDBCursor::continuePrimaryKey):
    (WebCore::IDBCursor::continueFunction):
    (WebCore::IDBCursor::deleteFunction):
    * Source/WebCore/Modules/indexeddb/IDBDatabase.cpp:
    (WebCore::IDBDatabase::createObjectStore):
    (WebCore::IDBDatabase::transaction):
    (WebCore::IDBDatabase::deleteObjectStore):
    * Source/WebCore/Modules/indexeddb/IDBFactory.cpp:
    (WebCore::IDBFactory::open):
    (WebCore::IDBFactory::openInternal):
    (WebCore::IDBFactory::deleteDatabase):
    (WebCore::IDBFactory::cmp):
    (WebCore::IDBFactory::databases):
    * Source/WebCore/Modules/indexeddb/IDBIndex.cpp:
    (WebCore::IDBIndex::setName):
    (WebCore::IDBIndex::doOpenCursor):
    (WebCore::IDBIndex::openCursor):
    (WebCore::IDBIndex::doOpenKeyCursor):
    (WebCore::IDBIndex::openKeyCursor):
    (WebCore::IDBIndex::doCount):
    (WebCore::IDBIndex::get):
    (WebCore::IDBIndex::doGet):
    (WebCore::IDBIndex::getKey):
    (WebCore::IDBIndex::doGetKey):
    (WebCore::IDBIndex::doGetAll):
    (WebCore::IDBIndex::getAll):
    (WebCore::IDBIndex::doGetAllKeys):
    (WebCore::IDBIndex::getAllKeys):
    * Source/WebCore/Modules/indexeddb/IDBKeyRange.cpp:
    (WebCore::IDBKeyRange::only):
    (WebCore::IDBKeyRange::lowerBound):
    (WebCore::IDBKeyRange::upperBound):
    (WebCore::IDBKeyRange::bound):
    (WebCore::IDBKeyRange::includes):
    * Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp:
    (WebCore::IDBObjectStore::setName):
    (WebCore::IDBObjectStore::doOpenCursor):
    (WebCore::IDBObjectStore::openCursor):
    (WebCore::IDBObjectStore::doOpenKeyCursor):
    (WebCore::IDBObjectStore::openKeyCursor):
    (WebCore::IDBObjectStore::get):
    (WebCore::IDBObjectStore::getKey):
    (WebCore::IDBObjectStore::putOrAdd):
    (WebCore::IDBObjectStore::doDelete):
    (WebCore::IDBObjectStore::deleteFunction):
    (WebCore::IDBObjectStore::clear):
    (WebCore::IDBObjectStore::createIndex):
    (WebCore::IDBObjectStore::index):
    (WebCore::IDBObjectStore::deleteIndex):
    (WebCore::IDBObjectStore::doCount):
    (WebCore::IDBObjectStore::doGetAll):
    (WebCore::IDBObjectStore::getAll):
    (WebCore::IDBObjectStore::doGetAllKeys):
    (WebCore::IDBObjectStore::getAllKeys):
    * Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp:
    (WebCore::IDBOpenDBRequest::fireErrorAfterVersionChangeCompletion):
    (WebCore::IDBOpenDBRequest::setIsContextSuspended):
    * Source/WebCore/Modules/indexeddb/IDBRequest.cpp:
    (WebCore::IDBRequest::result const):
    (WebCore:: const):
    (WebCore::IDBRequest::dispatchEvent):
    (WebCore::IDBRequest::uncaughtExceptionInEventHandler):
    * Source/WebCore/Modules/indexeddb/IDBTransaction.cpp:
    (WebCore::IDBTransaction::objectStore):
    (WebCore::IDBTransaction::abort):
    (WebCore::IDBTransaction::abortOnServerAndCancelRequests):
    (WebCore::IDBTransaction::commit):
    (WebCore::IDBTransaction::putOrAddOnServer):
    * Source/WebCore/Modules/indexeddb/client/IDBConnectionProxy.cpp:
    (WebCore::IDBClient::IDBConnectionProxy::completeOpenDBRequest):
    (WebCore::IDBClient::IDBConnectionProxy::fireVersionChangeEvent):
    * Source/WebCore/Modules/indexeddb/server/IndexValueStore.cpp:
    (WebCore::IDBServer::IndexValueStore::addRecord):
    * Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp:
    (WebCore::IDBServer::MemoryIDBBackingStore::beginTransaction):
    (WebCore::IDBServer::MemoryIDBBackingStore::abortTransaction):
    (WebCore::IDBServer::MemoryIDBBackingStore::commitTransaction):
    (WebCore::IDBServer::MemoryIDBBackingStore::createObjectStore):
    (WebCore::IDBServer::MemoryIDBBackingStore::deleteObjectStore):
    (WebCore::IDBServer::MemoryIDBBackingStore::renameObjectStore):
    (WebCore::IDBServer::MemoryIDBBackingStore::clearObjectStore):
    (WebCore::IDBServer::MemoryIDBBackingStore::createIndex):
    (WebCore::IDBServer::MemoryIDBBackingStore::deleteIndex):
    (WebCore::IDBServer::MemoryIDBBackingStore::renameIndex):
    (WebCore::IDBServer::MemoryIDBBackingStore::deleteRange):
    (WebCore::IDBServer::MemoryIDBBackingStore::addRecord):
    (WebCore::IDBServer::MemoryIDBBackingStore::getRecord):
    (WebCore::IDBServer::MemoryIDBBackingStore::getAllRecords):
    (WebCore::IDBServer::MemoryIDBBackingStore::getIndexRecord):
    (WebCore::IDBServer::MemoryIDBBackingStore::getCount):
    (WebCore::IDBServer::MemoryIDBBackingStore::generateKeyNumber):
    (WebCore::IDBServer::MemoryIDBBackingStore::openCursor):
    (WebCore::IDBServer::MemoryIDBBackingStore::iterateCursor):
    * Source/WebCore/Modules/indexeddb/server/MemoryIndex.cpp:
    (WebCore::IDBServer::MemoryIndex::putIndexKey):
    * Source/WebCore/Modules/indexeddb/server/MemoryObjectStore.cpp:
    (WebCore::IDBServer::MemoryObjectStore::createIndex):
    (WebCore::IDBServer::MemoryObjectStore::deleteIndex):
    (WebCore::IDBServer::MemoryObjectStore::updateIndexesForPutRecord):
    * Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
    (WebCore::IDBServer::createOrMigrateRecordsTableIfNecessary):
    (WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidBlobTables):
    (WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidRecordsTable):
    (WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidIndexRecordsTable):
    (WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidIndexRecordsIndex):
    (WebCore::IDBServer::SQLiteIDBBackingStore::ensureValidIndexRecordsRecordIndex):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getOrEstablishDatabaseInfo):
    (WebCore::IDBServer::SQLiteIDBBackingStore::beginTransaction):
    (WebCore::IDBServer::SQLiteIDBBackingStore::abortTransaction):
    (WebCore::IDBServer::SQLiteIDBBackingStore::commitTransaction):
    (WebCore::IDBServer::SQLiteIDBBackingStore::createObjectStore):
    (WebCore::IDBServer::SQLiteIDBBackingStore::deleteObjectStore):
    (WebCore::IDBServer::SQLiteIDBBackingStore::renameObjectStore):
    (WebCore::IDBServer::SQLiteIDBBackingStore::clearObjectStore):
    (WebCore::IDBServer::SQLiteIDBBackingStore::createIndex):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedHasIndexRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedPutIndexKey):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedPutIndexRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::deleteIndex):
    (WebCore::IDBServer::SQLiteIDBBackingStore::renameIndex):
    (WebCore::IDBServer::SQLiteIDBBackingStore::keyExistsInObjectStore):
    (WebCore::IDBServer::SQLiteIDBBackingStore::deleteUnusedBlobFileRecords):
    (WebCore::IDBServer::SQLiteIDBBackingStore::deleteRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::deleteRange):
    (WebCore::IDBServer::SQLiteIDBBackingStore::updateAllIndexesForAddRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::addRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getBlobRecordsForObjectStoreRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getAllObjectStoreRecords):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getAllIndexRecords):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getIndexRecord):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedGetIndexRecordForOneKey):
    (WebCore::IDBServer::SQLiteIDBBackingStore::getCount):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedGetKeyGeneratorValue):
    (WebCore::IDBServer::SQLiteIDBBackingStore::uncheckedSetKeyGeneratorValue):
    (WebCore::IDBServer::SQLiteIDBBackingStore::generateKeyNumber):
    (WebCore::IDBServer::SQLiteIDBBackingStore::revertGeneratedKeyNumber):
    (WebCore::IDBServer::SQLiteIDBBackingStore::maybeUpdateKeyGeneratorNumber):
    (WebCore::IDBServer::SQLiteIDBBackingStore::openCursor):
    (WebCore::IDBServer::SQLiteIDBBackingStore::iterateCursor):
    * Source/WebCore/Modules/indexeddb/server/SQLiteIDBTransaction.cpp:
    (WebCore::IDBServer::SQLiteIDBTransaction::begin):
    (WebCore::IDBServer::SQLiteIDBTransaction::commit):
    (WebCore::IDBServer::SQLiteIDBTransaction::abort):
    * Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:
    (WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperationAfterSpaceCheck):
    (WebCore::IDBServer::UniqueIDBDatabase::createObjectStore):
    (WebCore::IDBServer::UniqueIDBDatabase::deleteObjectStore):
    (WebCore::IDBServer::UniqueIDBDatabase::renameObjectStore):
    (WebCore::IDBServer::UniqueIDBDatabase::clearObjectStore):
    (WebCore::IDBServer::UniqueIDBDatabase::createIndex):
    (WebCore::IDBServer::UniqueIDBDatabase::deleteIndex):
    (WebCore::IDBServer::UniqueIDBDatabase::renameIndex):
    (WebCore::IDBServer::UniqueIDBDatabase::putOrAdd):
    (WebCore::IDBServer::UniqueIDBDatabase::putOrAddAfterSpaceCheck):
    (WebCore::IDBServer::UniqueIDBDatabase::getRecord):
    (WebCore::IDBServer::UniqueIDBDatabase::getAllRecords):
    (WebCore::IDBServer::UniqueIDBDatabase::getCount):
    (WebCore::IDBServer::UniqueIDBDatabase::deleteRecord):
    (WebCore::IDBServer::UniqueIDBDatabase::openCursor):
    (WebCore::IDBServer::UniqueIDBDatabase::iterateCursor):
    (WebCore::IDBServer::UniqueIDBDatabase::commitTransaction):
    (WebCore::IDBServer::UniqueIDBDatabase::abortTransaction):
    * Source/WebCore/Modules/indexeddb/shared/IDBError.h:
    (WebCore::IDBError::userDeleteError):
    (WebCore::IDBError::serverConnectionLostError):
    * Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp:
    (WebCore::MediaCapabilities::decodingInfo):
    (WebCore::MediaCapabilities::encodingInfo):
    * Source/WebCore/Modules/mediarecorder/MediaRecorder.cpp:
    (WebCore::MediaRecorder::create):
    (WebCore::MediaRecorder::createMediaRecorderPrivate):
    (WebCore::MediaRecorder::suspend):
    (WebCore::MediaRecorder::startRecording):
    (WebCore::MediaRecorder::requestData):
    (WebCore::MediaRecorder::pauseRecording):
    (WebCore::MediaRecorder::resumeRecording):
    (WebCore::MediaRecorder::handleTrackChange):
    * Source/WebCore/Modules/mediasession/MediaMetadata.cpp:
    (WebCore::MediaMetadata::setArtwork):
    * Source/WebCore/Modules/mediasession/MediaSession.cpp:
    (WebCore::MediaSession::callActionHandler):
    (WebCore::MediaSession::setPositionState):
    * Source/WebCore/Modules/mediasession/MediaSessionCoordinator.cpp:
    (WebCore::MediaSessionCoordinator::join):
    (WebCore::MediaSessionCoordinator::leave):
    (WebCore::MediaSessionCoordinator::seekTo):
    (WebCore::MediaSessionCoordinator::play):
    (WebCore::MediaSessionCoordinator::pause):
    (WebCore::MediaSessionCoordinator::setTrack):
    * Source/WebCore/Modules/mediasource/MediaSource.cpp:
    (WebCore::MediaSource::setLiveSeekableRange):
    (WebCore::MediaSource::clearLiveSeekableRange):
    (WebCore::MediaSource::setDuration):
    (WebCore::MediaSource::setDurationInternal):
    (WebCore::MediaSource::endOfStream):
    (WebCore::MediaSource::addSourceBuffer):
    (WebCore::MediaSource::removeSourceBuffer):
    (WebCore::MediaSource::createSourceBufferPrivate):
    * Source/WebCore/Modules/mediasource/SourceBuffer.cpp:
    (WebCore::SourceBuffer::buffered):
    (WebCore::SourceBuffer::setTimestampOffset):
    (WebCore::SourceBuffer::setAppendWindowStart):
    (WebCore::SourceBuffer::setAppendWindowEnd):
    (WebCore::SourceBuffer::abort):
    (WebCore::SourceBuffer::remove):
    (WebCore::SourceBuffer::changeType):
    (WebCore::SourceBuffer::appendBufferInternal):
    (WebCore::SourceBuffer::setMode):
    * Source/WebCore/Modules/mediastream/ImageCapture.cpp:
    (WebCore::ImageCapture::create):
    (WebCore::ImageCapture::getPhotoCapabilities):
    (WebCore::ImageCapture::getPhotoSettings):
    * Source/WebCore/Modules/mediastream/MediaDevices.cpp:
    (WebCore::MediaDevices::getUserMedia):
    (WebCore::MediaDevices::getDisplayMedia):
    * Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp:
    (WebCore::MediaStreamTrack::getPhotoCapabilities const):
    (WebCore::MediaStreamTrack::getPhotoSettings const):
    * Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:
    (WebCore::PeerConnectionBackend::addIceCandidate):
    (WebCore::PeerConnectionBackend::addTrack):
    (WebCore::PeerConnectionBackend::addTransceiver):
    (WebCore::PeerConnectionBackend::generateCertificate):
    * Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp:
    (WebCore::RTCDTMFSender::insertDTMF):
    * Source/WebCore/Modules/mediastream/RTCDataChannel.cpp:
    (WebCore::RTCDataChannel::send):
    * Source/WebCore/Modules/mediastream/RTCIceCandidate.cpp:
    (WebCore::RTCIceCandidate::create):
    * Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:
    (WebCore::RTCPeerConnection::create):
    (WebCore::RTCPeerConnection::addTrack):
    (WebCore::RTCPeerConnection::removeTrack):
    (WebCore::RTCPeerConnection::addTransceiver):
    (WebCore::RTCPeerConnection::createOffer):
    (WebCore::RTCPeerConnection::createAnswer):
    (WebCore::RTCPeerConnection::setLocalDescription):
    (WebCore::RTCPeerConnection::setRemoteDescription):
    (WebCore::RTCPeerConnection::addIceCandidate):
    (WebCore::RTCPeerConnection::iceServersFromConfiguration):
    (WebCore::RTCPeerConnection::certificatesFromConfiguration):
    (WebCore::RTCPeerConnection::initializeConfiguration):
    (WebCore::RTCPeerConnection::setConfiguration):
    (WebCore::RTCPeerConnection::createDataChannel):
    (WebCore::certificateTypeFromAlgorithmIdentifier):
    (WebCore::RTCPeerConnection::chainOperation):
    * Source/WebCore/Modules/mediastream/RTCRtpReceiver.cpp:
    (WebCore::RTCRtpReceiver::getStats):
    (WebCore::RTCRtpReceiver::setTransform):
    * Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp:
    (WebCore::RTCRtpSFrameTransform::setEncryptionKey):
    (WebCore::RTCRtpSFrameTransform::createStreams):
    * Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp:
    (WebCore::RTCRtpSFrameTransformer::computeSaltKey):
    (WebCore::RTCRtpSFrameTransformer::computeAuthenticationKey):
    (WebCore::RTCRtpSFrameTransformer::computeEncryptionKey):
    (WebCore::RTCRtpSFrameTransformer::decryptData):
    (WebCore::RTCRtpSFrameTransformer::encryptData):
    * Source/WebCore/Modules/mediastream/RTCRtpScriptTransform.cpp:
    (WebCore::RTCRtpScriptTransform::create):
    * Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:
    (WebCore::RTCRtpScriptTransformer::create):
    (WebCore::RTCRtpScriptTransformer::writable):
    (WebCore::RTCRtpScriptTransformer::generateKeyFrame):
    (WebCore::RTCRtpScriptTransformer::sendKeyFrameRequest):
    * Source/WebCore/Modules/mediastream/RTCRtpSender.cpp:
    (WebCore::RTCRtpSender::replaceTrack):
    (WebCore::RTCRtpSender::setParameters):
    (WebCore::RTCRtpSender::setMediaStreamIds):
    (WebCore::RTCRtpSender::getStats):
    (WebCore::RTCRtpSender::setTransform):
    * Source/WebCore/Modules/mediastream/RTCRtpTransceiver.cpp:
    (WebCore::RTCRtpTransceiver::stop):
    * Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:
    (WebCore::UserMediaRequest::deny):
    * Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
    (WebCore::GStreamerMediaEndpoint::doSetLocalDescription):
    (WebCore::GStreamerMediaEndpoint::doSetRemoteDescription):
    (WebCore::GStreamerMediaEndpoint::createTransceiverBackends):
    (WebCore::GStreamerMediaEndpoint::addIceCandidate):
    (WebCore::GStreamerMediaEndpoint::createSessionDescriptionFailed):
    * Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp:
    (WebCore::GStreamerPeerConnectionBackend::doCreateAnswer):
    (WebCore::GStreamerPeerConnectionBackend::addTrack):
    * Source/WebCore/Modules/mediastream/gstreamer/GStreamerRtpSenderBackend.cpp:
    (WebCore::GStreamerRtpSenderBackend::setParameters):
    * Source/WebCore/Modules/mediastream/gstreamer/GStreamerRtpTransceiverBackend.cpp:
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp:
    (WebCore::LibWebRTCCertificateGenerator::RTCCertificateGeneratorCallbackWrapper::process):
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
    (WebCore::LibWebRTCMediaEndpoint::doSetLocalDescription):
    (WebCore::LibWebRTCMediaEndpoint::doSetRemoteDescription):
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
    (WebCore::LibWebRTCPeerConnectionBackend::doCreateAnswer):
    (WebCore::LibWebRTCPeerConnectionBackend::doAddIceCandidate):
    (WebCore::LibWebRTCPeerConnectionBackend::addTrack):
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp:
    (WebCore::LibWebRTCRtpSenderBackend::setParameters):
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp:
    (WebCore::toRtpCodecCapability):
    * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
    (WebCore::toExceptionCode):
    * Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
    (WebCore::HTMLModelElement::setSourceURL):
    (WebCore::HTMLModelElement::notifyFinished):
    (WebCore::HTMLModelElement::modelDidChange):
    (WebCore::HTMLModelElement::createModelPlayer):
    (WebCore::HTMLModelElement::didFailLoading):
    (WebCore::HTMLModelElement::getCamera):
    (WebCore::HTMLModelElement::setCamera):
    * Source/WebCore/Modules/notifications/Notification.cpp:
    (WebCore::createSerializedScriptValue):
    (WebCore::Notification::create):
    * Source/WebCore/Modules/notifications/NotificationJSONParser.cpp:
    (WebCore::NotificationJSONParser::parseNotificationPayload):
    (WebCore::NotificationJSONParser::parseNotificationOptions):
    * Source/WebCore/Modules/notifications/NotificationPayload.cpp:
    (WebCore::NotificationPayload::parseJSON):
    * Source/WebCore/Modules/paymentrequest/MerchantValidationEvent.cpp:
    (WebCore::MerchantValidationEvent::create):
    (WebCore::MerchantValidationEvent::complete):
    * Source/WebCore/Modules/paymentrequest/PaymentHandler.cpp:
    (WebCore::PaymentHandler::canCreateSession):
    * Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:
    (WebCore::checkAndCanonicalizeData):
    (WebCore::checkAndCanonicalizeAmount):
    (WebCore::checkAndCanonicalizePaymentItem):
    (WebCore::checkAndCanonicalizeDetails):
    (WebCore::parse):
    (WebCore::PaymentRequest::create):
    (WebCore::PaymentRequest::show):
    (WebCore::PaymentRequest::stop):
    (WebCore::PaymentRequest::abort):
    (WebCore::PaymentRequest::canMakePayment):
    (WebCore::PaymentRequest::updateWith):
    (WebCore::PaymentRequest::completeMerchantValidation):
    (WebCore::PaymentRequest::settleDetailsPromise):
    (WebCore::PaymentRequest::complete):
    (WebCore::PaymentRequest::retry):
    (WebCore::PaymentRequest::cancel):
    * Source/WebCore/Modules/paymentrequest/PaymentRequestUpdateEvent.cpp:
    (WebCore::PaymentRequestUpdateEvent::updateWith):
    * Source/WebCore/Modules/paymentrequest/PaymentResponse.cpp:
    (WebCore::PaymentResponse::complete):
    (WebCore::PaymentResponse::retry):
    (WebCore::PaymentResponse::stop):
    * Source/WebCore/Modules/permissions/Permissions.cpp:
    (WebCore::Permissions::query):
    * Source/WebCore/Modules/pictureinpicture/DocumentPictureInPicture.cpp:
    (WebCore::DocumentPictureInPicture::exitPictureInPicture):
    * Source/WebCore/Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp:
    (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture):
    (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture):
    * Source/WebCore/Modules/push-api/PushManager.cpp:
    (WebCore::PushManager::subscribe):
    * Source/WebCore/Modules/push-api/PushMessageData.cpp:
    (WebCore::PushMessageData::arrayBuffer):
    (WebCore::PushMessageData::json):
    * Source/WebCore/Modules/push-api/PushSubscription.cpp:
    (WebCore::PushSubscription::getKey const):
    * Source/WebCore/Modules/push-api/PushSubscriptionOptions.cpp:
    (WebCore::PushSubscriptionOptions::applicationServerKey const):
    * Source/WebCore/Modules/remoteplayback/RemotePlayback.cpp:
    (WebCore::RemotePlayback::watchAvailability):
    (WebCore::RemotePlayback::cancelWatchAvailability):
    (WebCore::RemotePlayback::prompt):
    (WebCore::RemotePlayback::playbackTargetPickerWasDismissed):
    * Source/WebCore/Modules/screen-wake-lock/WakeLock.cpp:
    (WebCore::WakeLock::request):
    * Source/WebCore/Modules/speech/SpeechRecognition.cpp:
    (WebCore::SpeechRecognition::startRecognition):
    * Source/WebCore/Modules/storage/DummyStorageProvider.h:
    * Source/WebCore/Modules/storage/StorageManager.cpp:
    (WebCore::connectionInfo):
    (WebCore::StorageManager::fileSystemAccessGetDirectory):
    * Source/WebCore/Modules/storage/WorkerStorageConnection.cpp:
    (WebCore::WorkerStorageConnection::scopeClosed):
    (WebCore::WorkerStorageConnection::getEstimate):
    (WebCore::WorkerStorageConnection::fileSystemGetDirectory):
    (WebCore::WorkerStorageConnection::didGetDirectory):
    * Source/WebCore/Modules/streams/ReadableStreamSink.cpp:
    (WebCore::ReadableStreamToSharedBufferSink::error):
    * Source/WebCore/Modules/streams/TransformStream.cpp:
    (WebCore::invokeTransformStreamFunction):
    * Source/WebCore/Modules/web-locks/WebLockManager.cpp:
    (WebCore::WebLockManager::request):
    (WebCore::WebLockManager::didCompleteLockRequest):
    (WebCore::WebLockManager::query):
    * Source/WebCore/Modules/webaudio/AnalyserNode.cpp:
    (WebCore::AnalyserNode::setFftSize):
    (WebCore::AnalyserNode::setMinMaxDecibels):
    (WebCore::AnalyserNode::setMinDecibels):
    (WebCore::AnalyserNode::setMaxDecibels):
    (WebCore::AnalyserNode::setSmoothingTimeConstant):
    * Source/WebCore/Modules/webaudio/AsyncAudioDecoder.cpp:
    (WebCore::AsyncAudioDecoder::decodeAsync):
    * Source/WebCore/Modules/webaudio/AudioBuffer.cpp:
    (WebCore::AudioBuffer::create):
    (WebCore::AudioBuffer::getChannelData):
    (WebCore::AudioBuffer::copyFromChannel):
    (WebCore::AudioBuffer::copyToChannel):
    * Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp:
    (WebCore::AudioBufferSourceNode::setBufferForBindings):
    (WebCore::AudioBufferSourceNode::startPlaying):
    * Source/WebCore/Modules/webaudio/AudioContext.cpp:
    (WebCore::AudioContext::create):
    (WebCore::AudioContext::close):
    (WebCore::AudioContext::suspendRendering):
    (WebCore::AudioContext::resumeRendering):
    * Source/WebCore/Modules/webaudio/AudioNode.cpp:
    (WebCore::AudioNode::connect):
    (WebCore::AudioNode::disconnect):
    (WebCore::AudioNode::setChannelCount):
    * Source/WebCore/Modules/webaudio/AudioParam.cpp:
    (WebCore::AudioParam::setAutomationRate):
    * Source/WebCore/Modules/webaudio/AudioParamTimeline.cpp:
    (WebCore::AudioParamTimeline::insertEvent):
    * Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp:
    (WebCore::AudioScheduledSourceNode::startLater):
    (WebCore::AudioScheduledSourceNode::stopLater):
    * Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp:
    (WebCore::AudioWorkletGlobalScope::registerProcessor):
    * Source/WebCore/Modules/webaudio/AudioWorkletNode.cpp:
    (WebCore::AudioWorkletNode::create):
    * Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp:
    (WebCore::AudioWorkletProcessor::create):
    * Source/WebCore/Modules/webaudio/BaseAudioContext.cpp:
    (WebCore::BaseAudioContext::decodeAudioData):
    (WebCore::BaseAudioContext::createScriptProcessor):
    * Source/WebCore/Modules/webaudio/BiquadFilterNode.cpp:
    (WebCore::BiquadFilterNode::getFrequencyResponse):
    * Source/WebCore/Modules/webaudio/ChannelMergerNode.cpp:
    (WebCore::ChannelMergerNode::create):
    (WebCore::ChannelMergerNode::setChannelCount):
    (WebCore::ChannelMergerNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/ChannelSplitterNode.cpp:
    (WebCore::ChannelSplitterNode::create):
    (WebCore::ChannelSplitterNode::setChannelCount):
    (WebCore::ChannelSplitterNode::setChannelCountMode):
    (WebCore::ChannelSplitterNode::setChannelInterpretation):
    * Source/WebCore/Modules/webaudio/ConvolverNode.cpp:
    (WebCore::ConvolverNode::setBufferForBindings):
    (WebCore::ConvolverNode::setChannelCount):
    (WebCore::ConvolverNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/DefaultAudioDestinationNode.cpp:
    (WebCore::DefaultAudioDestinationNode::startRendering):
    (WebCore::DefaultAudioDestinationNode::resume):
    (WebCore::DefaultAudioDestinationNode::suspend):
    (WebCore::DefaultAudioDestinationNode::setChannelCount):
    * Source/WebCore/Modules/webaudio/DelayNode.cpp:
    (WebCore::DelayNode::create):
    * Source/WebCore/Modules/webaudio/DynamicsCompressorNode.cpp:
    (WebCore::DynamicsCompressorNode::setChannelCount):
    (WebCore::DynamicsCompressorNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/IIRFilterNode.cpp:
    (WebCore::IIRFilterNode::create):
    (WebCore::IIRFilterNode::getFrequencyResponse):
    * Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.cpp:
    (WebCore::MediaElementAudioSourceNode::create):
    * Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.cpp:
    (WebCore::MediaStreamAudioDestinationNode::create):
    * Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.cpp:
    (WebCore::MediaStreamAudioSourceNode::create):
    * Source/WebCore/Modules/webaudio/OfflineAudioContext.cpp:
    (WebCore::OfflineAudioContext::create):
    (WebCore::OfflineAudioContext::uninitialize):
    (WebCore::OfflineAudioContext::startRendering):
    (WebCore::OfflineAudioContext::suspendRendering):
    (WebCore::OfflineAudioContext::resumeRendering):
    (WebCore::OfflineAudioContext::finishedRendering):
    * Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.cpp:
    (WebCore::OfflineAudioDestinationNode::startRendering):
    * Source/WebCore/Modules/webaudio/OscillatorNode.cpp:
    (WebCore::OscillatorNode::create):
    (WebCore::OscillatorNode::setTypeForBindings):
    * Source/WebCore/Modules/webaudio/PannerNode.cpp:
    (WebCore::PannerNode::setRefDistanceForBindings):
    (WebCore::PannerNode::setMaxDistanceForBindings):
    (WebCore::PannerNode::setRolloffFactorForBindings):
    (WebCore::PannerNode::setConeOuterGainForBindings):
    (WebCore::PannerNode::setChannelCount):
    (WebCore::PannerNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/PeriodicWave.cpp:
    (WebCore::PeriodicWave::create):
    * Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp:
    (WebCore::ScriptProcessorNode::setChannelCount):
    (WebCore::ScriptProcessorNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/StereoPannerNode.cpp:
    (WebCore::StereoPannerNode::setChannelCount):
    (WebCore::StereoPannerNode::setChannelCountMode):
    * Source/WebCore/Modules/webaudio/WaveShaperNode.cpp:
    (WebCore::WaveShaperNode::create):
    (WebCore::WaveShaperNode::setCurveForBindings):
    * Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp:
    (WebCore::AuthenticatorCoordinator::create):
    (WebCore::AuthenticatorCoordinator::discoverFromExternalSource):
    (WebCore::AuthenticatorCoordinator::isUserVerifyingPlatformAuthenticatorAvailable const):
    (WebCore::AuthenticatorCoordinator::isConditionalMediationAvailable const):
    * Source/WebCore/Modules/webcodecs/WebCodecsAudioData.cpp:
    (WebCore::WebCodecsAudioData::create):
    (WebCore::WebCodecsAudioData::allocationSize):
    (WebCore::WebCodecsAudioData::copyTo):
    (WebCore::WebCodecsAudioData::clone):
    * Source/WebCore/Modules/webcodecs/WebCodecsAudioDataAlgorithms.cpp:
    (WebCore::computeCopyElementCount):
    * Source/WebCore/Modules/webcodecs/WebCodecsAudioDecoder.cpp:
    (WebCore::WebCodecsAudioDecoder::configure):
    (WebCore::WebCodecsAudioDecoder::decode):
    (WebCore::WebCodecsAudioDecoder::flush):
    (WebCore::WebCodecsAudioDecoder::reset):
    (WebCore::WebCodecsAudioDecoder::close):
    (WebCore::WebCodecsAudioDecoder::isConfigSupported):
    (WebCore::WebCodecsAudioDecoder::closeDecoder):
    (WebCore::WebCodecsAudioDecoder::resetDecoder):
    * Source/WebCore/Modules/webcodecs/WebCodecsAudioEncoder.cpp:
    (WebCore::WebCodecsAudioEncoder::configure):
    (WebCore::WebCodecsAudioEncoder::encode):
    (WebCore::WebCodecsAudioEncoder::flush):
    (WebCore::WebCodecsAudioEncoder::reset):
    (WebCore::WebCodecsAudioEncoder::close):
    (WebCore::WebCodecsAudioEncoder::isConfigSupported):
    (WebCore::WebCodecsAudioEncoder::closeEncoder):
    (WebCore::WebCodecsAudioEncoder::resetEncoder):
    * Source/WebCore/Modules/webcodecs/WebCodecsEncodedAudioChunk.cpp:
    (WebCore::WebCodecsEncodedAudioChunk::copyTo):
    * Source/WebCore/Modules/webcodecs/WebCodecsEncodedVideoChunk.cpp:
    (WebCore::WebCodecsEncodedVideoChunk::copyTo):
    * Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp:
    (WebCore::WebCodecsVideoDecoder::configure):
    (WebCore::WebCodecsVideoDecoder::decode):
    (WebCore::WebCodecsVideoDecoder::flush):
    (WebCore::WebCodecsVideoDecoder::reset):
    (WebCore::WebCodecsVideoDecoder::close):
    (WebCore::WebCodecsVideoDecoder::isConfigSupported):
    (WebCore::WebCodecsVideoDecoder::closeDecoder):
    (WebCore::WebCodecsVideoDecoder::resetDecoder):
    * Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp:
    (WebCore::createVideoEncoderConfig):
    (WebCore::WebCodecsVideoEncoder::configure):
    (WebCore::WebCodecsVideoEncoder::encode):
    (WebCore::WebCodecsVideoEncoder::flush):
    (WebCore::WebCodecsVideoEncoder::reset):
    (WebCore::WebCodecsVideoEncoder::close):
    (WebCore::WebCodecsVideoEncoder::isConfigSupported):
    (WebCore::WebCodecsVideoEncoder::closeEncoder):
    (WebCore::WebCodecsVideoEncoder::resetEncoder):
    * Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp:
    (WebCore::checkImageUsability):
    (WebCore::WebCodecsVideoFrame::create):
    (WebCore::validateI420Sizes):
    (WebCore::WebCodecsVideoFrame::initializeFrameFromOtherFrame):
    (WebCore::WebCodecsVideoFrame::initializeFrameWithResourceAndSize):
    (WebCore::WebCodecsVideoFrame::allocationSize):
    (WebCore::WebCodecsVideoFrame::copyTo):
    (WebCore::WebCodecsVideoFrame::clone):
    * Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.cpp:
    (WebCore::parseVisibleRect):
    (WebCore::computeLayoutAndAllocationSize):
    (WebCore::parseVideoFrameCopyToOptions):
    * Source/WebCore/Modules/webdatabase/Database.cpp:
    (WebCore::Database::openAndVerifyVersion):
    (WebCore::Database::performOpenAndVerify):
    * Source/WebCore/Modules/webdatabase/DatabaseManager.cpp:
    (WebCore::DatabaseManager::openDatabaseBackend):
    (WebCore::DatabaseManager::tryToOpenDatabaseBackend):
    * Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp:
    (WebCore::DatabaseTracker::hasAdequateQuotaForOrigin):
    (WebCore::DatabaseTracker::canEstablishDatabase):
    (WebCore::DatabaseTracker::retryCanEstablishDatabase):
    * Source/WebCore/Modules/webdatabase/LocalDOMWindowWebDatabase.cpp:
    (WebCore::LocalDOMWindowWebDatabase::openDatabase):
    * Source/WebCore/Modules/webdatabase/SQLResultSet.cpp:
    (WebCore::SQLResultSet::insertId const):
    * Source/WebCore/Modules/webdatabase/SQLResultSetRowList.cpp:
    (WebCore::SQLResultSetRowList::item const):
    * Source/WebCore/Modules/webdatabase/SQLTransaction.cpp:
    (WebCore::SQLTransaction::executeSql):
    * Source/WebCore/Modules/websockets/WebSocket.cpp:
    (WebCore::WebSocket::create):
    (WebCore::WebSocket::connect):
    (WebCore::WebSocket::send):
    (WebCore::WebSocket::close):
    * Source/WebCore/Modules/webtransport/DatagramSink.cpp:
    (WebCore::DatagramSink::write):
    * Source/WebCore/Modules/webtransport/WebTransport.cpp:
    (WebCore::WebTransport::create):
    (WebCore::WebTransport::getStats):
    (WebCore::WebTransport::close):
    (WebCore::WebTransport::cleanup):
    (WebCore::WebTransport::createBidirectionalStream):
    (WebCore::WebTransport::createUnidirectionalStream):
    * Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp:
    (WebCore::WebTransportDatagramDuplexStream::setIncomingMaxAge):
    (WebCore::WebTransportDatagramDuplexStream::setOutgoingMaxAge):
    (WebCore::WebTransportDatagramDuplexStream::setIncomingHighWaterMark):
    (WebCore::WebTransportDatagramDuplexStream::setOutgoingHighWaterMark):
    * Source/WebCore/Modules/webtransport/WebTransportReceiveStream.cpp:
    (WebCore::WebTransportReceiveStream::getStats):
    * Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp:
    (WebCore::WebTransportSendStream::getStats):
    * Source/WebCore/Modules/webxr/WebXRBoundedReferenceSpace.cpp:
    (WebCore::WebXRBoundedReferenceSpace::getOffsetReferenceSpace):
    * Source/WebCore/Modules/webxr/WebXRFrame.cpp:
    (WebCore::WebXRFrame::populatePose):
    (WebCore::WebXRFrame::getViewerPose):
    (WebCore::WebXRFrame::fillJointRadii):
    (WebCore::WebXRFrame::fillPoses):
    * Source/WebCore/Modules/webxr/WebXRReferenceSpace.cpp:
    (WebCore::WebXRReferenceSpace::getOffsetReferenceSpace):
    * Source/WebCore/Modules/webxr/WebXRRigidTransform.cpp:
    (WebCore::WebXRRigidTransform::create):
    * Source/WebCore/Modules/webxr/WebXRSession.cpp:
    (WebCore::WebXRSession::updateRenderState):
    (WebCore::WebXRSession::requestReferenceSpace):
    (WebCore::WebXRSession::end):
    * Source/WebCore/Modules/webxr/WebXRSystem.cpp:
    (WebCore::WebXRSystem::isSessionSupported):
    (WebCore::WebXRSystem::requestSession):
    * Source/WebCore/Modules/webxr/WebXRWebGLLayer.cpp:
    (WebCore::createOpaqueFramebuffer):
    (WebCore::WebXRWebGLLayer::create):
    (WebCore::WebXRWebGLLayer::getViewport):
    * Source/WebCore/animation/AnimationEffect.cpp:
    (WebCore::AnimationEffect::updateTiming):
    (WebCore::AnimationEffect::setIterationStart):
    (WebCore::AnimationEffect::setIterations):
    * Source/WebCore/animation/DocumentTimeline.cpp:
    (WebCore::DocumentTimeline::animate):
    * Source/WebCore/animation/KeyframeEffect.cpp:
    (WebCore::processKeyframeLikeObject):
    (WebCore::KeyframeEffect::processKeyframes):
    * Source/WebCore/animation/WebAnimation.cpp:
    (WebCore::WebAnimation::validateCSSNumberishValue const):
    (WebCore::WebAnimation::silentlySetCurrentTime):
    (WebCore::WebAnimation::cancel):
    (WebCore::WebAnimation::resetPendingTasks):
    (WebCore::WebAnimation::finish):
    (WebCore::WebAnimation::play):
    (WebCore::WebAnimation::pause):
    (WebCore::WebAnimation::reverse):
    (WebCore::WebAnimation::commitStyles):
    * Source/WebCore/animation/WebAnimationUtilities.cpp:
    (WebCore::pseudoIdFromString):
    * Source/WebCore/bindings/js/IDBBindingUtilities.cpp:
    (WebCore::deserializeIDBValueWithKeyInjection):
    * Source/WebCore/bindings/js/InternalReadableStream.cpp:
    (WebCore::invokeReadableStreamFunction):
    (WebCore::InternalReadableStream::tee):
    * Source/WebCore/bindings/js/InternalWritableStream.cpp:
    (WebCore::invokeWritableStreamFunction):
    * Source/WebCore/bindings/js/JSCustomElementInterface.cpp:
    (WebCore::JSCustomElementInterface::upgradeElement):
    * Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp:
    (WebCore::createDOMException):
    (WebCore::throwNotSupportedError):
    (WebCore::throwInvalidStateError):
    (WebCore::throwSecurityError):
    (WebCore::rejectPromiseWithThisTypeError):
    (WebCore::throwDOMSyntaxError):
    (WebCore::throwDataCloneError):
    * Source/WebCore/bindings/js/JSDOMGlobalObject.cpp:
    (WebCore::JSC_DEFINE_HOST_FUNCTION):
    (WebCore::handleResponseOnStreamingAction):
    * Source/WebCore/bindings/js/JSDOMPromiseDeferred.cpp:
    (WebCore::DeferredPromise::reject):
    (WebCore::fulfillPromiseWithJSON):
    * Source/WebCore/bindings/js/JSIDBRequestCustom.cpp:
    (WebCore::JSIDBRequest::result const):
    * Source/WebCore/bindings/js/JSLocalDOMWindowCustom.cpp:
    (WebCore::jsLocalDOMWindowInstanceFunction_openDatabaseBody):
    * Source/WebCore/bindings/js/JSRTCRtpSFrameTransformCustom.cpp:
    (WebCore::JSRTCRtpSFrameTransform::setEncryptionKey):
    * Source/WebCore/bindings/js/ReadableStreamDefaultController.cpp:
    (WebCore::ReadableStreamDefaultController::enqueue):
    * Source/WebCore/bindings/js/ScriptModuleLoader.cpp:
    (WebCore::ScriptModuleLoader::fetch):
    (WebCore::ScriptModuleLoader::importModule):
    (WebCore::ScriptModuleLoader::notifyFinished):
    * Source/WebCore/bindings/js/SerializedScriptValue.cpp:
    (WebCore::transferArrayBuffers):
    (WebCore::exceptionForSerializationFailure):
    (WebCore::SerializedScriptValue::create):
    * Source/WebCore/crypto/CryptoAlgorithm.cpp:
    (WebCore::CryptoAlgorithm::encrypt):
    (WebCore::CryptoAlgorithm::decrypt):
    (WebCore::CryptoAlgorithm::sign):
    (WebCore::CryptoAlgorithm::verify):
    (WebCore::CryptoAlgorithm::digest):
    (WebCore::CryptoAlgorithm::generateKey):
    (WebCore::CryptoAlgorithm::deriveBits):
    (WebCore::CryptoAlgorithm::importKey):
    (WebCore::CryptoAlgorithm::exportKey):
    (WebCore::CryptoAlgorithm::wrapKey):
    (WebCore::CryptoAlgorithm::unwrapKey):
    (WebCore::CryptoAlgorithm::getKeyLength):
    * Source/WebCore/crypto/SubtleCrypto.cpp:
    (WebCore::normalizeCryptoAlgorithmParameters):
    (WebCore::rejectWithException):
    (WebCore::toKeyData):
    (WebCore::SubtleCrypto::encrypt):
    (WebCore::SubtleCrypto::decrypt):
    (WebCore::SubtleCrypto::sign):
    (WebCore::SubtleCrypto::verify):
    (WebCore::SubtleCrypto::generateKey):
    (WebCore::SubtleCrypto::deriveKey):
    (WebCore::SubtleCrypto::deriveBits):
    (WebCore::SubtleCrypto::importKey):
    (WebCore::SubtleCrypto::exportKey):
    (WebCore::SubtleCrypto::wrapKey):
    (WebCore::SubtleCrypto::unwrapKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
    (WebCore::CryptoAlgorithmAES_CBC::encrypt):
    (WebCore::CryptoAlgorithmAES_CBC::decrypt):
    (WebCore::CryptoAlgorithmAES_CBC::generateKey):
    (WebCore::CryptoAlgorithmAES_CBC::importKey):
    (WebCore::CryptoAlgorithmAES_CBC::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_CFB.cpp:
    (WebCore::CryptoAlgorithmAES_CFB::encrypt):
    (WebCore::CryptoAlgorithmAES_CFB::decrypt):
    (WebCore::CryptoAlgorithmAES_CFB::generateKey):
    (WebCore::CryptoAlgorithmAES_CFB::importKey):
    (WebCore::CryptoAlgorithmAES_CFB::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_CTR.cpp:
    (WebCore::CryptoAlgorithmAES_CTR::encrypt):
    (WebCore::CryptoAlgorithmAES_CTR::decrypt):
    (WebCore::CryptoAlgorithmAES_CTR::generateKey):
    (WebCore::CryptoAlgorithmAES_CTR::importKey):
    (WebCore::CryptoAlgorithmAES_CTR::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp:
    (WebCore::CryptoAlgorithmAES_GCM::encrypt):
    (WebCore::CryptoAlgorithmAES_GCM::decrypt):
    (WebCore::CryptoAlgorithmAES_GCM::generateKey):
    (WebCore::CryptoAlgorithmAES_GCM::importKey):
    (WebCore::CryptoAlgorithmAES_GCM::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_KW.cpp:
    (WebCore::CryptoAlgorithmAES_KW::generateKey):
    (WebCore::CryptoAlgorithmAES_KW::importKey):
    (WebCore::CryptoAlgorithmAES_KW::exportKey):
    (WebCore::CryptoAlgorithmAES_KW::wrapKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmECDH.cpp:
    (WebCore::CryptoAlgorithmECDH::generateKey):
    (WebCore::CryptoAlgorithmECDH::deriveBits):
    (WebCore::CryptoAlgorithmECDH::importKey):
    (WebCore::CryptoAlgorithmECDH::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmECDSA.cpp:
    (WebCore::CryptoAlgorithmECDSA::sign):
    (WebCore::CryptoAlgorithmECDSA::verify):
    (WebCore::CryptoAlgorithmECDSA::generateKey):
    (WebCore::CryptoAlgorithmECDSA::importKey):
    (WebCore::CryptoAlgorithmECDSA::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmEd25519.cpp:
    (WebCore::CryptoAlgorithmEd25519::platformSign):
    (WebCore::CryptoAlgorithmEd25519::platformVerify):
    (WebCore::CryptoAlgorithmEd25519::generateKey):
    (WebCore::CryptoAlgorithmEd25519::sign):
    (WebCore::CryptoAlgorithmEd25519::verify):
    (WebCore::CryptoAlgorithmEd25519::importKey):
    (WebCore::CryptoAlgorithmEd25519::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmHKDF.cpp:
    (WebCore::CryptoAlgorithmHKDF::deriveBits):
    (WebCore::CryptoAlgorithmHKDF::importKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmHMAC.cpp:
    (WebCore::CryptoAlgorithmHMAC::generateKey):
    (WebCore::CryptoAlgorithmHMAC::importKey):
    (WebCore::CryptoAlgorithmHMAC::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmPBKDF2.cpp:
    (WebCore::CryptoAlgorithmPBKDF2::deriveBits):
    (WebCore::CryptoAlgorithmPBKDF2::importKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp:
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::encrypt):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::decrypt):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::generateKey):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::importKey):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp:
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::sign):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::verify):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::generateKey):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::importKey):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp:
    (WebCore::CryptoAlgorithmRSA_OAEP::encrypt):
    (WebCore::CryptoAlgorithmRSA_OAEP::decrypt):
    (WebCore::CryptoAlgorithmRSA_OAEP::generateKey):
    (WebCore::CryptoAlgorithmRSA_OAEP::importKey):
    (WebCore::CryptoAlgorithmRSA_OAEP::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmRSA_PSS.cpp:
    (WebCore::CryptoAlgorithmRSA_PSS::sign):
    (WebCore::CryptoAlgorithmRSA_PSS::verify):
    (WebCore::CryptoAlgorithmRSA_PSS::generateKey):
    (WebCore::CryptoAlgorithmRSA_PSS::importKey):
    (WebCore::CryptoAlgorithmRSA_PSS::exportKey):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA1.cpp:
    (WebCore::CryptoAlgorithmSHA1::digest):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA224.cpp:
    (WebCore::CryptoAlgorithmSHA224::digest):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA256.cpp:
    (WebCore::CryptoAlgorithmSHA256::digest):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA384.cpp:
    (WebCore::CryptoAlgorithmSHA384::digest):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA512.cpp:
    (WebCore::CryptoAlgorithmSHA512::digest):
    * Source/WebCore/crypto/algorithms/CryptoAlgorithmX25519.cpp:
    (WebCore::CryptoAlgorithmX25519::generateKey):
    (WebCore::CryptoAlgorithmX25519::deriveBits):
    (WebCore::CryptoAlgorithmX25519::importKey):
    (WebCore::CryptoAlgorithmX25519::exportKey):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmAES_CBCGCrypt.cpp:
    (WebCore::CryptoAlgorithmAES_CBC::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmAES_CFBGCrypt.cpp:
    (WebCore::CryptoAlgorithmAES_CFB::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CFB::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmAES_CTRGCrypt.cpp:
    (WebCore::CryptoAlgorithmAES_CTR::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CTR::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmAES_GCMGCrypt.cpp:
    (WebCore::CryptoAlgorithmAES_GCM::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_GCM::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmAES_KWGCrypt.cpp:
    (WebCore::CryptoAlgorithmAES_KW::platformWrapKey):
    (WebCore::CryptoAlgorithmAES_KW::platformUnwrapKey):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp:
    (WebCore::CryptoAlgorithmECDSA::platformSign):
    (WebCore::CryptoAlgorithmECDSA::platformVerify):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmEd25519GCrypt.cpp:
    (WebCore::signEd25519):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmHKDFGCrypt.cpp:
    (WebCore::CryptoAlgorithmHKDF::platformDeriveBits):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmHMACGCrypt.cpp:
    (WebCore::CryptoAlgorithmHMAC::platformSign):
    (WebCore::CryptoAlgorithmHMAC::platformVerify):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmPBKDF2GCrypt.cpp:
    (WebCore::CryptoAlgorithmPBKDF2::platformDeriveBits):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSAES_PKCS1_v1_5GCrypt.cpp:
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformEncrypt):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSASSA_PKCS1_v1_5GCrypt.cpp:
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformSign):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_OAEPGCrypt.cpp:
    (WebCore::CryptoAlgorithmRSA_OAEP::platformEncrypt):
    (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt):
    * Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_PSSGCrypt.cpp:
    (WebCore::CryptoAlgorithmRSA_PSS::platformSign):
    (WebCore::CryptoAlgorithmRSA_PSS::platformVerify):
    * Source/WebCore/crypto/gcrypt/CryptoKeyOKPGCrypt.cpp:
    (WebCore::CryptoKeyOKP::exportSpki const):
    (WebCore::CryptoKeyOKP::exportPkcs8 const):
    * Source/WebCore/crypto/gcrypt/CryptoKeyRSAGCrypt.cpp:
    (WebCore::CryptoKeyRSA::exportSpki const):
    (WebCore::CryptoKeyRSA::exportPkcs8 const):
    * Source/WebCore/crypto/keys/CryptoKeyAES.cpp:
    (WebCore::CryptoKeyAES::getKeyLength):
    * Source/WebCore/crypto/keys/CryptoKeyEC.cpp:
    (WebCore::CryptoKeyEC::generatePair):
    (WebCore::CryptoKeyEC::exportRaw const):
    (WebCore::CryptoKeyEC::exportJwk const):
    (WebCore::CryptoKeyEC::exportSpki const):
    (WebCore::CryptoKeyEC::exportPkcs8 const):
    * Source/WebCore/crypto/keys/CryptoKeyHMAC.cpp:
    (WebCore::CryptoKeyHMAC::getKeyLength):
    * Source/WebCore/crypto/keys/CryptoKeyOKP.cpp:
    (WebCore::CryptoKeyOKP::generatePair):
    (WebCore::CryptoKeyOKP::exportRaw const):
    (WebCore::CryptoKeyOKP::exportJwk const):
    (WebCore::CryptoKeyOKP::exportSpki const):
    (WebCore::CryptoKeyOKP::exportPkcs8 const):
    * Source/WebCore/crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
    (WebCore::transformAES_CBC):
    (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt):
    * Source/WebCore/crypto/mac/CryptoAlgorithmAES_CFBMac.cpp:
    (WebCore::transformAES_CFB):
    * Source/WebCore/crypto/mac/CryptoAlgorithmAES_GCMMac.cpp:
    (WebCore::encryptAES_GCM):
    (WebCore::decyptAES_GCM):
    * Source/WebCore/crypto/mac/CryptoAlgorithmAES_KWMac.cpp:
    (WebCore::wrapKeyAES_KW):
    (WebCore::unwrapKeyAES_KW):
    * Source/WebCore/crypto/mac/CryptoAlgorithmECDSAMac.cpp:
    (WebCore::signECDSA):
    (WebCore::verifyECDSA):
    * Source/WebCore/crypto/mac/CryptoAlgorithmHMACMac.cpp:
    (WebCore::CryptoAlgorithmHMAC::platformSign):
    (WebCore::CryptoAlgorithmHMAC::platformVerify):
    * Source/WebCore/crypto/mac/CryptoAlgorithmPBKDF2Mac.cpp:
    (WebCore::CryptoAlgorithmPBKDF2::platformDeriveBits):
    * Source/WebCore/crypto/mac/CryptoAlgorithmRSAES_PKCS1_v1_5Mac.cpp:
    (WebCore::encryptRSAES_PKCS1_v1_5):
    (WebCore::decryptRSAES_PKCS1_v1_5):
    * Source/WebCore/crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
    (WebCore::signRSASSA_PKCS1_v1_5):
    (WebCore::verifyRSASSA_PKCS1_v1_5):
    * Source/WebCore/crypto/mac/CryptoAlgorithmRSA_OAEPMac.cpp:
    (WebCore::encryptRSA_OAEP):
    (WebCore::decryptRSA_OAEP):
    * Source/WebCore/crypto/mac/CryptoAlgorithmRSA_PSSMac.cpp:
    (WebCore::signRSA_PSS):
    (WebCore::verifyRSA_PSS):
    * Source/WebCore/crypto/mac/CryptoKeyOKPCocoa.cpp:
    (WebCore::CryptoKeyOKP::exportSpki const):
    (WebCore::CryptoKeyOKP::exportPkcs8 const):
    * Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp:
    (WebCore::CryptoKeyRSA::exportSpki const):
    (WebCore::CryptoKeyRSA::exportPkcs8 const):
    * Source/WebCore/crypto/mac/CryptoUtilitiesCocoa.cpp:
    (WebCore::transformAES_CTR):
    (WebCore::deriveHDKFBits):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmAES_CBCOpenSSL.cpp:
    (WebCore::CryptoAlgorithmAES_CBC::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmAES_CFBOpenSSL.cpp:
    (WebCore::CryptoAlgorithmAES_CFB::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CFB::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmAES_CTROpenSSL.cpp:
    (WebCore::CryptoAlgorithmAES_CTR::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_CTR::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmAES_GCMOpenSSL.cpp:
    (WebCore::CryptoAlgorithmAES_GCM::platformEncrypt):
    (WebCore::CryptoAlgorithmAES_GCM::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmAES_KWOpenSSL.cpp:
    (WebCore::CryptoAlgorithmAES_KW::platformWrapKey):
    (WebCore::CryptoAlgorithmAES_KW::platformUnwrapKey):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmECDSAOpenSSL.cpp:
    (WebCore::CryptoAlgorithmECDSA::platformSign):
    (WebCore::CryptoAlgorithmECDSA::platformVerify):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp:
    (WebCore::CryptoAlgorithmHKDF::platformDeriveBits):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmHMACOpenSSL.cpp:
    (WebCore::CryptoAlgorithmHMAC::platformSign):
    (WebCore::CryptoAlgorithmHMAC::platformVerify):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmPBKDF2OpenSSL.cpp:
    (WebCore::CryptoAlgorithmPBKDF2::platformDeriveBits):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp:
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformEncrypt):
    (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp:
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformSign):
    (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmRSA_OAEPOpenSSL.cpp:
    (WebCore::CryptoAlgorithmRSA_OAEP::platformEncrypt):
    (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt):
    * Source/WebCore/crypto/openssl/CryptoAlgorithmRSA_PSSOpenSSL.cpp:
    (WebCore::CryptoAlgorithmRSA_PSS::platformSign):
    (WebCore::CryptoAlgorithmRSA_PSS::platformVerify):
    * Source/WebCore/crypto/openssl/CryptoKeyRSAOpenSSL.cpp:
    (WebCore::CryptoKeyRSA::exportSpki const):
    (WebCore::CryptoKeyRSA::exportPkcs8 const):
    * Source/WebCore/css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::setCssText):
    (WebCore::CSSComputedStyleDeclaration::setProperty):
    (WebCore::CSSComputedStyleDeclaration::removeProperty):
    (WebCore::CSSComputedStyleDeclaration::setPropertyInternal):
    * Source/WebCore/css/CSSFontFaceSet.cpp:
    (WebCore::CSSFontFaceSet::matchingFacesExcludingPreinstalledFonts):
    * Source/WebCore/css/CSSGroupingRule.cpp:
    (WebCore::CSSGroupingRule::insertRule):
    (WebCore::CSSGroupingRule::deleteRule):
    * Source/WebCore/css/CSSPrimitiveValue.cpp:
    (WebCore::CSSPrimitiveValue::getFloatValue const):
    * Source/WebCore/css/CSSStyleRule.cpp:
    (WebCore::CSSStyleRule::insertRule):
    (WebCore::CSSStyleRule::deleteRule):
    * Source/WebCore/css/CSSStyleSheet.cpp:
    (WebCore::CSSStyleSheet::create):
    (WebCore::CSSStyleSheet::insertRule):
    (WebCore::CSSStyleSheet::deleteRule):
    (WebCore::CSSStyleSheet::cssRulesForBindings):
    (WebCore::CSSStyleSheet::replaceSync):
    * Source/WebCore/css/CSSStyleSheetObservableArray.cpp:
    (WebCore::CSSStyleSheetObservableArray::shouldThrowWhenAddingSheet const):
    * Source/WebCore/css/DOMCSSPaintWorklet.cpp:
    (WebCore::PaintWorklet::addModule):
    * Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp:
    (WebCore::DOMCSSRegisterCustomProperty::registerProperty):
    * Source/WebCore/css/DOMMatrix.cpp:
    (WebCore::DOMMatrix::create):
    (WebCore::DOMMatrix::fromFloat32Array):
    (WebCore::DOMMatrix::fromFloat64Array):
    * Source/WebCore/css/DOMMatrixReadOnly.cpp:
    (WebCore::DOMMatrixReadOnly::create):
    (WebCore::DOMMatrixReadOnly::validateAndFixup):
    (WebCore::DOMMatrixReadOnly::fromFloat32Array):
    (WebCore::DOMMatrixReadOnly::fromFloat64Array):
    (WebCore::DOMMatrixReadOnly::parseStringIntoAbstractMatrix):
    (WebCore::DOMMatrixReadOnly::toFloat32Array const):
    (WebCore::DOMMatrixReadOnly::toFloat64Array const):
    (WebCore::DOMMatrixReadOnly::toString const):
    * Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.cpp:
    (WebCore::DeprecatedCSSOMPrimitiveValue::getFloatValue const):
    (WebCore::DeprecatedCSSOMPrimitiveValue::getStringValue const):
    (WebCore::DeprecatedCSSOMPrimitiveValue::getCounterValue const):
    (WebCore::DeprecatedCSSOMPrimitiveValue::getRectValue const):
    (WebCore::DeprecatedCSSOMPrimitiveValue::getRGBColorValue const):
    * Source/WebCore/css/DeprecatedCSSOMPrimitiveValue.h:
    (WebCore::DeprecatedCSSOMPrimitiveValue::setFloatValue):
    (WebCore::DeprecatedCSSOMPrimitiveValue::setStringValue):
    * Source/WebCore/css/FontFace.cpp:
    (WebCore::FontFace::setErrorState):
    (WebCore::FontFace::create):
    (WebCore::FontFace::setFamily):
    (WebCore::FontFace::setStyle):
    (WebCore::FontFace::setWeight):
    (WebCore::FontFace::setStretch):
    (WebCore::FontFace::setUnicodeRange):
    (WebCore::FontFace::setFeatureSettings):
    (WebCore::FontFace::setDisplay):
    (WebCore::FontFace::setSizeAdjust):
    (WebCore::FontFace::fontStateChanged):
    * Source/WebCore/css/FontFaceSet.cpp:
    (WebCore::FontFaceSet::load):
    (WebCore::FontFaceSet::faceFinished):
    * Source/WebCore/css/MediaList.cpp:
    (WebCore::MediaList::deleteMedium):
    * Source/WebCore/css/typedom/CSSKeywordValue.cpp:
    (WebCore::CSSKeywordValue::create):
    (WebCore::CSSKeywordValue::setValue):
    * Source/WebCore/css/typedom/CSSNumericValue.cpp:
    (WebCore::CSSNumericValue::reifyMathExpression):
    (WebCore::invert):
    (WebCore::CSSNumericValue::to):
    (WebCore::CSSNumericValue::toSum):
    (WebCore::CSSNumericValue::parse):
    * Source/WebCore/css/typedom/CSSOMVariableReferenceValue.cpp:
    (WebCore::CSSOMVariableReferenceValue::create):
    (WebCore::CSSOMVariableReferenceValue::setVariable):
    * Source/WebCore/css/typedom/CSSStyleValue.cpp:
    (WebCore::CSSStyleValue::parse):
    * Source/WebCore/css/typedom/CSSStyleValueFactory.cpp:
    (WebCore::CSSStyleValueFactory::extractCSSValue):
    (WebCore::CSSStyleValueFactory::extractShorthandCSSValues):
    (WebCore::CSSStyleValueFactory::extractCustomCSSValues):
    (WebCore::CSSStyleValueFactory::parseStyleValue):
    (WebCore::CSSStyleValueFactory::reifyValue):
    * Source/WebCore/css/typedom/CSSUnitValue.cpp:
    (WebCore::CSSUnitValue::create):
    * Source/WebCore/css/typedom/CSSUnparsedValue.cpp:
    (WebCore::CSSUnparsedValue::setItem):
    * Source/WebCore/css/typedom/MainThreadStylePropertyMapReadOnly.cpp:
    (WebCore::MainThreadStylePropertyMapReadOnly::get const):
    (WebCore::MainThreadStylePropertyMapReadOnly::getAll const):
    * Source/WebCore/css/typedom/StylePropertyMap.cpp:
    (WebCore::StylePropertyMap::set):
    (WebCore::StylePropertyMap::append):
    (WebCore::StylePropertyMap::remove):
    * Source/WebCore/css/typedom/color/CSSColorValue.cpp:
    (WebCore::CSSColorValue::rectifyCSSColorPercent):
    (WebCore::CSSColorValue::rectifyCSSColorAngle):
    (WebCore::CSSColorValue::rectifyCSSColorNumber):
    * Source/WebCore/css/typedom/color/CSSRGB.cpp:
    (WebCore::CSSRGB::rectifyCSSColorRGBComp):
    * Source/WebCore/css/typedom/numeric/CSSMathClamp.cpp:
    (WebCore::CSSMathClamp::create):
    * Source/WebCore/css/typedom/numeric/CSSMathMax.cpp:
    (WebCore::CSSMathMax::create):
    * Source/WebCore/css/typedom/numeric/CSSMathMin.cpp:
    (WebCore::CSSMathMin::create):
    * Source/WebCore/css/typedom/numeric/CSSMathProduct.cpp:
    (WebCore::CSSMathProduct::create):
    * Source/WebCore/css/typedom/numeric/CSSMathSum.cpp:
    (WebCore::CSSMathSum::create):
    * Source/WebCore/css/typedom/transform/CSSMatrixComponent.cpp:
    (WebCore::CSSMatrixComponent::create):
    * Source/WebCore/css/typedom/transform/CSSPerspective.cpp:
    (WebCore::checkLength):
    (WebCore::CSSPerspective::create):
    (WebCore::CSSPerspective::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSRotate.cpp:
    (WebCore::CSSRotate::create):
    (WebCore::CSSRotate::setX):
    (WebCore::CSSRotate::setY):
    (WebCore::CSSRotate::setZ):
    (WebCore::CSSRotate::setAngle):
    (WebCore::CSSRotate::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSScale.cpp:
    (WebCore::CSSScale::create):
    (WebCore::CSSScale::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSSkew.cpp:
    (WebCore::CSSSkew::create):
    (WebCore::CSSSkew::setAx):
    (WebCore::CSSSkew::setAy):
    (WebCore::CSSSkew::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSSkewX.cpp:
    (WebCore::CSSSkewX::create):
    (WebCore::CSSSkewX::setAx):
    (WebCore::CSSSkewX::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSSkewY.cpp:
    (WebCore::CSSSkewY::create):
    (WebCore::CSSSkewY::setAy):
    (WebCore::CSSSkewY::toMatrix):
    * Source/WebCore/css/typedom/transform/CSSTransformValue.cpp:
    (WebCore::createTransformComponent):
    (WebCore::CSSTransformValue::create):
    (WebCore::CSSTransformValue::setItem):
    * Source/WebCore/css/typedom/transform/CSSTranslate.cpp:
    (WebCore::CSSTranslate::create):
    (WebCore::CSSTranslate::setZ):
    (WebCore::CSSTranslate::toMatrix):
    * Source/WebCore/dom/AbortController.cpp:
    (WebCore::AbortController::abort):
    * Source/WebCore/dom/AbortSignal.cpp:
    (WebCore::AbortSignal::abort):
    (WebCore::AbortSignal::timeout):
    * Source/WebCore/dom/Attr.cpp:
    (WebCore::Attr::setPrefix):
    * Source/WebCore/dom/BroadcastChannel.cpp:
    (WebCore::BroadcastChannel::postMessage):
    * Source/WebCore/dom/CharacterData.cpp:
    (WebCore::CharacterData::substringData):
    (WebCore::CharacterData::insertData):
    (WebCore::CharacterData::deleteData):
    (WebCore::CharacterData::replaceData):
    * Source/WebCore/dom/ContainerNode.cpp:
    (WebCore::checkAcceptChild):
    (WebCore::checkAcceptChildGuaranteedNodeTypes):
    (WebCore::ContainerNode::removeChild):
    * Source/WebCore/dom/DOMException.cpp:
    (WebCore::DOMException::descri…
    mikhailramalho authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    cce9c4e View commit details
    Browse the repository at this point in the history
  165. [WebGPU] Implement GPUSampleMask support

    https://bugs.webkit.org/show_bug.cgi?id=251444
    radar://103304584
    
    Reviewed by Tadeu Zagallo.
    
    webgpu:api,operation,render_pipeline,sample_mask:* is all
    green locally in MiniBrowser after this change but there
    is some timeout running it through WKTR so I did not update
    the expectations.
    
    * Source/WebGPU/WebGPU/RenderPipeline.mm:
    (WebGPU::Device::createRenderPipeline):
    
    Canonical link: https://commits.webkit.org/270535@main
    mwyrzykowski authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d674705 View commit details
    Browse the repository at this point in the history
  166. Correct <input type=checkbox switch> macOS RTL thumb placement

    https://bugs.webkit.org/show_bug.cgi?id=264477
    rdar://118174107
    
    Reviewed by Mike Wyrzykowski.
    
    While most RTL aspects are handled by bitmaps from AppKit, thumb
    placement is on us and I forgot about it initially.
    
    Test is exported via
    web-platform-tests/wpt#43074.
    
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/input-checkbox-switch-rtl-notref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/input-checkbox-switch-rtl.tentative-expected-mismatch.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/html/rendering/widgets/input-checkbox-switch-rtl.tentative.html: Added.
    * LayoutTests/platform/glib/TestExpectations:
    * LayoutTests/platform/ios/TestExpectations:
    * Source/WebCore/platform/graphics/mac/controls/SwitchThumbMac.mm:
    (WebCore::SwitchThumbMac::draw):
    
    Canonical link: https://commits.webkit.org/270536@main
    annevk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3b7210d View commit details
    Browse the repository at this point in the history
  167. Run oxipng on the resources/ images

    https://bugs.webkit.org/show_bug.cgi?id=259692
    
    Reviewed by Alex Christensen.
    
    `oxipng -omax -s --scale16 -Z` manages to reduce these images by 1.8 MB.
    
    * resources/js-wrapper.png:
    * resources/webkit2-process-architecture.png:
    * resources/xcode-add-file.png:
    * resources/xcode-build-settings-for-run.png:
    * resources/xcode-export-header.png:
    * resources/xcode-scheme-dumprendertree.png:
    * resources/xcode-scheme-layout-test.png:
    * resources/xcode-workspace-build-location.png:
    * resources/xcode-workspace-settings.png:
    
    Canonical link: https://commits.webkit.org/270537@main
    gsnedders authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    674a831 View commit details
    Browse the repository at this point in the history
  168. Clean up EnumTraits specializations under WebCore/loader

    https://bugs.webkit.org/show_bug.cgi?id=264560
    
    Reviewed by Chris Dumez.
    
    Remove EnumTraits specializations for the HTTPHeadersToKeepFromCleaning,
    CrossOriginOpenerPolicyValue and PreflightPolicy enumerations. IPC serialization
    specification is added for the first one, the latter two are already covered.
    
    * Source/WebCore/loader/CrossOriginAccessControl.h:
    * Source/WebCore/loader/CrossOriginOpenerPolicy.h:
    * Source/WebCore/loader/ResourceLoaderOptions.h:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270538@main
    zdobersek authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    cbfee20 View commit details
    Browse the repository at this point in the history
  169. [macOS] Fix positioning of datalist dropdown indicator in vertical wr…

    …iting mode
    
    https://bugs.webkit.org/show_bug.cgi?id=264559
    rdar://118224328
    
    Reviewed by Tim Nguyen.
    
    * Source/WebCore/rendering/RenderThemeMac.mm:
    (WebCore::RenderThemeMac::adjustListButtonStyle const):
    
    Use the appropriate logical property to position the indicator.
    
    Canonical link: https://commits.webkit.org/270539@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    255dd40 View commit details
    Browse the repository at this point in the history
  170. Sync 'identifier' in Touch.idl with Web Specification

    https://bugs.webkit.org/show_bug.cgi?id=264533
    
    Reviewed by Michael Catanzaro.
    
    This patch is to align 'identifier' with Web-Specification [1] by changing to 'long' / 'int'.
    
    [1] https://w3c.github.io/touch-events/#touch-interface
    
    * Source/WebCore/dom/Touch.idl:
    * Source/WebCore/dom/Touch.cpp:
    (Touch::Touch):
    (Touch::Touch):
    * Source/WebCore/dom/Touch.h: All use cases in 'arguments' as well
    (create):
    
    Canonical link: https://commits.webkit.org/270540@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e5937b9 View commit details
    Browse the repository at this point in the history
  171. LocalFrameView: Use a weak reference for embedded objects during update

    https://bugs.webkit.org/show_bug.cgi?id=263179
    rdar://116715302
    
    Reviewed by Chris Dumez.
    
    Embedded objects can be remove during update, so it's safer to
    use a weak reference to avoid leaking one.
    
    * LayoutTests/fast/dom/move-embedded-during-update-expected.txt: Added.
    * LayoutTests/fast/dom/move-embedded-during-update.html: Added.
    * Source/WebCore/page/LocalFrameView.cpp:
    (WebCore::LocalFrameView::updateEmbeddedObject):
    (WebCore::LocalFrameView::updateEmbeddedObjects):
    * Source/WebCore/page/LocalFrameView.h:
    
    Co-authored-by: Žan Doberšek <[email protected]>
    Canonical link: https://commits.webkit.org/270541@main
    csaavedra authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d5d3518 View commit details
    Browse the repository at this point in the history
  172. AX: VoiceOver does not announce button in text if button is in shadow…

    … root
    
    https://bugs.webkit.org/show_bug.cgi?id=264410
    rdar://118118138
    
    Reviewed by Tyler Wilcock.
    
    In shadow DOM elements, if text was within nested elements, textUnderElement would not include it.
    
    This patch resolves that by adding to our logic for when we decide whether or not to skip a child's
    text. Instead of just checking whether the child's parent and the current node match, we also check
    that the elements are either both in the DOM or Shadow DOM.
    
    * LayoutTests/accessibility/custom-elements/shadow-element-text-expected.txt: Added.
    * LayoutTests/accessibility/custom-elements/shadow-element-text.html: Added.
    * LayoutTests/platform/glib/accessibility/custom-elements/shadow-element-text-expected.txt: Added.
    * Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::textUnderElement const):
    
    Canonical link: https://commits.webkit.org/270542@main
    hoffmanjoshua authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    fdf8c79 View commit details
    Browse the repository at this point in the history
  173. NetworkRTCProvider::doSocketTaskOnRTCNetworkThread should protect iself

    https://bugs.webkit.org/show_bug.cgi?id=261200
    rdar://112521277
    
    Reviewed by Eric Carlson.
    
    Make sure to ref NetworkRTCProvider before hopping to another thread.
    We mark NetworkRTCProvider as DestructionThread::MainRunLoop to ensure it gets destroyed in main run loop.
    
    * Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp:
    (WebKit::NetworkRTCProvider::createClientTCPSocket):
    (WebKit::NetworkRTCProvider::doSocketTaskOnRTCNetworkThread):
    * Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.h:
    
    Originally-landed-as: 5dd0bac29991. rdar://117810497
    Canonical link: https://commits.webkit.org/270543@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1dc3c3b View commit details
    Browse the repository at this point in the history
  174. Conform to new selectionClipRect method in UIAsyncTextInput

    https://bugs.webkit.org/show_bug.cgi?id=264551
    rdar://118217775
    
    Reviewed by Wenson Hsieh.
    
    Continuing adoption of more parts of the UIAsyncTextInput protocol
    
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    (-[WKContentView _selectionClipRectInternal]):
    (-[WKContentView _selectionClipRect]):
    (-[WKContentView selectionClipRect]):
    
    Canonical link: https://commits.webkit.org/270544@main
    megangardner authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    de0346f View commit details
    Browse the repository at this point in the history
  175. Support <select> in vertical writing mode

    https://bugs.webkit.org/show_bug.cgi?id=117233
    rdar://102651643
    
    Reviewed by Tim Nguyen.
    
    `<select>`, `<select multiple>`, and `<select size=N>` work in vertical writing
    modes following fixes in `RenderMenuList`, `RenderListBox`, and related code.
    
    Allow the use of vertical writing modes with `<select>` when the
    `VerticalFormControlsEnabled` setting is turned on.
    
    * LayoutTests/TestExpectations:
    * LayoutTests/fast/forms/vertical-writing-mode/listbox-drag-horizontal-scrollbar-expected.txt:
    * LayoutTests/fast/forms/vertical-writing-mode/listbox-drag-horizontal-scrollbar.html:
    
    Adjust this test to avoid assuming a platform-specific option height. Simply
    check that `scrollLeft` is greater than zero to verify that scrolling has occurred.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-appearance-native-computed-style-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-multiple-keyboard-selection.optional-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-multiple-options-visual-order-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-multiple-scrolling.optional-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-size-scrolling-and-sizing.optional-expected.txt:
    * LayoutTests/platform/glib/TestExpectations:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-appearance-native-computed-style-expected.txt: Removed.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-multiple-scrolling.optional-expected.txt: Added.
    * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-appearance-native-computed-style-expected.txt: Removed.
    * Source/WebCore/css/horizontalFormControls.css:
    (button, textarea, progress, meter, input, select):
    * Source/WebCore/css/html.css:
    (select): Deleted.
    
    Canonical link: https://commits.webkit.org/270545@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d07c8b0 View commit details
    Browse the repository at this point in the history
  176. AX ITM Test Gardening: accessibility/aria-combobox-no-owns.html is ti…

    …ming out
    
    https://bugs.webkit.org/show_bug.cgi?id=264554
    rdar://problem/118219034
    
    Unreviewed test gardening.
    
    * LayoutTests/accessibility-isolated-tree/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270546@main
    twilco authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    243ee67 View commit details
    Browse the repository at this point in the history
  177. Remove IntersectionObserverEnabled preference

    https://bugs.webkit.org/show_bug.cgi?id=264479
    rdar://118175306
    
    Reviewed by Simon Fraser.
    
    It's been enabled for a very long time now.
    
    * LayoutTests/intersection-observer/intersection-observer-callback-after-gc.html:
    * LayoutTests/intersection-observer/intersection-observer-callback-leak.html:
    * LayoutTests/intersection-observer/intersection-observer-entry-interface.html:
    * LayoutTests/intersection-observer/intersection-observer-interface.html:
    * LayoutTests/intersection-observer/intersection-observer-keeps-element-of-queued-entry-alive.html:
    * LayoutTests/intersection-observer/intersection-observer-should-not-leak-observed-nodes.html:
    * LayoutTests/intersection-observer/root-element-deleted.html:
    * LayoutTests/intersection-observer/root-element-moved.html:
    * LayoutTests/intersection-observer/target-deleted.html:
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/page/IntersectionObserver.idl:
    * Source/WebCore/page/IntersectionObserverEntry.idl:
    * Source/WebKit/UIProcess/API/C/WKPreferences.cpp:
    (WKPreferencesSetIntersectionObserverEnabled):
    (WKPreferencesGetIntersectionObserverEnabled):
    * Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h:
    * Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
    * Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
    (-[WebPreferences intersectionObserverEnabled]):
    (-[WebPreferences setIntersectionObserverEnabled:]):
    * Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:
    
    Canonical link: https://commits.webkit.org/270547@main
    annevk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7f0c120 View commit details
    Browse the repository at this point in the history
  178. REGRESSION (iOS 17 Beta): The camera preview is with a wrong resoluti…

    …on for a short time when the iOS User enables/disables the camera
    
    https://bugs.webkit.org/show_bug.cgi?id=259364
    rdar://112621697
    
    Reviewed by Jer Noble.
    
    The fencing mechanism to synchronize UIProcess and GPUProcess layering works properly only on main thread.
    We therefore need to process the WebProcess to GPUProcess message in main thread and not in a queue.
    We thus introduce a new GPUConnectionToWebProcess message that will be processed in main thread.
    We then get the SampleBufferDisplayLayer (via a lock) to call updateSampleLayerBoundsAndPosition which synchronously updates the bounds.
    
    * Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm:
    (WebCore::LocalSampleBufferDisplayLayer::updateSampleLayerBoundsAndPosition):
    * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp:
    (WebKit::GPUConnectionToWebProcess::updateSampleBufferDisplayLayerBoundsAndPosition):
    * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h:
    * Source/WebKit/GPUProcess/GPUConnectionToWebProcess.messages.in:
    * Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h:
    * Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.messages.in:
    * Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayerManager.cpp:
    (WebKit::RemoteSampleBufferDisplayLayerManager::close):
    (WebKit::RemoteSampleBufferDisplayLayerManager::dispatchMessage):
    (WebKit::RemoteSampleBufferDisplayLayerManager::createLayer):
    (WebKit::RemoteSampleBufferDisplayLayerManager::releaseLayer):
    (WebKit::RemoteSampleBufferDisplayLayerManager::allowsExitUnderMemoryPressure const):
    (WebKit::RemoteSampleBufferDisplayLayerManager::updateSampleBufferDisplayLayerBoundsAndPosition):
    * Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayerManager.h:
    * Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.cpp:
    (WebKit::SampleBufferDisplayLayer::updateBoundsAndPosition):
    
    Canonical link: https://commits.webkit.org/270548@main
    youennf authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1efbd8f View commit details
    Browse the repository at this point in the history
  179. Remove ResizeObserverEnabled preference

    https://bugs.webkit.org/show_bug.cgi?id=264561
    
    Reviewed by Simon Fraser.
    
    This has been enabled for a long enough that we no longer need the
    branching.
    
    * LayoutTests/imported/w3c/web-platform-tests/resize-observer/eventloop.html:
    * LayoutTests/imported/w3c/web-platform-tests/resize-observer/idlharness.window.html:
    * LayoutTests/imported/w3c/web-platform-tests/resize-observer/notify.html:
    * LayoutTests/imported/w3c/web-platform-tests/resize-observer/observe.html:
    * LayoutTests/imported/w3c/web-platform-tests/resize-observer/svg.html:
    * LayoutTests/resize-observer/delete-observers-in-callbacks.html:
    * LayoutTests/resize-observer/element-leak.html:
    * LayoutTests/resize-observer/modify-frametree-in-callback.html:
    * LayoutTests/resize-observer/multi-frames.html:
    * LayoutTests/resize-observer/observe-disconnected-target-crash.html:
    * LayoutTests/resize-observer/observe-element-from-other-frame.html:
    * LayoutTests/resize-observer/observe-then-disconnect-target.html:
    * LayoutTests/resize-observer/resize-observer-callback-leak.html:
    * LayoutTests/resize-observer/resize-observer-entry-keeps-js-wrapper-of-target-alive.html:
    * LayoutTests/resize-observer/resize-observer-keeps-element-of-queued-entry-alive.html:
    * LayoutTests/resize-observer/resize-observer-keeps-js-wrapper-of-target-alive.html:
    * LayoutTests/resize-observer/resize-observer-should-not-leak-observed-nodes.html:
    * LayoutTests/resize-observer/resize-observer-with-zoom.html:
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/page/ResizeObserver.idl:
    * Source/WebCore/page/ResizeObserverEntry.idl:
    * Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
    * Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
    (-[WebPreferences resizeObserverEnabled]):
    (-[WebPreferences setResizeObserverEnabled:]):
    * Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:
    
    Canonical link: https://commits.webkit.org/270549@main
    annevk authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    73a3d56 View commit details
    Browse the repository at this point in the history
  180. Make LayerRepaintRects internal to RenderLayer

    https://bugs.webkit.org/show_bug.cgi?id=264530
    rdar://118203951
    
    Reviewed by Chris Dumez.
    
    There are two call sites that make use of RenderLayer's cached repaint rects, but
    they both use only the clippedOverflowRect, not the outlineBoundsRect, so we can
    hide RepaintRects inside of RenderLayer, and only expose the cachedClippedOverflowRect()
    to those two clients.
    
    * Source/WebCore/rendering/LegacyLineLayout.cpp:
    (WebCore::LegacyLineLayout::layoutRunsAndFloats):
    * Source/WebCore/rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::cachedClippedOverflowRect const):
    (WebCore::RenderLayer::setRepaintRects):
    (WebCore::RenderLayer::shouldRepaintAfterLayout const):
    * Source/WebCore/rendering/RenderLayer.h:
    (WebCore::RenderLayer::repaintRects const):
    * Source/WebCore/rendering/RenderLayerModelObject.cpp:
    (WebCore::RenderLayerModelObject::styleDidChange):
    (WebCore::RenderLayerModelObject::cachedLayerClippedOverflowRect const):
    (WebCore::RenderLayerModelObject::layerRepaintRects const): Deleted.
    * Source/WebCore/rendering/RenderLayerModelObject.h:
    * Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
    (WebCore::RenderLayerScrollableArea::scrollTo):
    
    Canonical link: https://commits.webkit.org/270550@main
    smfr authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7880134 View commit details
    Browse the repository at this point in the history
  181. [scroll-anchoring] Exclude absolutely positioned elements with contai…

    …ning blocks outside the parent scroller
    
    https://bugs.webkit.org/show_bug.cgi?id=262329
    rdar://116201738
    
    Reviewed by Simon Fraser.
    
    Exclude absolutely positioned elements with containing blocks outside the parent scroller.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/abspos-containing-block-outside-scroller-expected.txt:
    * Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
    (WebCore::absolutePositionedElementOutsideScroller):
    (WebCore::ScrollAnchoringController::computeOffset):
    (WebCore::ScrollAnchoringController::examineCandidate):
    
    Canonical link: https://commits.webkit.org/270551@main
    nmoucht authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1423c75 View commit details
    Browse the repository at this point in the history
  182. Add missing 'optional' in constructor of 'RTCIceCandidate.idl' as per…

    … WebIDL Specification
    
    https://bugs.webkit.org/show_bug.cgi?id=264564
    
    Reviewed by Youenn Fablet.
    
    This patch is to align WebKit with Gecko / Firefox, Blink / Chromium and Web-Specification [1].
    
    [1] https://w3c.github.io/webrtc-pc/#rtcicecandidate-interface
    
    This PR is adding missing 'optional' in constructor as required by web specification.
    
    * Source/WebCore/Modules/mediastream/RTCIceCandidate.idl:
    * LayoutTests/imported/w3c/web-platform-tests/webrtc/idlharness.https.window-expected.txt: Rebaselined
    * LayoutTests/fast/mediastream/RTCIceCandidate-expected.txt: Rebaselined
    
    Canonical link: https://commits.webkit.org/270552@main
    Ahmad-S792 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    95c90ee View commit details
    Browse the repository at this point in the history
  183. [WGSL] Add tests and code generation for all texture functions

    https://bugs.webkit.org/show_bug.cgi?id=264602
    rdar://118239571
    
    Reviewed by Mike Wyrzykowski.
    
    Add extra tests for all functions and add code generation. There's still a
    FIXME for textureSampleBaseClampToEdge, but that is a bit more complex and
    will be addressed in a later patch.
    
    * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
    (WGSL::Metal::emitTextureGather):
    (WGSL::Metal::emitTextureGatherCompare):
    (WGSL::Metal::emitTextureSampleBaseClampToEdge):
    (WGSL::Metal::emitTextureSampleBias):
    (WGSL::Metal::emitTextureNumLayers):
    (WGSL::Metal::emitTextureNumSamples):
    (WGSL::Metal::FunctionDefinitionWriter::visit):
    (WGSL::Metal::emitTextureSampleClampToEdge): Deleted.
    * Source/WebGPU/WGSL/tests/valid/overload.wgsl:
    
    Canonical link: https://commits.webkit.org/270553@main
    tadeuzagallo authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8a87f79 View commit details
    Browse the repository at this point in the history
  184. [Cocoa] AVContentKey -revoke and -externalContentProtectionStatus hav…

    …e correctness issues when using AVContentKeySession in legacy WebKit compatibility mode
    
    https://bugs.webkit.org/show_bug.cgi?id=264528
    rdar://118201899
    
    Reviewed by Jer Noble.
    
    -[AVContentKey revoke] and -[AVContentKey externalContentProtectionStatus] have correctness issues
    when used with an AVContentKeySession in legacy WebKit compatibility mode, which is the default.
    
    Addressed this by tying the use of these APIs to the SampleBufferContentKeySessionSupportEnabled web
    preference. Since this preference now encompasses the use of the BuiltInCDMKeyGroupingStrategyEnabled
    preference, removed the latter.
    
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:
    (WebCore::MediaKeySession::keyGroupingStrategy const):
    * Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForRequest const):
    
    Canonical link: https://commits.webkit.org/270554@main
    aestes authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7a8132d View commit details
    Browse the repository at this point in the history
  185. [GTK][WPE] Don't create compositing layers for small canvases

    https://bugs.webkit.org/show_bug.cgi?id=263774
    
    Reviewed by Carlos Garcia Campos.
    
    Apple has been doing it on Mac and iOS since 126608@main back in 2013.
    This should bring test results on GTK and WPE more in line with generic
    test expectations.
    
    * Source/WebCore/rendering/RenderLayerCompositor.cpp:
    
    Canonical link: https://commits.webkit.org/270555@main
    obyknovenius authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d179734 View commit details
    Browse the repository at this point in the history
  186. Stop using Vector::unsafeAppendWithoutCapacityCheck() in TinyLRUCache

    https://bugs.webkit.org/show_bug.cgi?id=264585
    
    Reviewed by Ryosuke Niwa.
    
    * Source/WTF/wtf/TinyLRUCache.h:
    (WTF::TinyLRUCache::get):
    (WTF::TinyLRUCache::cacheBuffer):
    
    Canonical link: https://commits.webkit.org/270556@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3fc68b3 View commit details
    Browse the repository at this point in the history
  187. Add 2d-transform-inline-js.html for WPT test

    https://bugs.webkit.org/show_bug.cgi?id=263699
    rdar://problem/117523629
    
    Reviewed by Antoine Quint.
    
    This test ensures that getComputedStyle provides a valid transform value
    for inline elements. Originally written for WebKit, it is rewritten for
    WPT since such a test didn't exist there.
    
     * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/2d-transform-inline-js-expected.txt: Added.
     * LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/2d-transform-inline-js.html: Added.
    
    Canonical link: https://commits.webkit.org/270557@main
    Joone Hur authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    88fb0db View commit details
    Browse the repository at this point in the history
  188. Use serialization for WebCore::ExceptionCode

    https://bugs.webkit.org/show_bug.cgi?id=264453
    
    Reviewed by Chris Dumez.
    
    OutOfMemoryError was missing from EnumTraits, so it was added to the enum class
    in WebCoreArgumentCoders.serialization.in
    
    * Source/WebCore/dom/ExceptionCode.h:
    (): Deleted.
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270558@main
    mikhailramalho authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d8c95b5 View commit details
    Browse the repository at this point in the history
  189. Port PlatformCAAnimationRemote::Properties to the new IPC serializati…

    …on format
    
    https://bugs.webkit.org/show_bug.cgi?id=264597
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.h:
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
    (WebKit::PlatformCAAnimationRemote::Properties::encode const): Deleted.
    (WebKit::PlatformCAAnimationRemote::Properties::decode): Deleted.
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemoteProperties.h: Added.
    * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemoteProperties.serialization.in: Added.
    
    Canonical link: https://commits.webkit.org/270559@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c726e47 View commit details
    Browse the repository at this point in the history
  190. [UnifiedPDF] Re-enable the PDF HUD

    https://bugs.webkit.org/show_bug.cgi?id=264608
    <rdar://problem/118154838>
    
    Reviewed by Richard Robinson and Simon Fraser.
    
    Hoist PDFPlugin's HUD creation/destruction code into PDFPluginBase, and add
    empty implementations of the actions.
    
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
    (WebKit::PDFPlugin::PDFPlugin):
    (WebKit::PDFPlugin::teardown):
    (WebKit::PDFPlugin::~PDFPlugin): Deleted.
    (WebKit::PDFPlugin::hudEnabled const): Deleted.
    (WebKit::PDFPlugin::frameForHUD const): Deleted.
    (WebKit::PDFPlugin::updatePDFHUDLocation): Deleted.
    (WebKit::PDFPlugin::convertFromPluginToPDFView const): Deleted.
    (WebKit::PDFPlugin::convertFromPDFViewToRootView const): Deleted.
    (WebKit::PDFPlugin::convertFromRootViewToPDFView const): Deleted.
    (WebKit::PDFPlugin::convertFromPDFViewToScreen const): Deleted.
    (WebKit::PDFPlugin::boundsOnScreen const): Deleted.
    (WebKit::PDFPlugin::visibilityDidChange): Deleted.
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h:
    (WebKit::PDFPluginBase::identifier const):
    (WebKit::PDFPluginBase::visibilityDidChange): Deleted.
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm:
    (WebKit::PDFPluginBase::PDFPluginBase):
    (WebKit::PDFPluginBase::~PDFPluginBase):
    (WebKit::PDFPluginBase::teardown):
    (WebKit::PDFPluginBase::geometryDidChange):
    (WebKit::PDFPluginBase::visibilityDidChange):
    (WebKit::PDFPluginBase::convertFromPluginToPDFView const):
    (WebKit::PDFPluginBase::convertFromPDFViewToRootView const):
    (WebKit::PDFPluginBase::convertFromRootViewToPDFView const):
    (WebKit::PDFPluginBase::convertFromPDFViewToScreen const):
    (WebKit::PDFPluginBase::boundsOnScreen const):
    (WebKit::PDFPluginBase::updatePDFHUDLocation):
    (WebKit::PDFPluginBase::frameForHUD const):
    (WebKit::PDFPluginBase::hudEnabled const):
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    (WebKit::UnifiedPDFPlugin::teardown):
    (WebKit::UnifiedPDFPlugin::countFindMatches):
    (WebKit::UnifiedPDFPlugin::findString):
    (WebKit::UnifiedPDFPlugin::zoomIn):
    (WebKit::UnifiedPDFPlugin::zoomOut):
    (WebKit::UnifiedPDFPlugin::save):
    (WebKit::UnifiedPDFPlugin::openWithPreview):
    * Source/WebKit/WebProcess/WebPage/WebPage.h:
    * Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm:
    (WebKit::WebPage::createPDFHUD):
    (WebKit::WebPage::updatePDFHUDLocation):
    (WebKit::WebPage::removePDFHUD):
    
    Canonical link: https://commits.webkit.org/270560@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    892a1f8 View commit details
    Browse the repository at this point in the history
  191. Unreviewed, reverting 270516@main.

    https://bugs.webkit.org/show_bug.cgi?id=264613
    
    Broke internal builds
    
    Reverted changeset:
    
    "[iOS] `svh`/`dvh` units are unexpectedly equal when Safari tab bar is not visible"
    https://bugs.webkit.org/show_bug.cgi?id=261185
    https://commits.webkit.org/270516@main
    
    Canonical link: https://commits.webkit.org/270561@main
    webkit-commit-queue authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b170485 View commit details
    Browse the repository at this point in the history
  192. Save style sheet resources with same URL in different files

    https://bugs.webkit.org/show_bug.cgi?id=264520
    rdar://118199671
    
    Reviewed by Ryosuke Niwa.
    
    In current implementation, if two link elements have the same url, we only create one file for storing the resource.
    However, two link elements corresponds to two CSSStyleSheet objects, which can be modified independently by script. To
    ensure the changes from script are captured, now we store content of CSSStyleSheet object in its own file.
    
    API tests: WebArchive.SaveResourcesLink
               WebArchive.SaveResourcesLinksWithSameURL
               WebArchive.SaveResourcesCSSImportRule
    
    * Source/WebCore/css/CSSFontFaceRule.cpp:
    (WebCore::CSSFontFaceRule::cssTextWithReplacementURLs const):
    * Source/WebCore/css/CSSFontFaceRule.h:
    * Source/WebCore/css/CSSGroupingRule.cpp:
    (WebCore::CSSGroupingRule::cssTextForDeclsAndRules const):
    * Source/WebCore/css/CSSImportRule.cpp:
    (WebCore::CSSImportRule::cssTextInternal const):
    (WebCore::CSSImportRule::cssText const):
    (WebCore::CSSImportRule::cssTextWithReplacementURLs const):
    (WebCore::CSSImportRule::getChildStyleSheets):
    * Source/WebCore/css/CSSImportRule.h:
    * Source/WebCore/css/CSSRule.h:
    (WebCore::CSSRule::cssTextWithReplacementURLs const):
    (WebCore::CSSRule::getChildStyleSheets):
    * Source/WebCore/css/CSSStyleRule.cpp:
    (WebCore::CSSStyleRule::cssTextForRules const):
    (WebCore::CSSStyleRule::cssTextWithReplacementURLs const):
    (WebCore::CSSStyleRule::cssTextForRulesWithReplacementURLs const):
    (WebCore::CSSStyleRule::getChildStyleSheets):
    * Source/WebCore/css/CSSStyleRule.h:
    * Source/WebCore/css/CSSStyleSheet.cpp:
    (WebCore::CSSStyleSheet::cssTextWithReplacementURLs):
    (WebCore::CSSStyleSheet::getChildStyleSheets):
    * Source/WebCore/css/CSSStyleSheet.h:
    * Source/WebCore/editing/MarkupAccumulator.cpp:
    (WebCore::MarkupAccumulator::MarkupAccumulator):
    (WebCore::MarkupAccumulator::appendContentsForNode):
    (WebCore::MarkupAccumulator::resolveURLIfNeeded const):
    * Source/WebCore/editing/MarkupAccumulator.h:
    (WebCore::MarkupAccumulator::MarkupAccumulator):
    * Source/WebCore/editing/markup.cpp:
    (WebCore::serializeFragment):
    * Source/WebCore/editing/markup.h:
    (WebCore::serializeFragment):
    * Source/WebCore/html/HTMLLinkElement.cpp:
    (WebCore::HTMLLinkElement::styleSheetContentWithReplacementURLs const): Deleted.
    * Source/WebCore/html/HTMLLinkElement.h:
    * Source/WebCore/html/HTMLStyleElement.cpp:
    (WebCore::HTMLStyleElement::textContentWithReplacementURLs const): Deleted.
    * Source/WebCore/html/HTMLStyleElement.h:
    * Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp:
    (WebCore::LegacyWebArchive::create):
    (WebCore::addSubresourcesForCSSStyleSheetsIfNecessary):
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm:
    
    Canonical link: https://commits.webkit.org/270562@main
    szewai authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    33ac4cf View commit details
    Browse the repository at this point in the history
  193. [UIAsyncTextInput] Adopt `-[UIAsyncTextInteractionDelegate selection(…

    …Will|Did)Change:]`
    
    https://bugs.webkit.org/show_bug.cgi?id=264589
    
    Reviewed by Megan Gardner.
    
    Adopt two `UIAsyncTextInteractionDelegate` methods:
    
    ```
    -[UIAsyncTextInteractionDelegate selectionWillChange:]
    -[UIAsyncTextInteractionDelegate selectionDidChange:]
    ```
    
    ...in place of these two methods currently on `UITextInputAdditions`:
    
    ```
    -[UITextInputAdditions beginSelectionChange]
    -[UITextInputAdditions endSelectionChange]
    ```
    
    These method hooks allow `WKContentView` to implement some bookkeeping when UIKit is driving
    selection changes (e.g. during text interactions, such as tapping to change an editable caret
    selection). Note that while clients of the latter currently need to call `-selectionWillChange:` and
    `-selectionDidChange:`, the new API does not require this (and instead calls these methods from
    underneath the async text input).
    
    * Source/WTF/wtf/PlatformHave.h:
    * Source/WebKit/Platform/spi/ios/UIKitSPI.h:
    
    Add a new compile-time flag to guard the availability of `UIAsyncTextInteractionDelegate`.
    
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
    * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
    
    Conform to `UIAsyncTextInteractionDelegate` when possible.
    
    (-[WKContentView moveByOffset:]):
    (-[WKContentView accessoryView:tabInDirection:]):
    (-[WKContentView beginSelectionChange]):
    (-[WKContentView _internalBeginSelectionChange]):
    
    We invoke `-(begin|end)SelectionChange` in various places, from within WebKit code; to avoid our own
    release assertions, split this out into `_internal`-prefixed methods, for use within the engine.
    
    (-[WKContentView _updateInternalStateBeforeSelectionChange]):
    (-[WKContentView endSelectionChange]):
    
    Add assertions as well to enforce that the system doesn't call into these internal hooks when the
    input delegate is a `UIAsyncTextInput`.
    
    (-[WKContentView _internalEndSelectionChange]):
    (-[WKContentView _updateInternalStateAfterSelectionChange]):
    (-[WKContentView executeEditCommandWithCallback:]):
    (-[WKContentView _selectionChanged]):
    (-[WKContentView selectWordForReplacement]):
    (-[WKContentView selectionWillChange:]):
    (-[WKContentView selectionDidChange:]):
    * Source/WebKit/UIProcess/ios/WKTextInteractionWrapper.mm:
    (-[WKTextInteractionWrapper initWithView:]):
    
    Canonical link: https://commits.webkit.org/270563@main
    whsieh authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e752234 View commit details
    Browse the repository at this point in the history
  194. Hook up IPC for webNavigation APIs

    https://bugs.webkit.org/show_bug.cgi?id=264595
    rdar://118237023
    
    Reviewed by Timothy Hatcher.
    
    This patch creates a new WebExtensionFrameParameters and adopts it to pass frame data from the UI process
    back to the Web process.
    
    * Source/WebKit/DerivedSources-input.xcfilelist: Add the new file.
    * Source/WebKit/DerivedSources.make: Ditto.
    * Source/WebKit/Scripts/webkit/messages.py:
    (types_that_cannot_be_forward_declared): Ditto.
    * Source/WebKit/Shared/Extensions/WebExtensionFrameParameters.h: Added.
    * Source/WebKit/Shared/Extensions/WebExtensionFrameParameters.serialization.in: Added.
    * Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIWebNavigationCocoa.mm: Added.
    (WebKit::WebExtensionContext::webNavigationGetFrame): Call into the UI process and generate Objective-C objects based on the return value.
    (WebKit::WebExtensionContext::webNavigationGetAllFrames): Ditto.
    * Source/WebKit/UIProcess/Extensions/WebExtensionContext.h: Add the message handling methods.
    * Source/WebKit/UIProcess/Extensions/WebExtensionContext.messages.in: Ditto.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj: Add the new files.
    * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPIWebNavigationCocoa.mm:
    (WebKit::toWebAPI): Turn the passed in arguments into NS types.
    (WebKit::WebExtensionAPIWebNavigation::getAllFrames): Call into the UI process to perform the work.
    (WebKit::WebExtensionAPIWebNavigation::getFrame): Ditto.
    
    Canonical link: https://commits.webkit.org/270564@main
    b-weinstein authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    901d0dd View commit details
    Browse the repository at this point in the history
  195. [Cocoa] Baseline alignment of checkboxes and radio buttons is incorre…

    …ct in vertical writing mode
    
    https://bugs.webkit.org/show_bug.cgi?id=264532
    rdar://118203958
    
    Reviewed by Alan Baradlay.
    
    Checkboxes and radio buttons should be horizontally centered relative to
    associated text in vertical writing mode.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-lr-baseline.optional-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-lr-baseline.optional-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-lr-baseline.optional.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-rl-baseline.optional-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-rl-baseline.optional-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-appearance-native-vertical-rl-baseline.optional.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-lr-baseline.optional-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-lr-baseline.optional-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-lr-baseline.optional.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-rl-baseline.optional-expected.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-rl-baseline.optional-ref.html: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/radio-appearance-native-vertical-rl-baseline.optional.html: Added.
    * Source/WebCore/platform/Theme.cpp:
    (WebCore::Theme::baselinePositionAdjustment const):
    * Source/WebCore/platform/Theme.h:
    * Source/WebCore/platform/mac/ThemeMac.h:
    * Source/WebCore/platform/mac/ThemeMac.mm:
    (WebCore::ThemeMac::baselinePositionAdjustment const):
    * Source/WebCore/rendering/RenderTheme.cpp:
    (WebCore::RenderTheme::baselinePosition const):
    
    Compute the center baseline in vertical writing mode.
    
    * Source/WebCore/rendering/RenderThemeIOS.mm:
    (WebCore::RenderThemeIOS::baselinePosition const):
    
    Canonical link: https://commits.webkit.org/270565@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a27d84a View commit details
    Browse the repository at this point in the history
  196. [Gardening]: REGRESSION (270167@main): [ Sonoma wk2 Release x86_64 ] …

    …fast/text/canvas-color-fonts/stroke-gradient-COLR.html is constant failure
    
    https://bugs.webkit.org/show_bug.cgi?id=264615
    rdar://118247190
    
    Unreviewed test gardening.
    
    Adding test expectation
    
    * LayoutTests/platform/mac-wk2/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270566@main
    martadarbinyan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    436d451 View commit details
    Browse the repository at this point in the history
  197. Try to fix the build after 270554@main

    https://bugs.webkit.org/show_bug.cgi?id=264618
    rdar://118249129
    
    Unreviewed build fix.
    
    * Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
    (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForRequest const):
    
    Canonical link: https://commits.webkit.org/270567@main
    aestes authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a2af79b View commit details
    Browse the repository at this point in the history
  198. [Gardening]: [ Sonoma ] css1/box_properties/acid_test.html is a flaky…

    … timeout.
    
    rdar://118241510
    https://bugs.webkit.org/show_bug.cgi?id=264607
    
    Unreviewed test gardening.
    
    * LayoutTests/platform/mac/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270568@main
    bls1999 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    28e9f57 View commit details
    Browse the repository at this point in the history
  199. RELEASE_ASSERT() under GPUProcessConnection::create(IPC::Connection&)

    https://bugs.webkit.org/show_bug.cgi?id=264612
    rdar://117840925
    
    Reviewed by Brent Fulgham.
    
    When a WebProcess requests a connection to the GPUProcess, the UIProcess
    needs to pass preferences for this WebProcess. Preferences are associated
    with WebPages and thus we cannot initiate a connection to the GPUProcess
    before a WebPage has been created.
    
    I had tried to add an assertion to this effect in
    GPUProcessConnection::create(). However, my assertion was a little
    stricter than needed and could get hit in the wild. It is sufficient for
    a process to have ever had a WebPage (The WebProcessProxy stores the
    preferences locally), we don't need to have a living WebPage at the
    moment when the connection gets requested.
    
    * Source/WebKit/WebProcess/GPU/GPUProcessConnection.cpp:
    (WebKit::GPUProcessConnection::create):
    * Source/WebKit/WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::createWebPage):
    * Source/WebKit/WebProcess/WebProcess.h:
    (WebKit::WebProcess::hasEverHadAnyWebPages const):
    (WebKit::WebProcess::hasWebPages const): Deleted.
    
    Canonical link: https://commits.webkit.org/270569@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3a67920 View commit details
    Browse the repository at this point in the history
  200. Remove enums from ColorInterpolationMethod.h in favor of the serializer

    https://bugs.webkit.org/show_bug.cgi?id=264599
    
    Reviewed by Tim Nguyen.
    
    259829@main added the serializer for the enums removed in this PR but
    they were never removed from the header.
    
    * Source/WebCore/platform/graphics/ColorInterpolationMethod.h:
    
    Canonical link: https://commits.webkit.org/270570@main
    mikhailramalho authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    5a7acbb View commit details
    Browse the repository at this point in the history
  201. [Win] ~CompletionHandler's assertion "Completion handler should alway…

    …s be called" fails under RemoteWCLayerTreeHost::update
    
    https://bugs.webkit.org/show_bug.cgi?id=264438
    
    Reviewed by Don Olmstead.
    
    CompletionHandler should be always called.
    
    * Source/WebKit/GPUProcess/graphics/wc/RemoteWCLayerTreeHost.cpp:
    
    Canonical link: https://commits.webkit.org/270571@main
    fujii authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    d3e5ed2 View commit details
    Browse the repository at this point in the history
  202. [UnifiedPDF] Move back to PDFKit/PDFPage rendering (instead of CGPDF)

    https://bugs.webkit.org/show_bug.cgi?id=264614
    <rdar://problem/118155116>
    
    Reviewed by Simon Fraser.
    
    We're likely to need lots of PDFKit conveniences, and it's available
    cross-platform, so we should just use PDFKit.
    
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
    (WebKit::PDFPlugin::isLocked const): Deleted.
    (WebKit::PDFPlugin::createPDFDocument): Deleted.
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h:
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm:
    (WebKit::PDFPluginBase::createPDFDocument):
    (WebKit::PDFPluginBase::isLocked const):
    (WebKit::PDFPluginBase::rawData const):
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    (WebKit::UnifiedPDFPlugin::installPDFDocument):
    (WebKit::UnifiedPDFPlugin::createPDFDocument): Deleted.
    (WebKit::UnifiedPDFPlugin::isLocked const): Deleted.
    Hoist PDFDocument creation, isLocked(), rawData(), and m_pdfDocument.
    
    (WebKit::UnifiedPDFPlugin::paintContents):
    Use PDFPage painting.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDocumentLayout.h:
    (WebKit::PDFDocumentLayout::setPDFDocument):
    (WebKit::PDFDocumentLayout::pdfDocument const): Deleted.
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDocumentLayout.mm:
    (WebKit::PDFDocumentLayout::pageAtIndex const):
    (WebKit::PDFDocumentLayout::updateLayout):
    (WebKit::PDFDocumentLayout::pageCount const):
    (WebKit::PDFDocumentLayout::setPDFDocument): Deleted.
    (WebKit::PDFDocumentLayout::hasPDFDocument const): Deleted.
    Use PDFDocument and PDFPage for retrieving pages and page layout information.
    
    Canonical link: https://commits.webkit.org/270572@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c0e366c View commit details
    Browse the repository at this point in the history
  203. [UnifiedPDF] PDFs in <embed> and <object> do not clip

    https://bugs.webkit.org/show_bug.cgi?id=264622
    <rdar://problem/118155018>
    
    Reviewed by Simon Fraser.
    
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
    * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
    (WebKit::UnifiedPDFPlugin::updateLayerHierarchy):
    Add explicit clipping and scrolling layers.
    
    (WebKit::UnifiedPDFPlugin::didChangeSettings):
    Propagate layer border and repaint counter settings when changed.
    
    (WebKit::UnifiedPDFPlugin::didChangeScrollOffset):
    Scroll the scrolling layer.
    
    * Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h:
    (WebKit::PDFPluginBase::didChangeSettings):
    * Source/WebKit/WebProcess/Plugins/PluginView.cpp:
    (WebKit::PluginView::didChangeSettings):
    * Source/WebKit/WebProcess/Plugins/PluginView.h:
    * Source/WebKit/WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::updatePreferences):
    Propagate preference changes to PDFPlugin.
    
    Canonical link: https://commits.webkit.org/270573@main
    hortont424 authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    481a7be View commit details
    Browse the repository at this point in the history
  204. [iOS] Fix appearance of date inputs in vertical writing mode

    https://bugs.webkit.org/show_bug.cgi?id=264617
    rdar://118248730
    
    Reviewed by Megan Gardner.
    
    Use logical properties to ensure the `inline-size` is greater than the
    `block-size` by default.
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style-expected.txt: Added.
    * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style.html: Added.
    * Source/WebCore/css/html.css:
    (input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"], [type="week"])):
    * Source/WebCore/rendering/RenderThemeIOS.mm:
    (WebCore::adjustInputElementButtonStyle):
    
    Canonical link: https://commits.webkit.org/270574@main
    pxlcoder authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    453f050 View commit details
    Browse the repository at this point in the history
  205. Port RemoteVideoFrameProxy::Properties to the new IPC serialization f…

    …ormat
    
    https://bugs.webkit.org/show_bug.cgi?id=264620
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/CMakeLists.txt:
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Source/WebKit/WebProcess/GPU/media/RemoteVideoFrameProxy.h:
    (WebKit::RemoteVideoFrameProxy::Properties::encode const): Deleted.
    (WebKit::RemoteVideoFrameProxy::Properties::decode): Deleted.
    * Source/WebKit/WebProcess/GPU/media/RemoteVideoFrameProxyProperties.h: Added.
    * Source/WebKit/WebProcess/GPU/media/RemoteVideoFrameProxyProperties.serialization.in: Added.
    
    Canonical link: https://commits.webkit.org/270575@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1195d47 View commit details
    Browse the repository at this point in the history
  206. Add remaining support for the browser.scripting API.

    https://bugs.webkit.org/show_bug.cgi?id=259956
    
    Reviewed by Timothy Hatcher.
    
    This patch moves the code used for tabs.executeScript into the WebExtensionDynamicScripts so that
    the code can be shared with the scripting.executeScript API.
    
    Also adds tests for executeScript(), insertCSS(), and removeCSS().
    
    * Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIScriptingCocoa.mm:
    (WebKit::WebExtensionContext::scriptingExecuteScript):
    (WebKit::WebExtensionContext::scriptingInsertCSS):
    (WebKit::WebExtensionContext::scriptingRemoveCSS):
    * Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPITabsCocoa.mm:
    (WebKit::WebExtensionContext::tabsExecuteScript):
    (WebKit::WebExtensionContext::tabsInsertCSS):
    (WebKit::WebExtensionContext::tabsRemoveCSS):
    * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionDynamicScriptsCocoa.mm:
    (WebKit::WebExtensionDynamicScripts::getSourcePairsForParameters):
    (WebKit::WebExtensionDynamicScripts::executeScript):
    (WebKit::WebExtensionDynamicScripts::injectStyleSheets):
    (WebKit::WebExtensionDynamicScripts::removeStyleSheets):
    (WebKit::WebExtensionDynamicScripts::getSourcePairsForResource): Deleted.
    * Source/WebKit/UIProcess/Extensions/WebExtensionDynamicScripts.h:
    * Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPIScriptingCocoa.mm:
    (WebKit::parseTargetInjectionOptions):
    (WebKit::WebExtensionAPIScripting::executeScript):
    (WebKit::WebExtensionAPIScripting::toWebAPI):
    * Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIScripting.h:
    * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/xcshareddata/xcschemes/TestWebKitAPI.xcscheme:
    * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIScripting.mm:
    (TestWebKitAPI::TEST):
    
    Canonical link: https://commits.webkit.org/270576@main
    kiaraarose authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    ee0d50f View commit details
    Browse the repository at this point in the history
  207. [WebGPU] webgpu:api,operation,reflection:* does not pass

    https://bugs.webkit.org/show_bug.cgi?id=264547
    <radar://118216777>
    
    Reviewed by Tadeu Zagallo.
    
    Fix a validation error in texture and query set creation and
    update the GPUQuerySet idl to the most recent version.
    
    * Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
    (WebCore::GPUDevice::createQuerySet):
    * Source/WebCore/Modules/WebGPU/GPUQuerySet.cpp:
    (WebCore::GPUQuerySet::GPUQuerySet):
    (WebCore::GPUQuerySet::type const):
    (WebCore::GPUQuerySet::count const):
    * Source/WebCore/Modules/WebGPU/GPUQuerySet.h:
    (WebCore::GPUQuerySet::create):
    (WebCore::GPUQuerySet::GPUQuerySet): Deleted.
    * Source/WebGPU/WebGPU/QuerySet.mm:
    (WebGPU::Device::createQuerySet):
    * Source/WebGPU/WebGPU/Texture.mm:
    (WebGPU::Device::validateCreateTexture):
    * Source/WebCore/Modules/WebGPU/GPUQuerySet.idl:
    
    Canonical link: https://commits.webkit.org/270577@main
    mwyrzykowski authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    64620cb View commit details
    Browse the repository at this point in the history
  208. Deploy more smart pointers in AbortSignal.cpp, BroadcastChannel.cpp, …

    …NodeRareData.h, and Range.cpp
    
    https://bugs.webkit.org/show_bug.cgi?id=264624
    
    Reviewed by Chris Dumez.
    
    Deploy smart pointers as warned by the clang static analyzer.
    
    * Source/WebCore/dom/AbortSignal.cpp:
    (WebCore::AbortSignal::throwIfAborted):
    * Source/WebCore/dom/BroadcastChannel.cpp:
    (WebCore::BroadcastChannel::MainThreadBridge::MainThreadBridge):
    * Source/WebCore/dom/NodeRareData.h:
    (WebCore::NodeListsNodeData::removeChildNodeList):
    (WebCore::NodeListsNodeData::removeEmptyChildNodeList):
    * Source/WebCore/dom/Range.cpp:
    (WebCore::Range::processContents):
    (WebCore::Range::surroundContents):
    (WebCore::boundaryTextNodesSplit):
    
    Canonical link: https://commits.webkit.org/270578@main
    rniwa authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    6fe67b3 View commit details
    Browse the repository at this point in the history
  209. Missing build dependency when linking jsc to libJavaScriptCore.a

    https://bugs.webkit.org/show_bug.cgi?id=264643
    <rdar://118240515>
    
    Reviewed by Elliott Williams.
    
    * Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
    (jsc):
    - Add "Copy Files Phase" named "Product Dependencies" to create a
      dependency on JavaScriptCore.framework, which causes
      libJavaScriptCore.a to be built first.  This means jsc will link
      successfully regardless of the link style (static or dynamic).
    
    Canonical link: https://commits.webkit.org/270579@main
    David Kilzer authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2e2f994 View commit details
    Browse the repository at this point in the history
  210. [Site Isolation] Add a test verifying mouse event handlers are only c…

    …alled on the target frame
    
    https://bugs.webkit.org/show_bug.cgi?id=264634
    rdar://118254156
    
    Reviewed by Alex Christensen.
    
    * LayoutTests/http/tests/site-isolation/mouse-events/mainframe-prevent-default-expected.txt: Added.
    * LayoutTests/http/tests/site-isolation/mouse-events/mainframe-prevent-default.html: Added.
    
    Canonical link: https://commits.webkit.org/270580@main
    charliewolfe authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    743e468 View commit details
    Browse the repository at this point in the history
  211. Stop using Vector::unsafeAppendWithoutCapacityCheck() in SamplingProf…

    …iler.cpp
    
    https://bugs.webkit.org/show_bug.cgi?id=264647
    
    Reviewed by Ryosuke Niwa.
    
    * Source/JavaScriptCore/runtime/SamplingProfiler.cpp:
    (JSC::SamplingProfiler::takeSample):
    
    Canonical link: https://commits.webkit.org/270581@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    2bcab44 View commit details
    Browse the repository at this point in the history
  212. Stop using Vector::unsafeAppendWithoutCapacityCheck() in WasmFunction…

    …Parser's splitStack()
    
    https://bugs.webkit.org/show_bug.cgi?id=264651
    
    Reviewed by Ryosuke Niwa.
    
    * Source/JavaScriptCore/wasm/WasmFunctionParser.h:
    (JSC::Wasm::splitStack):
    
    Canonical link: https://commits.webkit.org/270582@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    788c4ac View commit details
    Browse the repository at this point in the history
  213. Enable management of WebKit process as extensions by default

    https://bugs.webkit.org/show_bug.cgi?id=264316
    rdar://118035310
    
    Reviewed by Brent Fulgham.
    
    This means ExtensionKit SPI will be used to launch WebKit processes, and provide them with run time.
    
    * Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm:
    (WebKit::ProcessAssertion::ProcessAssertion):
    * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
    (WebKit::WebProcessPool::platformInitialize):
    * Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
    (WebKit::WebProcess::platformInitializeWebProcess):
    
    Canonical link: https://commits.webkit.org/270583@main
    pvollan authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b328ed0 View commit details
    Browse the repository at this point in the history
  214. Port WebPreferencesStore to the new IPC serialization format

    https://bugs.webkit.org/show_bug.cgi?id=264629
    
    Reviewed by Alex Christensen.
    
    * Source/WebKit/CMakeLists.txt:
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Shared/WebPreferencesStore.cpp:
    (WebKit::WebPreferencesStore::WebPreferencesStore): Deleted.
    (WebKit::WebPreferencesStore::encode const): Deleted.
    (WebKit::WebPreferencesStore::decode): Deleted.
    * Source/WebKit/Shared/WebPreferencesStore.h:
    * Source/WebKit/Shared/WebPreferencesStore.serialization.in: Added.
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    
    Canonical link: https://commits.webkit.org/270584@main
    cdumez authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8edef33 View commit details
    Browse the repository at this point in the history
  215. Add committer status for myself in contributors.json

    Reviewed by Chris Dumez.
    
    Added GitHub username and updated status to committer for myself.
    
    * metadata/contributors.json:
    
    Canonical link: https://commits.webkit.org/270585@main
    Joone Hur authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a1b4967 View commit details
    Browse the repository at this point in the history
  216. [Cairo] Use CAIRO_FILTER_BILINEAR for low interpolation quality

    https://bugs.webkit.org/show_bug.cgi?id=264605
    
    Reviewed by Fujii Hironori.
    
    We currently use CAIRO_FILTER_FAST which is the same as no
    interpolation. Bilinear provides reasonable quality with good enough
    performance. Also change the default interpolation quality of the canvas
    to Low (like CG does) which drastically improves the performance of
    downscaling high resolution images in the canvas with a reasonable
    output. See for example https://vsynctester.com
    
    * Source/WebCore/html/CanvasBase.cpp:
    * Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:
    (WebCore::Cairo::drawSurface):
    
    Canonical link: https://commits.webkit.org/270586@main
    carlosgcampos authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    280771c View commit details
    Browse the repository at this point in the history
  217. Rework ArgumentCodersCocoa to get us much closer to generated seriali…

    …zers
    
    https://bugs.webkit.org/show_bug.cgi?id=264588
    rdar://118236121
    
    Reviewed by Alex Christensen.
    
    This changes introduces ObjC object wrappers.
    Encoding an ObjC object directly creates a typed wrapper around it.
    
    For wrappers around a type that we still do directly via ObjC (e.g. NSArray), encoding the wrapper
    then ends up going down the old "encode ObjC directly" path.
    
    This change has the following benefits:
    1 - We now broadly use serialization.in files for all ObjC types.
    2 - For catch-all types like SecureCoding, we can now easily break out individual types into
        their own individual wrappers with individual serialization.
    3 - So it follows, over time, the complicated logic in ArgumentCodersCocoa.mm can be whittled away.
    4 - Having wrappers enables us to directly serialize collection types (like NSArray) without
        relying on the existing ObjC code path
    
    * Source/WebCore/platform/mac/SerializedPlatformDataCueMac.h:
    * Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm:
    (WebCore::SerializedPlatformDataCueMac::allowedClassesForNativeValues):
    * Source/WebKit/DerivedSources-input.xcfilelist:
    * Source/WebKit/DerivedSources.make:
    * Source/WebKit/Platform/IPC/Decoder.h:
    (IPC::Decoder::decodeWithAllowedClasses):
    (IPC::Decoder::allowedClasses const):
    * Source/WebKit/Scripts/generate-serializers.py:
    (decode_type):
    * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h:
    (IPC::CoreIPCRetainPtr::CoreIPCRetainPtr):
    (IPC::isObjectClassAllowed):
    (IPC::decodeRequiringAllowedClasses):
    (IPC::ArgumentCoder<T::encode):
    (IPC::ArgumentCoder<CoreIPCRetainPtr<T>>::encode):
    (IPC::ArgumentCoder<CoreIPCRetainPtr<T>>::decode):
    (IPC::decodeWithAllowedClasses): Deleted.
    * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
    (IPC::typeFromObject):
    (IPC::encodeObjectDirectly<NSArray>):
    (IPC::decodeObjectDirectlyRequiringAllowedClasses<NSArray>):
    (IPC::encodeObjectDirectly<NSDictionary>):
    (IPC::id>>):
    (IPC::decodeObjectDirectlyRequiringAllowedClasses<NSDictionary>):
    (IPC::encodeObjectDirectly<WebCore::CocoaFont>):
    (IPC::decodeObjectDirectlyRequiringAllowedClasses<WebCore::CocoaFont>):
    (IPC::encodeObjectDirectly<NSObject<NSSecureCoding>>):
    (IPC::shouldEnableStrictMode):
    (IPC::decodeObjectDirectlyRequiringAllowedClasses<NSObject<NSSecureCoding>>):
    (IPC::encodeObjectDirectly<CFTypeRef>):
    (IPC::decodeObjectDirectlyRequiringAllowedClasses<CFTypeRef>):
    (IPC::encodeObjectWithWrapper):
    (IPC::decodeObjectFromWrapper):
    (IPC::encodeArrayInternal): Deleted.
    (IPC::decodeArrayInternal): Deleted.
    (IPC::encodeColorInternal): Deleted.
    (IPC::decodeColorInternal): Deleted.
    (IPC::encodeDataInternal): Deleted.
    (IPC::decodeDataInternal): Deleted.
    (IPC::encodeDateInternal): Deleted.
    (IPC::decodeDateInternal): Deleted.
    (IPC::encodeDictionaryInternal): Deleted.
    (IPC::decodeDictionaryInternal): Deleted.
    (IPC::encodeFontInternal): Deleted.
    (IPC::decodeFontInternal): Deleted.
    (IPC::encodeNumberInternal): Deleted.
    (IPC::decodeNumberInternal): Deleted.
    (IPC::encodeSecureCodingInternal): Deleted.
    (IPC::decodeSecureCodingInternal): Deleted.
    (IPC::encodeStringInternal): Deleted.
    (IPC::decodeStringInternal): Deleted.
    (IPC::encodeURLInternal): Deleted.
    (IPC::decodeURLInternal): Deleted.
    (IPC::encodeCFInternal): Deleted.
    (IPC::decodeCFInternal): Deleted.
    (IPC::encodeObject): Deleted.
    (IPC::decodeObject): Deleted.
    * Source/WebKit/Shared/Cocoa/CoreIPCArray.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCArray::CoreIPCArray):
    (WebKit::CoreIPCArray::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCArray.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCCFType.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCCFType::CoreIPCCFType):
    (WebKit::CoreIPCCFType::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCCFType.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCColor.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCColor::CoreIPCColor):
    (WebKit::CoreIPCColor::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCColor.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCData.h:
    (WebKit::CoreIPCData::CoreIPCData):
    (WebKit::CoreIPCData::toID const):
    * Source/WebKit/Shared/Cocoa/CoreIPCDate.h:
    (WebKit::CoreIPCDate::CoreIPCDate):
    (WebKit::CoreIPCDate::toID const):
    * Source/WebKit/Shared/Cocoa/CoreIPCDictionary.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCDictionary::CoreIPCDictionary):
    (WebKit::CoreIPCDictionary::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCDictionary.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCFont.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCFont::CoreIPCFont):
    (WebKit::CoreIPCFont::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCFont.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCData.h.
    (WebKit::CoreIPCNSCFObject::CoreIPCNSCFObject):
    * Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.mm: Added.
    (WebKit::valueFromID):
    (WebKit::CoreIPCNSCFObject::CoreIPCNSCFObject):
    (WebKit::CoreIPCNSCFObject::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCSecureCoding::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.mm: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCSecureCoding::CoreIPCSecureCoding):
    * Source/WebKit/Shared/Cocoa/CoreIPCSecureCoding.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCString.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCString::CoreIPCString):
    (WebKit::CoreIPCString::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCString.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/CoreIPCURL.h: Copied from Source/WebKit/Shared/Cocoa/CoreIPCDate.h.
    (WebKit::CoreIPCURL::CoreIPCURL):
    (WebKit::CoreIPCURL::toID):
    * Source/WebKit/Shared/Cocoa/CoreIPCURL.serialization.in: Added.
    * Source/WebKit/Shared/Cocoa/WebIconUtilities.mm:
    * Source/WebKit/Shared/cf/CoreIPCNumber.h:
    (WebKit::CoreIPCNumber::CoreIPCNumber):
    (WebKit::CoreIPCNumber::toID):
    * Source/WebKit/Shared/mac/WebCoreArgumentCodersMac.mm:
    (IPC::ArgumentCoder<WebCore::SerializedPlatformDataCueValue>::encodePlatformData):
    (IPC::ArgumentCoder<WebCore::SerializedPlatformDataCueValue>::decodePlatformData):
    * Source/WebKit/SourcesCocoa.txt:
    * Source/WebKit/WebKit.xcodeproj/project.pbxproj:
    * Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
    (TEST):
    
    Canonical link: https://commits.webkit.org/270587@main
    beidson authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    940c340 View commit details
    Browse the repository at this point in the history
  218. [WPE][GTK] Gardening of various layout test failures and rebaselines

    https://bugs.webkit.org/show_bug.cgi?id=264600
    
    Unreviewed.
    
    * LayoutTests/platform/glib/TestExpectations:
    * LayoutTests/platform/glib/fast/dom/object-load-pdf-data-url-expected.txt: Added.
    * LayoutTests/platform/glib/fast/overflow/line-clamp-expected.txt:
    * LayoutTests/platform/glib/fast/table/border-collapsing/002-vertical-expected.txt:
    * LayoutTests/platform/glib/fast/table/text-field-baseline-expected.txt: Added.
    * LayoutTests/platform/glib/fetch/fetch-url-serialization-expected.txt:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-fonts/generic-family-keywords-002-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-in-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-pr-normal-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/ja/css-text-line-break-ja-pr-strict-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/other-lang/css-text-line-break-de-in-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-cj-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-cj-normal-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-in-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/unknown-lang/css-text-line-break-iteration-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-in-loose-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-pr-normal-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/i18n/zh/css-text-line-break-zh-pr-strict-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-001-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-first-line-001-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-ligature-001-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/fetch/metadata/report.https.sub-expected.txt:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=(Document_Window)-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8_include=history-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8_include=websocket-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=history-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=hyperlink-search-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251_include=websocket-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=history-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=hyperlink-search-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=websocket-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252_include=websocket-search-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/disabled-elements/event-propagate-disabled-keyboard.tentative-expected.txt:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/disabled-elements/event-propagate-disabled.tentative-expected.txt:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https_client-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/painting/parsing/stroke-computed-expected.txt: Added.
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-referrer-expected.txt:
    * LayoutTests/platform/glib/mathml/presentation/mo-stretch-expected.txt:
    * LayoutTests/platform/glib/printing/print-with-media-query-destory-expected.txt: Added.
    * LayoutTests/platform/glib/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt:
    * LayoutTests/platform/glib/svg/hixie/mixed/010-expected.txt:
    * LayoutTests/platform/gtk/TestExpectations:
    * LayoutTests/platform/gtk/accessibility/gtk/xml-roles-exposed-expected.txt:
    * LayoutTests/platform/gtk/compositing/masks/solid-color-masked-expected.png: Added.
    * LayoutTests/platform/gtk/editing/deleting/delete-to-select-table-expected.txt:
    * LayoutTests/platform/gtk/editing/inserting/paragraph-separator-in-table-2-expected.txt:
    * LayoutTests/platform/gtk/editing/style/table-selection-expected.txt:
    * LayoutTests/platform/gtk/fast/events/mouseup-from-button2-expected.txt: Added.
    * LayoutTests/platform/gtk/fast/repaint/border-radius-repaint-2-expected.txt:
    * LayoutTests/platform/gtk/fast/repaint/leftover-after-shrinking-content-expected.txt: Added.
    * LayoutTests/platform/gtk/fast/repaint/overlapping-lines-with-ink-overflow-expected.txt: Added.
    * LayoutTests/platform/gtk/fast/repaint/rtl-content-selection-hairline-gap-expected.txt: Added.
    * LayoutTests/platform/gtk/fast/repaint/rtl-with-position-dependent-content-width-selection-expected.txt: Added.
    * LayoutTests/platform/gtk/http/tests/inspector/network/har/har-page-expected.txt:
    * LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-properties-expected.txt: Added.
    * LayoutTests/platform/gtk/http/tests/inspector/network/intercept-request-subresource-expected.txt: Added.
    * LayoutTests/platform/wpe/TestExpectations:
    * LayoutTests/platform/wpe/fast/table/border-collapsing/002-vertical-expected.png: Added.
    
    Canonical link: https://commits.webkit.org/270588@main
    philn authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    560e5e0 View commit details
    Browse the repository at this point in the history
  219. Add hasUAVisualTransition attribute to popState event

    https://bugs.webkit.org/show_bug.cgi?id=259793
    
    Reviewed by Brent Fulgham.
    
    Add hasUAVisualTransition attribute to popState event as specified:
    https://html.spec.whatwg.org/#dom-popstateeventinit-hasuavisualtransition
    
    Also sync history-traversal/PopStateEvent.html *based on 17eb11d8d9) in order to test the attribute initial value.
    
    * LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent.html:
    * Source/WebCore/dom/PopStateEvent.cpp:
    (WebCore::PopStateEvent::PopStateEvent):
    * Source/WebCore/dom/PopStateEvent.h:
    * Source/WebCore/dom/PopStateEvent.idl:
    
    Canonical link: https://commits.webkit.org/270589@main
    rwlbuis authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    0fbea54 View commit details
    Browse the repository at this point in the history
  220. [CSS] @scope parsing

    https://bugs.webkit.org/show_bug.cgi?id=264498
    rdar://118180841
    
    Reviewed by Antti Koivisto.
    
    This is boilerplate code to add initial
    support for the @scope CSS rule and its parsing.
    
    https://drafts.csswg.org/css-cascade-6/#scope-syntax
    
    It also contains a renaming of "parseCSSSelector" to the more exact name "parseCSSSelectorList".
    
    * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing.html:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/idlharness-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-cssom-expected.txt:
    * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
    * Source/WebCore/CMakeLists.txt:
    * Source/WebCore/DerivedSources-input.xcfilelist:
    * Source/WebCore/DerivedSources-output.xcfilelist:
    * Source/WebCore/DerivedSources.make:
    * Source/WebCore/Sources.txt:
    * Source/WebCore/WebCore.xcodeproj/project.pbxproj:
    * Source/WebCore/bindings/js/JSCSSRuleCustom.cpp:
    (WebCore::toJSNewlyCreated):
    * Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
    * Source/WebCore/contentextensions/ContentExtensionParser.cpp:
    (WebCore::ContentExtensions::isValidCSSSelector):
    * Source/WebCore/css/CSSPageRule.cpp:
    (WebCore::CSSPageRule::setSelectorText):
    * Source/WebCore/css/CSSScopeRule.cpp: Added.
    (WebCore::CSSScopeRule::CSSScopeRule):
    (WebCore::CSSScopeRule::create):
    (WebCore::CSSScopeRule::styleRuleScope const):
    (WebCore::CSSScopeRule::cssText const):
    (WebCore::CSSScopeRule::start const):
    (WebCore::CSSScopeRule::end const):
    * Source/WebCore/css/CSSScopeRule.h: Added.
    * Source/WebCore/css/CSSScopeRule.idl: Added.
    * Source/WebCore/css/CSSStyleRule.cpp:
    (WebCore::CSSStyleRule::setSelectorText):
    * Source/WebCore/css/StyleRule.cpp:
    (WebCore::StyleRuleBase::createCSSOMWrapper const):
    (WebCore::StyleRuleBase::visitDerived):
    (WebCore::StyleRuleWithNesting::StyleRuleWithNesting):
    (WebCore::m_originalSelectorList):
    (WebCore::StyleRuleWithNesting::create):
    (WebCore::StyleRuleScope::create):
    (WebCore::StyleRuleScope::copy const):
    (WebCore::StyleRuleScope::StyleRuleScope):
    (WebCore::StyleRuleScope::scopeStart const):
    (WebCore::StyleRuleScope::scopeEnd const):
    * Source/WebCore/css/StyleRule.h:
    (WebCore::StyleRuleBase::isScopeRule const):
    (isType):
    * Source/WebCore/css/StyleRuleType.h:
    * Source/WebCore/css/StyleSheetContents.cpp:
    (WebCore::StyleSheetContents::traverseSubresources const):
    * Source/WebCore/css/parser/CSSAtRuleID.cpp:
    (WebCore::cssAtRuleID):
    * Source/WebCore/css/parser/CSSAtRuleID.h:
    * Source/WebCore/css/parser/CSSParser.cpp:
    (WebCore::CSSParser::parseSelectorList):
    (WebCore::CSSParser::parseSelector): Deleted.
    * Source/WebCore/css/parser/CSSParser.h:
    * Source/WebCore/css/parser/CSSParserContext.cpp:
    (WebCore::add):
    * Source/WebCore/css/parser/CSSParserContext.h:
    * Source/WebCore/css/parser/CSSParserEnum.h:
    * Source/WebCore/css/parser/CSSParserImpl.cpp:
    (WebCore::filterProperties):
    (WebCore::CSSParserImpl::parsePageSelector):
    (WebCore::computeNewAllowedRules):
    (WebCore::CSSParserImpl::consumeAtRule):
    (WebCore::CSSParserImpl::consumeQualifiedRule):
    (WebCore::CSSParserImpl::consumeImportRule):
    (WebCore::fontFeatureValuesTypeMappings):
    (WebCore::CSSParserImpl::consumeFontFeatureValuesRuleBlock):
    (WebCore::CSSParserImpl::consumeFontFeatureValuesRule):
    (WebCore::CSSParserImpl::consumeFontPaletteValuesRule):
    (WebCore::CSSParserImpl::consumeKeyframesRule):
    (WebCore::CSSParserImpl::consumePageRule):
    (WebCore::CSSParserImpl::consumeScopeRule):
    (WebCore::CSSParserImpl::consumeStyleRule):
    (WebCore::CSSParserImpl::consumeBlockContent):
    (WebCore::CSSParserImpl::consumeDeclarationListInNewNestingContext):
    * Source/WebCore/css/parser/CSSParserImpl.h:
    * Source/WebCore/css/parser/CSSSelectorParser.cpp:
    (WebCore::parseCSSSelectorList):
    (WebCore::CSSSelectorParser::consumeComplexForgivingSelectorList):
    (WebCore::CSSSelectorParser::consumeNestedComplexForgivingSelectorList):
    (WebCore::CSSSelectorParser::consumePseudo):
    (WebCore::parseCSSSelector): Deleted.
    (WebCore::CSSSelectorParser::consumeForgivingComplexSelectorList): Deleted.
    * Source/WebCore/css/parser/CSSSelectorParser.h:
    * Source/WebCore/dom/SelectorQuery.cpp:
    (WebCore::SelectorQueryCache::add):
    * Source/WebCore/inspector/InspectorStyleSheet.cpp:
    (WebCore::flatteningStrategyForStyleRuleType):
    (WebCore::isValidRuleHeaderText):
    * Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
    (WebCore::InspectorDOMAgent::highlightSelector):
    * Source/WebCore/style/RuleSetBuilder.cpp:
    (WebCore::Style::RuleSetBuilder::addChildRule):
    * Source/WebCore/testing/Internals.cpp:
    (WebCore::Internals::selectorFilterHashCounts):
    
    Canonical link: https://commits.webkit.org/270590@main
    mdubet authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e8bb053 View commit details
    Browse the repository at this point in the history
  221. Remove some unused code in UnlinkedCodeBlockGenerator.

    https://bugs.webkit.org/show_bug.cgi?id=264656
    rdar://118265956
    
    Reviewed by Alexey Shvayka.
    
    * Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp:
    (JSC::UnlinkedCodeBlockGenerator::getLineAndColumn const): Deleted.
    * Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.h:
    
    Canonical link: https://commits.webkit.org/270591@main
    Mark Lam authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7606b1e View commit details
    Browse the repository at this point in the history
  222. Make some JSC stress tests less chatty.

    https://bugs.webkit.org/show_bug.cgi?id=264659
    rdar://118266600
    
    Reviewed by Alexey Shvayka.
    
    Convert their prints into silent result checks, and throw on failure.
    
    * JSTests/stress/date-set-time-purify-nan.js:
    * JSTests/stress/regress-109102631.js:
    
    Canonical link: https://commits.webkit.org/270592@main
    Mark Lam authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b7ae777 View commit details
    Browse the repository at this point in the history
  223. [GStreamer] Ignore early EOS only when not looping

    https://bugs.webkit.org/show_bug.cgi?id=264398
    
    Reviewed by Philippe Normand.
    
    When playing video in a loop using HTML5 video element, the Gstreamer
    debug log sometimes contains the following message, which prevents the
    WPE from correctly stopping the playback before restarting it for the
    next loop and the playback ends up paused forever:
    
    ```
    webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1851:handleMessage:<video-1> EOS received but position {23823333333/1000000000 = 23.823333333} is still in the finite playable limits [{0/1 = 0}, {23828333333/1000000000 = 23.828333333}], ignoring it
    ```
    
    Ignore early EOS only when not looping, otherwise unconditionally
    indicate the stream has ended.
    
    * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
    
    Canonical link: https://commits.webkit.org/270593@main
    Marek Vasut authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e8b00c2 View commit details
    Browse the repository at this point in the history
  224. [GStreamer] Media tests gardening

    https://bugs.webkit.org/show_bug.cgi?id=264670
    
    Unreviewed.
    
    * LayoutTests/platform/glib/TestExpectations:
    * LayoutTests/platform/glib/imported/w3c/web-platform-tests/media-capabilities/encodingInfo.webrtc-expected.txt:
    * LayoutTests/platform/gtk/TestExpectations:
    * LayoutTests/platform/wpe/TestExpectations:
    
    Canonical link: https://commits.webkit.org/270594@main
    philn authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    b60126c View commit details
    Browse the repository at this point in the history
  225. Generate IPC serialization for enumerations under WebCore/workers

    https://bugs.webkit.org/show_bug.cgi?id=264563
    
    Reviewed by Chris Dumez.
    
    Remove EnumTraits specializations for the BackgroundFetchFailureReason and
    BackgroundFetchResult enumerations. Instead, provide IPC serialization
    specification for the two enumerations in the WebCoreArgumentCoders
    serialization input file.
    
    * Source/WebCore/workers/service/background-fetch/BackgroundFetchFailureReason.h:
    * Source/WebCore/workers/service/background-fetch/BackgroundFetchResult.h:
    * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
    
    Canonical link: https://commits.webkit.org/270595@main
    zdobersek authored and mnutt committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    3e4e266 View commit details
    Browse the repository at this point in the history
  226. Configuration menu
    Copy the full SHA
    2668282 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    f2eb815 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be78c47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cf37e4 View commit details
    Browse the repository at this point in the history
  4. video useragent controls

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b646cf0 View commit details
    Browse the repository at this point in the history
  5. Frame/LocalFrame fixes

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    bf28995 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b5a53e View commit details
    Browse the repository at this point in the history
  7. events api changes

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    a8e5fec View commit details
    Browse the repository at this point in the history
  8. various API fixes

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    dade0f1 View commit details
    Browse the repository at this point in the history
  9. graphics fixes

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    d684bd3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    06baecc View commit details
    Browse the repository at this point in the history
  11. better checking for emoji fonts

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    3e33178 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f7d90e6 View commit details
    Browse the repository at this point in the history
  13. rendering api updates

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    ba59519 View commit details
    Browse the repository at this point in the history
  14. support js origins

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    bc87702 View commit details
    Browse the repository at this point in the history
  15. more rendering API changes

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    1db2633 View commit details
    Browse the repository at this point in the history
  16. blob security

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    91a9a5e View commit details
    Browse the repository at this point in the history
  17. frame loader client API

    mnutt committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b93cc38 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a1adda7 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    2df6d78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca55086 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8caccd View commit details
    Browse the repository at this point in the history
  4. try fixing qt workqueue

    mnutt committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    febd5b4 View commit details
    Browse the repository at this point in the history
  5. fixes for linux

    mnutt committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    956006a View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Configuration menu
    Copy the full SHA
    a3f87ca View commit details
    Browse the repository at this point in the history