Per HTML spec: `document.currentScript` Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. --- It's ambiguous about whether, for micro tasks, it should return null. (This section is labelled as "non-normative", as well.) However, mainstream browsers handle this differently and don't return null after running microtasks, so we need to clear this and not assume null persistently, and run the auto-updater for it, regardless if it's a module or not.
Unified XUL Platform (UXP)
This repository holds the code for a unified application platform for XUL-based applications. It is a hard fork from the Mozilla code repository (mozilla-central) with an ESR-52 fork point.
In addition to further development based on the Mozilla upstream code, and selective cherry-picking of directly-applicable patches, this repository has its own development and holds the base for a maintained platform to be used by XUL applications.
Additional documentation
Additional documentation relevant to this source code can be found in the /docs
directory. This will contain relevant documentation regarding contributing,
using and distributing this code and its binaries.
If you are interested in the development and building side of things, some information will be available on the Pale Moon developer site. You are also always welcome to get in touch with our community on the Pale Moon forum.
Code search
While our repo has basic code searching capabilities (via git grep), you are strongly
encouraged to instead use the dedicated code search and cross-referencing site:
https://xref.palemoon.org/
This repo and a copy of the front-end are amalgamated in the goanna-central index.
A note about trademarks and branding
Although this repository is primarily licensed under Mozilla Public License v2.0, the trademarks and brands contained herein remain the property of their respective owners. For more details, please see the notifications in the respective directories.
Foundation and maintainership
This repository has been founded by Moonchild (M.C. Straver) and is maintained by him and other community members. If you fork this repository to perform your own work on it, please consider offering improvement patches upstream to its origin to mutually improve the platform and build a future for XUL.
Looking for Pale Moon?
As of Issue #969, release version 28.9.0,
applications have been split off into their own dedicated (front-end) repositories, with Pale Moon located at
MoonchildProductions/Pale-Moon.