Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Bug 1249365 - Fix regression in e10s mode to re-allow the camera by d…
Browse files Browse the repository at this point in the history
…efault in Loop's conversation window. r=gcp
  • Loading branch information
Standard8 committed Mar 7, 2016
1 parent c158dc1 commit 186a991
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions add-on/chrome/modules/MozLoopService.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,10 @@ var MozLoopServiceInternal = {

let url = this.getChatURL(windowId);

// Ensure about:loopconversation has access to the camera.
Services.perms.add(Services.io.newURI(url, null, null), "camera",
Services.perms.ALLOW_ACTION, Services.perms.EXPIRE_SESSION);

Chat.registerButton(kChatboxHangupButton);

let callback = chatbox => {
Expand Down

0 comments on commit 186a991

Please sign in to comment.