forked from upstream/UXP-mirror
MOZ_WIDGET_TOOLKIT=headless: gfxPlatformHeadless + widget/headless backend + build wiring so libxul can link with no GTK/X (spike; Stage-1 GTK-bundled remains the shipping fallback). Generated as a clean diff against UXP upstream (Pale Moon); applies independently (distinct files) to the pristine third_party/uxp submodule. Imported from build/desktop/patches/0006-headless-toolkit.patch.