Pier Angelo Vendrame pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
4c041d5b
by Pier Angelo Vendrame at 2024-09-11T09:03:32+02:00
-
f5f0ab07
by Pier Angelo Vendrame at 2024-09-11T09:23:10+02:00
2 changed files:
Changes:
... | ... | @@ -4812,8 +4812,11 @@ BrowserGlue.prototype = { |
4812 | 4812 | _migrateUIBB() {
|
4813 | 4813 | // Version 1: 13.0a3. Reset layout.css.prefers-color-scheme.content-override
|
4814 | 4814 | // for tor-browser#41739.
|
4815 | - // Version 2: Reset the privacy tracking headers preferences since the UI
|
|
4816 | - // is hidden. tor-browser#42777.
|
|
4815 | + // Version 2: 14.0a5:Reset the privacy tracking headers preferences since
|
|
4816 | + // the UI is hidden. tor-browser#42777.
|
|
4817 | + // Also, do not set
|
|
4818 | + // dom.security.https_only_mode_send_http_background_request in
|
|
4819 | + // the security level anymore (tor-browser#42149).
|
|
4817 | 4820 | const MIGRATION_VERSION = 2;
|
4818 | 4821 | const MIGRATION_PREF = "basebrowser.migration.version";
|
4819 | 4822 | // We do not care whether this is a new or old profile, since in version 1
|
... | ... | @@ -4836,11 +4839,11 @@ BrowserGlue.prototype = { |
4836 | 4839 | // The last two preferences have no corresponding UI, but are related.
|
4837 | 4840 | "privacy.globalprivacycontrol.functionality.enabled",
|
4838 | 4841 | "privacy.globalprivacycontrol.pbmode.enabled",
|
4842 | + "dom.security.https_only_mode_send_http_background_request",
|
|
4839 | 4843 | ]) {
|
4840 | 4844 | Services.prefs.clearUserPref(prefName);
|
4841 | 4845 | }
|
4842 | 4846 | }
|
4843 | - |
|
4844 | 4847 | Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION);
|
4845 | 4848 | },
|
4846 | 4849 |
... | ... | @@ -256,17 +256,16 @@ var initializeNoScriptControl = () => { |
256 | 256 | /* eslint-disable */
|
257 | 257 | // prettier-ignore
|
258 | 258 | const kSecuritySettings = {
|
259 | - // Preference name : [0, 1-high 2-m 3-m 4-low]
|
|
260 | - "javascript.options.ion" : [, false, false, false, true ],
|
|
261 | - "javascript.options.baselinejit" : [, false, false, false, true ],
|
|
262 | - "javascript.options.native_regexp" : [, false, false, false, true ],
|
|
263 | - "mathml.disabled" : [, true, true, true, false],
|
|
264 | - "gfx.font_rendering.graphite.enabled" : [, false, false, false, true ],
|
|
265 | - "gfx.font_rendering.opentype_svg.enabled" : [, false, false, false, true ],
|
|
266 | - "svg.disabled" : [, true, false, false, false],
|
|
267 | - "javascript.options.asmjs" : [, false, false, false, true ],
|
|
268 | - "javascript.options.wasm" : [, false, false, false, true ],
|
|
269 | - "dom.security.https_only_mode_send_http_background_request" : [, false, false, false, true ],
|
|
259 | + // Preference name: [0, 1-high 2-m 3-m 4-low]
|
|
260 | + "javascript.options.ion": [, false, false, false, true ],
|
|
261 | + "javascript.options.baselinejit": [, false, false, false, true ],
|
|
262 | + "javascript.options.native_regexp": [, false, false, false, true ],
|
|
263 | + "mathml.disabled": [, true, true, true, false],
|
|
264 | + "gfx.font_rendering.graphite.enabled": [, false, false, false, true ],
|
|
265 | + "gfx.font_rendering.opentype_svg.enabled": [, false, false, false, true ],
|
|
266 | + "svg.disabled": [, true, false, false, false],
|
|
267 | + "javascript.options.asmjs": [, false, false, false, true ],
|
|
268 | + "javascript.options.wasm": [, false, false, false, true ],
|
|
270 | 269 | };
|
271 | 270 | /* eslint-enable */
|
272 | 271 |