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

 
 

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

Submitted by:  Jorge <jorgesumle>
Submitted on:  Thu 16 Feb 2017 08:38:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: zach wick <zwick>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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

(file #40145)

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by zwick (Posted a comment)
  • -unavailable- added by jorgesumle (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Mar 2017 08:26:41 PM UTCzwickStatusWorks For Me=>Confirmed
    Sat 25 Mar 2017 08:23:23 PM UTCjorgesumleAttached File-=>Added Captura de pantalla de 2017-03-25 21:16:29.png, #40145
    Sat 25 Mar 2017 08:20:14 PM UTCjorgesumleAttached File-=>Added Captura de pantalla de 2017-03-25 21:16:29.png, #40144
    Sat 25 Mar 2017 06:18:20 PM UTCzwickAssigned toNone=>zwick
    Sat 25 Mar 2017 06:17:15 PM UTCzwickStatusNone=>Works For Me
    Thu 16 Feb 2017 08:38:06 PM UTCjorgesumleAttached File-=>Added LibreJS-not-working.png, #39766
      Attached File-=>Added Working-without-LibreJS.png, #39767

    Back to the top


    Powered by Savane 3.1-cleanup1