ToDo: diffs FF55-FF56
150 diffs ( 91 new, 28 gone, 31 different )
Firefox 56 stable lands 2017-09-28
- [x] redesigned preferences UI - deal with 56+ and ESR different [SETTING]s - https://github.com/ghacksuserjs/ghacks-user.js/commit/1031312f8209ad9ea3291ac908a9fb9ce8d86f80
new in v56.0:
- [x] pref("browser.stopReloadAnimation.enabled", true); - 1355924 - https://github.com/ghacksuserjs/ghacks-user.js/commit/620a0ee29cd9b23df95d767b0d93f090080b5aae
- Note: FF57 will refine the timing see 1384180
- [x] pref("extensions.formautofill.available", "staged-rollout"); - 1385201 - https://github.com/ghacksuserjs/ghacks-user.js/commit/4d35be7ccbf8b9ed1bce95bc0e3d699e5ec00531
- replaces
extensions.formautofill.experimentalwhich is deprecated
- replaces
- [x] pref("extensions.formautofill.creditCards.enabled", true); - https://github.com/ghacksuserjs/ghacks-user.js/commit/ae83b83590c3ccbea4399907e0ffb051a3e3658e
- [x] pref("intl.regional_prefs.use_os_locales", false); 1379420, 1364789 - https://github.com/ghacksuserjs/ghacks-user.js/commit/31e7c72f642425668d8153e12f29332a6b2eb5a2
- [x] pref("security.data_uri.block_toplevel_data_uri_navigations", false); - 1331351 - https://github.com/ghacksuserjs/ghacks-user.js/commit/0912b03f625bea673516969c5b96bf2389c251df
- [x] pref("toolkit.telemetry.updatePing.enabled", true); 1120372 and 1380256 in 57 - https://github.com/ghacksuserjs/ghacks-user.js/commit/9a0edfe8875291b1218e3b6782267ec71422f8b4
- pref("browser.urlbar.speculativeConnect.enabled", false);
0810
removed, renamed or hidden in v56.0:
ALL DONE - https://github.com/ghacksuserjs/ghacks-user.js/commit/12f80bdf65910f039445eb9243c4f59434da5f77
- [x] pref("extensions.formautofill.experimental", false); ~~1385201~~
- renamed to
extensions.formautofill.availableand changed type from boolean to string- The value of
extensions.formautofill.availablecan be "on", "off" and "detect"
- The value of
- renamed to
- [x] pref("extensions.screenshots.system-disabled", true); ~~1386333~~
changed in v56.0:
- pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_API_KEY%&$httpMethod=POST"); // prev: ""
0413 - pref("extensions.webextensions.remote", true); // prev: false
1103(inactive) - pref("media.block-autoplay-until-in-foreground", true); // prev: false
2031 - pref("security.sandbox.content.level", 3); // prev: 1
1110
redundant in 56 due to RFP privacy.resistFingerprinting
- [x] these get moved to 4600 and renumbered after stable lands - https://github.com/ghacksuserjs/ghacks-user.js/commit/908a8d66f4987568fc76649a7f47e8f61f8588f2
- 2411, 2412 - timing attacks
- 2512 device sensor
- 2515 site specific zoom
- 2501 gamepads
- 2503 network info
- 2021 webspeech
- [x] this needs some thinking so listed separately - https://github.com/ghacksuserjs/ghacks-user.js/commit/649e49e0fa713df10946eeadee4ea0932bf6380b
- 0201 geo
ignore
==NEW
pref("accessibility.handler.enabled", true);
// ^^ related: https://bugzilla.mozilla.org/show_bug.cgi?id=1363221
pref("app.productInfo.baseURL", "https://www.mozilla.org/firefox/features/");
pref("apz.autoscroll.enabled", false);
pref("apz.frame_delay.enabled", false);
pref("apz.keyboard.enabled", false);
pref("apz.popups.enabled", false);
pref("apz.second_tap_tolerance", "0.5");
pref("browser.onboarding.hidden", false);
pref("browser.onboarding.newtour", "private,addons,customize,search,default,sync");
pref("browser.onboarding.notification.finished", false);
pref("browser.onboarding.notification.max-life-time-per-tour-ms", 432000000);
pref("browser.onboarding.notification.max-prompt-count-per-tour", 8);
pref("browser.onboarding.notification.mute-duration-on-first-session-ms", 300000);
pref("browser.onboarding.tourset-version", 1);
pref("browser.onboarding.updatetour", "");
pref("browser.places.useAsyncTransactions", false);
pref("browser.safebrowsing.provider.google.advisoryName", "Google Safe Browsing.");
pref("browser.safebrowsing.provider.google.advisoryURL", "https://developers.google.com/safe-browsing/v4/advisory");
pref("browser.safebrowsing.provider.google4.advisoryName", "Google Safe Browsing.");
pref("browser.safebrowsing.provider.google4.advisoryURL", "https://developers.google.com/safe-browsing/v4/advisory");
pref("browser.tabs.restorebutton", 0);
pref("browser.touchmode.auto", false);
// ^^ 1355771 touch mode in Windows tablet mode - covered by RFP
pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
pref("devtools.gridinspector.gridOutlineMaxRows", 50);
pref("devtools.gridinspector.showNegativeLineNumbers", false);
pref("devtools.inspector.shapesHighlighter.enabled", false);
pref("devtools.netmonitor.visibleColumns", "[\"status\",\"method\",\"file\",\"domain\",\"cause\",\"type\",\"transferred\",\"contentSize\",\"waterfall\"]");
pref("devtools.promote.layoutview", 1);
pref("devtools.promote.layoutview.showPromoteBar", true);
pref("dom.disable_window_showModalDialog", true);
pref("dom.forms.autocomplete.formautofill", false);
// ^^ https://bugzilla.mozilla.org/show_bug.cgi?id=1362290
pref("dom.gamepad.haptic_feedback.enabled", true);
pref("dom.noopener.newprocess.enabled", true);
pref("dom.performance.time_to_non_blank_paint.enabled", false);
pref("dom.timeout.background_budget_regeneration_rate", 100);
pref("dom.timeout.background_throttling_max_budget", 50);
pref("dom.timeout.budget_throttling_max_delay", 15000);
pref("dom.timeout.enable_budget_timer_throttling", false);
pref("dom.timeout.foreground_budget_regeneration_rate", 1);
pref("dom.timeout.foreground_throttling_max_budget", -1);
pref("dom.timeout.throttling_delay", 30000);
pref("extensions.formautofill.firstTimeUse", true);
// ^^ we already kill this extension and who cares about FirstTimeUse triggers
pref("extensions.webextensions.protocol.remote", true);
pref("gfx.direct3d11.break-on-error", false);
pref("gfx.direct3d11.enable-debug-layer", false);
pref("gfx.webrender.highlight-painted-layers", false);
pref("gfx.webrender.layers-free", false);
pref("gl.use-tls-is-current", 0);
pref("image.layout_network_priority", true);
pref("javascript.options.mem.nursery.max_kb", -1);
pref("javascript.options.streams", false);
pref("layers.gpu-process.allow-software", true);
pref("layers.mlgpu.dev-enabled", false);
pref("layers.mlgpu.enable-on-windows7", false);
pref("media.cubeb.logging_level", "");
pref("media.decoder.skip-to-next-key-frame.enabled", true);
pref("media.getusermedia.channels", 0);
pref("media.memory_cache_max_size", 8192);
pref("media.memory_caches_combined_limit_kb", 524288);
pref("media.memory_caches_combined_limit_pc_sysmem", 5);
pref("media.navigator.mediadatadecoder_enabled", false);
pref("media.peerconnection.video.denoising", false);
pref("media.resume-bkgnd-video-on-tabhover", true);
pref("media.windows-media-foundation.use-nv12-format", false);
pref("network.http.active_tab_priority", true);
pref("network.http.on_click_priority", true);
pref("network.http.rcwn.max_wait_before_racing_ms", 500);
pref("network.http.throttle.time-window", 3000);
pref("network.preload", true);
// ^^ https://bugzilla.mozilla.org/show_bug.cgi?id=1222633
pref("network.standard-url.punycode-host", false);
pref("preferences.allow.omt-write", false);
// ^^ related: https://bugzilla.mozilla.org/show_bug.cgi?id=1360214#c9
pref("services.sync.engine.addresses", false);
pref("services.sync.engine.addresses.available", false);
pref("services.sync.engine.creditcards", false);
pref("services.sync.engine.creditcards.available", false);
pref("services.sync.log.logger.engine.addresses", "Debug");
pref("services.sync.log.logger.engine.creditcards", "Debug");
pref("toolkit.crashreporter.include_context_heap", false);
pref("toolkit.datacollection.infoURL", "https://www.mozilla.org/legal/privacy/firefox.html");
pref("toolkit.telemetry.shutdownPingSender.enabledFirstSession", false);
pref("webgl.perf.max-acceptable-fb-status-invals", 0);
pref("webgl.perf.max-warnings", 0);
pref("webgl.perf.spew-frame-allocs", true);
pref("widget.window-transforms.disabled", false);
==REMOVED or HIDDEN
pref("apz.highlight_checkerboarded_areas", false);
pref("browser.safebrowsing.temporary.take_v4_completion_result", false);
pref("browser.urlbar.match.title", "#");
pref("browser.urlbar.match.url", "@");
pref("browser.urlbar.restrict.bookmark", "*");
pref("browser.urlbar.restrict.history", "^");
pref("browser.urlbar.restrict.openpage", "%");
pref("browser.urlbar.restrict.searches", "$");
pref("browser.urlbar.restrict.tag", "+");
pref("browser.urlbar.restrict.typed", "~");
pref("devtools.gridinspector.showGridOutline", false);
pref("devtools.layoutview.enabled", false);
pref("devtools.netmonitor.hiddenColumns", "[\"cookies\",\"duration\",\"endTime\",\"latency\",\"protocol\",\"remoteip\",\"responseTime\",\"scheme\",\"setCookies\",\"startTime\"]");
pref("dom.forms.autocomplete.experimental", false);
pref("dom.ipc.plugins.asyncInit.enabled", false);
pref("dom.timeout.tracking_throttling_delay", 30000);
pref("intl.tsf.hack.easy_changjei.do_not_return_no_layout_error", true);
pref("intl.tsf.hack.ms_japanese_ime.do_not_associate_imc_on_win10", false);
pref("layers.gpu-process.max_restarts", 3);
pref("layers.popups.compositing.enabled", false);
pref("media.cubeb.log_level", "");
pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons,ExtensionStorage");
pref("services.sync.sendTabToDevice.enabled", true);
pref("webgl.max-acceptable-fb-status-invals", 0);
pref("webgl.max-perf-warnings", 0);
pref("webrender.highlight-painted-layers", false);
==CHANGED
pref("apz.one_touch_pinch.enabled", true); // prev: false
pref("apz.touch_move_tolerance", "0.1"); // prev: "0.03"
pref("browser.preferences.search", true); // prev: false
pref("browser.preferences.useOldOrganization", false); // prev: true
pref("browser.safebrowsing.provider.mozilla.lists.content.description", "mozfullDesc2"); // prev: "mozfullDesc"
pref("browser.slowStartup.timeThreshold", 30000); // prev: 40000
pref("devtools.debugger.file-search-case-sensitive", false); // prev: true
pref("devtools.debugger.file-search-whole-word", false); // prev: false
pref("devtools.debugger.new-debugger-frontend", true); // prev: false
pref("devtools.debugger.pending-breakpoints", "{}"); // prev: "[]"
pref("media.decoder-doctor.decode-errors-allowed", ""); // prev: "NS_ERROR_DOM_MEDIA_DEMUXER_ERR, NS_ERROR_DOM_MEDIA_METADATA_ERR"
pref("media.decoder-doctor.decode-warnings-allowed", ""); // prev: "NS_ERROR_DOM_MEDIA_DEMUXER_ERR, NS_ERROR_DOM_MEDIA_METADATA_ERR"
pref("media.eme.chromium-api.video-shmems", 6); // prev: 4
pref("media.seekToNextFrame.enabled", true); // prev: false
pref("network.http.originextension", true); // prev: false
pref("network.http.throttle.enable", true); // prev: false
pref("security.mixed_content.hsts_priming_request_timeout", 2000); // prev: 3000
pref("urlclassifier.disallow_completions", "<long-string>"); // prev: "<long-string"
pref("urlclassifier.flashAllowExceptTable", "except-flashallow-digest256"); // prev: "testexcept-flashallow-simple,except-flashallow-digest256"
pref("urlclassifier.flashAllowTable", "allow-flashallow-digest256"); // prev: "test-flashallow-simple,allow-flashallow-digest256"
pref("urlclassifier.flashExceptTable", "except-flash-digest256"); // prev: "testexcept-flash-simple,except-flash-digest256"
pref("urlclassifier.flashSubDocExceptTable", "except-flashsubdoc-digest256"); // prev: "testexcept-flashsubdoc-simple,except-flashsubdoc-digest256"
pref("urlclassifier.flashSubDocTable", "block-flashsubdoc-digest256"); // prev: "test-flashsubdoc-simple,block-flashsubdoc-digest256"
pref("urlclassifier.flashTable", "block-flash-digest256"); // prev: "test-flash-simple,block-flash-digest256"
pref("urlclassifier.update.response_timeout_ms", 30000); // prev: 15000
pref("urlclassifier.update.timeout_ms", 90000); // prev: 60000
Onboarding seems a first welcome BS:
pref("browser.onboarding.hidden", true);
pref("browser.onboarding.newtour", "");
pref("browser.onboarding.notification.finished", true);
pref("browser.onboarding.notification.max-life-time-per-tour-ms", 432000000);
pref("browser.onboarding.notification.max-prompt-count-per-tour", 1);
pref("browser.onboarding.notification.mute-duration-on-first-session-ms", 100);
pref("browser.onboarding.tourset-version", 1);
pref("browser.onboarding.updatetour", "");
Race Cache With Network
pref("network.http.rcwn.max_wait_before_racing_ms", 500);
is child of network.http.rcwn.enabled
This is good:
pref("security.data_uri.block_toplevel_data_uri_navigations", true);
And I set logging at minimum:
pref("services.sync.log.logger.engine.addresses", "Error");
I would if I knew what to do
pref("apz.autoscroll.enabled", false); pref("apz.frame_delay.enabled", false); pref("apz.keyboard.enabled", false); pref("apz.popups.enabled", false);
Safe to ignore : https://dxr.mozilla.org/mozilla-central/source/gfx/layers/apz/src/AsyncPanZoomController.cpp#125 ...138 ...281 ...288 ...356
pref("intl.regional_prefs.use_os_locales", false); Should be make inactive ? https://dxr.mozilla.org/mozilla-central/source/modules/libpref/init/all.js#2307 1364789
this pref allows user to request that all internationalization formatters like date/time formatting, unit formatting, calendars etc. should use OS locale set instead of the app locale set.
pref("network.preload", true); Safe to ignore : https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content 1222633
IMO, there is no privacy concern here.
// enables the preloading (i.e., preloading of <link rel="preload"> URLs).
pref("network.preload", true);
Is there a speculative aspect to that? Could there be cases where a web developer assumes a resource will be needed, but that resource isn't needed because of how the user interacts with the page or has their browser configured?
Could that interfere with any addons (create network traffic before they have the context they need to decide whether to block it)?
I don't see it included in network.networkPredictionEnabled:
// Add settings objects for supported APIs to the preferences manager.
ExtensionPreferencesManager.addSetting("network.networkPredictionEnabled", {
prefNames: [
"network.predictor.enabled",
"network.prefetch-next",
"network.http.speculative-parallel-limit",
"network.dns.disablePrefetch",
],
My first impression is that none of those would disable it. I need some caffeine, and your eyes may be better, so: https://dxr.mozilla.org/mozilla-central/source/uriloader/prefetch/nsPrefetchService.cpp. Followup: Quick tests in beta and nightly were consistent with my first impression.
Is there a speculative aspect to that?
Yes. On twitter 176 occurences are found, as:
<link rel="preload" href="https://abs.twimg.com/k/en/init.en.8aa0e9077608f68c80d3.js" as="script">
Is there a speculative aspect to that?
not per se afaik. Preload is used to load certain resources with a higher priority than it normally would. That can be used for SEO (=better pagerank for example) Of course it could also be used in a speculative way but that would defeat the purpose and would be kinda silly and counter-productive. The main problems that I could see are (1) with GM userscripts, (2) perhaps potential problems with CSP or certain origin attributes not being applied correctly in all cases, and (3) potential type-confusion problems/attacks.
pref("dom.disable_window_showModalDialog", true);
https://developer.mozilla.org/en-US/Firefox/Releases/56#DOM:
The Window.showModalDialog() method has been removed (bug 981796).
=> disabled with this pref in 56 and fully removed in 57 with 1374460 (they forgot to remove the prefs again though) => moved to 'ignored => new'
It's a recent feature: http://caniuse.com/#feat=link-rel-preload
What types of content can be preloaded?
Answer here.
I see it as a placebo to optimize hogged sites. Currently I'm on the opposite field, as keeping a local copy of some needed scripts for sites to load, while ignoring most of other resources.
If interested, see here.
56b12 changes since 56b1
new
pref("apz.second_tap_tolerance", "0.5"); pref("browser.tabs.restorebutton", 0); // new with value 'false' in Beta 1 pref("browser.urlbar.speculativeConnect.enabled", false); // new with value 'true' in Beta 1 pref("media.windows-media-foundation.use-nv12-format", false); pref("network.http.throttle.time-window", 3000); ~~pref("services.sync.engine.bookmarks.validation.enabled", true);~~
removed, renamed or hidden
pref("extensions.screenshots.system-disabled", true); ~~pref("geo.provider.ms-windows-location", false);~~
changed
pref("apz.touch_move_tolerance", "0.1"); // prev: "0.03" ~~pref("browser.crashReports.unsubmittedCheck.enabled", true); // prev: false~~ ~~pref("devtools.debugger.prefs-schema-version", "1.0.2"); // prev: "1.0.0"~~ ~~pref("editor.use_div_for_default_newlines", true); // prev: false~~ ~~pref("font.name-list.monospace.ja", "MS Gothic,...");~~ ~~pref("font.name-list.sans-serif.ja", "Meiryo,...");~~ ~~pref("font.name-list.serif.ja", "Yu Mincho,...");~~ ~~pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); // prev: "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%"~~ pref("network.predictor.enable-prefetch", false); // prev: true // this was already changed in 55.0.1 ~~pref("security.mixed_content.send_hsts_priming", true); // prev: false~~ ~~pref("security.mixed_content.use_hsts", true); // prev: false~~
since the beta branch should have already been merged to release yesterday, I've update the first post with these latest changes.
moved to 'ignore' from 'new':
- pref("media.memory_cache_max_size", 8192);
- pref("media.memory_caches_combined_limit_kb", 524288);
- pref("media.memory_caches_combined_limit_pc_sysmem", 5);
=> not messing with memory cache integer values
moved to 'ignore' from 'changed':
- pref("apz.touch_move_tolerance", "0.1"); // prev: "0.03"
- pref("network.http.throttle.enable", true); // prev: false
=> throttle is fine, and touch move tolerance ... who cares
update:
network.standard-url.punycode-host - will be set to true in 57. This will be a pretty big change in how FF handles urls internally and we should definitely not mess with it. No need to enforce either - the pref will likely get removed again when they are satisfied that everything works as expected.
done or moved to tasks - see first post
- browser.stopReloadAnimation.enabled - 1355924 and for some fixes in 57 see 1384180
- dom.forms.autocomplete.formautofill - 1362290
pending
- layers.gpu-process.allow-software - 1385048
- media.getusermedia.channels - 1213414
- media.navigator.mediadatadecoder_enabled - 1355048
moved to ignore:new
- browser.tabs.restorebutton - 1219725, 1379226
- dom.noopener.newprocess.enabled - 1370971
- extensions.webextensions.protocol.remote - 1390346, 1334550
- gl.use-tls-is-current - 1378571
- image.layout_network_priority - 1378375
- javascript.options.mem.nursery.max_kb - 1380768
- javascript.options.streams - 1272697
- media.resume-bkgnd-video-on-tabhover - 1274919
- network.http.active_tab_priority - 1378385
- network.http.on_click_priority - 1378370
- network.http.rcwn.max_wait_before_racing_ms - 1376503
- network.http.throttle.time-window - 1386323
- toolkit.telemetry.shutdownPingSender.enabledFirstSession - 1381490
- This is for new profiles only and also default = off for now
- widget.window-transforms.disabled - 1370034
-
pref("dom.forms.autocomplete.formautofill", false); It's false by default and the system-addon will turn it on, but we already disable the system-addon, so why do we need this?
-
dom.noopener.newprocess.enabled - "Allow changing processes when opening a new window with noopener" - seems fine
-
gl.use-tls-is-current - Component: 'Canvas: WebGL' - ok to ignore
-
image.layout_network_priority - "image network request prioritization according to layout position" - I don't see a problem with that.
-
media.resume-bkgnd-video-on-tabhover - sounds good
-
network.http.active_tab_priority - "giving more priority to active tab" - sounds good to me
-
network.http.on_click_priority - "Give higher priority to requests resulting from a user interaction event like click-to-play, image fancy-box zoom, navigation." - sounds good
-
network.http.throttle.time-window - fixes problems with throttling - nice
-
extensions.webextensions.protocol.remote
https://bugzilla.mozilla.org/show_bug.cgi?id=1390346#c25
Yes, extensions.webextensions.protocol.remote=true is required for extensions to work now that file system read access sandboxing is enabled for content processes and the extension process. Setting it to false will require also setting sandboxing prefs to disable read access sandboxing.
The pref extensions.webextensions.protocol.remote was only added to aid debugging and provide a fallback shortly after moz-extension remoting was landed. If it's causing confusion, we could remove it. It has been helpful for debugging in a few instances.
https://bugzilla.mozilla.org/show_bug.cgi?id=1390346#c33
Does this pref serve a purpose? maybe we should get rid of it?
My preference would be to keep it for now because it's useful for debugging. Beyond debugging, it doesn't serve a purpose. And now that we've landed filesystem read access sandboxing, setting the pref to false requires flipping some sandbox prefs to get working extensions. That said, I've found it useful a few times while debugging extension issues.
https://bugzilla.mozilla.org/show_bug.cgi?id=1334550#c25
its expected lifetime is approximately the same as security.sandbox.content.level and I'd hope this can be removed once our sandbox is stabilized.
conclusion: best to ignore this
Last three all look like we can ignore them - agreed?
Yes
network.preloadI think is fine ie can be ignoredsecurity.data_uri.block_toplevel_data_uri_navigations- sounds ready to be used in 56 but we can also wait for 57 where it will be set to true by default (most likely, it's already in the 57b3 diff)
security.data_uri.block_toplevel_data_uri_navigations - if there are still some issues wouldn't it be better to wait then? I'm on ESR so I don't really care - up to you.
btw please check if the prefs that we haven't ignored were actually set to the value the diff says, because I just noticed that they changed something with the omni.ja creation, and the order in which the default preferences files are loaded might have changed. Meaning that if a certain pref exists in 2 or more pref-files and with different values then the output of my diffs-script could be wrong for those prefs.
I'll adjust my scripts to detect the preferences files and their load-order automatically rather than hardcoded, which will also guarantee that I won't miss a new or split-out preferences file.
My only concern, because I am not an expert, would be that this could used on eg hyperlinks to 3rd party eg tracker)? IDK
<a href = www.evil.com?blahblah preload = truewhatever (scuse my shitty code example)
If trackers can get around extension-based blockers (or the built-in tracking protection) that way, then it's a bug that needs to be fixed :)