Open
Bug 659706
Opened 13 years ago
Updated 2 years ago
Use better names for DOM mutating methods on nsINode
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: sicking, Unassigned)
Details
Currently it's kind of hard to tell the difference between the "internal" methods like RemoveChildAt/InsertChildAt and "DOM" methods like InsertBefore/ReplaceChild/AppendChild. The difference is quite important in that for example the former doesn't fire DOMNodeRemoved mutation events or do any safety checks to prevent illegal DOM graphs. We should come up with names that makes it more clear what the difference is. Suggestions welcome.
Comment 1•13 years ago
|
||
InternalRemoveChild/InternalInsertChildAt ?
Reporter | ||
Comment 2•13 years ago
|
||
Works for me. Smaug, sounds good to you (given that this was your request originally)?
Comment 3•13 years ago
|
||
Internal prefix or postfix is something I was thinking too.
Comment 4•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•