Closed Bug 680649 Opened 8 years ago Closed 8 years ago

inspector leaks iframe [chrome://browser/content/inspector.html] until shutdown

Categories

(DevTools :: General, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 9

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

Attachments

(2 files)

leak statistics:

[browser/base/content/test/inspector/browser_inspector_registertools.js]
  1x [data:text/html,registertool%20tests%20for%20inspector]
  2x [chrome://browser/content/inspector.html]
  1x [about:blank]

[browser/base/content/test/inspector/browser_inspector_tab_switch.js]
  3x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_bug_665880.js]
  2x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_highlighter.js]
  1x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_iframeTest.js]
  1x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_initialization.js]
  1x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_scrolling.js]
  1x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_treePanel_output.js]
  1x [chrome://browser/content/inspector.html]

[browser/base/content/test/inspector/browser_inspector_treeSelection.js]
  1x [chrome://browser/content/inspector.html]
Attached patch patch v1Splinter Review
Attachment #554622 - Flags: review?(rcampbell)
Tim, how did you manage to get those statistics? If it's a tool, it seems pretty useful!
(In reply to Panos Astithas [:past] from comment #2)
> Tim, how did you manage to get those statistics? If it's a tool, it seems
> pretty useful!

That's a little Python script I wrote yesterday. It's pretty messy and my Python skills are not the best but it does the job! :)

It parses debug build logs (only) and counts created and discarded DOMWindows and assigns them to tests and urls to the DOMWindows. All the information is already contained in the build log so all it does is parse the file.

./parse.py debug-build-log.txt > leak-output.txt
Attachment #554622 - Flags: review?(rcampbell) → review+
http://hg.mozilla.org/integration/fx-team/rev/d827ae445f33
Assignee: nobody → tim.taubert
Status: NEW → ASSIGNED
Whiteboard: [fixed-in-fx-team]
http://hg.mozilla.org/mozilla-central/rev/d827ae445f33
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 9
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.