..for the 90s. There was very little about XUL that would survive today other than its layout model
Ignoring that XUL has a single implementation and for the most part a single application suite actually using it (not 100% true but very close), I'm not sure what there was to blow.
OTOH I remember some custom XUL apps of yesteryear, and they were always pretty nice to use. Does Firefox have any XUL left? I know there have been ideas to rip it out for a very long time.
What's the issue with that? GTK, WPF Qt, Flutter ... all have a single major implementation.
> for the most part a single application suite actually using it
That is now, but it could've been a lot different.
I'm not that familiar with XUL (I'm just old enough to experience it being phased out) but it appears like a great idea to me: XML is not exactly bad for a UI, but XAML is Microsoft-specific (and not exactly great) and HTML is made for documents (leading to problems with worries about semantic tags, lack of layout features ...).
I also quite like how well Firefox integrates with all kinds of platforms. But who knows, maybe that's not in XUL, but specific to FF.
Yes, recently there's been a big rewrite of lots of things as web components, but some XUL leftovers are still there.
Given more resources, Mozilla absolutely could have done a better job of transitioning faster from XUL to standards-friendly equivalents, and popularizing the latter in an Electron-like framework. But there was never a time when Mozilla had excess resources floating around, and other things took priority. (Also see my comment above about how architectural churn made it unattractive to support a stable embedding API.) As was pointed out in other comments, the benefits of regular Web market share tend to outweigh the benefits of embedding popularity.
Unfortunately, there were strategic decisions to basically never maintain it :(
I remember trying it on my Nexus One, back when that phone was hot shit. Constant full-screen checkerboarding.
Mozilla literally had to rewrite Firefox for Android and eliminate XUL from the Android version before it became a usable product.
Now that I think about it Winamp 3 had its own interesting application framework (https://en.wikipedia.org/wiki/Wasabi_(software)).