On 03/21/2014 03:34 PM, Jim Blandy wrote:
What if these DOM nodes could use a special class of observers /
listeners that automatically set themselves aside when the node is
deleted from the document, and re-instate themselves if the node is
re-inserted in the document? Similarly for when the window goes away.

Instead of addObserver or addMessageListener, you'd have observeWhileInserted or listenWhileInserted. Implemented in some clever and efficient way to avoid thrashing during heavy DOM manipulation.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to