[Quick Look] Rename PreviewLoader{,Client} to LegacyPreviewLoader{,Client}
[WebKit-https.git] / Source / WebCore / ChangeLog
index 00b3b16..622f85e 100644 (file)
@@ -1,3 +1,171 @@
+2019-10-23  Andy Estes  <aestes@apple.com>
+
+        [Quick Look] Rename PreviewLoader{,Client} to LegacyPreviewLoader{,Client}
+        https://bugs.webkit.org/show_bug.cgi?id=203306
+
+        Reviewed by Tim Horton.
+
+        * SourcesCocoa.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+        * loader/EmptyClients.cpp:
+        * loader/EmptyFrameLoaderClient.h:
+        * loader/FrameLoaderClient.h:
+        * loader/ResourceLoader.cpp:
+        * loader/ResourceLoader.h:
+        * loader/SubresourceLoader.cpp:
+        (WebCore::SubresourceLoader::didReceiveResponse):
+        * loader/ios/LegacyPreviewLoader.h: Renamed from Source/WebCore/loader/ios/PreviewLoader.h.
+        * loader/ios/LegacyPreviewLoader.mm: Renamed from Source/WebCore/loader/ios/PreviewLoader.mm.
+        (testingClient):
+        (emptyClient):
+        (WebCore::LegacyPreviewLoader::LegacyPreviewLoader):
+        (WebCore::LegacyPreviewLoader::~LegacyPreviewLoader):
+        (WebCore::LegacyPreviewLoader::create):
+        (WebCore::LegacyPreviewLoader::didReceiveResponse):
+        (WebCore::LegacyPreviewLoader::didReceiveData):
+        (WebCore::LegacyPreviewLoader::didReceiveBuffer):
+        (WebCore::LegacyPreviewLoader::didFinishLoading):
+        (WebCore::LegacyPreviewLoader::didFail):
+        (WebCore::LegacyPreviewLoader::setClientForTesting):
+        * platform/network/ios/LegacyPreviewLoaderClient.h: Renamed from Source/WebCore/platform/network/ios/PreviewLoaderClient.h.
+        * testing/Internals.cpp:
+        (WebCore::Internals::resetToConsistentState):
+        (WebCore::Internals::setQuickLookPassword):
+        * testing/MockPreviewLoaderClient.h:
+
+2019-10-23  Antti Koivisto  <antti@apple.com>
+
+        [LFC] LayoutState should have out-of-line destructor
+        https://bugs.webkit.org/show_bug.cgi?id=203307
+
+        Reviewed by Zalan Bujtas.
+
+        Otherwise instantiating it requires a pile of other headers.
+
+        * layout/LayoutState.cpp:
+        * layout/LayoutState.h:
+        * layout/layouttree/LayoutTreeBuilder.cpp:
+        (WebCore::Layout::TreeBuilder::createLayoutTree):
+
+        Use makeUnique.
+
+2019-10-23  youenn fablet  <youenn@apple.com>
+
+        Remove NavigatorBase::serviceWorkerIfExists
+        https://bugs.webkit.org/show_bug.cgi?id=203241
+
+        Reviewed by Chris Dumez.
+
+        Remove unused method.
+        No change of behavior.
+
+        * page/NavigatorBase.cpp:
+        (WebCore::NavigatorBase::serviceWorkerIfExists): Deleted.
+        * page/NavigatorBase.h:
+
+2019-10-22  Simon Fraser  <simon.fraser@apple.com>
+
+        wpt/css/css-images/gradient/color-stops-parsing.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=200211
+
+        Reviewed by Dean Jackson.
+
+        CSS gradients allow a single color stop to have multiple positions. In this case
+        we need to copy the color from the first to subsequent stops.
+
+        Tested by web-platform-tests/css/css-images/gradient/color-stops-parsing.html
+        and imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html.
+
+        * css/CSSGradientValue.cpp:
+        (WebCore::CSSGradientValue::gradientWithStylesResolved): Copy colors to subsequent stops.
+        * css/parser/CSSPropertyParserHelpers.cpp:
+        (WebCore::CSSPropertyParserHelpers::consumeGradientColorStops): Fix the parsing of
+        stops with multiple positions.
+
+2019-10-22  Joanmarie Diggs  <jdiggs@igalia.com>
+
+        AX: Implement support for new ARIA roles: code, strong, emphasis, generic
+        https://bugs.webkit.org/show_bug.cgi?id=203257
+
+        Reviewed by Chris Fleizach.
+
+        Create new internal AccessibilityRole types for the new roles.
+        Treat code, strong, and emphasis as internal format style groups,
+        which are equivalent to their corresponding HTML elements.
+
+        No new tests. Instead, added new roles to existing tests and updated
+        expectations.
+
+        * accessibility/AccessibilityObject.cpp:
+        (WebCore::initializeRoleMap):
+        (WebCore::AccessibilityObject::isStyleFormatGroup const):
+        * accessibility/AccessibilityObjectInterface.h:
+        * accessibility/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
+        * accessibility/atk/WebKitAccessible.cpp:
+        (atkRole):
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
+        * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+        (createAccessibilityRoleMap):
+        (-[WebAccessibilityObjectWrapper subrole]):
+
+2019-10-22  John Wilander  <wilander@apple.com>
+
+        Resource Load Statistics (experimental): Block all third-party cookies
+        https://bugs.webkit.org/show_bug.cgi?id=203266
+        <rdar://problem/56512858>
+
+        Reviewed by Alex Christensen.
+
+        This change updates the experimental change in
+        <https://trac.webkit.org/changeset/251213> to block all
+        third-party cookies, regardless of user interaction with
+        the first-party website.
+
+        Tests: http/tests/resourceLoadStatistics/third-party-cookie-blocking-database.html
+               http/tests/resourceLoadStatistics/third-party-cookie-blocking.html
+
+        * page/Settings.yaml:
+        * platform/network/NetworkStorageSession.cpp:
+        (WebCore::NetworkStorageSession::shouldBlockCookies const):
+        * platform/network/NetworkStorageSession.h:
+        (WebCore::NetworkStorageSession::setIsThirdPartyCookieBlockingEnabled):
+        (WebCore::NetworkStorageSession::setIsThirdPartyCookieBlockingOnSitesWithoutUserInteractionEnabled): Deleted.
+
+2019-10-22  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        [SVG2] Remove the 'viewTarget' property of SVGViewElement
+        https://bugs.webkit.org/show_bug.cgi?id=203217
+
+        Reviewed by Simon Fraser.
+
+        The interface of SVGViewElement is defined here:
+            https://www.w3.org/TR/SVG2/linking.html#InterfaceSVGViewElement.
+
+        * svg/SVGViewElement.cpp:
+        (WebCore::SVGViewElement::SVGViewElement):
+        (WebCore::SVGViewElement::parseAttribute):
+        * svg/SVGViewElement.h:
+        * svg/SVGViewElement.idl:
+
+2019-10-22  Charlie Turner  <cturner@igalia.com>
+
+        media/W3C/video/networkState/networkState_during_progress.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=76280
+
+        Reviewed by Eric Carlson.
+
+        The onprogress event must be received when networkState is
+        NETWORK_LOADING, make sure in the transition from loading to idle
+        that the progress event is fired synchronously, so that it is
+        received before the networkState changes to NETWORK_IDLE.
+
+        Tested by media/W3C/video/networkState/networkState_during_progress.html
+
+        * html/HTMLMediaElement.cpp:
+        (WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle):
+
 2019-10-22  Peng Liu  <peng.liu6@apple.com>
 
         [Picture-in-Picture Web API] The implementation needs runtime logging