[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
JS with no charset specified are not taken for being UTF-8-encoded (was:
JS with no charset specified are not taken for being UTF-8-encoded (was: JS licence recognised but breaks website)
Sat, 02 May 2020 01:58:35 +0300
Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux)
Dmitry Alexandrov <address@hidden> wrote:
> Rémi Borfigat <address@hidden> wrote:
>> LibreJS detects the right licence indeed. However, it now breaks my script,
>> preventing the page from working. Opening the Abrowser dev tools, I got
>> ‘SyntaxError: missing ) after condition’. If I disable LibreJS, everything
>> works fine.
>> Is this a bug of LibreJS?
> Hard to say anything else, since (a) I cannot reproduce it: everything works
> fine for me at Firefox® 68.7.0esr built by Debian and LibreJS 7.20.2; and (b)
> you did not specify your setup.
There is another bug, though:
| Itâ€™s a draw!
In other words, a script  that is served with no charset explicitly
specified (which is absolutely fine per ) is not recognised as being
UTF-8-encoded, while LibreJS is enabled.
Description: PGP signature