Jump to content


Photo

IPLeak test relies on draft spec js breaking with earlier standards.

ipleak test javascript bug

  • Please log in to reply
1 reply to this topic

#1 Wolfbeast

Wolfbeast

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 10 March 2018 - 02:20 PM

ipleak.net relies on using a specific js draft spec that is breaking with previous (and established) ECMAscript standards.

 

The problem is that trailing commas in argument lists and arrow function arguments are not allowed in standard specification JS. Only the non-finalized draft spec for ES2017 allows trailing commas.

 

Browsers which adhere to finalized standards will therefore have a lot of page elements missing on ipleak.net due to the following errors:

 

SyntaxError: expected expression, got ')' index.js:129:12
ReferenceError: IpLeak is not defined ipleak.net:38:0

 

Please remove trailing commas. Not only is it nonstandard, it's also very sloppy.



#2 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7249 posts

Posted 11 March 2018 - 12:04 PM

Hello!

 

It has been fixed, thanks. Sorry about that.

 

Kind regards







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 13632 - BW: 45945 Mbit/sYour IP: 54.224.255.17Guest Access.