Hello,
enabling JS for the atari builds was great :-)
Attached is a screenshot of another testpage from the NetSurf JS
Testsuite.
Things like <button onclick="dostuff();"> works fine.
document.getElementById() works, also document.write() works, at least
when called during the rendering phase.
The JS Prime-Test page took 160 sec. to load here, which is expected by
me.
document.getElementById('xyz').innerHTML = "New Content";
- does nothing.
document.getElementById('textarea').value = "New Content";
- does set the correct value, but the GUI is not refreshed. If that
would work, NetSurf would be able to provide some kind of JS-Calculator,
using the textarea as the display...
I can confirm that the ASCII-fractal is rendering fine, took 8.6 sec
with m68k-aranym (Clocking: 300Mhz).
Very promising, looking forward for some possibility to redraw the
page/HTML Elements :-)
Greets,
Ole
Am Montag, den 25.01.2016, 21:12 +0000 schrieb Peter Slegg:
>Date: Sun, 24 Jan 2016 09:53:46 +0000
>From: Michael Drake <tlsa(a)netsurf-browser.org>
>Subject: Re: JavaScript enabled builds for Atari
>To: netsurf-users(a)netsurf-browser.org
>
>
>
>On 23/01/16 23:06, Peter Slegg wrote:
>
>> Using Netsurf JS today it has crashed a few times.
>> It isn't as stable as the last non-JS versions.
>
>How about when you use it with "enable_javascript:0"?
>
>Michael Drake
http://www.netsurf-browser.org/
With JS disabled it seems to be as stable as normal, no crashes
since disabling JS yesterday and using JS to visit 20-30 pages.
Is there a JS test page that can be used to check simple JS features ?
Regards,
Peter