Open Bug 1703975 Opened 8 months ago Updated 29 days ago

Avoid FOUC with proton infobars


(Firefox :: Messaging System, defect, P3)





(Reporter: mstriemer, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [proton-infobars])

The proton infobars load common.css and message-bar.css in their shadow DOM. Since this load can happen after the element has been added to the DOM, we could get a flash of unstyled content (FOUC).

This is particularly noticeable in browser_registerProtocolHandler_notification.js where the test immediately triggers an infobar and checks that it has an icon set. This test was updated to wait for the styles to load [1] but we should instead look into avoiding the FOUC and remove the TestUtils.waitForCondition() there.


Priority: -- → P3 also disabled this test in verify mode.

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