Closed Bug 1074348 Opened 10 years ago Closed 10 years ago

Wait for stylesheet to load before showing content in FxA popup

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstriemer, Assigned: mstriemer)

References

Details

(Whiteboard: [qa-])

Instead of hiding the body in hopes of the CSS loading in time, let's instead listen for the CSS load event to hide the splash page.

cvan left some ideas of how to do this on GitHub https://github.com/mozilla/fireplace/commit/12ab371a0d471166c218e13161c43442d428f19a#commitcomment-7945601.
Assignee: nobody → mstriemer
Priority: -- → P1
https://github.com/mozilla/fireplace/commit/3eb333dfbe6be15c225e6b1ce645b6c06ebb4a65
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
STR

1. Load the FxA migration.
2. Verify that there was no flash on unstyled content as it loaded.
3. Repeat a few times just to make sure.
We don't have a great test case and this has been up for a while and I don't think we've noticed anything so it appears to be working well.

Marking [qa-].
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.