[Bug 27122] MutationObserver.observe(node, {}) should throw

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

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #2 from Jonas Sicking <jonas@sicking.cc> ---
Note that this means that if we add the ability to observe more things in the
future, like shadow-DOM stuff, that would mean that

MutationObserver.observe(node, { newFeature: true })

would throw in downlevel browsers, whereas

MutationObserver.observe(node, { newFeature: true, childList: true })

would not throw. This seems somewhat inconsistent and could force authors to
wrap try/catches around their code just to suppress exceptions.

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

Received on Tuesday, 21 October 2014 18:49:58 UTC