icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -55,9 +55,10 @@ class WorkletModuleLoader : public JS::loader::ModuleLoaderBase {
void RemoveRequest(nsIURI* aURI);
JS::loader::ModuleLoadRequest* GetRequest(nsIURI* aURI) const;
bool HasSetLocalizedStrings() const { return (bool)mLocalizedStrs; }
void SetLocalizedStrings(const nsTArray<nsString>* aStrings) {
mLocalizedStrs = aStrings;
bool HasSetLocalizedStrings() const { return !mLocalizedStrs.IsEmpty(); }
void SetLocalizedStrings(nsTArray<nsString>&& aStrings) {
MOZ_ASSERT(!aStrings.IsEmpty());
mLocalizedStrs = std::move(aStrings);
}
private:
@ -104,7 +105,7 @@ class WorkletModuleLoader : public JS::loader::ModuleLoaderBase {
// We get the localized strings on the main thread, and pass it to
// WorkletModuleLoader.
const nsTArray<nsString>* mLocalizedStrs = nullptr;
nsTArray<nsString> mLocalizedStrs;
};
} // namespace loader