Closed Bug 691721 Opened 14 years ago Closed 14 years ago

Potential memory leak in DevTools test

Categories

(DevTools :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 10

People

(Reporter: miker, Assigned: miker)

Details

(Whiteboard: [styleinspector][fixed-in-fx-team])

Attachments

(1 file)

In browser/devtools/styleinspector/test/browser/browser_bug683672.js we add an event listener: browser.addEventListener("load", tabLoaded, true); It is never removed and could potentially cause a memory leak (not sure how the test passes). This was copied from other tests so we should go through at least all of out DevTools tests and ensure that the listener is removed.
Only one test had that issue.
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Attachment #564514 - Flags: review?(mihai.sucan)
Summary: Potential memory leak in a number of DevTools tests → Potential memory leak in DevTools test
Comment on attachment 564514 [details] [diff] [review] Potential Memory Leak Patch Review of attachment 564514 [details] [diff] [review]: ----------------------------------------------------------------- Patch looks good. Thanks!
Attachment #564514 - Flags: review?(mihai.sucan) → review+
Whiteboard: [styleinspector][land-in-fx-team]
Whiteboard: [styleinspector][land-in-fx-team] → [styleinspector][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 10
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: