| Summary: | fast/mediastream/captureStream/canvas3d.html succeeds on bots surprisingly, as the underlying code is broken | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ap, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=230613 | ||
|
Description
Kimmo Kinnunen
2021-09-22 06:37:44 PDT
It somehow passes on the bots: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2FcaptureStream%2Fcanvas3d.html So the bug was that due to reading the drawing buffer of webgl, the iosurface would be read as uninitialised. Uninitialised IOSurfaces appear red. The test does not test that captured WebGL image is certain pattern. It tests that the captured image is not black. As such, it was fooled by the red. Eventually the test should be improved to draw some common test pattern (such as subset of the bip-bop image) and then common test pattern verification code should be used to verify that the image was received as intended. |