rkd77 / elinks

Fork of elinks
Other
349 stars 38 forks source link

[ javascript ] when testing quickjs core dumps occur #171

Closed mtatton closed 2 years ago

mtatton commented 2 years ago

Hello rkd77,

I found bug that's imported from commit: https://github.com/rkd77/elinks/pull/98 In this pull request I added: doc_rerender_after_document_update to src/session/session.c The reason is to render javascript upon loading. However it isn't correct and render core dumps.

I'll port correction shortly.

mtatton commented 2 years ago

Sorry about that.

mtatton commented 2 years ago

The crash can be reproduced by running test/ecmascript/arithmetic.html and calculating 3 random examples. After the edit provided it doesn't crash anymore and the functionality remains the same.