[Bug 20131] [MutationObservers] Unclear whether unique record instances are required in 5.3.2 "Queuing a mutation record"

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

--- Comment #9 from Olli Pettay <bugs@pettay.fi> ---
(In reply to comment #8)
> I don't think developers are likely to care much about the identity of
> records, but I do think they care about the memory footprint of the browsers
> they work in.

I do care about API consistency. That is what is exposed to the web.
Also, I believe memory usage won't be a problem in this case.
Mutation records should be short living objects and created
only within one microtask, so by far the most common case is to have just
few mutation records queued.
And, implementations are free share the record instances behind the
scenes. Just create different JS wrapper for each observer. That can be done in
a
quite cheap way, but is very much implementation detail.

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

Received on Wednesday, 28 November 2012 21:42:15 UTC