RESOLVED WORKSFORME 98439
MutationRecord oldValue should be null when *OldValue is false
https://bugs.webkit.org/show_bug.cgi?id=98439
Summary MutationRecord oldValue should be null when *OldValue is false
Erik Arvidsson
Reported 2012-10-04 12:49:33 PDT
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')
Attachments
Adam Klein
Comment 1 2012-10-04 14:19:05 PDT
I can't reproduce this problem. Your test case doesn't actually test oldValue; I think if you do, you'll find it is null (as oldValue is already properly annotated in MutationRecord.idl).
Note You need to log in before you can comment on or make changes to this bug.