[webkit-changes] [WebKit/WebKit] 90a2df: [ wk2 ] imported/w3c/web-platform-tests/webcodecs/...

youennf noreply at github.com
Thu Oct 19 12:08:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 90a2dfe440a24e31efa88fad817b4802e2a0bbcc
      https://github.com/WebKit/WebKit/commit/90a2dfe440a24e31efa88fad817b4802e2a0bbcc
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource.html
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt
    M LayoutTests/platform/wk2/TestExpectations

  Log Message:
  -----------
  [ wk2 ] imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource.html is a flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=260834
rdar://114596017

Reviewed by Chris Dumez.

The test may try to create a VideoFrame from an image which has not finished loading.
In that case, it will fail.
To prevent this, we transform the test as promise_tests and we add a first promise_test which waits for the onload event to be fired.

* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource.html:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt:
* LayoutTests/platform/wk2/TestExpectations:

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




More information about the webkit-changes mailing list