Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
c30c1a79
Commit
c30c1a79
authored
11 months ago
by
henry
Committed by
Pier Angelo Vendrame
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
BB 42630: Disable LaterRun module.
parent
b169280c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1505
BB/TB 43416: Rebased onto 135.0a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
browser/modules/LaterRun.sys.mjs
+16
-5
16 additions, 5 deletions
browser/modules/LaterRun.sys.mjs
with
16 additions
and
5 deletions
browser/modules/LaterRun.sys.mjs
+
16
−
5
View file @
c30c1a79
...
...
@@ -61,6 +61,20 @@ export let LaterRun = {
},
init
(
reason
)
{
// Keep disabled in Base Browser. See tor-browser#41568.
// NOTE: This means that users cannot benefit from feature prompts gated
// behind LaterRun.
// In mozilla ESR 128 it is only used in one place, and is gated behind a
// feature recommendation preference that we switch off in Base Browser
// anyway. See tor-browser#42630.
// But this decision should be reviewed. See tor-browser#43093.
Services
.
prefs
.
setBoolPref
(
kEnabledPref
,
false
);
// Clear any preferences that may have been set before LaterRun was
// disabled.
Services
.
prefs
.
clearUserPref
(
kSessionCountPref
);
Services
.
prefs
.
clearUserPref
(
kProfileCreationTime
);
Services
.
prefs
.
clearUserPref
(
kUpdateAppliedTime
);
if
(
!
this
.
enabled
)
{
return
;
}
...
...
@@ -99,11 +113,8 @@ export let LaterRun = {
return
Services
.
prefs
.
getBoolPref
(
kEnabledPref
,
false
);
},
enable
(
reason
)
{
if
(
!
this
.
enabled
)
{
Services
.
prefs
.
setBoolPref
(
kEnabledPref
,
true
);
this
.
init
(
reason
);
}
enable
(
_reason
)
{
// Keep disabled in Base Browser. See tor-browser#41568.
},
get
hoursSinceInstall
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment