Skip to content
Permalink
Browse files
Increase pixel check tolerance for http/wpt/mediarecorder/MediaRecord…
…er-AV-audio-video-dataavailable.html

https://bugs.webkit.org/show_bug.cgi?id=213237

Reviewed by Eric Carlson.

* http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
Increase pixel tolerance as we encode/decode video which might create some artefacts.


Canonical link: https://commits.webkit.org/226034@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf committed Jun 16, 2020
1 parent 6448c98 commit 5e71bec35558f1c62221bb42038d6ab669572950
Showing 2 changed files with 14 additions and 4 deletions.
@@ -1,3 +1,13 @@
2020-06-16 Youenn Fablet <youenn@apple.com>

Increase pixel check tolerance for http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html
https://bugs.webkit.org/show_bug.cgi?id=213237

Reviewed by Eric Carlson.

* http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
Increase pixel tolerance as we encode/decode video which might create some artefacts.

2020-06-16 Chris Fleizach <cfleizach@apple.com>

AX: <address> element should no longer map to ARIA `contentinfo` role
@@ -91,13 +91,13 @@
player.onseeked = t.step_func(() => {
resContext.drawImage(player, 0, 0);
if (!mode) {
_assertPixelApprox(resFrame, 25, 25, 255, 0, 0, 255, "25, 25", "255, 0, 0, 255", 20);
_assertPixelApprox(resFrame, 50, 50, 255, 0, 0, 255, "50, 50", "255, 0, 0, 255", 20);
_assertPixelApprox(resFrame, 25, 25, 255, 0, 0, 255, "25, 25", "255, 0, 0, 255", 50);
_assertPixelApprox(resFrame, 50, 50, 255, 0, 0, 255, "50, 50", "255, 0, 0, 255", 50);
mode = 1;
player.currentTime = player.duration - 0.05;
} else {
_assertPixelApprox(resFrame, 20, 20, 0, 255, 0, 255, "20, 20", "0, 255, 0, 255", 20);
_assertPixelApprox(resFrame, 199, 199, 0, 255, 0, 255, "199, 199", "0, 255, 0, 255", 20);
_assertPixelApprox(resFrame, 20, 20, 0, 255, 0, 255, "20, 20", "0, 255, 0, 255", 50);
_assertPixelApprox(resFrame, 199, 199, 0, 255, 0, 255, "199, 199", "0, 255, 0, 255", 50);
t.done();
}
});

0 comments on commit 5e71bec

Please sign in to comment.