forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VTTRegion::setScroll should ignore assignment of an invalid string in…
…stead of throwing SyntaxError https://bugs.webkit.org/show_bug.cgi?id=261310 Reviewed by Eric Carlson. The spec that VTTRegion::setScroll throws a SyntaxError in dead code has been removed at w3c/webvtt#28, and now it should ignore assignment of an invalid string. WebKit is failing the corresponding WPT: https://wpt.fyi/results/webvtt/api/VTTRegion/scroll.html?label=experimental&label=master&aligned&q=webvtt * LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/constructor-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/scroll-expected.txt: * LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt: * Source/WebCore/html/track/VTTRegion.cpp: (WebCore::VTTRegion::setScroll): * Source/WebCore/html/track/VTTRegion.h: Canonical link: https://commits.webkit.org/267828@main
- Loading branch information
Showing
5 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/constructor-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
PASS VTTRegion() initial values | ||
FAIL VTTRegion() mutations The string did not match the expected pattern. | ||
PASS VTTRegion() mutations | ||
|
2 changes: 1 addition & 1 deletion
2
LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/scroll-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL VTTRegion.scroll script-created region The string did not match the expected pattern. | ||
PASS VTTRegion.scroll script-created region | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters