Skip to content
Snippets Groups Projects
  1. May 29, 2023
  2. May 03, 2023
  3. Mar 29, 2023
  4. Mar 30, 2023
  5. Jan 10, 2023
  6. Feb 16, 2023
  7. Feb 03, 2023
  8. Nov 08, 2022
  9. Jan 26, 2023
  10. Oct 21, 2022
  11. Oct 19, 2022
  12. Sep 15, 2022
  13. Sep 16, 2022
  14. Sep 06, 2022
  15. Sep 02, 2022
  16. Jul 18, 2022
    • Shane Hughes's avatar
      Bug 1739348 - Don't open downloads panel after download dialogs. r=NeilDeakin, a=RyanVM · 226da410
      Shane Hughes authored
      This is a medium sized patch to legacy download construction. It takes
      advantage of the new property added in Bug 1762033 to prevent the
      downloads panel from being automatically shown when a download is added
      after an interaction with the unknown content type dialog or the file
      picker dialog. I chose to not do the same for failed transfers since I
      thought it might serve some use, but that might be wrong. I don't know
      if there's a way to test the dialog that appears when you download an
      executable without going through the same path I adjusted with the
      patch. It seems like it's covered but I could be wrong. Also add a test
      to cover these changes from the bottom up. Thanks and apologies for my
      sloppy C++, though I'm sure I'll learn a lot more from the review :sweat_smile:
      
      Differential Revision: https://phabricator.services.mozilla.com/D145312
      226da410
  17. May 31, 2022
  18. Jul 27, 2022
  19. Jul 26, 2022
    • Neil Deakin's avatar
      Bug 1779128, rework filename sanitization to ensure that the extension is... · b9d07791
      Neil Deakin authored
      Bug 1779128, rework filename sanitization to ensure that the extension is properly validated, r=Gijs, a=RyanVM
      
      The existing code doesn't use the sanitized extension part of the filename, when it replaces the filename when it is too long but instead used a version passed to SanitizeFileName. This newer version always gets the extension from the filename after it has been validated.
      
      Some tests have slightly different results, because the file is now cropped slightly differently when the character count and byte count of long filenames don't match, resulting in some filenames being cropped a few extra characters more than needed.
      
      Differential Revision: https://phabricator.services.mozilla.com/D151826
      b9d07791
  20. Jul 11, 2022
  21. Jul 07, 2022
  22. May 28, 2022
  23. May 25, 2022
  24. May 24, 2022
  25. May 20, 2022
  26. May 17, 2022
    • Andrew McCreight's avatar
      Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance.... · c8c5c819
      Andrew McCreight authored
      Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
      
      This patch won't actually build, because a few bits of code are used
      for both nsIFactory::createInstance and static components, and static
      components are not fixed until the next patch.
      
      The first place is nsLoadGroupConstructor, which uses an nsIFactory
      macro to create a static component constructor. (This could be worked
      around by expanding the macro to the state before this patch.)
      
      The other issue is that nsAppShellConstructor is used in an nsIFactory
      on OSX, but as a static component on all other platforms. This could
      be worked around by wrapping nsAppShellConstructor in an adaptor that
      passes in the extra null argument to nsAppShellConstructor.
      
      Differential Revision: https://phabricator.services.mozilla.com/D146456
      c8c5c819
  27. May 16, 2022
  28. May 09, 2022
  29. May 06, 2022
Loading