From owner-svn-doc-head@FreeBSD.ORG Thu Jun 6 20:35:44 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 038B3237 for ; Thu, 6 Jun 2013 20:35:44 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx1.freebsd.org (Postfix) with ESMTP id D064512A9 for ; Thu, 6 Jun 2013 20:35:43 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id 10so2857017pdc.5 for ; Thu, 06 Jun 2013 13:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=3KMM8dTghR6Wg51lERVl9re45ei9ZCs7a9WQKnzP0I8=; b=a04Ykq1zYIJQUZsujeQAxWRh6zz9+bAlSV9dTKJ3NQ0PEFzpQAzP5DqdmkOufGXTAz WA1o+jFJkn8Jze/rV0tbdFzGHqvBf5trUvOTHUhIB7c2hLFHgdTvyR/g1xqFxP/fjbFL tiqkc3nuS7wtrUhxzq3D2RiopzWGGJB3NZ6KI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=3KMM8dTghR6Wg51lERVl9re45ei9ZCs7a9WQKnzP0I8=; b=KvIlkjAVBlvIfV8Lr2mFFnJOPfTXyUBGL5xZpw93MFy86Nb2rTzaSI6nOnActi06Q+ 5uHXt2SPr1JfGkjxKu6XKce2/lKRob7pFcSzoHln4RSpq4/sGn6XyeJjvE3k1sGU/WQD Y0l8invp1+FFHfP0JPLu4EKASQHoBb8Xv3ff2jP9b4Vj7zEscj0LvXarkNtAM4rJki9I FyKeqzE8BIw2orT/gEydii6zhlHKxoaNeDllNKI05EuOOu4p3TgWpb0zCIW3YrPBzHLX n1FzrJt1YV0VSHKUPuUNmx/SYEiwpFSp6/cVrNop6JSFB46EajsyITYkXE7t1cISGr/V vZRQ== X-Received: by 10.66.240.70 with SMTP id vy6mr41487833pac.70.1370550943139; Thu, 06 Jun 2013 13:35:43 -0700 (PDT) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.70.45.33 with HTTP; Thu, 6 Jun 2013 13:35:13 -0700 (PDT) In-Reply-To: <20130606.232805.1823224325157138890.hrs@allbsd.org> References: <201306061149.r56BnrNn023865@svn.freebsd.org> <20130606140542.GA1625@glenbarber.us> <20130606.232805.1823224325157138890.hrs@allbsd.org> From: Eitan Adler Date: Thu, 6 Jun 2013 22:35:13 +0200 X-Google-Sender-Auth: c77iUHE6s7E68jxUFyhVZbD1reA Message-ID: Subject: Re: svn commit: r41848 - head/en_US.ISO8859-1/htdocs/layout/js To: Hiroki Sato Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk0zgtTAfVF1GeQCLzSlokWYVrjzydjCETH4LmecGnak/LZ0d9AOfoSljYNrA1rN13sgQKA Cc: wblock@wonkity.com, gjb@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org, svn-doc-head@freebsd.org X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 20:35:44 -0000 On 6 June 2013 16:28, Hiroki Sato wrote: > Glen Barber wrote > in <20130606140542.GA1625@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