[Webkit-unassigned] [Bug 98439] New: MutationRecord oldValue should be null when *OldValue is false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 12:49:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98439

           Summary: MutationRecord oldValue should be null when *OldValue
                    is false
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://dom.spec.whatwg.org/#mutationrecord
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: rafaelw at chromium.org, adamk at chromium.org


For {characterData: true} oldValue should be null and not ''

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

var records = observer.takeRecords();
shouldBeNull('records[0].attributeName')

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list