Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8761bda2522be9321ce58e438f83c759194e5796
https://github.com/WebKit/WebKit/commit/8761bda2522be9321ce58e438f83c759194e5796
Author: Chris Dumez <[email protected]>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M Source/WebCore/html/Allowlist.h
M Source/WebCore/html/AttachmentAssociatedElement.cpp
M Source/WebCore/html/AttachmentAssociatedElement.h
M Source/WebCore/html/CanvasBase.h
M Source/WebCore/html/DOMFormData.h
M Source/WebCore/html/DOMTokenList.h
M Source/WebCore/html/DOMURL.h
M Source/WebCore/html/HTMLAttachmentElement.h
M Source/WebCore/html/HTMLCollection.h
M Source/WebCore/html/HTMLCollectionInlines.h
M Source/WebCore/html/HTMLDialogElement.h
M Source/WebCore/html/HTMLFormElement.h
M Source/WebCore/html/HTMLIFrameElement.h
M Source/WebCore/html/HTMLImageElement.h
M Source/WebCore/html/HTMLMapElement.h
M Source/WebCore/html/HTMLMediaElement.h
M Source/WebCore/html/HTMLPlugInElement.h
M Source/WebCore/html/HTMLSelectElement.h
M Source/WebCore/html/HTMLSlotElement.h
M Source/WebCore/html/ImageData.h
M Source/WebCore/html/MediaError.h
M Source/WebCore/html/OffscreenCanvas.h
M Source/WebCore/html/TimeRanges.h
M Source/WebCore/html/URLSearchParams.h
M Source/WebCore/html/canvas/ANGLEInstancedArrays.cpp
M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h
M Source/WebCore/html/canvas/EXTBlendMinMax.cpp
M Source/WebCore/html/canvas/EXTClipControl.cpp
M Source/WebCore/html/canvas/EXTColorBufferFloat.cpp
M Source/WebCore/html/canvas/EXTColorBufferHalfFloat.cpp
M Source/WebCore/html/canvas/EXTConservativeDepth.cpp
M Source/WebCore/html/canvas/EXTDepthClamp.cpp
M Source/WebCore/html/canvas/EXTDisjointTimerQuery.cpp
M Source/WebCore/html/canvas/EXTDisjointTimerQueryWebGL2.cpp
M Source/WebCore/html/canvas/EXTFloatBlend.cpp
M Source/WebCore/html/canvas/EXTFragDepth.cpp
M Source/WebCore/html/canvas/EXTPolygonOffsetClamp.cpp
M Source/WebCore/html/canvas/EXTRenderSnorm.cpp
M Source/WebCore/html/canvas/EXTShaderTextureLOD.cpp
M Source/WebCore/html/canvas/EXTTextureCompressionBPTC.cpp
M Source/WebCore/html/canvas/EXTTextureCompressionRGTC.cpp
M Source/WebCore/html/canvas/EXTTextureFilterAnisotropic.cpp
M Source/WebCore/html/canvas/EXTTextureMirrorClampToEdge.cpp
M Source/WebCore/html/canvas/EXTTextureNorm16.cpp
M Source/WebCore/html/canvas/EXTsRGB.cpp
M Source/WebCore/html/canvas/KHRParallelShaderCompile.cpp
M Source/WebCore/html/canvas/NVShaderNoperspectiveInterpolation.cpp
M Source/WebCore/html/canvas/OESDrawBuffersIndexed.cpp
M Source/WebCore/html/canvas/OESElementIndexUint.cpp
M Source/WebCore/html/canvas/OESFBORenderMipmap.cpp
M Source/WebCore/html/canvas/OESSampleVariables.cpp
M Source/WebCore/html/canvas/OESShaderMultisampleInterpolation.cpp
M Source/WebCore/html/canvas/OESStandardDerivatives.cpp
M Source/WebCore/html/canvas/OESTextureFloat.cpp
M Source/WebCore/html/canvas/OESTextureFloatLinear.cpp
M Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
M Source/WebCore/html/canvas/OESTextureHalfFloatLinear.cpp
M Source/WebCore/html/canvas/OESVertexArrayObject.cpp
M Source/WebCore/html/canvas/Path2D.h
M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
M Source/WebCore/html/canvas/WebGLBlendFuncExtended.cpp
M Source/WebCore/html/canvas/WebGLBuffer.cpp
M Source/WebCore/html/canvas/WebGLClipCullDistance.cpp
M Source/WebCore/html/canvas/WebGLCompressedTextureASTC.cpp
M Source/WebCore/html/canvas/WebGLCompressedTextureETC.cpp
M Source/WebCore/html/canvas/WebGLCompressedTextureETC1.cpp
M Source/WebCore/html/canvas/WebGLCompressedTexturePVRTC.cpp
M Source/WebCore/html/canvas/WebGLCompressedTextureS3TCsRGB.cpp
M Source/WebCore/html/canvas/WebGLContextEvent.h
M Source/WebCore/html/canvas/WebGLDebugShaders.cpp
M Source/WebCore/html/canvas/WebGLDefaultFramebuffer.cpp
M Source/WebCore/html/canvas/WebGLDepthTexture.cpp
M Source/WebCore/html/canvas/WebGLDrawBuffers.cpp
M Source/WebCore/html/canvas/WebGLDrawInstancedBaseVertexBaseInstance.cpp
M Source/WebCore/html/canvas/WebGLFramebuffer.cpp
M Source/WebCore/html/canvas/WebGLMultiDraw.cpp
M
Source/WebCore/html/canvas/WebGLMultiDrawInstancedBaseVertexBaseInstance.cpp
M Source/WebCore/html/canvas/WebGLObject.cpp
M Source/WebCore/html/canvas/WebGLObject.h
M Source/WebCore/html/canvas/WebGLPolygonMode.cpp
M Source/WebCore/html/canvas/WebGLProgram.cpp
M Source/WebCore/html/canvas/WebGLProgram.h
M Source/WebCore/html/canvas/WebGLProvokingVertex.cpp
M Source/WebCore/html/canvas/WebGLQuery.cpp
M Source/WebCore/html/canvas/WebGLRenderSharedExponent.cpp
M Source/WebCore/html/canvas/WebGLRenderbuffer.cpp
M Source/WebCore/html/canvas/WebGLRenderingContext.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.h
M Source/WebCore/html/canvas/WebGLSampler.cpp
M Source/WebCore/html/canvas/WebGLShader.cpp
M Source/WebCore/html/canvas/WebGLShader.h
M Source/WebCore/html/canvas/WebGLStencilTexturing.cpp
M Source/WebCore/html/canvas/WebGLSync.cpp
M Source/WebCore/html/canvas/WebGLTexture.cpp
M Source/WebCore/html/canvas/WebGLTimerQueryEXT.cpp
M Source/WebCore/html/canvas/WebGLTransformFeedback.cpp
M Source/WebCore/html/canvas/WebGLUtilities.h
M Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp
M Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.cpp
M Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.h
M Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.cpp
M Source/WebCore/html/parser/AtomHTMLToken.h
M Source/WebCore/html/parser/HTMLConstructionSite.h
M Source/WebCore/html/parser/HTMLDocumentParser.h
M Source/WebCore/html/parser/HTMLElementStack.h
M Source/WebCore/html/parser/HTMLFormattingElementList.h
M Source/WebCore/html/parser/HTMLInputStream.h
M Source/WebCore/html/parser/HTMLMetaCharsetParser.h
M Source/WebCore/html/parser/HTMLResourcePreloader.h
M Source/WebCore/html/parser/HTMLStackItem.h
M Source/WebCore/html/parser/HTMLToken.h
M Source/WebCore/html/parser/HTMLTokenizer.h
M Source/WebCore/html/parser/HTMLTreeBuilder.h
M Source/WebCore/html/shadow/MediaControlTextTrackContainerElement.h
M Source/WebCore/html/shadow/SelectFallbackButtonElement.cpp
M Source/WebCore/html/track/TextTrack.h
M Source/WebCore/html/track/TextTrackCue.h
M Source/WebCore/html/track/TextTrackCueGeneric.h
M Source/WebCore/html/track/TextTrackList.h
M Source/WebCore/html/track/TrackBase.h
M Source/WebCore/html/track/VTTCue.h
M Source/WebCore/html/track/VTTRegion.h
M Source/WebCore/html/track/WebVTTToken.h
Log Message:
-----------
Adopt `LIFETIME_BOUND` annotation in more places in WebCore/html
https://bugs.webkit.org/show_bug.cgi?id=309032
Reviewed by Ryosuke Niwa.
* Source/WebCore/html/Allowlist.h:
(WebCore::Allowlist::origins const): Deleted.
* Source/WebCore/html/AttachmentAssociatedElement.cpp:
(WebCore::AttachmentAssociatedElement::attachmentElement const):
(WebCore::AttachmentAssociatedElement::attachmentIdentifier const):
* Source/WebCore/html/AttachmentAssociatedElement.h:
* Source/WebCore/html/CanvasBase.h:
(WebCore::CanvasBase::size const): Deleted.
(WebCore::CanvasBase::cssParserContext const): Deleted.
* Source/WebCore/html/DOMFormData.h:
(WebCore::DOMFormData::items const): Deleted.
(WebCore::DOMFormData::encoding const): Deleted.
* Source/WebCore/html/DOMTokenList.h:
* Source/WebCore/html/DOMURL.h:
* Source/WebCore/html/HTMLAttachmentElement.h:
* Source/WebCore/html/HTMLCollection.h:
(WebCore::CollectionNamedElementCache::propertyNames const): Deleted.
* Source/WebCore/html/HTMLCollectionInlines.h:
(WebCore::HTMLCollection::namedItemCaches const): Deleted.
* Source/WebCore/html/HTMLDialogElement.h:
* Source/WebCore/html/HTMLFormElement.h:
* Source/WebCore/html/HTMLIFrameElement.h:
* Source/WebCore/html/HTMLImageElement.h:
(WebCore::HTMLImageElement::currentURL const): Deleted.
* Source/WebCore/html/HTMLMapElement.h:
* Source/WebCore/html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::currentSrc const): Deleted.
(WebCore::HTMLMediaElement::srcObject const): Deleted.
* Source/WebCore/html/HTMLPlugInElement.h:
(WebCore::HTMLPlugInElement::serviceType const): Deleted.
(WebCore::HTMLPlugInElement::url const): Deleted.
* Source/WebCore/html/HTMLSelectElement.h:
* Source/WebCore/html/HTMLSlotElement.h:
* Source/WebCore/html/ImageData.h:
(WebCore::ImageData::size const): Deleted.
(WebCore::ImageData::data const): Deleted.
* Source/WebCore/html/MediaError.h:
(WebCore::MediaError::message const): Deleted.
* Source/WebCore/html/OffscreenCanvas.h:
(WebCore::DetachedOffscreenCanvas::size const): Deleted.
* Source/WebCore/html/TimeRanges.h:
(WebCore::TimeRanges::ranges const): Deleted.
(WebCore::TimeRanges::ranges): Deleted.
* Source/WebCore/html/URLSearchParams.h:
(WebCore::URLSearchParams::pairs const): Deleted.
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h:
(WebCore::CanvasRenderingContext2DBase::getContextAttributes const): Deleted.
(WebCore::CanvasRenderingContext2DBase::getLineDash const): Deleted.
(WebCore::CanvasRenderingContext2DBase::webkitLineDash const): Deleted.
(WebCore::CanvasRenderingContext2DBase::state const): Deleted.
(WebCore::CanvasRenderingContext2DBase::modifiableState): Deleted.
* Source/WebCore/html/canvas/EXTDisjointTimerQuery.cpp:
(WebCore::EXTDisjointTimerQuery::deleteQueryEXT):
* Source/WebCore/html/canvas/OESVertexArrayObject.cpp:
(WebCore::OESVertexArrayObject::deleteVertexArrayOES):
* Source/WebCore/html/canvas/Path2D.h:
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::deleteVertexArray):
* Source/WebCore/html/canvas/WebGLContextEvent.h:
* Source/WebCore/html/canvas/WebGLObject.cpp:
(WebCore::WebGLObject::context const):
(WebCore::WebGLObject::graphicsContextGL const):
* Source/WebCore/html/canvas/WebGLObject.h:
* Source/WebCore/html/canvas/WebGLProgram.h:
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::cullFace):
(WebCore::WebGLRenderingContextBase::deleteObject):
(WebCore::WebGLRenderingContextBase::detachShader):
(WebCore::WebGLRenderingContextBase::disable):
(WebCore::WebGLRenderingContextBase::getVertexAttrib):
(WebCore::WebGLRenderingContextBase::useProgram):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
(WebCore::WebGLRenderingContextBase::graphicsContextGL const):
(WebCore::WebGLRenderingContextBase::pixelStorePackParameters const): Deleted.
(WebCore::WebGLRenderingContextBase::unpackPixelStoreParameters const): Deleted.
* Source/WebCore/html/canvas/WebGLShader.h:
* Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.cpp:
(WebCore::WebGLVertexArrayObjectBase::setElementArrayBuffer):
(WebCore::WebGLVertexArrayObjectBase::setVertexAttribState):
* Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.h:
(WebCore::WebGLVertexArrayObjectBase::getVertexAttribState): Deleted.
* Source/WebCore/html/parser/AtomHTMLToken.h:
* Source/WebCore/html/parser/HTMLConstructionSite.h:
(WebCore::HTMLConstructionSite::currentStackItem const): Deleted.
(WebCore::HTMLConstructionSite::oneBelowTop const): Deleted.
(WebCore::HTMLConstructionSite::openElements const): Deleted.
(WebCore::HTMLConstructionSite::activeFormattingElements const): Deleted.
(WebCore::HTMLConstructionSite::headStackItem): Deleted.
* Source/WebCore/html/parser/HTMLDocumentParser.h:
(WebCore::HTMLDocumentParser::treeBuilder): Deleted.
* Source/WebCore/html/parser/HTMLElementStack.h:
(WebCore::HTMLElementStack::ElementRecord::stackItem): Deleted.
(WebCore::HTMLElementStack::ElementRecord::stackItem const): Deleted.
(WebCore::HTMLElementStack::ElementRecord::next const): Deleted.
(WebCore::HTMLElementStack::topStackItem const): Deleted.
* Source/WebCore/html/parser/HTMLFormattingElementList.h:
(WebCore::HTMLFormattingElementList::Entry::stackItem const): Deleted.
(WebCore::HTMLFormattingElementList::at const): Deleted.
(WebCore::HTMLFormattingElementList::at): Deleted.
(WebCore::HTMLFormattingElementList::first): Deleted.
* Source/WebCore/html/parser/HTMLInputStream.h:
(WebCore::HTMLInputStream::current): Deleted.
(WebCore::HTMLInputStream::current const): Deleted.
* Source/WebCore/html/parser/HTMLMetaCharsetParser.h:
(WebCore::HTMLMetaCharsetParser::encoding): Deleted.
* Source/WebCore/html/parser/HTMLResourcePreloader.h:
(WebCore::PreloadRequest::charset const): Deleted.
(WebCore::PreloadRequest::media const): Deleted.
* Source/WebCore/html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::localName const): Deleted.
(WebCore::HTMLStackItem::namespaceURI const): Deleted.
* Source/WebCore/html/parser/HTMLToken.h:
* Source/WebCore/html/parser/HTMLTokenizer.h:
* Source/WebCore/html/parser/HTMLTreeBuilder.h:
* Source/WebCore/html/shadow/MediaControlTextTrackContainerElement.h:
* Source/WebCore/html/track/TextTrack.h:
(WebCore::TextTrack::styleSheets const): Deleted.
* Source/WebCore/html/track/TextTrackCue.h:
(WebCore::TextTrackCue::id const): Deleted.
* Source/WebCore/html/track/TextTrackCueGeneric.h:
* Source/WebCore/html/track/TextTrackList.h:
* Source/WebCore/html/track/TrackBase.h:
(WebCore::MediaTrackBase::kind const): Deleted.
* Source/WebCore/html/track/VTTCue.h:
(WebCore::VTTCue::cueSettings const): Deleted.
(WebCore::VTTCue::getCSSPosition const): Deleted.
(WebCore::VTTCue::left const): Deleted.
(WebCore::VTTCue::top const): Deleted.
(WebCore::VTTCue::width const): Deleted.
(WebCore::VTTCue::height const): Deleted.
* Source/WebCore/html/track/VTTRegion.h:
* Source/WebCore/html/track/WebVTTToken.h:
(WebCore::WebVTTToken::name const): Deleted.
(WebCore::WebVTTToken::characters const): Deleted.
(WebCore::WebVTTToken::classes const): Deleted.
(WebCore::WebVTTToken::annotation const): Deleted.
Canonical link: https://commits.webkit.org/308581@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications