( BaT | 2022. 01. 18., k – 20:11 )

Pontosan tudom, hogyan működik az Electron, még hibát is javítottam ilyen alkalmazásban. XUL-lal soha nem foglalkoztam, így ezt akár el is fogadnám, ha a Mozilla saját oldalán nem lenne egyértelműen leírva:

This technology enables developers to define cross-platform graphical user interfaces using a mixture of XML, HTML, CSS and ECMAScript (JavaScript). A user can modify any aspect of the user interface of an XUL-based Mozilla application (such as the Mozilla product itself) simply by modifying files that use standard web-page syntax.

XUL uses Gecko to implement the defined user interface. [...] It supports all the basic elements found in contemporary graphical user interfaces, including menus, input controls, dialogs and tree controls (as seen, for example, in the preferences dialog), and keyboard shortcuts.

Vagyis a Gecko képes olyan natív controlokat renderelni, amire a HTML nem feltétlenül képes, és ezt lehetett kihasználni a XUL segítségével. De ez semmit nem mond arról, hogy a GUI programozása milyen módon történt.

De ha konkrét bizonyítékot szeretnél, nézd meg a Pale Moon forrását, az összes komponens (pl. preferences) xul és js fileokkal van megvalósítva.