[webkit-dev] Runtime setting for incomplete features

Jeremy Orlow jorlow at chromium.org
Fri Sep 18 13:30:57 PDT 2009

On Fri, Sep 18, 2009 at 12:59 PM, Alexey Proskuryakov <ap at webkit.org> wrote:

> 18.09.2009, в 12:24, Jeremy Orlow написал(а):
>  I'm not sure if we've hit any compatibility issues with this yet, but it
>> seems quite plausible that someone would compare window.localStorage (or
>> sessionStorage or database) to undefined and, since it's null (vs.
>> undefined), their script would assume it's available.
> Note that they can also do '"localStorage" in window', which we can't
> easily prevent from returning true.

That's true.  And unfortunate.

What would be involved in making it not return true?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090918/139f1f7f/attachment.html>

More information about the webkit-dev mailing list