RE: Exposing constructors of readonly interfaces to web authors

From: Rik Cabanier <cabanier@gmail.com>

> When you add objects to the global namespace and people already defined those names in their scripts, thei web page is now broken. 
We saw this with the introduction of the "Path" object where paper.js pages no longer worked.

I agree in general, and think this is why it's important for the web to get better namespacing or module systems. But in this case...

> You can search github for pages that will be affected if we introduce these new classes :-)

We seem safe so far! https://github.com/search?q=DOMRectReadOnly&ref=cmdform

Received on Thursday, 10 July 2014 19:00:42 UTC