Closed Bug 1161310 Opened 9 years ago Closed 9 years ago

Invalid permissions when trying to install Camera and dialer

Categories

(Firefox OS Graveyard :: Gaia::Hackerplace, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nhirata, Unassigned)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

Attached image 2015-05-04-17-48-50.png
1. launch hackerplace
2. make sure apps tab is selected
3. select install of either camera or dialer
4. select install button again

Expected: app installs
Actual: app doesn't install.

Note: this is with ADB & Devtools on and off.

Build ID               20150504201310
Gaia Revision          70077825aab2c7a79611befb40a5fe7e610d5443
Gaia Date              2015-05-04 18:09:33
Gecko Revision         https://hg.mozilla.org/projects/cypress/rev/396012a69df7
Gecko Version          40.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150504.195833
Firmware Date          Mon May  4 19:58:42 UTC 2015
Bootloader             s1

logcat snip:
I/Gecko   ( 1763): [Child 1763] WARNING: NS_ENSURE_TRUE(node) failed: file ../../../../gecko/layout/base/nsDocumentViewer.cpp, line 3545
I/Hackerplace( 1763): Content JS LOG: installing hosted app,  http://fxos.github.io/camera/dist/app/manifest.webapp 
I/Hackerplace( 1763):     at ListController.prototype.install (app://directory.gaiamobile.org/js/controller/list_controller.js:164:9)
I/GeckoDump(  317): [system] [HierarchyManager][209.507] mozChromeEvent
I/GeckoDump(  317): [system] [GeolocationCore][209.508] handling mozChromeEvent
I/GeckoDump(  317): [system] [UsbCore][209.508] handling mozChromeEvent
I/Gecko   ( 1763): [Child 1763] WARNING: Transparent content with displayports can be expensive.: file ../../../../gecko/layout/base/nsDisplayList.cpp, line 1557
I/GeckoDump(  317): [system] [NetworkActivity][209.537] handling moznetworkupload
I/GeckoDump(  317): [system] [NetworkActivity][209.643] handling moznetworkdownload
E/GeckoConsole(  317): [JavaScript Error: "Error installing app from: app://directory.gaiamobile.org: INVALID_SECURITY_LEVEL" {file: "resource://gre/modules/Webapps.jsm" line: 2524}]
I/Gecko   ( 1763): [Child 1763] WARNING: Transparent content with displayports can be expensive.: file ../../../../gecko/layout/base/nsDisplayList.cpp, line 1557
Since I was using a userdebug build, I had to:
1) adb root
2) use the webIDE toggle :  "Runtime Info" -> "Enable higher privs"

This allowed the apps to install.
should we close this out?  or leave it open to deal with the permissions issue on a userdebug/user build?
Flags: needinfo?(mhenretty)
We are just calling mozApp.launch, so I believe this is a window management bug.
Component: Gaia::Hackerplace → Gaia::System::Window Mgmt
Flags: needinfo?(mhenretty)
Whoops, wrong bug.
Component: Gaia::System::Window Mgmt → Gaia::Hackerplace
Let's just close this out, and allow the discussion in bug 1160235 to take are of the security stuff.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: