Bug 1074202 - The WebRTC urlbar sharing indicator gets confused if 2 iframes on the same page are using different devices, r=felipe.

This commit is contained in:
Florian Quèze 2014-10-01 12:39:48 +02:00
parent 22e6962ade
commit 1c771c5a6e

View File

@ -159,7 +159,7 @@ function updateIndicators() {
};
for (let i = 0; i < count; ++i) {
let contentWindow = contentWindowSupportsArray.GetElementAt(i);
let contentWindow = contentWindowSupportsArray.GetElementAt(i).top;
let camera = {}, microphone = {}, screen = {}, window = {}, app = {};
MediaManagerService.mediaCaptureWindowState(contentWindow, camera,
microphone, screen, window, app);