Skip to content

Commit

Permalink
Bug 1792167 [wpt PR 36044] - Add ImageDecoder-independent animated …
Browse files Browse the repository at this point in the history
…AVIF test, a=testonly

Automatic update from web-platform-tests
Add `ImageDecoder`-independent animated AVIF test (#36044)

Ref. web-platform-tests/interop#136
--

wpt-commits: 28907950abfc7baf1cc61b5b9845f2a787032906
wpt-pr: 36044
  • Loading branch information
mathiasbynens authored and moz-wptsync-bot committed Oct 21, 2022
1 parent 77f6228 commit 76b9a32
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/web-platform/tests/avif/META.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spec: https://aomediacodec.github.io/av1-avif/
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<img src=../images/green.avif>
11 changes: 11 additions & 0 deletions testing/web-platform/tests/avif/animated-avif-timeout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html class="reftest-wait">
<title>Animated AVIF: Second frame displays quickly, replacing red with green.</title>
<link rel="match" href="animated-avif-timeout-ref.html"/>
<img src=../images/animated-avif.avif onload="loaded()"/>
<script>
function loaded() {
setTimeout(function() {
document.documentElement.classList.remove("reftest-wait");
}, 1000);
}
</script>
Binary file not shown.
Binary file added testing/web-platform/tests/images/green.avif
Binary file not shown.
1 change: 1 addition & 0 deletions testing/web-platform/tests/lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ PARSE-FAILED: custom-elements/xhtml-crash.xhtml
SET TIMEOUT: *-manual.*
SET TIMEOUT: annotation-model/scripts/ajv.min.js
SET TIMEOUT: apng/animated-png-timeout.html
SET TIMEOUT: avif/animated-avif-timeout.html
SET TIMEOUT: cookies/resources/testharness-helpers.js
SET TIMEOUT: common/reftest-wait.js
SET TIMEOUT: conformance-checkers/*
Expand Down

0 comments on commit 76b9a32

Please sign in to comment.