Closed Bug 351732 Opened 18 years ago Closed 18 years ago

[FIX] CreateTextNode does useless notifications

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

And as a result checks for mutation listeners for no reason. And if there happen to be some, fires pointless mutation events....
Attached patch Fix (obsolete) (deleted) — Splinter Review
Attachment #237206 - Flags: superreview?(bugmail)
Attachment #237206 - Flags: review?(bugmail)
Attached patch With more cases covered (deleted) — Splinter Review
Attachment #237206 - Attachment is obsolete: true
Attachment #237208 - Flags: superreview?(bugmail)
Attachment #237208 - Flags: review?(bugmail)
Attachment #237206 - Flags: superreview?(bugmail)
Attachment #237206 - Flags: review?(bugmail)
Attached patch Even compiles (deleted) — Splinter Review
Attachment #237208 - Attachment is obsolete: true
Attachment #237209 - Flags: superreview?(bugmail)
Attachment #237209 - Flags: review?(bugmail)
Attachment #237208 - Flags: superreview?(bugmail)
Attachment #237208 - Flags: review?(bugmail)
Comment on attachment 237208 [details] [diff] [review] With more cases covered Wanna check for the same thing in the sinks? At least SinkContext::AddComment in the htmlsink has the same problem
Attachment #237208 - Attachment is obsolete: false
Attachment #237208 - Flags: superreview+
Attachment #237208 - Flags: review+
Attachment #237209 - Flags: superreview?(bugmail)
Attachment #237209 - Flags: superreview+
Attachment #237209 - Flags: review?(bugmail)
Attachment #237209 - Flags: review+
Fixed. Filed bug 351910 for the sinks.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
doesn't seem testable, or worth the effort to make it so
Flags: in-testsuite-
wait, we could test this... where are the sample documents, sicking?
Flags: in-testsuite- → in-testsuite?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: