Closed Bug 117131 Opened 23 years ago Closed 20 years ago

[FIXr]In DOMCharacterDataModified Mutation event prevValue is always blank

Categories

(Core :: DOM: Events, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: vladimire, Assigned: bzbarsky)

References

Details

(Keywords: testcase)

Attachments

(2 files)

In DOMCharacterDataModified attribute prevValue is suppose to contain the
previous data value, before it was changed, but is actually blank...
Attached file Testcase
Mutation event bugs -> hyatt
Assignee: joki → hyatt
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Keywords: testcase
Priority: -- → P4
*** Bug 157056 has been marked as a duplicate of this bug. ***
The prevValue event attribute is still blank when using another specific
testcase for testing the DOMCharacterDataModified Mutation event.
No bug, no blank value when trying with Opera 7.50 PR1 build 3494.
Using Mozilla 1.7alpha build 2004011009 under XP Pro SP1 here.
Attached patch Possible patchSplinter Review
Comment on attachment 141291 [details] [diff] [review]
Possible patch

Not terribly efficient, but mutation events just aren't efficient.  I tried
making GetCurrentValueAtom create the ASCII version directly, but the codesize
(logic like in GetData), but the codesize there was much bigger (I wonder
why....), so I figured it wasn't worth it.
Attachment #141291 - Flags: superreview?(peterv)
Attachment #141291 - Flags: review?(peterv)
Attachment #141291 - Flags: superreview?(peterv)
Attachment #141291 - Flags: superreview+
Attachment #141291 - Flags: review?(peterv)
Attachment #141291 - Flags: review+
Assignee: hyatt → bzbarsky
Status: ASSIGNED → NEW
OS: Windows 98 → All
Priority: P4 → P2
Hardware: PC → All
Summary: In DOMCharacterDataModified Mutation event prevValue is always blank → [FIXr]In DOMCharacterDataModified Mutation event prevValue is always blank
Target Milestone: Future → mozilla1.7beta
Checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: