On 30/11/16 13:37, Brendan Stephenson wrote:
> Either the javascript engine is choking on <!-- because it doesn't understand it, or it is treating it the same as a html comment, which is even worse.
Duktape upstream is aware of this:
https://github.com/svaarala/duktape/pull/564
Cheers,
--
Michael Drake http://www.codethink.co.uk/
Wednesday, 30 November 2016
Comments and the JS engine
Netsurf's javascript engine seems to choke on this:
<script type="text/javascript">
<!--
code goes here
//-->
</script>
<script type="text/javascript">
<!--
code goes here
//-->
</script>
I'm pretty sure that <!-- is meant to be treated as meaning the same thing as // in the sense that it represents the start of a single line comment.
Either the javascript engine is choking on <!-- because it doesn't understand it, or it is treating it the same as a html comment, which is even worse.
More info here:
http://www.javascripter.net/faq/comments.htm
www.javascripter.net Question: How do I insert comments in JavaScript code? Answer: JavaScript supports three different types of comments: Multiple-line C-style comments. |
Tuesday, 29 November 2016
Re: Website not renendering correctly
On 25 Nov 2016 Chris Newman <cvjazz@waitrose.com> wrote:
> Hi,
> http://www.bapfish.org.uk/networking.htm
> Which formally worked splendidly has now gone mammaries skyward. From at
> least #3784 on it seems.
> Still OK in the old Netsurf 3.5.
> Has been confirmed by others.
And has now been fixed in #3789. Thanks, Michael.
Best wishes,
Peter.
--
Peter Young (zfc Ir) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@ormail.co.uk
> Hi,
> http://www.bapfish.org.uk/networking.htm
> Which formally worked splendidly has now gone mammaries skyward. From at
> least #3784 on it seems.
> Still OK in the old Netsurf 3.5.
> Has been confirmed by others.
And has now been fixed in #3789. Thanks, Michael.
Best wishes,
Peter.
--
Peter Young (zfc Ir) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@ormail.co.uk
Sunday, 27 November 2016
Re: Website not renendering correctly
In message <55e4bd72e6cvjazz@waitrose.com>
Chris Newman <cvjazz@waitrose.com> wrote:
>Hi,
>
>http://www.bapfish.org.uk/networking.htm
>
>Which formally worked splendidly has now gone mammaries skyward. From at
>least #3784 on it seems.
>
>Still OK in the old Netsurf 3.5.
I've just discovered that NetSurf 3.6 was released on 2016 November 19
(8 days ago as I type this). It renders OK in 3.6 too.
Dave
Chris Newman <cvjazz@waitrose.com> wrote:
>Hi,
>
>http://www.bapfish.org.uk/networking.htm
>
>Which formally worked splendidly has now gone mammaries skyward. From at
>least #3784 on it seems.
>
>Still OK in the old Netsurf 3.5.
I've just discovered that NetSurf 3.6 was released on 2016 November 19
(8 days ago as I type this). It renders OK in 3.6 too.
Dave
Saturday, 26 November 2016
Re: Website not renendering correctly
On 26 Nov 2016 Harriet Bazley <lists@bazleyfamily.co.uk> wrote:
> On 25 Nov 2016 as I do recall,
> Chris Newman wrote:
>> http://www.bapfish.org.uk/networking.htm
>>
>> Which formally worked splendidly has now gone mammaries skyward. From at
>> least #3784 on it seems.
>>
> What's it supposed to do that it doesn't?
> (I just see a detailed description of how to set up a LanMan98 share.)
Yes, the problem was accessing Bernard's front page, not his
networking one. The front page was badly rendered, but in only some
versions of the OS. A work-round has been found, but the bug report is
still active.
Best wishes,
Peter.
--
Peter Young (zfc Ir) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@ormail.co.uk
> On 25 Nov 2016 as I do recall,
> Chris Newman wrote:
>> http://www.bapfish.org.uk/networking.htm
>>
>> Which formally worked splendidly has now gone mammaries skyward. From at
>> least #3784 on it seems.
>>
> What's it supposed to do that it doesn't?
> (I just see a detailed description of how to set up a LanMan98 share.)
Yes, the problem was accessing Bernard's front page, not his
networking one. The front page was badly rendered, but in only some
versions of the OS. A work-round has been found, but the bug report is
still active.
Best wishes,
Peter.
--
Peter Young (zfc Ir) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@ormail.co.uk
Re: Website not renendering correctly
In message <382bc7e455.DaveMeUK@my.inbox.com>
Dave Higton <dave@davehigton.me.uk> wrote:
>In message <55e4bd72e6cvjazz@waitrose.com>
> Chris Newman <cvjazz@waitrose.com> wrote:
>
>>Hi,
>>
>>http://www.bapfish.org.uk/networking.htm
>>
>>Which formally worked splendidly has now gone mammaries skyward. From at
>>least #3784 on it seems.
>
>Behaviour changed between 3751 and 3777, which are the nearest two
>versions I have downloaded (I was away from home while that range
>was made available).
Specifically: it's OK in 3762 and faulty in 3763.
Dave
Dave Higton <dave@davehigton.me.uk> wrote:
>In message <55e4bd72e6cvjazz@waitrose.com>
> Chris Newman <cvjazz@waitrose.com> wrote:
>
>>Hi,
>>
>>http://www.bapfish.org.uk/networking.htm
>>
>>Which formally worked splendidly has now gone mammaries skyward. From at
>>least #3784 on it seems.
>
>Behaviour changed between 3751 and 3777, which are the nearest two
>versions I have downloaded (I was away from home while that range
>was made available).
Specifically: it's OK in 3762 and faulty in 3763.
Dave
Re: Website not renendering correctly
In message <55e51740a7cvjazz@waitrose.com>
Chris Newman <cvjazz@waitrose.com> wrote:
>In article <mpro.oh92h1001k2ur0eqj.pittdj@pittdj.co.uk>,
> David Pitt <pittdj@pittdj.co.uk> wrote:
>> Peter Slegg, on 26 Nov, wrote:
>
>> >
>> > > Date: Fri, 25 Nov 2016 21:33:31 +0000 (GMT) From: Chris Newman
>> > > <cvjazz@waitrose.com> Subject: Website not renendering correctly To:
>> > > netsurf-users@netsurf-browser.org Message-ID:
>> > > <55e4bd72e6cvjazz@waitrose.com> Hi,
>> > >
>> > > http://www.bapfish.org.uk/networking.htm
>> > >
>> > > Which formally worked splendidly has now gone mammaries skyward. From at
>> > > least #3784 on it seems.
>> > >
>> > > Still OK in the old Netsurf 3.5.
>> > >
>> > > Has been confirmed by others.
>> > >
>> >
>> > On Vn 3784 Atari, it appears much the same, three lines of text all
>> > stacked on top of each other.
>
>> Set "Hide advertisements".
>
>Ah! Now works again with that setting. How perceptive of you.
But that isn't the point, is it? Either setting or clearing "Hide
advertisements" shouldn't cause multiple lines of text to be
superimposed. Something is wrong.
Dave
Chris Newman <cvjazz@waitrose.com> wrote:
>In article <mpro.oh92h1001k2ur0eqj.pittdj@pittdj.co.uk>,
> David Pitt <pittdj@pittdj.co.uk> wrote:
>> Peter Slegg, on 26 Nov, wrote:
>
>> >
>> > > Date: Fri, 25 Nov 2016 21:33:31 +0000 (GMT) From: Chris Newman
>> > > <cvjazz@waitrose.com> Subject: Website not renendering correctly To:
>> > > netsurf-users@netsurf-browser.org Message-ID:
>> > > <55e4bd72e6cvjazz@waitrose.com> Hi,
>> > >
>> > > http://www.bapfish.org.uk/networking.htm
>> > >
>> > > Which formally worked splendidly has now gone mammaries skyward. From at
>> > > least #3784 on it seems.
>> > >
>> > > Still OK in the old Netsurf 3.5.
>> > >
>> > > Has been confirmed by others.
>> > >
>> >
>> > On Vn 3784 Atari, it appears much the same, three lines of text all
>> > stacked on top of each other.
>
>> Set "Hide advertisements".
>
>Ah! Now works again with that setting. How perceptive of you.
But that isn't the point, is it? Either setting or clearing "Hide
advertisements" shouldn't cause multiple lines of text to be
superimposed. Something is wrong.
Dave
Subscribe to:
Posts (Atom)