Closed Bug 821611 Opened 9 years ago Closed 9 years ago

Gaia apps returns setting permission failure error when opened using Marionette::navigate


(Testing :: Marionette, defect, P1)

Gonk (Firefox OS)


(Not tracked)



(Reporter: poojas, Unassigned)


User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24
Build ID: 20111107172717

Steps to reproduce:

Open any gaia apps like browser(whoever needs setting permissions)using Marionette.
Plz find the test scripts to reproduce this issue for browser app at below path:

This script will open browser app and try to load URL(google)
Command to run script : python

Actual results:

App gets opened with below error code and blocked to perform further functionality.
E/GeckoConsole(  124): [JavaScript Error: "NO SETTINGS PERMISSION FOR: app://

So,Browser app will get open but will not load URL likewise Camera app will get open with black preview screen(cannot take photos)

Expected results:

App should get open successfully without failure of setting permissions and should be able to perform expected behavior (in case of browser ,should load url successfully)
Component: General → Gaia
OS: All → Gonk (Firefox OS)
Priority: -- → P1
blocking-basecamp: --- → ?
Ever confirmed: true
Sounds like a marionette framework issue.  moving this over to marionette component
Component: Gaia → Marionette
Product: Boot2Gecko → Testing
We don't support loading Gaia apps using navigate.  See for a supported method.
Closed: 9 years ago
Resolution: --- → INVALID
When did this change?   It worked before...
I'm not sure, but loading apps this way bypasses Gaia's window manager, and I wouldn't really expect it to work.  In particular, it would cause whatever app you're loading to be loaded in the system app's iframe, which doesn't have any special permissions.
blocking-basecamp: ? → ---
Blocks: 935401
No longer blocks: 935401
You need to log in before you can comment on or make changes to this bug.