Closed Bug 1729467 Opened 4 years ago Closed 4 years ago

When failing pixel comparison test_eme_canvas_blocked.html spams logs

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

Details

Attachments

(2 files)

When test_eme_canvas_blocked.html fails due to pixel comparison it results in log spam. This makes parsing logs and handling these failures more painful than it needs to be. See bug 1728927 for an example of this.

Instead of failing for each pixel, let's just break after the first failure. Any non-0 pixel indicates failure, we don't need a failure log for each of them

Drive by restyle of the test. Change should not impact functionality.

Depends on D124802

Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a8ffeec7603 Don't log for every failing pixel in test. r=jolin https://hg.mozilla.org/integration/autoland/rev/287831701e2d Restyle test to conform to code style. r=jolin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: