Closed Bug 1155371 Opened 6 years ago Closed 6 years ago

Include DOMMediaStream and MediaSource object URLs in memory reports

Categories

(Core :: DOM: Core & HTML, defect)

37 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1153907 +++

Currently we only report nsIDOMBlob types [1], it would be useful to list all types to help track down object URLs that aren't being cleaned up.

[1] http://hg.mozilla.org/mozilla-central/annotate/ec1351f9bc58/dom/base/nsHostObjectProtocolHandler.cpp#l174
DOMMediaStream and MediaSource object URLs are now reported. Output looks like as follows with stack tracing enabled:

> 118 (100.0%) -- dom-media-stream-urls
> └──118 (100.0%) -- owner(file:///home/erahm/Desktop/ClientTestcase/index.html)/js(/home/erahm/Desktop/ClientTestcase/jpgGraber.js, line=141)
>    ├────1 (00.85%) ── blob:null/04460311-cc71-4419-8ab3-b40d434b195d
>    ├────1 (00.85%) ── blob:null/047ef673-a074-405e-bf10-e8db1cb0a83c
>    ├────1 (00.85%) ── blob:null/072e42ef-fed3-4424-92e7-a9fa1d269284
>    ├────1 (00.85%) ── blob:null/09d2f67c-16af-431d-9ee1-517320611f54
>    ├────1 (00.85%) ── blob:null/0a2f351e-9168-45f5-b2f3-28b261c0256e
>    ├────1 (00.85%) ── blob:null/0a7ffa87-6096-46f8-8c16-53936093899a
>    ├────1 (00.85%) ── blob:null/0b0eeb57-0970-493a-a452-47ad3ef8e80e
Attachment #8593652 - Flags: review?(khuey)
Assignee: nobody → erahm
Status: NEW → ASSIGNED
See comment 2
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/914fd1f2d882
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.