Closed
Bug 337992
Opened 19 years ago
Closed 19 years ago
Fix outdated update prefs in sunbird.js
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mattwillis, Assigned: mattwillis)
Details
Attachments
(1 file, 1 obsolete file)
|
6.33 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
A bunch of our update prefs in sunbird.js are outdated.
| Assignee | ||
Comment 1•19 years ago
|
||
Attachment #222031 -
Flags: first-review?(jminta)
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 2•19 years ago
|
||
Comment on attachment 222031 [details] [diff] [review]
rev0 - removes ancient update prefs and uses current ones from firefox.js - updates are disabled
+// Blocklist preferences
+pref("extensions.blocklist.enabled", true);
+pref("extensions.blocklist.interval", 86400);
+pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/1/%APP_ID%/%APP_VERSION%/");
+pref("extensions.blocklist.detailsURL", "http://www.mozilla.com/blocklist/");
We're handling this bit in another patch right?
+// Interval: When all registered timers should be checked (in milliseconds)
+// default=5 seconds
+pref("app.update.timer", 600000);
Either the comment or the value is wrong here, if my math serves me.
+pref("extensions.update.interval", 86400); // Check for updates to Extensions and
+ // Themes every week
More math weirdness
+// AUM Set to: Minor Releases: Major Releases:
+// 0 download no prompt download no prompt
+// 1 download no prompt download no prompt if no incompatibilities
+// 2 download no prompt prompt
+//
+// See chart in nsUpdateService.js.in for more details
+//
+pref("app.update.mode", 1);
I'm tempted to say this should be 2 until we reach 1.0, but really, as discussed in IRC, we probably don't want any of these extra prefs until we actually have app-updating.
Attachment #222031 -
Flags: first-review?(jminta) → first-review-
| Assignee | ||
Comment 3•19 years ago
|
||
Attachment #222031 -
Attachment is obsolete: true
Attachment #222123 -
Flags: first-review?(jminta)
Comment 4•19 years ago
|
||
Comment on attachment 222123 [details] [diff] [review]
rev1 - removes app update crap. addresses nits, I think
nice, r=jminta here with some whitespace cleanup:
+pref("app.update.enabled", false);
+
+
+// Symmetric (can be overridden by individual extensions) update preferences.
probably don't need 2 lines there.
Attachment #222123 -
Flags: first-review?(jminta) → first-review+
| Assignee | ||
Comment 5•19 years ago
|
||
Patch checked in (with nit) to trunk and MOZILLA_1_8_BRANCH
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•