In many cases, the problem is caused by a low default ecmaVersion value. This can be fixed by raising it to 6.
https://repo.palemoon.org/MoonchildProd ... n/acorn.js
1302: ecmaVersion: 5,
https://repo.palemoon.org/MoonchildProd ... -worker.js
1071: ecmaVersion: 5,
"Prettify Source" in the devtools debugger mostly does not work now. Topic is solved
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
Kris_88
- Board Warrior

- Posts: 1174
- Joined: 2021-01-26, 11:18
-
Moonchild
- Project founder

- Posts: 39260
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: "Prettify Source" in the devtools debugger mostly does not work now.
Thanks. ECMA v6 is pretty much the minimum standard now anyway so may as well make that default 
Commit 33bff10b1cbd4a0746b628414d2ec5e60c5397fe fixes this.
Commit 33bff10b1cbd4a0746b628414d2ec5e60c5397fe fixes this.
"Praise from a narcissistic person is always a poison dart. They don't share the stage, so discernment matters." - Dr. Ramani
"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