Created attachment 1274863 [details] An error message ELinks produces several error messages in a row stating "(void 0) is not a function" on right after opening any URL or clicking any link (see screenshot attached). Turning ECMAScript itself off or adding 'set ecmascript.error_reporting = 0' into ~/.elinks/elinks.conf changes nothing. Version-Release number of selected component (if applicable): elinks-0.12-0.51.pre6.fc26.x86_64, js-1.8.5-27.fc26.x86_64 How reproducible: always Steps to Reproduce: elinks http:/fedoraproject.org or, say, elinks /etc/hosts or elinks whateveryouwant Actual results: the abovementioned error Expected results: the actual contents
Confirmed. I can reproduce it on f26 and rawhide but not on f25. ELinks code has not changed since f23. So I suspect this is caused by a change elsewhere. A possible solution would be to disable JavaScript completely. We have been debugging bugs like this recently despite most ELinks' users do not use the feature. To be honest, I am not aware of any web site where one could take an advantage of the JavaScript support in ELinks. Let me poll fedora-devel to see whether we still have any ELinks/JavaScript users out there before I try to debug it further.
(In reply to Kamil Dudka from comment #1) > Let me poll fedora-devel to see whether we still have any ELinks/JavaScript > users out there before I try to debug it further. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/BPY7AJSTQQDICEQWGUBVIAZW6LMN3F3J/
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/BPY7AJSTQQDICEQWGUBVIAZW6LMN3F3J/ Replying here since I'm not subscribed to the list yet: actually, I (occasionally) use JS in ELinks and would be happy to help with testing it. Currently there's a bunch of mozjs* packages in Fedora and I'm trying to build/run elinks against those. Will report in here as soon as I get some actual result.
This bug is caused by the following patch: https://src.fedoraproject.org/cgit/rpms/js.git/tree/mozjs1.8.5-tag.patch?id=a2f53826 Just rebuilding elinks seems to fix it.
fixed by https://src.fedoraproject.org/cgit/rpms/elinks.git/commit/?id=4c9c9010
elinks-0.12-0.52.pre6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-217a6778d5
https://kojipkgs.fedoraproject.org//packages/elinks/0.12/0.52.pre6.fc26/x86_64/elinks-0.12-0.52.pre6.fc26.x86_64.rpm semi-works for me: I was able to log in GMail and read emails but got a crash while opening https://github.com/valr/awf/blob/master/Makefile.am and https://mail.ya.ru with JS enabled.
elinks-0.12-0.52.pre6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-217a6778d5
elinks-0.12-0.52.pre6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Vadim Raskhozhev from comment #7) > https://kojipkgs.fedoraproject.org//packages/elinks/0.12/0.52.pre6.fc26/ > x86_64/elinks-0.12-0.52.pre6.fc26.x86_64.rpm semi-works for me: I was able > to log in GMail and read emails I am also able to read e-mails in GMail but it redirected me to the basic HTML version because my browser was not supported. > but got a crash while opening > https://github.com/valr/awf/blob/master/Makefile.am and https://mail.ya.ru > with JS enabled. Not that I have any account there, but those pages load fine in my ELinks.