I think that alert's design is actually a _feature_. Safari made a similar change a while back not make the alerts look like system UI, to prevent phishing and similar attacks.
For example, one of the major considerations when doing UI design is creating elements that have a cohesive style (regardless of which aesthetic style that is).
None of that happened on that god forgotten alert. It's probably the first thing that someone came up with in a rush, in a style that no other UI element of FF shares, and it has stayed like this probably because nobody cares.