Closed
Bug 1469276
Opened 7 years ago
Closed 7 years ago
Remove some unnecessary nsAttrAndChildArray usage.
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8985917 [details]
Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage.
https://reviewboard.mozilla.org/r/251402/#review257682
::: commit-message-9b6f2:5
(Diff revision 1)
> +Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage. r?smaug
> +
> +I couldn't make any sense about the BindToTree comment, so I removed it.
> +
> +There's no DestroyContent implementation that fiddles with child lists, so this
Really? https://searchfox.org/mozilla-central/rev/285da1fd7dcf67448b9175741fa330158edcff73/dom/base/FragmentOrElement.cpp#1289-1290
Or am I missing something?
The old code is of course also wrong, since if node is removed, indexing doesn't work correctly.
Attachment #8985917 -
Flags: review?(bugs) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8985917 [details]
Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage.
Err, missed the previous comment, will update.
Attachment #8985917 -
Flags: review?(bugs)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8985917 [details]
Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage.
https://reviewboard.mozilla.org/r/251402/#review257694
Better to push to try (debug builds) to see if something breaks :)
::: commit-message-9b6f2:5
(Diff revision 4)
> +Bug 1469276: Remove some unnecessary nsAttrAndChildArray usage. r?smaug
> +
> +I couldn't make any sense about the BindToTree comment, so I removed it.
> +
> +There's no DestroyContent implementation that fiddles with child lists, so this
This sentence isn't quite right, since JS could in theory do anything. But we control all that
Attachment #8985917 -
Flags: review?(bugs) → review+
Comment hidden (mozreview-request) |
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9ead3b8d077
Remove some unnecessary nsAttrAndChildArray usage. r=smaug
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•