Closed
Bug 1703975
Opened 4 years ago
Closed 3 years ago
Avoid FOUC with proton infobars
Categories
(Firefox :: Messaging System, defect, P3)
Firefox
Messaging System
Tracking
()
RESOLVED
FIXED
People
(Reporter: mstriemer, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
(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.
Updated•4 years ago
|
Priority: -- → P3
Updated•4 years ago
|
See Also: → https://jira.mozilla.com/browse/FIDEFE-1108
Reporter | ||
Comment 1•4 years ago
|
||
https://phabricator.services.mozilla.com/D111358 also disabled this test in verify mode.
Updated•3 years ago
|
Severity: -- → S3
Comment 2•3 years ago
|
||
NI @mstriemer for feedback if this issue still exists or safe to close
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mstriemer)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•