Closed Bug 1022760 Opened 10 years ago Closed 6 years ago

make DEBUG=1 with Nightly Desktop Firefox does not work with privileged apps

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jrburke, Unassigned)

Details

Steps to reproduce:

* Edit apps/email/manifest.webapp and change "type": "certified" to "type": "privileged".
* make DEBUG=1
* Open the email app via /path/to/firefox  -profile /path/to/gaia/profile-debug http://email.gaiamobile.org:8080/
* Fill in New Account screen and finish new account setup.

When the app tries to show the message list, this error appears in the log:

System JS : ERROR resource://gre/modules/PermissionPromptHelper.jsm:106 - ReferenceError: permissionPromptService is not defined
Possibly related work: Bug 1014410 allowed the privileged app when installed as part of device install to not prompt for privileges. The fix for this issue may be different, just giving pointers to work already done around privileged app support in gaia.
Blocks: 1018534
This happens in Firefox because the file is not packaged with Firefox. This should not happens with b2g desktop as the file is packaged with it (see http://hg.mozilla.org/mozilla-central/diff/88693039c414/b2g/installer/package-manifest.in)

One way to solve that is either to use the b2g-desktop, use the Mulet, or ship a gaia addon in u
(In reply to Vivien Nicolas (:vingtetun) (:21) (NOT reading bugmails, needinfo? please) from comment #2)
> This happens in Firefox because the file is not packaged with Firefox. This
> should not happens with b2g desktop as the file is packaged with it (see
> http://hg.mozilla.org/mozilla-central/diff/88693039c414/b2g/installer/
> package-manifest.in)
> 
> One way to solve that is either to use the b2g-desktop, use the Mulet, or
> ship a gaia addon in u

-u +build/tools/extensions
Talked with others on productivity team, and they feel we have enough options for now for desktop debugging that we do not need to block on this to land the privileged change for email.
No longer blocks: 1018534
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.