sailfishos / sailfish-browser

Sailfish Browser
https://github.com/sailfishos/sailfish-browser/wiki/Sailfish-Browser-wiki
Mozilla Public License 2.0
305 stars 86 forks source link

Convert VarCache values to static prefs for ESR 91 #1027

Closed llewelld closed 8 months ago

llewelld commented 10 months ago

The VarCache has been removed; so the configuration values will most likely need to be switched to static prefs. At the moment the related code has just been commented out, so this needs fixing.

See commit cd1e8e81ad255bdc98411bf8721a354c9ffa2bb4 and the following related upstream changes:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=1642727
  2. https://firefox-source-docs.mozilla.org/modules/libpref/index.html#static-prefs
  3. https://bugzilla.mozilla.org/show_bug.cgi?id=1448219
llewelld commented 8 months ago

See EmbedLiteViewChild.cpp for some cases that need fixing.

See the following for more info:

  1. https://firefox-source-docs.mozilla.org/modules/libpref/index.html#static-prefs
  2. https://phabricator.services.mozilla.com/D40340
llewelld commented 8 months ago

Fixed by https://github.com/llewelld/gecko-dev/commit/720b4f6574e76abaec66712f8ec6aec59bc5dd1f.