Closed Bug 17955 Opened 25 years ago Closed 25 years ago

[mlk][perf][DOGFOOD] don't add script event listeners to `overlay' nodes

Categories

(Core :: XUL, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: waterson, Assigned: waterson)

Details

Attachments

(1 file)

Adding a script event listener to a placeholder node that is used for overlay
processing is both 1) wasteful and 2) leaky. Don't do it! Attaching a patch that
modifies nsXULElement::Create(nsXULPrototypeElement*, ...) that adds a boolean
parameter that conditionalizes this. Hyatt, can you review?

thanks,
chris

FWIW, this causes -20- of the 25 nsXULElement nodes to leak! Woohoo!
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: M12
Attached patch proposed fixSplinter Review
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Waterson, could you verify?  Thanks,

-ckritzer
Status: RESOLVED → VERIFIED
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL.  XUL 
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: ckritzer → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: