help-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-librejs] Javascript web label parsing broken?


From: Loic J. Duros
Subject: Re: [Help-librejs] Javascript web label parsing broken?
Date: Sat, 25 Jan 2014 20:00:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Kuno:

Thanks for your report. It looks like it's throwing an error due to a
character encoding issue. I had noticed once that when there's a
non-ascii character in a script and the character encoding in the header
of the file is not utf-8, then LibreJS could run into issues. I'm
suspecting this might be the case, although I have not yet had time to
debug.

Web Labels worked fine when it was only using the jquery URL, but now
that it is using the SHA-1 hash we see this issue.

Thanks,

Loic


Kuno Woudt <address@hidden> writes:

> Hello,
>
> I've been doing some testing with external javascript marked up using
> "JavaScript Web Labels" described at
> https://www.gnu.org/software/librejs/free-your-javascript.html .
>
> LibreJS doesn't seem to parse things correctly, as it thinks jQuery is
> non-free even when a web labels page is present and linked to.
>
> I've tested with these two urls:
>
> http://lduros.net/assets/librejs/tests/test-labels/
> https://frob.nl/jslich/tests/immediate-jquery.html
>
> I assume the first url is intended to test this functionality, correct? As far
> as I can tell it loads jQuery and marks it as NONTRIVIAL, it doesn't find the
> license information and so blocks jQuery.
>
> The second URL is my own test, here it doesn't seem to load jQuery at all
> ("error parsing: undefined").
>
> I've made screenshots of both blocked screens:
>
> https://frob.nl/tmp/librejs.web-labels.1.png
> https://frob.nl/tmp/librejs.web-labels.2.png
>
> Regards,
>
> Kuno Woudt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]