- From: Maciej Stachowiak <mjs@apple.com>
- Date: Mon, 20 Mar 2006 17:46:39 -0800
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: "Web APIs WG (public)" <public-webapi@w3.org>
On Mar 20, 2006, at 3:15 PM, Cameron McCormack wrote: > > Maciej Stachowiak: >> shouldBeFalse("typeof window == 'null'"); > > The typeof operator never returns "null". (Actually it could, since > applying typeof to a host object could return any string, but I guess > that's unlikely.) Maybe this should be: > > shouldBeFalse("window === null"); Wow, good catch. I totally forgot that typeof null is "object". Would you care to send a patch against the test suite to fix this? Instructions on getting an anoncvs checkout are at http://dev.w3.org/ cvsweb/ , the module you want is 2006/webapi/WindowTestSuite Or if not, I can fix it. If you do send a patch, a ChangeLog entry would be appreciated. Regards, Maciej
Received on Tuesday, 21 March 2006 01:47:24 UTC