Harden against binding an already-parented node
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: vhilla, Assigned: vhilla)
References
Details
(Keywords: sec-want, Whiteboard: [adv-main154-][adv-esr153.1-])
Attachments
(3 external files)
As follow-up from bug 2054635 and bug 2058665, I think we should tighten the asserts in InsertChildBefore and BindToTree.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Comment 2•3 months ago
|
||
:vhilla, please update all release status flags to reflect the affected/unaffected/disabled state correctly. Which branches (beta, release, and/or ESR) are affected by this flaw?
| Assignee | ||
Comment 3•3 months ago
|
||
Do we set them for enhancements? All branches are affected, but it's not really a flaw that would be fixed and uplifted I think.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Comment 6•3 months ago
|
||
I think a Beta/ESR153 uplift could make sense for the sake of long-term maintenance and hardening, but we can wontfix if you feel strongly otherwise.
Comment 7•3 months ago
|
||
But no, setting statuses doesn't automatically mean we plan to uplift it everywhere. We still want to know what releases are impacted either way, however, so informed decisions can be made. And it makes the most sense for developers working on the bug to set that status since they'll have the most context about that.
| Assignee | ||
Comment 8•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D316497
Updated•3 months ago
|
Comment 9•3 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Long-term maintenance on esr, hardening on beta.
Getting them to beta means we'll know earlier if they can be hit, and can otherwise consider turning them on in release. - Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: I looked through the code and don't think these assertions can still be hit. They already existed as non-diagnostic asserts for some time.
- String changes made/needed?: No
- Is Android affected?: yes
| Assignee | ||
Comment 10•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D316497
Updated•3 months ago
|
Comment 11•3 months ago
|
||
firefox-esr153 Uplift Approval Request
- User impact if declined/Reason for urgency: Long-term maintenance on esr, hardening on beta.
Getting them to beta means we'll know earlier if they can be hit, and can otherwise consider turning them on in release. - Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: I looked through the code and don't think these assertions can still be hit. They already existed as non-diagnostic asserts for some time.
- String changes made/needed?: No
- Is Android affected?: yes
| Assignee | ||
Comment 12•3 months ago
|
||
Thanks for explaining. I put up the requests.
| Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 13•3 months ago
|
||
| uplift | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 14•3 months ago
|
||
| uplift | ||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•29 days ago
|
Description
•