MDN wants to talk to developers like you:


Member since

Recent Docs Activity

View all activity
Page Date Comment


It's the window, not the document object that is expected to have this method.


Removed botched XHR example that will only create confusion, both about XHR itself and how promises fit in to such code. Generally don't as there are *three* distinct outcomes for an XHR request (indeterminate timeout was not pictured).


Removed failed attempt at a "cross-browser" polyfill (e.g. can hardly be expected to return a *live* collection). Will just confuse those who least need such confusion. Somebody may even copy and paste it.


Usage note made no sense.