Seems too specific to Apple's WebGL? --- /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/http/wpt/webcodecs/videoFrame-webglCanvasImageSource-expected.txt +++ /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/http/wpt/webcodecs/videoFrame-webglCanvasImageSource-actual.txt @@ -1,8 +1,8 @@ -PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: true -PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: false -PASS VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: true -FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: true assert_equals: expected 8388736 but got 4194432 -PASS VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: false -PASS VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: false +FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: true assert_equals: expected 8388736 but got 8192128 +FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: true, premultipliedAlpha: false assert_equals: expected 8388736 but got 8192128 +FAIL VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: true assert_equals: expected 8388736 but got 8192128 +FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: true assert_equals: expected 4278190335 but got 65535 +FAIL VideoFrame from canvas snapshots drawing at call time, context: webgl offscreen: false, premultipliedAlpha: false assert_equals: expected 4278190335 but got 65535 +FAIL VideoFrame from canvas snapshots drawing at call time, context: 2d offscreen: false assert_equals: expected 8388736 but got 8192128
Adding Kimmo in CC. Could the test allow some tolerance/epsilon margin when checking pixels?
<rdar://problem/121074645>