Bug 819264 - Need a Policy & Mechanism for Audio Competing & Control (Patch-0 follow-up). r=sicking, a=blocking-basecamp
authorGene Lian <clian@mozilla.com>
Fri, 07 Dec 2012 18:01:47 +0800
changeset 124603 da39c8eae21295f9749c2320f30142902f6cdc31
parent 124602 2011a8b835ebe728fd5588b7c966023907c71566
child 124604 d6dd73183bce274301d260a60f73f86078faeb8c
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking, blocking-basecamp
bugs819264
milestone20.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 819264 - Need a Policy & Mechanism for Audio Competing & Control (Patch-0 follow-up). r=sicking, a=blocking-basecamp
dom/apps/src/PermissionsInstaller.jsm
--- a/dom/apps/src/PermissionsInstaller.jsm
+++ b/dom/apps/src/PermissionsInstaller.jsm
@@ -358,16 +358,17 @@ this.expandPermissions = function expand
 
 // An array carring all the possible (expanded) permission names.
 let AllPossiblePermissions = [];
 for (let permName in PermissionsTable) {
   if (PermissionsTable[permName].access) {
     AllPossiblePermissions =
       AllPossiblePermissions.concat(expandPermissions(permName, READWRITE));
   } else if (PermissionsTable[permName].channels) {
+    AllPossiblePermissions =
       AllPossiblePermissions.concat(expandPermissions(permName, null, PermissionsTable[permName].channels));
   } else {
     AllPossiblePermissions =
       AllPossiblePermissions.concat(expandPermissions(permName));
   }
 }
 
 this.PermissionsInstaller = {