Browser configuration does not store integer values

REPRODUCIBILITY (% or how often): 100%
BUILD ID: 3.3.016 (Rokua)
HARDWARE (Jolla, Tablet, XA2,…): Jolla C, Xperia X
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): Yes

DESCRIPTION:

Whenever modifying an integer value in browser about:config the new value does not get saved. (Strings and booleans work fine)

PRECONDITIONS:

unknown

STEPS TO REPRODUCE:

  1. open browser
  2. enter address about:config
  3. accept warning
  4. enter filter: network.proxy.http
  5. enter a valid IP address in for network.proxy.http
  6. enter a valid port number (e. g. 8080) for network.proxy.http_port
  7. Tap accept
  8. Open about:config again, enter the same filter and verify the values

EXPECTED RESULT:

  1. The values entered before have been stored

ACTUAL RESULT:

  1. Changes to the address field have been stored but changes to the port field are lost

ADDITIONAL INFORMATION:

Same behaviour affects also other integer settings, e. g. network.proxy.type

This still worked correctly in Nuuksio.

As a workaround, you can set these values in /home/nemo/.mozilla/mozembed/prefs.js (make sure the browser is not running!):

Example:

user_pref("network.proxy.http", "127.0.0.1");
user_pref("network.proxy.http_port", 8118);
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 192.168.0.0");
user_pref("network.proxy.proxy_over_tls", false);
user_pref("network.proxy.type", 1);
3 Likes

Because the browser can take a long time to really exit especially on Jolla C (or actually loop forever), maybe those commands are best used for that purpose

systemctl --user status booster-browser
systemctl --user stop booster-browser
systemctl --user start booster-browser

Thanks, that does does the trick.