Search code examples
simulatorfirefox-os

how to change the display size of the firefox-os simulator?


I'm running Firefox OS 2.0 simulator via Firefox WebIDE.

The MDN Firefox OS doc only states 320x480 pixels for the device size, but some of the supported devices have much higher resolutions available.

I would like to be able to change the device screen size so I can test my application in the simulator with different display sizes - how is this done?

Here is an image from the WebIDE showing the Device Settings disabled:

enter image description here

I'm using Firefox version 39.


Solution

  • Simulator configuration was recently made available in Firefox 42. This gives you access to options like the window size:

    WebIDE Simulator Options

    Switching to Nightly to access Firefox 42 is likely the best path for now, since a number of related bugs were recently fixed in that version.