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 115497 da39c8eae21295f9749c2320f30142902f6cdc31
parent 115496 2011a8b835ebe728fd5588b7c966023907c71566
child 115500 d6dd73183bce274301d260a60f73f86078faeb8c
push id19372
push userryanvm@gmail.com
push dateMon, 10 Dec 2012 13:50:22 +0000
treeherdermozilla-inbound@da39c8eae212 [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 = {