[Bug 23226] Need for Virtual MutationRecords

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23226

Rafael Weinstein <rafaelw@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafaelw@chromium.org

--- Comment #3 from Rafael Weinstein <rafaelw@chromium.org> ---
Object.observe seems like the right solution for this problem.

http://wiki.ecmascript.org/doku.php?id=harmony:observe

It already has exactly this mechanism, e.g. Object.getNotifier(node).notify({
type: "myCustomChangeRecordType", data: ..., otherData: ... });

This mechanism already has built into it a notion of observers 'accepting' a
specific set of change record types, so that observing code isn't at risk of
breaking if observed nodes suddenly update to emit new change record types.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 12 September 2013 19:26:40 UTC