Monday, 17 December 2012

Re: RISC OS Javascript support

On 16 Dec 2012, Steve Fryatt <lists@stevefryatt.org.uk> wrote:
> On 16 Dec, Dave Higton wrote in message
> <f77c24ff52.DaveMeUK@my.inbox.com>:

[snip]

> > It does have a "Disable Javascript" item - but the effect doesn't
> > appear to be stored; the item always comes up as disabled when NS
> > starts.
>
> Are you using a build which contains JS? It works fine in a "json"
> build, but in a "jsoff" version it gets saved (look in the Choices)
> file, then lost on loading. However, I suspect that it's getting
> loaded and then overwritten to false by the dummy js_initialise() in
> javascript/none.c (which presumably isn't an issue in a build that
> actually contains JavaScript).

Running #744 (json) on RO 6.20, I see the problem described by Dave.
NetSurf's config file contains enable_javascript:1 but, when loaded,
NetSurf Choices... > Content shows 'Disable JavaScript' ticked, and
http://javatester.org/javascript.html reports that 'JavaScript IS NOT
WORKING in your web browser'. After unticking 'Disable JavaScript', the
'not working' warning at http://javatester.org/javascript.html has gone
so, presumably, JavaScript is then working - not that this is apparent,
on other websites.

Tony

No comments:

Post a Comment