Closed Bug 1020668 Opened 10 years ago Closed 10 years ago

Simulator Device Profiles

Categories

(Firefox OS Graveyard :: Simulator, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1090949

People

(Reporter: paul, Unassigned)

References

Details

(Whiteboard: [status:inflight])

From the app manager, we should be able to configure a simulator. At least support:
- gaia location
- B2G location
- screen size

The addon is already configurable via about:addons. Maybe we want to leverage that, or have our own mechanism.
Summary: UI to configure simulator → UI to configure simulator (simulator profile)
So gaia and b2g location are already configurable from about:addons.
Is this bug just about adding similar pref but for screen size?

There is a --screen option for b2g-bin, so it should only be about
adding a new addon pref in package.json and then passing this pref value to b2g executable from simulator-process.js
I thought we had a user story about that, but can't find it:

Basically, we want the user to build a "simulator profile". We won't show the list of simulators installed in the runtime panel, but a list of simulator profile.

We will have a UI which will let the user select different options (simulator version, gaia profile, B2G directory, screen size, geolocation, ...). He will save these options under a custom name (a profile), and we will show this profile in the runtime panel. The user will be able to configure several profiles.
+ to Paul's suggestion.

A set of predefined profiles or templates for common devices like flatfish or flame would be a useful extra feature. People will want to test against a number of formats - or can this be easily done without UI for test automation?
Blocks: 932758
Component: Developer Tools: WebIDE → Developer Tools: User Stories
Whiteboard: [status:backlog]
No longer blocks: 932758, 948056
Depends on: 891796, 932758, 948056
Summary: UI to configure simulator (simulator profile) → simulator profile
Regarding the way gaia works for each product, I think we will have to build/distribute one gaia profile for each target we expect to support without involving the developer to download gaia and build its own profile.
Note that it may end up being easier with the ongoing work on gaia build system, where we expect to be able to build gaia profiles from Firefox. Without any other dependency other than Firefox and gaia sources.

For example, running on a gaia profile and modifying the simulator screen size won't automagically give you a Tablet/TV experience, there is many other tweaks made in gaia profiles.

The overall idea sounds great but mention many things, is there any way to split that in smaller chunks?
Supporting custom gaia/b2g locations is quite different from supporting custom geolocation position or screen size.
Summary: simulator profile → Simulator Control Panel
Summary: Simulator Control Panel → Simulator Device Profiles
Component: Developer Tools: User Stories → Simulator
Product: Firefox → Firefox OS
Version: Trunk → unspecified
Depends on: 1090154
Depends on: 996619
No longer depends on: 996619
Whiteboard: [status:backlog] → [status:inflight]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Depends on: 1212352
No longer depends on: 1212352
You need to log in before you can comment on or make changes to this bug.