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

 
 

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

Submitter:  Loic Duros <lduros>
Submitted:  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
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Weblabels is being re-implemented for v7

Ruben Rodriguez <rubenquidam>
Group 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>
Group 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:
http://bzr.savannah.gnu.org/lh/librejs/dev/revision/1188

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>
Group Member
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
http://www.rootstrikers.org/vendor/underscore.js

error parsing: Error: already being checked.
http://www.rootstrikers.org/app/scripts/all.min.js

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

Loic Duros <lduros>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-4448.
    Corresponding source code