bugLibreJS - Bugs: bug #42888, LibreJS fails to detect licenses...


bug #42888: LibreJS fails to detect licenses with JS Web Labels for certain scripts.

Submitted by:  Loic Duros <lduros>
Submitted on:  Thu 31 Jul 2014 03:38:42 PM UTC  
Category:  None Severity:  5 - Blocker
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  Nikolas Nyby <nikolas>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 01 Jun 2018 09:29:10 PM UTC, comment #3:

Weblabels is being re-implemented for v7

Ruben Rodriguez <rubenquidam>
Project Administrator
Fri 23 Feb 2018 04:20:28 AM UTC, comment #2:

libreJS v7 is now considered to be the current stable release and is a nearly total re-write; so this issue very likely refers to only to the previous version that was obsoleted my mozilla - all further development will be on libreJS v7 so this issue is marked as "wont-fix" for now unless it can be show to pertain also to libreJS v7

as this behavior was seen using libreJS v6, could someone try libreJS v7 on a firefox derivative >= v57 to see if the same issue still exists?

bill-auger <bill_auger>
Project Member
Fri 08 Aug 2014 07:39:06 AM UTC, comment #1:

There are two separate issues here:

- error parsing: Error: already being checked.
This is probably narcissus not parsing the code correctly. We need to make this more robust. I haven't fixed this yet.

The second issue is the one I was seeing on rootstrikers.org after working around the parse bug by making the javascript more correct. It still wasn't accepting all.min.js as free even though there was an entry for it in the jslicense table, it just said it was nontrivial, nonfree.

My change in r1188 fixes the issue for me:

The licenselist wasn't properly getting passed from the WebLabelFinder to DomHandler.lookForJsWebLabels. I'm not sure why it was an issue only for this particular script. Maybe since it was so large it hit some timeout in the callbacks.

Nikolas Nyby <nikolas>
Project AdministratorIn charge of this item.
Thu 31 Jul 2014 03:38:42 PM UTC, original submission:

LibreJS fails to detect licenses with JS Web Labels for certain scripts.

Example errors:
NONTRIVIAL: eval has been found in code

error parsing: Error: already being checked.

The JS Web Labels page is correctly set up and other scripts are properly detected.

Loic Duros <lduros>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rubenquidam (Posted a comment)
  • -email is unavailable- added by bill_auger (Posted a comment)
  • -email is unavailable- added by nikolas (Updated the item)
  • -email is unavailable- added by lduros (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-01 rubenquidam Open/ClosedOpen => Closed
    2018-02-23 bill_auger StatusNone => Wont Fix
    2014-08-08 nikolas Assigned toNone => nikolas

    Back to the top

    Powered by Savane 3.4