#27623 closed defect (fixed)
wrong default pref values in Tor Browser 8.0
Reported by: | mcs | Owned by: | tbb-team |
---|---|---|---|
Priority: | Medium | Milestone: | |
Component: | Applications/Tor Browser | Version: | |
Severity: | Normal | Keywords: | ff60-esr, tbb-8.0-issues, tbb-8.0.1-can, TorBrowserTeam201809R |
Cc: | ev9F8itL, califuture | Actual Points: | |
Parent ID: | Points: | ||
Reviewer: | Sponsor: |
Description
The default values for some preferences are wrong in Tor Browser 8.0. For example, browser.dom.window.dump.enabled
has a default value of true
.
Maybe an issue similar to #27472 is affecting our desktop builds as well? See: https://dxr.mozilla.org/mozilla-esr60/source/modules/libpref/init/all.js#1090 where MOZILLA_OFFICIAL is used to choose some pref values.
Child Tickets
Change History (14)
comment:1 Changed 15 months ago by
Cc: | ff60-esr tbb-8.0-issues tbb-8.0.1-can removed |
---|---|
Keywords: | ff60-esr tbb-8.0-issues tbb-8.0.1-can added |
comment:2 Changed 15 months ago by
comment:3 follow-up: 4 Changed 15 months ago by
Do we want that for 8.0.1? I am a bit wary to break things while switching to MOZILLA_OFFICIAL
. What we should do at any rate is looking at the differences MOZILLA_OFFICIAL
is causing and check whether the current status of Tor Browser 8 (i.e. not setting it) is problematic. If not, then we could give it a round of testing in 8.5a2 maybe? If we think we are good got 8.0.1, though, I am happy to take it for that point release.
comment:4 follow-up: 5 Changed 15 months ago by
Replying to gk:
Do we want that for 8.0.1? I am a bit wary to break things while switching to
MOZILLA_OFFICIAL
. What we should do at any rate is looking at the differencesMOZILLA_OFFICIAL
is causing and check whether the current status of Tor Browser 8 (i.e. not setting it) is problematic. If not, then we could give it a round of testing in 8.5a2 maybe? If we think we are good got 8.0.1, though, I am happy to take it for that point release.
Whether to take this for 8.0.1 is a difficult decision. Looking at the following, I am more concerned about the lack of MOZILLA_OFFICIAL
than what will happen if we enable it:
https://dxr.mozilla.org/mozilla-esr60/search?q=MOZILLA_OFFICIAL
For example, browser/base/content/browser-development-helpers.js
is loaded, which adds a surprising "restart the browser now" shortcut key of Ctrl+Alt+R (Cmd+Alt+R)on macOS).
On the other hand, we have probably made all ESR60-based Tor Browser builds so far without it, so there may be some unexpected problems :(
Maybe that argues for trying it in 8.5a2.
comment:5 Changed 15 months ago by
Replying to mcs:
Replying to gk:
Do we want that for 8.0.1? I am a bit wary to break things while switching to
MOZILLA_OFFICIAL
. What we should do at any rate is looking at the differencesMOZILLA_OFFICIAL
is causing and check whether the current status of Tor Browser 8 (i.e. not setting it) is problematic. If not, then we could give it a round of testing in 8.5a2 maybe? If we think we are good got 8.0.1, though, I am happy to take it for that point release.
Whether to take this for 8.0.1 is a difficult decision. Looking at the following, I am more concerned about the lack of
MOZILLA_OFFICIAL
than what will happen if we enable it:
https://dxr.mozilla.org/mozilla-esr60/search?q=MOZILLA_OFFICIAL
For example,
browser/base/content/browser-development-helpers.js
is loaded, which adds a surprising "restart the browser now" shortcut key of Ctrl+Alt+R (Cmd+Alt+R)on macOS).
Yes, but that should be a safe thing (even if unexpected), right?
On the other hand, we have probably made all ESR60-based Tor Browser builds so far without it, so there may be some unexpected problems :(
Maybe that argues for trying it in 8.5a2.
If you feel there is nothing that is potentially harmful then I'd take the safe approach and ship 8.5a2 with it first.
comment:6 follow-up: 8 Changed 15 months ago by
Keywords: | TorBrowserTeam201809R added |
---|---|
Status: | new → needs_review |
Here is a patch to use for 8.5a2:
https://gitweb.torproject.org/user/brade/tor-browser.git/commit/?h=bug27623-01&id=e8d4909fcd059614106222a858d8839b58fee00f
comment:8 follow-up: 9 Changed 15 months ago by
Keywords: | TorBrowserTeam201809 added; TorBrowserTeam201809R removed |
---|---|
Status: | needs_review → needs_revision |
Replying to mcs:
Here is a patch to use for 8.5a2:
https://gitweb.torproject.org/user/brade/tor-browser.git/commit/?h=bug27623-01&id=e8d4909fcd059614106222a858d8839b58fee00f
That looks good to me. However, we do not sync the mozconfig files in tor-browser
with those we actually use for building the browser part in tor-browser-build
yet (see: #23656). Thus, could you add the relevant tor-browser-build
changes as well?
comment:9 follow-up: 10 Changed 15 months ago by
Keywords: | TorBrowserTeam201809R added; TorBrowserTeam201809 removed |
---|---|
Status: | needs_revision → needs_review |
Replying to gk:
That looks good to me. However, we do not sync the mozconfig files in
tor-browser
with those we actually use for building the browser part intor-browser-build
yet (see: #23656). Thus, could you add the relevanttor-browser-build
changes as well?
Sorry about that; for some reason I thought we had fixed that problem. We should ;)
Here is a tor-browser-build
patch:
https://gitweb.torproject.org/user/brade/tor-browser-build.git/commit/?h=bug27623-01&id=f49b8306354f68dcaf8efeec8a4bd8b5a8908e6b
comment:10 Changed 15 months ago by
Keywords: | tbb-backport added |
---|---|
Resolution: | → fixed |
Status: | needs_review → closed |
Replying to mcs:
Replying to gk:
That looks good to me. However, we do not sync the mozconfig files in
tor-browser
with those we actually use for building the browser part intor-browser-build
yet (see: #23656). Thus, could you add the relevanttor-browser-build
changes as well?
Sorry about that; for some reason I thought we had fixed that problem. We should ;)
Indeed! Patches welcome. ;)
Here is a
tor-browser-build
patch:
https://gitweb.torproject.org/user/brade/tor-browser-build.git/commit/?h=bug27623-01&id=f49b8306354f68dcaf8efeec8a4bd8b5a8908e6b
Looks good to me. I merged that one to tor-browser-build
's master
(commit f49b8306354f68dcaf8efeec8a4bd8b5a8908e6b).
And cherry-picked the tor-browser
patch to tor-browser-60.2.0esr-8.5-1
(commit cfcf68c7ef27d33f072a405ef7e99815f5e34c1d).
comment:13 Changed 13 months ago by
Cc: | califuture added |
---|
Resolved #28385 as a duplicate
comment:14 Changed 9 months ago by
Keywords: | tbb-backport removed |
---|
Replying to mcs:
It's easily detectable by checking
browser.safebrowsing.id
which is set tonavclient-auto-ffox
for MOZILLA_OFFICIAL andFirefox
otherwise (https://dxr.mozilla.org/mozilla-esr60/rev/b7dd3969261896020d7a9449d22f350a97e3517a/modules/libpref/init/all.js#5555).