Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-gtk-gn...@lists.debian.org
Control: affects -1 src:mozjs140
Owner: jeremy.bi...@canonical.com

Package Name: mozjs140
Version: 140.0
Upstream Author: Mozilla etc
License: mostly MPL-2.0, other files are licensed under other open
 source licenses
Programming Lang: C++

Description: SpiderMonkey JavaScript library
 SpiderMonkey is the code-name for Mozilla Firefox's C++ implementation of
 JavaScript. It is intended to be embedded in other applications
 that provide host environments for JavaScript.
 .
 This library is intended for use in contexts where only trusted
 JavaScript code will be run, such as GNOME's gjs, Cinnamon's cjs, and
 polkit's rules parsing. It should not be used to run untrusted JavaScript
 from web pages: use a security-supported implementation such as Firefox,
 Chrome or WebKitGTK's JavaScriptCore instead.

Other Info
--------------
mozjs is the JavaScript engine from Firefox ESR. Tomorrow, a new Firefox
ESR series will be released. It will be supported by Mozilla for about 14
months. mozjs140 is unlikely to be backported for trixie. Forky is
likely to use the new series after mozjs140 once it's available in
2026.

I expect that either GNOME 49 or 50 (specifically gjs 1.86 or 1.88)
will switch from mozjs128 to mozjs140.

The other user of mozjs* in Debian is Cinnamon, specifically their cjs
fork of gjs. Recently, the cjs developers have changed their update
processes to make it easier for distros to fully switch to newer
versions of mozjs. cjs's new version numbering system makes this more
obvious: trixie's cjs 128 is compatible with mozjs128.

mozjs packaging is at https://salsa.debian.org/gnome-team/mozjs

References
----------
https://whattrainisitnow.com/calendar/
https://gitlab.gnome.org/GNOME/gjs/-/issues/690

Thanks,
Jeremy Bícha

Reply via email to