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

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

--- Comment #18 from Olli Pettay <bugs@pettay.fi> ---
Make it " foo bar something which doesn't look like the current token in http1"
;)


Gecko throws in this case
var mo = new MutationObserver(function() {});
mo.observe(document, {});
since the spec used to require throwing in that case.

http://hg.mozilla.org/mozilla-central/annotate/ae4d9b4ff2ee/content/base/src/nsDOMMutationObserver.cpp#l456

And I don't know why the spec removed throwing in that case but kept throwing
in some other cases.

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

Received on Wednesday, 22 October 2014 12:49:46 UTC