Closed Bug 265745 Opened 20 years ago Closed 17 years ago

RelativizeURLInFragmentList forces InsertHTMLWithContext to clone its nsCOMArray<nsIDOMNode>

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: neil, Assigned: neil)

References

()

Details

(Keywords: perf)

Attachments

(1 file)

RelativizeURIInFragmentList's first parameter is nsCOMArray<nsIDOMNode> nodeList
which means InsertHTMLWithContext has to clone its nodeList to pass it as a
parameter. Instead it only needs to be a (const) reference.
Attached patch Proposed patchSplinter Review
Assignee: mozeditor → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Attachment #163127 - Flags: superreview?(rbs)
Attachment #163127 - Flags: review?(brade)
Comment on attachment 163127 [details] [diff] [review]
Proposed patch

sr=rbs
Attachment #163127 - Flags: superreview?(rbs) → superreview+
Comment on attachment 163127 [details] [diff] [review]
Proposed patch

r=brade
Attachment #163127 - Flags: review?(brade) → review+
QA Contact: bugzilla → editor
Comment on attachment 163127 [details] [diff] [review]
Proposed patch

This patch is still applicable and never got checked in.
Attachment #163127 - Flags: approval1.9?
Attachment #163127 - Flags: approval1.9? → approval1.9+
Neil, please land this. :)
Keywords: checkin-needed
Whiteboard: [needs landing]
Target Milestone: --- → mozilla1.9 M11
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: