-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Prepare to remove Span.h #13923
Prepare to remove Span.h #13923
Conversation
0302675
to
62864ae
Compare
EWS run on previous version of this PR (hash 62864ae)
|
62864ae
to
eabf4d7
Compare
EWS run on previous version of this PR (hash eabf4d7)
|
eabf4d7
to
5407642
Compare
EWS run on previous version of this PR (hash 5407642)
|
5407642
to
9324aee
Compare
EWS run on previous version of this PR (hash 9324aee)
|
9324aee
to
14c1bea
Compare
EWS run on current version of this PR (hash 14c1bea)
|
@@ -925,6 +924,13 @@ - (void)cancel | |||
} | |||
#endif | |||
|
|||
#if ENABLE(WEB_AUTHN) | |||
static std::span<const uint8_t> asUInt8Span(NSData* data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used twice below. It used to be in SpanCocoa.h but this was the only place it's used, so I moved I there.
https://bugs.webkit.org/show_bug.cgi?id=256843 Reviewed by Ryosuke Niwa. It has been replaced by <span> * Source/JavaScriptCore/jsc.cpp: (JSC_DEFINE_HOST_FUNCTION): * Source/WTF/wtf/ArgumentCoder.h: * Source/WTF/wtf/SHA1.h: (WTF::SHA1::addBytes): * Source/WTF/wtf/Span.h: (WTF::makeSpan): Deleted. (WTF::asBytes): Deleted. (WTF::asWritableBytes): Deleted. * Source/WTF/wtf/StackTrace.h: * Source/WTF/wtf/Vector.h: * Source/WTF/wtf/cf/SpanCF.h: * Source/WTF/wtf/cocoa/SpanCocoa.h: * Source/WTF/wtf/darwin/LibraryPathDiagnostics.mm: * Source/WTF/wtf/persistence/PersistentDecoder.h: * Source/WTF/wtf/persistence/PersistentEncoder.h: * Source/WTF/wtf/text/ASCIILiteral.h: * Source/WTF/wtf/text/Base64.cpp: (WTF::base64EncodeInternal): (WTF::base64Decode): * Source/WTF/wtf/text/Base64.h: (WTF::base64EncodeToVector): (WTF::base64EncodeToString): (WTF::base64EncodeToStringReturnNullIfOverflow): (WTF::base64Decode): (WTF::base64Encoded): (WTF::StringTypeAdapter<Base64Specification>::writeTo const): * Source/WTF/wtf/text/CString.h: * Source/WTF/wtf/text/StringBuilder.h: (WTF::StringBuilder::span const): * Source/WTF/wtf/text/StringImpl.h: (WTF::StringImpl::tryGetUTF8ForCharacters): * Source/WTF/wtf/text/StringSearch.h: (WTF::BoyerMooreHorspoolTable::BoyerMooreHorspoolTable): * Source/WTF/wtf/text/WTFString.h: (WTF::String::tryGetUTF8 const): * Source/WebCore/Modules/fetch/FetchResponse.h: * Source/WebCore/Modules/fetch/FormDataConsumer.h: * Source/WebCore/Modules/mediastream/RTCRtpTransformableFrame.h: * Source/WebCore/Modules/push-api/PushCrypto.h: * Source/WebCore/Modules/push-api/PushDatabase.cpp: (WebCore::uuidToSpan): * Source/WebCore/Modules/push-api/PushDatabase.h: * Source/WebCore/Modules/push-api/PushMessageCrypto.cpp: (WebCore::PushCrypto::decryptAES128GCMPayload): (WebCore::PushCrypto::decryptAESGCMPayload): * Source/WebCore/Modules/push-api/PushMessageCrypto.h: * Source/WebCore/Modules/streams/ReadableStreamSink.h: * Source/WebCore/Modules/webauthn/AuthenticatorResponseData.h: (WebCore::encodeArrayBuffer): * Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp: (WebCore::WebXROpaqueFramebuffer::startFrame): (WebCore::WebXROpaqueFramebuffer::endFrame): (WebCore::WebXROpaqueFramebuffer::setupFramebuffer): * Source/WebCore/bindings/js/BufferSource.h: * Source/WebCore/bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValue::encode const): * Source/WebCore/contentextensions/CompiledContentExtension.h: * Source/WebCore/css/ComputedStyleExtractor.h: * Source/WebCore/dom/make_names.pl: (printTagNameCppFile): (printNodeNameCppFile): * Source/WebCore/fileapi/NetworkSendQueue.cpp: (WebCore::NetworkSendQueue::enqueue): (WebCore::NetworkSendQueue::processMessages): * Source/WebCore/fileapi/NetworkSendQueue.h: * Source/WebCore/html/CanvasNoiseInjection.cpp: (WebCore::CanvasNoiseInjection::postProcessPixelBufferResults const): * Source/WebCore/html/canvas/CanvasPath.cpp: (WebCore::CanvasPath::roundRect): * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getBufferSubData): (WebCore::WebGL2RenderingContext::compressedTexImage2D): (WebCore::WebGL2RenderingContext::compressedTexImage3D): (WebCore::WebGL2RenderingContext::compressedTexSubImage2D): (WebCore::WebGL2RenderingContext::compressedTexSubImage3D): * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::bufferData): (WebCore::WebGLRenderingContextBase::bufferSubData): (WebCore::WebGLRenderingContextBase::compressedTexImage2D): (WebCore::WebGLRenderingContextBase::compressedTexSubImage2D): (WebCore::WebGLRenderingContextBase::readPixels): (WebCore::WebGLRenderingContextBase::validateTexFuncData): * Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp: * Source/WebCore/html/shadow/TextControlInnerElements.cpp: (WebCore::TextControlInnerTextElement::updateInnerTextElementEditabilityImpl): * Source/WebCore/loader/icon/IconLoader.cpp: (WebCore::IconLoader::notifyFinished): * Source/WebCore/page/PageColorSampler.cpp: (WebCore::PageColorSampler::sampleTop): * Source/WebCore/platform/SharedBuffer.h: (WebCore::SharedBuffer::dataAsSpanForContiguousData const): * Source/WebCore/platform/VideoDecoder.h: * Source/WebCore/platform/VideoEncoder.h: * Source/WebCore/platform/cocoa/SharedVideoFrameInfo.h: * Source/WebCore/platform/graphics/ByteArrayPixelBuffer.h: (WebCore::ByteArrayPixelBuffer::encode const): * Source/WebCore/platform/graphics/GraphicsContextGL.h: * Source/WebCore/platform/network/ResourceResponseBase.h: * Source/WebCore/platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::bindBlob): * Source/WebCore/platform/sql/SQLiteStatement.h: * Source/WebCore/workers/service/background-fetch/BackgroundFetchEngine.h: * Source/WebCore/workers/service/background-fetch/BackgroundFetchRecordLoader.h: * Source/WebCore/workers/service/server/SWRegistrationDatabase.cpp: (WebCore::SWRegistrationDatabase::updateRegistrations): * Source/WebCore/xml/XMLErrors.cpp: (WebCore::createXHTMLParserErrorHeader): (WebCore::XMLErrors::insertErrorMessageBlock): * Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp: (WebKit::RemoteGraphicsContextGL::readnPixels2): * Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h: (uniform1fv): (uniform1iv): (uniform2fv): (uniform2iv): (uniform3fv): (uniform3iv): (uniform4fv): (uniform4iv): (uniformMatrix2fv): (uniformMatrix3fv): (uniformMatrix4fv): (bufferData1): (bufferSubData): (texImage2D0): (texSubImage2D0): (compressedTexImage2D0): (compressedTexSubImage2D0): (invalidateFramebuffer): (invalidateSubFramebuffer): (texImage3D0): (texSubImage3D0): (compressedTexImage3D0): (compressedTexSubImage3D0): (uniform1uiv): (uniform2uiv): (uniform3uiv): (uniform4uiv): (uniformMatrix2x3fv): (uniformMatrix3x2fv): (uniformMatrix2x4fv): (uniformMatrix4x2fv): (uniformMatrix3x4fv): (uniformMatrix4x3fv): (drawBuffers): (clearBufferiv): (clearBufferuiv): (clearBufferfv): (drawBuffersEXT): * Source/WebKit/NetworkProcess/NetworkLoad.cpp: (WebKit::NetworkLoad::notifyDidReceiveResponse): * Source/WebKit/NetworkProcess/cache/CacheStorageEngine.cpp: (WebKit::CacheStorage::Engine::writeSizeFile): * Source/WebKit/NetworkProcess/cache/NetworkCacheData.h: * Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp: (WebKit::readRecordInfoFromFileData): (WebKit::CacheStorageDiskStore::readRecordFromFileData): (WebKit::CacheStorageDiskStore::writeRecords): * Source/WebKit/NetworkProcess/storage/CacheStorageManager.cpp: (WebKit::writeCachesList): (WebKit::writeSizeFile): * Source/WebKit/Platform/IPC/ArgumentCoders.cpp: (IPC::ArgumentCoder<String>::encode): * Source/WebKit/Platform/IPC/ArgumentCoders.h: (IPC::ArgumentCoder<SHA1::Digest>::encode): * Source/WebKit/Platform/IPC/ArrayReference.h: * Source/WebKit/Platform/IPC/DataReference.h: * Source/WebKit/Platform/IPC/Encoder.h: (IPC::Encoder::encodeObject): * Source/WebKit/Platform/IPC/StreamConnectionBuffer.h: * Source/WebKit/Platform/IPC/StreamConnectionEncoder.h: * Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm: (WebKit::SandboxExtension::createHandlesForMachLookup): * Source/WebKit/Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<WebCore::FragmentedSharedBuffer>::encode): * Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h: * Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::encodeTypedArray): * Source/WebKit/webpushd/WebPushDaemon.h: * Source/WebKit/webpushd/WebPushDaemon.mm: * Source/WebKitLegacy/mac/History/BinaryPropertyList.cpp: (add): * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * Tools/TestWebKitAPI/Tests/IPC/ArgumentCoderTests.cpp: (TestWebKitAPI::TYPED_TEST_P): * Tools/TestWebKitAPI/Tests/WTF/Span.cpp: Removed. Canonical link: https://commits.webkit.org/264168@main
14c1bea
to
9d25322
Compare
Committed 264168@main (9d25322): https://commits.webkit.org/264168@main Reviewed commits have been landed. Closing PR #13923 and removing active labels. |
9d25322
14c1bea
π§ͺ ios-wk2π§ͺ ios-wk2-wptπ§ͺ gtk-wk2π§ͺ api-ios