bugLibreJS - Bugs: bug #50331, JavaScript detected as free but...

 
 

bug #50331: JavaScript detected as free but fails when LibreJS is active

Submitter:  Jorge <jorgesumle>
Submitted:  Thu 16 Feb 2017 08:38:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  zwick
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 23 Feb 2018 04:08:28 AM UTC, comment #4: 

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 (previously "Confirmed") 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
Sat 25 Mar 2017 08:26:41 PM UTC, comment #3: 

Thank you, I do now see this same behavior that you describe.

I suspect that this issue is due to the special character in "Creador de líneas aleatorias" (the "í" character specifically) causing the LibreJS parser to barf.

zach wick <zwick>
Group Member
Sat 25 Mar 2017 08:23:23 PM UTC, comment #2: 

Thanks for your answer. Sorry, recently I migrated my website from Wordpress to Pelican and I forgot to update the jQuery link. https://notabug.org/Freak-Spot/FreakProgramas/commit/c044e9be532493af1e90cad6452b97a7c61c7cb6 Now you can see my issue live. My issue still persists.

Image: https://savannah.gnu.org/bugs/download.php?file_id=40144


Jorge <jorgesumle>
Sat 25 Mar 2017 06:17:15 PM UTC, comment #1: 

Thank you for such a thorough bug report, but I cannot recreate this behavior using GNU Icecat 45.7.0 and GNU LibreJS 6.0.13.

When visiting the URL that you supplied, I actually get other JavaScript errors in both when LibreJS is enabled or disabled. I also receive the same Javascript error in Chromium.

zach wick <zwick>
Group Member
Thu 16 Feb 2017 08:38:06 PM UTC, original submission:  

I've experienced this problem some times. It happens in one of my websites (<a href="http://www.freakspot.net/programas/">http://www.freakspot.net/programas/</a>). If I disable LibreJS, the website works correctly; when LibreJS is enabled, the JavaScript files are detected as free but the JavaScript code doesn't execute.

The error I get in the debugging console is the following:
<pre><samp>Error: Syntax error, unrecognized expression: #Creador_de_l%C3%ADneas_aleatorias
t</fa.error()
 jquery.js:2
t</fa.tokenize()
 jquery.js:2
t</fa.select()
 jquery.js:2
fa()
 jquery.js:2
.find()
 jquery.js:2
n.fn.init()
 jquery.js:2
n()
 jquery.js:2
b.prototype.refresh/<()
 bootstrap.min.js:6
n.prototype.map/<()
 jquery.js:2
.map()
 jquery.js:2
n.prototype.map()
 jquery.js:2
b.prototype.refresh()
 bootstrap.min.js:6
b()
 bootstrap.min.js:6
c/<()
 bootstrap.min.js:6
.each()
 jquery.js:2
n.prototype.each()
 jquery.js:2
c()
 bootstrap.min.js:6
<anonymous>
 bootstrap.min.js:7
.each()
 jquery.js:2
n.prototype.each()
 jquery.js:2
<anonymous>
 bootstrap.min.js:7
n.event.dispatch()
 jquery.js:3
n.event.add/r.handle()</samp></pre>

However, when LibreJS is disabled, I don't get any error in the browser console.

I'm using the latest GNU IceCat 45.5.1 and LibreJS 6.0.13.

Jorge <jorgesumle>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #40145:  Captura de pantalla de 2017-03-25 21:16:29.png added by jorgesumle (426KiB - image/png - Thanks for your answer. Sorry, recently I migrated my website from Wordpress to Pelican and I forgot to update the jQuery link. https://notabug.org/Freak-Spot/FreakProgramas/commit/c044e9be532493af1e90cad6452b97a7c61c7cb6 Now you can see my issue live)
file #40144:  Captura de pantalla de 2017-03-25 21:16:29.png added by jorgesumle (426KiB - image/png - Thanks for your answer. Sorry, recently I migrated my website from Wordpress to Pelican and I forgot to update the jQuery link. https://notabug.org/Freak-Spot/FreakProgramas/commit/c044e9be532493af1e90cad6452b97a7c61c7cb6 Now you can see my issue live)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rubenquidam (Updated the item)
  • -email is unavailable- added by bill_auger (Posted a comment)
  • -email is unavailable- added by zwick (Posted a comment)
  • -email is unavailable- added by jorgesumle (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-01 rubenquidam Open/ClosedOpen Closed
    2018-02-23 bill_auger StatusConfirmed Wont Fix
    2017-03-25 zwick StatusWorks For Me Confirmed
    2017-03-25 jorgesumle Attached File- Added Captura de pantalla de 2017-03-25 21:16:29.png, #40145
    2017-03-25 jorgesumle Attached File- Added Captura de pantalla de 2017-03-25 21:16:29.png, #40144
    2017-03-25 zwick Assigned toNone zwick
    2017-03-25 zwick StatusNone Works For Me
    2017-02-16 jorgesumle Attached File- Added LibreJS-not-working.png, #39766
        Attached File- Added Working-without-LibreJS.png, #39767

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code