Closed Bug 1608521 Opened 5 years ago Closed 4 years ago

Update MediaManager::GetUserMedia for Fission

Categories

(Core :: WebRTC: Audio/Video, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla79
Fission Milestone M6a
Tracking Status
firefox79 --- fixed

People

(Reporter: nika, Assigned: annyG)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

The IsFullyActive check performed by this method walks up the docshell tree by accessing the embedding <iframe> element recursively. This should be changed to be compatible with fission, where embedding elements and documents may not be available. https://searchfox.org/mozilla-central/rev/d4d6f81e0ab479cde192453bae83d5e3edfb39d6/dom/media/MediaManager.cpp#2215-2241

The only caller already appears to return a MozPromise, which should make converting this check to be async relatively straightforward.

Blocks: 1414423
Priority: -- → P3

:jib, would it make sense for this to live in WebRTC: Audio/Video?

Flags: needinfo?(jib)
Component: Audio/Video → WebRTC: Audio/Video
Flags: needinfo?(jib)

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --
Type: defect → task
Priority: -- → P1

Tentatively moving P1 Fission M6 bugs to M6a.

Fission Milestone: M6 → M6a
Assignee: nobody → agakhokidze

Anny, will you still be working on this WebRTC bug now that you may be taking on more DocumentChannel work? Should we delegate this bug to the WebRTC team?

Flags: needinfo?(agakhokidze)

I actually have the code written up, I have a few test failures and need to write a test to test some edge cases. I was planning on finishing this up after I fix bug 1630323. I will upload my patch in the meanwhile as WIP.

Flags: needinfo?(agakhokidze)
Attachment #9141399 - Attachment is obsolete: true
Pushed by agakhokidze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5c3fddbbfe4 Change mozilla::IsFullyActive to walk WindowContext tree, r=kmag
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Depends on: 1646601
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: