Le 4 févr. 2016 à 08:55, J. Ryan Stinnett <
jry...@gmail.com> a écrit :
> Do we want to offer any more explicit user agent control in RDM?
What I would like for testing (which goes further than just a Responsive Design Mode but more of a Device Emulation Mode)
This might look like a christmas shopping list, but these are concrete scenarii of testing I had to deal with:
1. A predefined list of devices configuration (updated on a regular basis)
* a curated JSON file server side ala user-agent override, which can be updated by everyone when new devices are coming out. This JSON contains a set of parameters for the device.
2. A way to have a user defined list with a JSON file. Possibly being local, but also with the URI of my choices in the same format than 1. It will help with community build projects. For example, the Webcompat team can share the same list of devices and adjust it time to time. A Web agency can define a set of devices they want to have as profiles.
3. A way to define the screen size
4. A way to define the device pixel ratio
5. A way to emulate Network throttle (wifi, 3G)
6. A way to have a profile PER tab/window, aka I can set my parameters just for this tab/window.
7. A way to define the HTTP request headers for each of the devices. Sometimes depending on the language, etc, we receive different response from the server.
8. (icing on the cake) A way to define a profile of `about:config` preferences associated to a device.
9. A way to activate/remove touch interactions.
10. A way to have two or more profiles in the same tab side by side. Basically we enter a URI in the address bar and we get the two or more profiles displayed at the same time (for example someone testing a design in one shot in different profiles.)
11. A way to fake geolocation.
12. A way to clean up all the parameters, cookies, storage, add ons, etc. in between two tests right here in the panel. You have often to restart the browser for a clean test.