Closed Bug 852996 Opened 12 years ago Closed 11 years ago

MarkupView leaks the whole Inspector after being closed

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 25

People

(Reporter: ttaubert, Assigned: miker)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink:P2])

Attachments

(1 file, 1 obsolete file)

STR: 1) Open a tab 2) Right-click to inspect some element on that new page 3) Close the Inspector The devtools iframe with the MarkupView is now kept alive until we close the tab from [1].
Attachment #727240 - Flags: review?(past)
Comment on attachment 727240 [details] [diff] [review] make sure to remove the load listener attached to the root node Review of attachment 727240 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me, but dcamp is the author of this code, so he will be a better reviewer.
Attachment #727240 - Flags: review?(past) → review?(dcamp)
Whiteboard: [MemShrink]
Comment on attachment 727240 [details] [diff] [review] make sure to remove the load listener attached to the root node What. The. Heck. This leaks permanently. https://tbpl.mozilla.org/?tree=Try&rev=7f1cc5d065b7
Attachment #727240 - Flags: review?(dcamp)
It would be great if someone from the DevTools team could pick this up. I thought I had a quick patch for it... :)
Attachment #727240 - Flags: review+
Attachment #727240 - Flags: review+
Thanks Tim. We'll work on it.
Whiteboard: [MemShrink] → [MemShrink:P2]
I can't reproduce this, is it still an issue for you?
Flags: needinfo?(ttaubert)
Flags: needinfo?(ttaubert)
Attached patch PatchSplinter Review
Rebased. The patch already received an r+ from dcamp. Try: https://tbpl.mozilla.org/?tree=Try&rev=39693258b124
Attachment #727240 - Attachment is obsolete: true
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Whiteboard: [MemShrink:P2] → [land-in-fx-team][MemShrink:P2]
Whiteboard: [land-in-fx-team][MemShrink:P2] → [fixed-in-fx-team][MemShrink:P2]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team][MemShrink:P2] → [MemShrink:P2]
Target Milestone: --- → Firefox 25
Depends on: 892028
Depends on: 892560
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: