<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23705</bug_id>
          
          <creation_ts>2013-11-01 16:23:49 +0000</creation_ts>
          <short_desc>MutationObserver observe option validation does not match implementations</short_desc>
          <delta_ts>2013-11-01 17:43:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>DOM</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">erik.arvidsson</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bugs</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95688</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-11-01 16:23:49 +0000</bug_when>
    <thetext>http://dom.spec.whatwg.org/#dom-mutationobserver-observe

Given:

  observe(node, {attributeOldValue: true})

now in step 1 `attributes` gets set to true, therefore making 3 no longer throw. This does not match WebKit/Blink, Gecko nor IE.

Removing step 1 and 2 seems to match implementations better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95689</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-11-01 16:41:00 +0000</bug_when>
    <thetext>Do you disagree with bug 23189?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95691</commentid>
    <comment_count>2</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-11-01 17:02:12 +0000</bug_when>
    <thetext>I did not know the spec intentionally did this to allow skipping setting attributes and characterData when dependent options are present.

Seems like a good goal but with 4 browsers requiring attributes to be present and true I&apos;m not sure it is worth it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95692</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-11-01 17:08:37 +0000</bug_when>
    <thetext>The benefit would be long term. And relatively short term if you only care about Chrome and Firefox... Seems we always talk about developer ergonomics and this is a rather cheap change to get there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95702</commentid>
    <comment_count>4</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-11-01 17:41:48 +0000</bug_when>
    <thetext>Agreed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>