1. 15 Jan, 2021 1 commit
    • Kathleen Brade's avatar
      Bug 4234: Use the Firefox Update Process for Tor Browser. · 9e8c0b0b
      Kathleen Brade authored and Matthew Finkel's avatar Matthew Finkel committed
      The following files are never updated:
        TorBrowser/Data/Browser/profiles.ini
        TorBrowser/Data/Browser/profile.default/bookmarks.html
        TorBrowser/Data/Tor/torrc
      Mac OS: Store update metadata under TorBrowser/UpdateInfo.
      Removed the %OS_VERSION% component from the update URL (13047) and
        added support for minSupportedOSVersion, an attribute of the
        <update> element that may be used to trigger Firefox's
        "unsupported platform" behavior.
      Hide the "What's new" links (set app.releaseNotesURL value to about:blank).
      Windows: disable "runas" code path in updater (15201).
      Windows: avoid writing to the registry (16236).
      Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406,
        16014, 16909, 24476, and 25909.
      
      Also fix Bug 26049: reduce the delay before the update prompt is displayed.
      Instead of Firefox's 2 days, we use 1 hour (after which time the update
      doorhanger will be displayed).
      
      Also fix bug 27221: purge the startup cache if the Tor Browser
      version changed (even if the Firefox version and build ID did
      not change), e.g., after a minor Tor Browser update.
      
      Also fix 32616: Disable GetSecureOutputDirectoryPath() functionality.
      
      Bug 26048: potentially confusing "restart to update" message
      
      Within the update doorhanger, remove the misleading message that mentions
      that windows will be restored after an update is applied, and replace the
      "Restart and Restore" button label with an existing
      "Restart to update Tor Browser" string.
      
      Bug 28885: notify users that update is downloading
      
      Add a "Downloading Tor Browser update" item which appears in the
      hamburger (app) menu while the update service is downloading a MAR
      file. Before this change, the browser did not indicate to the user
      that an update was in progress, which is especially confusing in
      Tor Browser because downloads often take some time. If the user
      clicks on the new menu item, the about dialog is opened to allow
      the user to see download progress.
      
      As part of this fix, the update service was changed to always show
      update-related messages in the hamburger menu, even if the update
      was started in the foreground via the about dialog or via the
      "Check for Tor Browser Update" toolbar menu item. This change is
      consistent with the Tor Browser goal of making sure users are
      informed about the update process.
      
      Removed #28885 parts of this patch which have been uplifted to Firefox.
      9e8c0b0b
  2. 13 Oct, 2020 1 commit
  3. 06 Oct, 2020 1 commit
    • Kirk Steuber's avatar
      Bug 1668096 - Replace activeUpdate with downloadingUpdate and readyUpdate... · 839b14ef
      Kirk Steuber authored
      Bug 1668096 - Replace activeUpdate with downloadingUpdate and readyUpdate r=mhowell,preferences-reviewers
      
      This patch does not make the necessary replacement in tests. Those changes will be made in a later patch in this stack.
      
      Some additional, related changes are also made in this patch:
      cleanupActiveUpdate is being replaced with cleanupDownloadingUpdate and cleanupReadyUpdate. The two new functions currently do very similar things, but separating them will allow us to have each function clean up the right update, once we fully support more than one update per session.
      The old mechanism to add something to the update history was for it to be assigned to activeUpdate, and then to assign null to activeUpdate. We now need to assign active updates to be null without adding them to the history. As an example, we need to set downloadingUpdate to null when the download completes, but it shouldn't be added to the history at that point. To address this, an explicit addUpdateToHistory function has been added, and assigning null to either active update variable no longer moves the update to the update history.
      
      Differential Revision: https://phabricator.services.mozilla.com/D92289
      839b14ef
  4. 30 Oct, 2020 3 commits
  5. 10 Jul, 2020 1 commit
  6. 15 May, 2020 1 commit
  7. 12 May, 2020 1 commit
  8. 05 May, 2020 1 commit
    • Ian Moody's avatar
      Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception.... · 011b59d5
      Ian Moody authored
      Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
      
      Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
      of `new Error()`s.
      
      This was done automatically with a new eslint rule that will be introduced in
      the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
      used in a test that specifically checks the preservation of raw Cr values in
      XPCJS.  The rule will be disabled for that instance.
      
      Differential Revision: https://phabricator.services.mozilla.com/D28073
      011b59d5
  9. 29 Apr, 2020 1 commit
  10. 07 Nov, 2019 1 commit
    • Dave Townsend's avatar
      Bug 1513855: Make sure that quit-application-granted and quit-application... · 8b06289b
      Dave Townsend authored
      Bug 1513855: Make sure that quit-application-granted and quit-application notifications are always sent. r=froydnj
      
      We only run the main event loop if at least one window is open. There are various
      cases where this doesn't happen, such as -silent. By the time we get there though
      some components have started and require appropriate notifications to tell them
      to shutdown safely. This patch sends the quit-application-granted and
      quit-application notifications in the case that there were no windows open
      and nsAppStartup::Quit hasn't already been called when we come to run the
      event loop.
      
      Differential Revision: https://phabricator.services.mozilla.com/D51736
      
      --HG--
      extra : moz-landing-system : lando
      8b06289b
  11. 04 Nov, 2019 1 commit
  12. 18 Oct, 2019 1 commit
  13. 04 Oct, 2019 1 commit
  14. 31 Aug, 2019 2 commits
  15. 30 Aug, 2019 1 commit
  16. 15 Aug, 2019 1 commit
  17. 14 Aug, 2019 1 commit
  18. 16 Aug, 2019 1 commit
  19. 08 Aug, 2019 1 commit
  20. 20 Aug, 2019 1 commit
  21. 30 Jul, 2019 1 commit
  22. 10 Jul, 2019 1 commit
  23. 09 Jul, 2019 1 commit
  24. 28 Jun, 2019 1 commit
  25. 05 Jul, 2019 1 commit
  26. 12 Jun, 2019 1 commit
  27. 30 May, 2019 1 commit
  28. 09 Apr, 2019 1 commit
  29. 15 Mar, 2019 1 commit
  30. 28 Feb, 2019 2 commits
  31. 19 Feb, 2019 1 commit
  32. 14 Feb, 2019 1 commit
    • Csoregi Natalia's avatar
      Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on... · ecd94d69
      Csoregi Natalia authored
      Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
      
      Backed out changeset 68a001a42406 (bug 1524687)
      Backed out changeset 328de611bcd3 (bug 1524688)
      Backed out changeset 68cffca6927a (bug 1524687)
      Backed out changeset 81dc12cc9257 (bug 1524688)
      Backed out changeset c7c49f64048f (bug 1524688)
      Backed out changeset fb23a0271da0 (bug 1524688)
      Backed out changeset 0c1d1248e59e (bug 1524688)
      Backed out changeset 9e9ec7de4160 (bug 1524688)
      Backed out changeset de0b9993bd5d (bug 1524688)
      Backed out changeset 92877cf4fe33 (bug 1524688)
      Backed out changeset b4938f2ff8fd (bug 1524688)
      Backed out changeset 230d2feaf941 (bug 1524688)
      Backed out changeset 6c63bc240972 (bug 1524688)
      Backed out changeset 0ad5465eace1 (bug 1524688)
      Backed out changeset 1e75ce91029b (bug 1524688)
      Backed out changeset 34a978503b1d (bug 1524688)
      Backed out changeset 183602e8a30b (bug 1524688)
      Backed out changeset 12a9135dc005 (bug 1524688)
      Backed out changeset 978ef5dac9db (bug 1524688)
      Backed out changeset 28105bf7bf6a (bug 1524688)
      Backed out changeset a9fb74beaf2b (bug 1524688)
      Backed out changeset fe106b369a72 (bug 1524688)
      Backed out changeset e657e77d4271 (bug 1524688)
      Backed out changeset 09f626870ad0 (bug 1524688)
      Backed out changeset fe9b6695212e (bug 1524688)
      Backed out changeset 995ea188bc31 (bug 1524688)
      Backed out changeset 01c4d3edb1b0 (bug 1524688)
      Backed out changeset 1bb7dfbb9f48 (bug 1524688)
      Backed out changeset 56c61e0a1f45 (bug 1524688)
      Backed out changeset c819943ff466 (bug 1524688)
      Backed out changeset a1dd5cec066e (bug 1524688)
      Backed out changeset 517838ee0c3c (bug 1524688)
      Backed out changeset f509a5759fdf (bug 1524688)
      Backed out changeset 56f5c8f0d708 (bug 1524688)
      Backed out changeset 5746311ef859 (bug 1524688)
      Backed out changeset df02f7d25212 (bug 1524688)
      Backed out changeset c9846136d105 (bug 1524688)
      Backed out changeset 2bd48db9cd0f (bug 1524688)
      Backed out changeset ff120b4eeb79 (bug 1524688)
      Backed out changeset fe583e7aae8d (bug 1524688)
      Backed out changeset 18f156d6355a (bug 1524688)
      Backed out changeset f4eaebbe2e0f (bug 1524688)
      Backed out changeset bf6b18e23f69 (bug 1524688)
      Backed out changeset dd89eb7e9b0d (bug 1524688)
      Backed out changeset 4cbbb367ba0b (bug 1524688)
      Backed out changeset 4ed0cf6be580 (bug 1524688)
      Backed out changeset d8efb5ed62b1 (bug 1524688)
      Backed out changeset ea347d57d73a (bug 1524688)
      Backed out changeset 911689ef9f33 (bug 1524688)
      Backed out changeset 28670fdc418d (bug 1524688)
      Backed out changeset 38e1e42a0fb0 (bug 1524688)
      Backed out changeset 35a5f031dd1e (bug 1524688)
      Backed out changeset b586d55d76d5 (bug 1524688)
      Backed out changeset 6dcacead1746 (bug 1524688)
      Backed out changeset 9895239d8ac6 (bug 1524688)
      Backed out changeset 25f982fd53bd (bug 1524688)
      Backed out changeset 4fb0f0a59fe2 (bug 1524688)
      Backed out changeset fdc6c4ed241a (bug 1524688)
      Backed out changeset 5ce5986068f0 (bug 1524688)
      Backed out changeset ab64ed7388ae (bug 1524688)
      Backed out changeset 56607c5a301a (bug 1524688)
      Backed out changeset 6b3684e7d8f9 (bug 1524688)
      Backed out changeset ee28258a5724 (bug 1524688)
      Backed out changeset 9201a7ea3c54 (bug 1524688)
      Backed out changeset d5dca413e2da (bug 1524688)
      Backed out changeset 68eb174a337b (bug 1524688)
      Backed out changeset 625f71135038 (bug 1524687)
      Backed out changeset 46e13c453538 (bug 1524687)
      Backed out changeset 614be688767f (bug 1524687)
      Backed out changeset 9c24919ac5c2 (bug 1524687)
      Backed out changeset b9862758b98c (bug 1524687)
      Backed out changeset 92d9e927deec (bug 1524687)
      Backed out changeset f4ee175bc5bd (bug 1524687)
      Backed out changeset 191afe83da2e (bug 1524687)
      Backed out changeset c58caf41bb94 (bug 1524687)
      Backed out changeset df95a56dae04 (bug 1524687)
      Backed out changeset 10c69df4444d (bug 1524687)
      Backed out changeset 219b84a58f50 (bug 1524687)
      Backed out changeset e96e61bd282f (bug 1524687)
      
      --HG--
      rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
      rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
      rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
      rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
      rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
      rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
      rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
      rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
      rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
      rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
      rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
      rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
      rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
      rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
      rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
      rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
      rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
      rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
      rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
      rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
      rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
      rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
      rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
      rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
      rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
      rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
      rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
      rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
      rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
      rename : dom/push/Push.jsm => dom/push/Push.js
      rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
      rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
      rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
      rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
      rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
      rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
      rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
      rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
      rename : services/sync/Weave.jsm => services/sync/Weave.js
      rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
      rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
      rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
      rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
      rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
      rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
      rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
      rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
      rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
      rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
      rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
      rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
      rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
      rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
      rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
      rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
      rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
      rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
      rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
      rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
      rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
      rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
      rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
      rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
      rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
      rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
      rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
      rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
      rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
      rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
      rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
      rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
      rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
      rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
      rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
      rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
      rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
      rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
      rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
      rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
      rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
      rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
      rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
      rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
      rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
      rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
      rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
      rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
      rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
      rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
      rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
      ecd94d69
  33. 30 Jan, 2019 3 commits
  34. 25 Jan, 2019 1 commit