Commit 1276fdc9 authored by Devlin's avatar Devlin Committed by Commit Bot

Revert "Add vp9-alpha + canvas layout test."

This reverts commit 53c99aa1.

Reason for revert: New tests fail on Webkit Win10:

https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/WebKit%20Win10/45950

Original change's description:
> Add vp9-alpha + canvas layout test.
> 
> Apparently we don't have any vpx-alpha layout tests, hence macOS has
> had broken support here for some time.
> 
> BUG=919015
> TEST=fails without the macOS alpha fix.
> 
> Change-Id: I1103f3fd747ca62eff938824bdc0e52899495f64
> Reviewed-on: https://chromium-review.googlesource.com/c/1468597
> Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
> Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
> Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#631877}

TBR=dalecurtis@chromium.org,dcastagna@chromium.org

Change-Id: Ie0b6c6262b6456813c3fab097f8862989885a48e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 919015
Reviewed-on: https://chromium-review.googlesource.com/c/1471350Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631946}
parent 607d84b8
<style>
body { background: white; }
video, canvas { background: pink; }
</style>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function startTest() {
var video = document.querySelector('video');
video.onplaying = function() {
if (video.currentTime == 0) {
setTimeout(video.onplaying, 150);
return;
}
var canvas = document.querySelector('canvas');
var ctx = canvas.getContext('2d');
// This will squish the video a bit, but it doesn't matter for this test.
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
if (window.testRunner)
testRunner.notifyDone();
}
video.play();
}
</script>
<body onload="startTest();">
<video src="resources/white-square-vp9a.webm" width="320" height="240"></video>
<canvas width="320" height="240"></canvas>
</body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment