help-librejs
[Top][All Lists]
Advanced

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

Re: [Help-librejs] Running librejs tests without a browser


From: David Seaward
Subject: Re: [Help-librejs] Running librejs tests without a browser
Date: Fri, 03 Nov 2017 14:25:06 -0000
User-agent: Mailpile

David Seaward <address@hidden> wrote:
> On Mon, 2017-10-30 at 08:41 -0400, zach wick wrote:
> > There is not currently a way to use LibreJS as a command line tool to
> > test a URL's licensing of its JS.
> > As you asked, the only way to currently use LibreJS is as a browser
> > extension.

I recently got some help from the developer of "scancode-toolkit"
- an offline license checker. They suggested downloading a URL as
a "complete web page" (including JavaScript files) and scanning
the result to get all the license data. Additionally, they
consider any report mismatches between their tool and LibreJS to
be a bug. [1] [2]

I haven't tried it out yet, but this should be a useful tool for
automated testing (while LibreJS remains the appropriate tool for
actual browsing).

Regards,
David

[1] https://softwarerecs.stackexchange.com/q/46791/24293 [2]
https://github.com/nexB/scancode-toolkit/issues/835

reply via email to

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