[webkit-changes] [WebKit/WebKit] 8de0ed: VTTRegion::setScroll should ignore assignment of a...

Kohei Ueno noreply at github.com
Sat Sep 9 04:59:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8de0edf59961bbcf4e1127ce8b411f680a023fe6
      https://github.com/WebKit/WebKit/commit/8de0edf59961bbcf4e1127ce8b411f680a023fe6
  Author: Kohei Ueno <kohei.ueno119 at gmail.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/constructor-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webvtt/api/VTTRegion/scroll-expected.txt
    M LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
    M Source/WebCore/html/track/VTTRegion.cpp
    M Source/WebCore/html/track/VTTRegion.h

  Log Message:
  -----------
  VTTRegion::setScroll should ignore assignment of an invalid string instead 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 https://github.com/w3c/webvtt/pull/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




More information about the webkit-changes mailing list