W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: typeof document.all

From: Brendan Eich <brendan@mozilla.org>
Date: Tue, 13 Oct 2009 17:38:03 -0700
Cc: Maciej Stachowiak <mjs@apple.com>, HTML WG <public-html@w3.org>
Message-Id: <43198213-3636-401B-B20D-78F5CC8E329D@mozilla.org>
To: Ian Hickson <ian@hixie.ch>
On Oct 13, 2009, at 5:30 PM, Ian Hickson wrote:

> On Tue, 13 Oct 2009, Brendan Eich wrote:
>> Thinking this through, I have two general approaches for  
>> alternative 3
>> in mind, hope it's ok to throw them out quickly:
>> (3a) underspecify document.all as a host object property that may be
>> reliably tested only by if, &&, ||, == null, == undefined, and !  
>> and the
>> != counterparts. Anything else is unspecified behavior.
> Personally I would be against underspecifying anything that can be
> black-box tested from a Web page.

This is silly. Is everything else in HTML5 full specified in terms of  
effects in the DOM, global objects, information leaks including  
implicit flows, and anything else "that can be black-box tested"?

I doubt it!

BTW, are you amenable to confining document.all to quirks mode?

Received on Wednesday, 14 October 2009 00:38:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT