[webkit-changes] [WebKit/WebKit] 951d54: Versioning.
Yusuke Suzuki
noreply at github.com
Thu Oct 26 12:09:15 PDT 2023
Branch: refs/heads/safari-7614.1.25.1-branch
Home: https://github.com/WebKit/WebKit
Commit: 951d5466e7c280e714e8122920e61498a3175547
https://github.com/WebKit/WebKit/commit/951d5466e7c280e714e8122920e61498a3175547
Author: Russell Epstein <repstein at apple.com>
Date: 2022-08-04 (Thu, 04 Aug 2022)
Changed paths:
M Source/JavaScriptCore/Configurations/Version.xcconfig
M Source/ThirdParty/ANGLE/Configurations/Version.xcconfig
M Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
M Source/WebCore/Configurations/Version.xcconfig
M Source/WebCore/PAL/Configurations/Version.xcconfig
M Source/WebGPU/Configurations/Version.xcconfig
M Source/WebInspectorUI/Configurations/Version.xcconfig
M Source/WebKit/Configurations/Version.xcconfig
M Source/WebKitLegacy/mac/Configurations/Version.xcconfig
Log Message:
-----------
Versioning.
WebKit-7614.1.25.1.5
Canonical link: https://commits.webkit.org/252432.102@safari-7614.1.25.1-branch
Commit: b8153691b139962fe62a6718ba313906e9512ccc
https://github.com/WebKit/WebKit/commit/b8153691b139962fe62a6718ba313906e9512ccc
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2022-08-04 (Thu, 04 Aug 2022)
Changed paths:
M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.h
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm
Log Message:
-----------
Cherry-pick 19bc5f6241e5. rdar://problem/98018313
REGRESSION (iOS 16): Unable to search in PDFs in Safari
https://bugs.webkit.org/show_bug.cgi?id=243522
rdar://98018313
Reviewed by Wenson Hsieh.
Safari adopted UIFindInteraction to support find-in-page in iOS 16. UIKit also
provides new UIResponderStandardEditActions in iOS 16 to support find actions.
Currently, WebKit only responds to these actions if there is a WKContentView,
as WKWebView forwards `canPerformAction:withSender:` to the content view.
However, if a PDF is loaded, there is no content view, and the find actions have
no effect. Previously, Safari overrode the actions to grab the find interaction
and present the find navigator. That logic was removed to take full advantage of
the new find API, but revealed a flaw in our find-in-PDF support.
To fix, move the find actions (with the exception of "find using selection", which
is unsupported due to a lack of functionality in PDFHostViewController) from
WKContentView into WKWebView. This approach ensures that the find navigator is
presented even if the content is in a WKPDFView.
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView canPerformAction:withSender:]):
(-[WKWebView find:]):
(-[WKWebView findNext:]):
(-[WKWebView findPrevious:]):
(-[WKWebView findAndReplace:]):
(-[WKWebView performTextSearchWithQueryString:usingOptions:resultAggregator:]):
Use the current searchable object here, so that the WKPDFView is used for
searching when a PDF is loaded.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView canPerformActionForWebView:withSender:]):
(-[WKContentView _findSelectedForWebView:]):
(-[WKContentView findForWebView:]): Deleted.
(-[WKContentView findNextForWebView:]): Deleted.
(-[WKContentView findPreviousForWebView:]): Deleted.
(-[WKContentView findAndReplaceForWebView:]): Deleted.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:
(swizzledPerformTextSearchWithQueryString):
(TEST):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm:
(TEST):
Canonical link: https://commits.webkit.org/253114@main
Canonical link: https://commits.webkit.org/252432.103@safari-7614.1.25.1-branch
Commit: 00fa35e121ca70bc8005ad2d9bb0b396e8b4f495
https://github.com/WebKit/WebKit/commit/00fa35e121ca70bc8005ad2d9bb0b396e8b4f495
Author: Alan Coon <alancoon at apple.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M Source/JavaScriptCore/Configurations/Version.xcconfig
M Source/ThirdParty/ANGLE/Configurations/Version.xcconfig
M Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
M Source/WebCore/Configurations/Version.xcconfig
M Source/WebCore/PAL/Configurations/Version.xcconfig
M Source/WebGPU/Configurations/Version.xcconfig
M Source/WebInspectorUI/Configurations/Version.xcconfig
M Source/WebKit/Configurations/Version.xcconfig
M Source/WebKitLegacy/mac/Configurations/Version.xcconfig
Log Message:
-----------
Versioning.
WebKit-7614.1.25.1.6
Canonical link: https://commits.webkit.org/252432.104@safari-7614.1.25.1-branch
Commit: e0bc3e1c150e1d014233db942882bb220549383f
https://github.com/WebKit/WebKit/commit/e0bc3e1c150e1d014233db942882bb220549383f
Author: Alan Coon <alancoon at apple.com>
Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths:
M Source/JavaScriptCore/Configurations/Version.xcconfig
M Source/ThirdParty/ANGLE/Configurations/Version.xcconfig
M Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
M Source/WebCore/Configurations/Version.xcconfig
M Source/WebCore/PAL/Configurations/Version.xcconfig
M Source/WebGPU/Configurations/Version.xcconfig
M Source/WebInspectorUI/Configurations/Version.xcconfig
M Source/WebKit/Configurations/Version.xcconfig
M Source/WebKitLegacy/mac/Configurations/Version.xcconfig
Log Message:
-----------
Versioning.
WebKit-7614.1.25.1.7
Canonical link: https://commits.webkit.org/252432.105@safari-7614.1.25.1-branch
Commit: b3b6b3a1c386c584ff155d3d4e1b6fc8dc7b4332
https://github.com/WebKit/WebKit/commit/b3b6b3a1c386c584ff155d3d4e1b6fc8dc7b4332
Author: Alan Coon <alancoon at apple.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
Changed paths:
M Source/JavaScriptCore/Configurations/Version.xcconfig
M Source/ThirdParty/ANGLE/Configurations/Version.xcconfig
M Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig
M Source/WebCore/Configurations/Version.xcconfig
M Source/WebCore/PAL/Configurations/Version.xcconfig
M Source/WebGPU/Configurations/Version.xcconfig
M Source/WebInspectorUI/Configurations/Version.xcconfig
M Source/WebKit/Configurations/Version.xcconfig
M Source/WebKitLegacy/mac/Configurations/Version.xcconfig
Log Message:
-----------
Versioning.
WebKit-7614.1.25.1.8
Canonical link: https://commits.webkit.org/252432.106@safari-7614.1.25.1-branch
Commit: d4dbf967757d31b20cfb1891e10a6767cceb47c8
https://github.com/WebKit/WebKit/commit/d4dbf967757d31b20cfb1891e10a6767cceb47c8
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
Changed paths:
A JSTests/stress/map-clear-get.js
A JSTests/stress/set-clear-has.js
M Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
M Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp
M Source/JavaScriptCore/runtime/HashMapImpl.h
M Source/JavaScriptCore/runtime/HashMapImplInlines.h
M Source/JavaScriptCore/runtime/JSMap.h
M Source/JavaScriptCore/runtime/JSModuleLoader.cpp
M Source/JavaScriptCore/runtime/JSSet.h
M Source/JavaScriptCore/runtime/MapConstructor.cpp
M Source/JavaScriptCore/runtime/MapPrototype.cpp
M Source/JavaScriptCore/runtime/SetConstructor.cpp
M Source/JavaScriptCore/runtime/SetPrototype.cpp
M Source/JavaScriptCore/runtime/WeakMapImplInlines.h
M Source/WebCore/bindings/js/JSDOMMapLike.cpp
M Source/WebCore/bindings/js/JSDOMSetLike.cpp
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
Log Message:
-----------
Cherry-pick 1ed1e4a336e1. rdar://problem/98392410
[JSC] Make JSMap and JSSet construction more simple and efficient
https://bugs.webkit.org/show_bug.cgi?id=243557
rdar://98068082
Reviewed by Mark Lam and Saam Barati.
This patch makes the initial buffer of JSMap / JSSet nullptr so that we can make allocation of them
simpler and efficient for non-using case. It cleans up many code in module loader etc. And it paves
the way to allocating them from DFG and FTL efficiently. It also cleans up SerializedScriptValue
implementation.
* JSTests/stress/map-clear-get.js: Added.
(shouldBe):
(test):
* JSTests/stress/set-clear-has.js: Added.
(shouldBe):
(set clear):
(set shouldBe):
(set new):
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
* Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp:
(JSC::AbstractModuleRecord::finishCreation):
* Source/JavaScriptCore/runtime/HashMapImpl.h:
(JSC::HashMapBuffer::tryCreate):
(JSC::HashMapImpl::HashMapImpl):
(JSC::HashMapBuffer::create): Deleted.
(JSC::HashMapImpl::shouldRehashAfterAdd const): Deleted.
* Source/JavaScriptCore/runtime/HashMapImplInlines.h:
(JSC::shouldShrink):
(JSC::shouldRehash):
(JSC::nextCapacity):
(JSC::HashMapImpl<HashMapBucketType>::finishCreation):
(JSC::HashMapImpl<HashMapBucketType>::add):
(JSC::HashMapImpl<HashMapBucketType>::addNormalized):
(JSC::HashMapImpl<HashMapBucketType>::remove):
(JSC::HashMapImpl<HashMapBucketType>::clear):
(JSC::HashMapImpl<HashMapBucketType>::setUpHeadAndTail):
(JSC::HashMapImpl<HashMapBucketType>::addNormalizedNonExistingForCloning):
(JSC::HashMapImpl<HashMapBucketType>::addNormalizedNonExistingForCloningInternal):
(JSC::HashMapImpl<HashMapBucketType>::addNormalizedInternal):
(JSC::HashMapImpl<HashMapBucketType>::findBucketAlreadyHashedAndNormalized):
(JSC::HashMapImpl<HashMapBucketType>::rehash):
(JSC::HashMapImpl<HashMapBucketType>::makeAndSetNewBuffer):
(JSC::HashMapImpl<HashMapBucketType>::assertBufferIsEmpty):
(JSC::shouldRehashAfterAdd): Deleted.
(JSC::HashMapImpl<HashMapBucketType>::assertBufferIsEmpty const): Deleted.
* Source/JavaScriptCore/runtime/JSMap.h:
* Source/JavaScriptCore/runtime/JSModuleLoader.cpp:
(JSC::JSModuleLoader::finishCreation):
* Source/JavaScriptCore/runtime/JSSet.h:
* Source/JavaScriptCore/runtime/MapConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/MapPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/SetConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/SetPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/WeakMapImplInlines.h:
(JSC::WeakMapImpl<WeakMapBucket>::shouldRehashAfterAdd const):
* Source/WebCore/bindings/js/JSDOMMapLike.cpp:
(WebCore::getBackingMap):
* Source/WebCore/bindings/js/JSDOMSetLike.cpp:
(WebCore::getBackingSet):
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::deserialize):
Canonical link: https://commits.webkit.org/253133@main
Canonical link: https://commits.webkit.org/252432.107@safari-7614.1.25.1-branch
Compare: https://github.com/WebKit/WebKit/compare/951d5466e7c2%5E...d4dbf967757d
More information about the webkit-changes
mailing list