Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7e2a2b0030153b4484da13f3a062411083b9438a
https://github.com/WebKit/WebKit/commit/7e2a2b0030153b4484da13f3a062411083b9438a
Author: Chris Dumez <[email protected]>
Date: 2026-03-23 (Mon, 23 Mar 2026)
Changed paths:
M Source/WTF/wtf/text/StringParsingBuffer.h
M Tools/TestWebKitAPI/Tests/WTF/StringParsingBuffer.cpp
Log Message:
-----------
StringParsingBuffer::consume() incorrectly returns the whole buffer
https://bugs.webkit.org/show_bug.cgi?id=310519
Reviewed by Anne van Kesteren.
StringParsingBuffer::consume() incorrectly returns the whole buffer,
instead of just the consumed part.
Test: Tools/TestWebKitAPI/Tests/WTF/StringParsingBuffer.cpp
* Source/WTF/wtf/text/StringParsingBuffer.h:
* Tools/TestWebKitAPI/Tests/WTF/StringParsingBuffer.cpp:
(TestWebKitAPI::TEST(WTF, StringParsingBufferConsumeCount)):
Canonical link: https://commits.webkit.org/309749@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications