svn commit: r41848 - head/en_US.ISO8859-1/htdocs/layout/js

Eitan Adler eadler at freebsd.org
Thu Jun 6 20:35:44 UTC 2013


On 6 June 2013 16:28, Hiroki Sato <hrs at freebsd.org> wrote:
> Glen Barber <gjb at FreeBSD.org> wrote
>   in <20130606140542.GA1625 at glenbarber.us>:
>
> gj> On Thu, Jun 06, 2013 at 07:59:17AM -0600, Warren Block wrote:
> gj> > On Thu, 6 Jun 2013, Glen Barber wrote:
> gj> >
> gj> > >Author: gjb
> gj> > >Date: Thu Jun  6 11:49:53 2013
> gj> > >New Revision: 41848
> gj> > >URL: http://svnweb.freebsd.org/changeset/doc/41848
> gj> > >
> gj> > >Log:
> gj> > > Check for boolean 'true' case of w.n.dNT.

FYI, this was originally tested on Internet Explorer which had set the
value to "yes" on whichever version it was at the time (I don't
remember the details atm).  I have no objection to this change though.
IE does not follow the do-not-track specification so I am not
surprised that it differs in other ways as well.


> gj>
> gj> which I believe will always evaluate true.
>
>  null, "", and undefined are evaluated as false in Javascript.
>
Javascript has an odd concept of true and false:
null, an empty string,  +0, -0, and NaN, and false are the 'false' values.

An object will return true.


-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-doc-all mailing list