[webkit-changes] [WebKit/WebKit] aed5b2: Validate planeSize and planeEnd in https://w3c.git...

youennf noreply at github.com
Wed Oct 12 02:07:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aed5b205f53143a09fecdf19459406a129a2d744
      https://github.com/WebKit/WebKit/commit/aed5b205f53143a09fecdf19459406a129a2d744
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo.any.worker-expected.txt
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.cpp

  Log Message:
  -----------
  Validate planeSize and planeEnd in https://w3c.github.io/webcodecs/#videoframe-compute-layout-and-allocation-size
https://bugs.webkit.org/show_bug.cgi?id=246268
rdar://problem/100968161

Reviewed by Eric Carlson.

Add missing checks as per specification.

* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo.any.worker-expected.txt:
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrameAlgorithms.cpp:
(WebCore::computeLayoutAndAllocationSize):

Canonical link: https://commits.webkit.org/255424@main




More information about the webkit-changes mailing list