Closed
Bug 1659668
Opened 4 years ago
Closed 4 years ago
Make sure the children array is big enough when adding a child using ReplaceElementAt in SessionHistoryEntry::AddChild
Categories
(Core :: DOM: Navigation, defect, P2)
Core
DOM: Navigation
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: peterv, Assigned: peterv)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The old code used an nsCOMArray, which ensures the length is big enough when you call ReplaceObjectAt, the new code uses nsTArray which doesn't do that. So the caller needs to do it.
Assignee | ||
Updated•4 years ago
|
Summary: Make sure the children array is big enough when adding a child in SessionHistoryEntry::AddChild → Make sure the children array is big enough when adding a child using ReplaceElementAt in SessionHistoryEntry::AddChild
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P2
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/53e8f4f05b5f Make sure the children array is big enough when adding a child using ReplaceElementAt in SessionHistoryEntry::AddChild. r=smaug
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•