Open Bug 1565182 Opened 5 years ago Updated 2 years ago

[remote-dbg-next] Add mochitest to check that favicons are not blank

Categories

(DevTools :: about:debugging, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

The goal of this bug is to improve our tests around the DebugTarget icons, especially those using images with data-uris.

We have a mochitest to check that our Tab favicons have the correct data-uri. However in Bug 1497197 we almost regressed this by introducing a CSP that prevents images from using data URIs. The image element has the correct attribute, but nothing is displayed.

It would be nice to also check that the actual image is correctly displayed, maybe take a screenshot of the favicon and check a few pixels.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.