Bug 869477 - WebRTC UI permissions no longer shown r=margaret
authorMark Finkle <mfinkle@mozilla.com>
Tue, 07 May 2013 15:02:12 -0400
changeset 142112 8eeb6c056fdb0f82e4d66ff0df835c4b1ab70164
parent 142111 1d3f27629c2840ca44233e3c8c011a494ff84847
child 142113 d26ed846519e356595e75ce9f906813fe414bdb2
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs869477
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 869477 - WebRTC UI permissions no longer shown r=margaret
mobile/android/chrome/content/WebrtcUI.js
--- a/mobile/android/chrome/content/WebrtcUI.js
+++ b/mobile/android/chrome/content/WebrtcUI.js
@@ -79,17 +79,17 @@ var WebrtcUI = {
     else if (audioDevices.length)
       requestType = "Microphone";
     else if (videoDevices.length)
       requestType = "Camera";
     else
       return;
 
     let host = aBrowser.contentDocument.documentURIObject.asciiHost;
-    let requestor = chromeWin.BrowserApp.manifest ? "'" + chromeWin.BrowserApp.manifest.name  + "'" : host;
+    let requestor = BrowserApp.manifest ? "'" + BrowserApp.manifest.name  + "'" : host;
     let stringBundle = Services.strings.createBundle("chrome://browser/locale/browser.properties");
     let message = stringBundle.formatStringFromName("getUserMedia.share" + requestType + ".message", [ requestor ], 1);
 
     if (audioDevices.length) {
       let buttons = this.getDeviceButtons(audioDevices, aCallID, stringBundle);
       NativeWindow.doorhanger.show(message, "webrtc-request-audio", buttons, BrowserApp.selectedTab.id);
     }