[Bug 23189] New: Better defaults for #observe options

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

            Bug ID: 23189
           Summary: Better defaults for #observe options
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: robin@w3.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

http://dom.spec.whatwg.org/#interface-mutationobserver

[[
If attributeOldValue is true and attributes is not true, throw a "SyntaxError".

If attributeFilter is a non-empty array and attributes is not true, throw a
"SyntaxError".

If characterDataOldValue is true and characterData is not true, throw a
"SyntaxError". 
]]

Why not consider that attributes is automatically set to true for the first
two, and likewise characterData for the third? It's certainly what the
developer meant, and it's less typing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 9 September 2013 19:22:52 UTC