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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>98439</bug_id>
          
          <creation_ts>2012-10-04 12:49:33 -0700</creation_ts>
          <short_desc>MutationRecord oldValue should be null when *OldValue is false</short_desc>
          <delta_ts>2012-10-04 14:19:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://dom.spec.whatwg.org/#mutationrecord</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">arv</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adamk</cc>
    
    <cc>rafaelw</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>734935</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2012-10-04 12:49:33 -0700</bug_when>
    <thetext>For {characterData: true} oldValue should be null and not &apos;&apos;

var text = document.createTextNode(&apos;abc&apos;);
var observer = new WebKitMutationObserver(function() {});
observer.observe(text, {
  characterData: true
});
text.data = &apos;def&apos;;

var records = observer.takeRecords();
shouldBeNull(&apos;records[0].attributeName&apos;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>735005</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-10-04 14:19:05 -0700</bug_when>
    <thetext>I can&apos;t reproduce this problem. Your test case doesn&apos;t actually test oldValue; I think if you do, you&apos;ll find it is null (as oldValue is already properly annotated in MutationRecord.idl).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>