Re: [IndexedDB] Problems unprefixing IndexedDB

Boris Zbarsky:
> Just for Window?  What about interfaces Window inherits from?

Them too.

> An why not for operations?  Seems like exactly the same issue arises with:
>    var requestAnimationFrame = window.requestAnimationFrame || ....;

I was thinking that properties for operations have always been on 
prototypes, so people would already be used to var shadowing them.  You 
are right though that if people use that same pattern, they will fail 

Are there pages that rely on var shadowing for certain names and having 
the variable start off undefined?  I can only assume there are.  If so, 
then we might need to pick a set of names where shadowing still works 
despite there being a property on the prototype for an IDL attribute or 

Received on Friday, 10 August 2012 02:14:09 UTC