Unable to load a certain site in Pale Moon 25.5.0
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Unable to load a certain site in Pale Moon 25.5.0
So the website I am trying to view is https://www.netacad.com/ however when visiting the site in Pale Moon I am given just a blank page, mean while Firefox, Chromium, and other browsers render the page fine. The issue occurs on a fresh profile, as well as when passing a fake UserAgent string to the site. Can anyone else reproduce the issue?
Re: Unable to load a certain site in Pale Moon 25.5.0
Reproduced on PM 25.5.0, Windows 8.1 x86_64.
Re: Unable to load a certain site in Pale Moon 25.5.0
There is a javascript error preventing the site from rendering.. I have no idea what it is or why it happens but there it is..
Code: Select all
Timestamp: 6/20/2015 5:15:26 AM
Error: SyntaxError: invalid range in character class
Source File: https://d1ej7ofr54nmsd.cloudfront.net/netacad-public-theme/js/assets.js
Line: 30, Column: 60
Source Code:
){if(!val)return[];var values=[];$.each(val.split(func?func:/[,|-\s]\s*/g),function(i,str){str=$.trim(str);if(str.length
Timestamp: 6/20/2015 5:15:26 AM
Error: ReferenceError: angular is not defined
Source File: https://d1ej7ofr54nmsd.cloudfront.net/netacad-public-theme/js/netspace.js
Line: 25
Timestamp: 6/20/2015 5:15:26 AM
Error: ReferenceError: $ is not defined
Source File: https://www.netacad.com/
Line: 1
Re: Unable to load a certain site in Pale Moon 25.5.0
I think it's an error in the RegEx in the first error.
This is invalid, IIUC, because it tries to define an invalid range.
[value-value], and using reserved characters in the sequence.
Regex reference, e.g: http://www.cheatography.com/davechild/c ... pressions/
So they need to escape it if they want to make it a literal sequence of characters.
As to why it works in other browsers... looks like V8's regexp (Chrome + also imported to Firefox) is not as strict in this matter, and allows this invalid range "assuming" a literal sequence is meant when it errors.
This is invalid, IIUC, because it tries to define an invalid range.
Code: Select all
[,|-\s]
Regex reference, e.g: http://www.cheatography.com/davechild/c ... pressions/
So they need to escape it if they want to make it a literal sequence of characters.
As to why it works in other browsers... looks like V8's regexp (Chrome + also imported to Firefox) is not as strict in this matter, and allows this invalid range "assuming" a literal sequence is meant when it errors.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Unable to load a certain site in Pale Moon 25.5.0
There's this at BMO, could this be ported to Pale Moon as well? I hear that there are a number of performance improvements that come with this.
There's also the fact that no other browser throws an error on this makes it (very) slightly important.
There's also the fact that no other browser throws an error on this makes it (very) slightly important.
Re: Unable to load a certain site in Pale Moon 25.5.0
I'm aware of the replacement of YARR with irregex in v32.
It doesn't take away the fact that the regex is wrong, though. If it's "common practice" to write bad regex this way though, then we'll just have to bow to the most common use even if incorrect.
Replacing the YARR regex engine with another one will only have performance advantages if you also make the necessary changes in JIT. Also, as far as I understood, irregex out of the box will not allow unaligned accesses which is something that needs to be fixed (should be a small patch) otherwise we'll take a massive perf hit.
You're free to give it a shot, with the patch in that BMO bug that retains YARR so there's a build-time choice, until such time where we can be confident that irregex performs acceptably and we can remove YARR.
EDIT: if so, please comment on https://github.com/MoonchildProductions ... issues/108 and I'll reopen it as a tracking bug.
It doesn't take away the fact that the regex is wrong, though. If it's "common practice" to write bad regex this way though, then we'll just have to bow to the most common use even if incorrect.
Replacing the YARR regex engine with another one will only have performance advantages if you also make the necessary changes in JIT. Also, as far as I understood, irregex out of the box will not allow unaligned accesses which is something that needs to be fixed (should be a small patch) otherwise we'll take a massive perf hit.
You're free to give it a shot, with the patch in that BMO bug that retains YARR so there's a build-time choice, until such time where we can be confident that irregex performs acceptably and we can remove YARR.
EDIT: if so, please comment on https://github.com/MoonchildProductions ... issues/108 and I'll reopen it as a tracking bug.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
I have seen
I have been able to reproduce the problem as well. Is there any way to contact the publisher of the page about correcting the error or is this a more extreme case of planned obsolescence?
Re: I have seen
You could contact netacadsupport@netacad.comChannel 2012 wrote:I have been able to reproduce the problem as well. Is there any way to contact the publisher of the page about correcting the error or is this a more extreme case of planned obsolescence?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Unable to load a certain site in Pale Moon 25.5.0
I sent them an e-mail awhile back with the necessary information on the cause of the problem, I have not gotten an e-mail back. I still do not see any major push to replacing YARR with irregex, all I see is bad web development. Though I am curious does anyone have the measuring of performance boost using irregex supposedly gives against YARR.