Skip to content
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

Remove dead code throwing SyntaxError in enum setters #28

Merged
merged 2 commits into from Jan 29, 2014

Conversation

foolip
Copy link
Member

@foolip foolip commented Jan 28, 2014

No description provided.

silviapfeiffer added a commit that referenced this pull request Jan 29, 2014
Make VTTRegion.scroll an enum ScrollSetting

Remove dead code throwing SyntaxError in enum setters
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22967
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22968
@silviapfeiffer silviapfeiffer merged commit 06e9e20 into w3c:master Jan 29, 2014
@foolip foolip deleted the enum-syntax-error branch January 29, 2014 02:23
webkit-commit-queue pushed a commit to cola119/WebKit that referenced this pull request Sep 9, 2023
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants