Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c10d579db7bce936c0574ec8a4188e3b839e0644
https://github.com/WebKit/WebKit/commit/c10d579db7bce936c0574ec8a4188e3b839e0644
Author: Anne van Kesteren <[email protected]>
Date: 2026-04-18 (Sat, 18 Apr 2026)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTCue/getCueAsHTML-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTCue/getCueAsHTML.html
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/html/track/WebVTTTokenizer.cpp
M Source/WebCore/html/track/WebVTTTokenizer.h
Log Message:
-----------
Allow U+0000 in VTTCue
https://bugs.webkit.org/show_bug.cgi?id=312686
rdar://175084171
Reviewed by Chris Dumez.
The WebVTT cue text tokenizer was using InputStreamPreprocessor, which
replaced U+0000 NULL with U+FFFD. This was wrong for getCueAsHTML().
So instead we use StringParsingBuffer, which preserves all characters
as-is.
We also fix a pre-existing bug where entity-decoded characters in voice
annotations (e.g., <v Foo&Bar>) were appended to the tag name
instead of the annotation text, and unskip five already-passing
rendering tests.
Upstream:
https://github.com/web-platform-tests/wpt/pull/59331
Canonical link: https://commits.webkit.org/311539@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications