Closed
Bug 821611
Opened 12 years ago
Closed 12 years ago
Gaia apps returns setting permission failure error when opened using Marionette::navigate
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: poojas, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) 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:
https://www.codeaurora.org/patches/quic/lf/SAMPLE_20071_Marionette_Browser_Launch_20121213.tar.gz
This script will open browser app and try to load URL(google)
Command to run script : python browser.py
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://browser.example.com
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
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
blocking-basecamp: --- → ?
Ever confirmed: true
Comment 1•12 years ago
|
||
Sounds like a marionette framework issue. moving this over to marionette component
Component: Gaia → Marionette
Product: Boot2Gecko → Testing
Comment 2•12 years ago
|
||
We don't support loading Gaia apps using navigate. See https://github.com/mozilla/gaia-ui-tests for a supported method.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 3•12 years ago
|
||
When did this change? It worked before...
Comment 4•12 years ago
|
||
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.
Comment 5•12 years ago
|
||
Ok, thanks.
Updated•12 years ago
|
blocking-basecamp: ? → ---
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•