On Fri, 2017-03-24 at 03:57 +0100, Dominique Leuenberger wrote:
==== gnome-shell ==== Version update (3.22.3 -> 3.24.0) Subpackages: gnome-shell-browser-plugin gnome-shell-calendar
this causes a few problems with gnome-shell extensions.
Firstly, chrome-gnome-shell is now a hard requirement for using
extensions.gnome.org (IIRC e.g.o has worked for me so far without
having chrome-gnome-shell installed - I had only the gnome-shell-
browser-plugin).
Secondly, GNOME Shell 3.24 now uses mozjs38 (SpiderMonkey 38) which has
stricter syntax rules (https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey).
In particular, it errors out on redeclarations of a variable inside
of a code block, which seems to be quite a common idiom in existing JS
code, someting like
function() {
let foo = "blah";
...
let foo = "blub"; // TypeError, used to be fine before 3.24
...
}
journalctl -b --user will show messages like this:
JS ERROR: Exception in callback for signal: extension-found: TypeError: redeclaration of let fact
(unfortunately, without a direct code reference to the broken
extension).
See https://github.com/projecthamster/hamster-shell-extension/pull/174
for an example how to fix such broken extensions.
Martin
--
Dr. Martin Wilck