- From: Philip Jägenstedt <notifications@github.com>
- Date: Sun, 28 Aug 2016 12:51:36 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Sunday, 28 August 2016 19:52:04 UTC
@annevk The [spec](https://dom.spec.whatwg.org/#dom-mutationobserver-observe) has "If none of options’ `childList`, `attributes`, and `characterData` is true, throw a TypeError" which is hit for `observe(target, {})` and would as well if the argument were allowed to be omitted. Loosening the IDL to allow things that always throw a `TypeError` doesn't seem very useful. How to weigh this against spec authors that make dictionaries required when passing `{}` actually does something useful I don't know. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/130#issuecomment-242995366
Received on Sunday, 28 August 2016 19:52:04 UTC