Monday, December 24, 2012

Breaking Changes in dart:html: Window, LocalWindow & WindowBase, LocalHistory, LocalLocation

There are a number of name changes coming down the road in dart:html. Pete Blois gives us the details

We'll be renaming Window to WindowBase and LocalWindow to Window. Ditto for LocalHistory and LocalLocation.

If you're curious, but not familiar it, there is both the global 'window' object, and IFrameElement.contentWindow. The contentWindow only exposes a subset of APIs while dart:html's 'window' exposes the full API. We used LocalWindow and Window to expose these two API sets, but LocalWindow was too undiscoverable. Hence, this change.

As always, we invite you to join our Dart mailing list, ask questions on Stack Overflow, or file feature requests on