1. 06 Dec, 2020 1 commit
  2. 04 Dec, 2020 2 commits
  3. 23 Nov, 2020 2 commits
  4. 09 Jun, 2020 1 commit
  5. 30 Nov, 2020 1 commit
  6. 01 Dec, 2020 1 commit
  7. 13 Nov, 2020 1 commit
  8. 16 Nov, 2020 1 commit
  9. 03 Dec, 2020 2 commits
  10. 20 Nov, 2020 1 commit
  11. 16 Nov, 2020 1 commit
  12. 13 Nov, 2020 1 commit
  13. 30 Nov, 2020 1 commit
  14. 19 Nov, 2020 1 commit
  15. 09 Nov, 2020 1 commit
    • Masayuki Nakano's avatar
      Bug 1627673 - Do null-check the result of `DragEvent::GetDataTransfer()` in... · 2339763a
      Masayuki Nakano authored
      Bug 1627673 - Do null-check the result of `DragEvent::GetDataTransfer()` in `EditorEventListener``. r=smaug, a=jcristau
      
      I guess that `DataTransfer::HasType()` is inlined in the opt builds and
      actually crashed in `EditorEventListener::DragEventHasSupportingData()`
      at accessing `aDragEvent->GetDataTransfer()` result without null-check
      because `DataTransfer::mItems` is set to `nullptr` only by the cycle
      collector, but it does not make sense to think that it occurs the STR
      in bug 1627673 comment 3.
      
      Therefore, this patch adds null-checks in
      `EditorEventListener::DragEventHasSupportingData()`.
      
      I have no idea how to test this with automated tests.
      
      Differential Revision: https://phabricator.services.mozilla.com/D96310
      2339763a
  16. 05 Nov, 2020 1 commit
  17. 02 Dec, 2020 1 commit
  18. 01 Dec, 2020 1 commit
  19. 03 Dec, 2020 1 commit
  20. 01 Dec, 2020 1 commit
  21. 18 Nov, 2020 1 commit
  22. 16 Nov, 2020 3 commits
  23. 05 Nov, 2020 1 commit
    • Andreas Pehrson's avatar
      Bug 1651745 - Memoize the max channel count in... · dd8dccb3
      Andreas Pehrson authored
      Bug 1651745 - Memoize the max channel count in AudioSegment::MaxChannelCount(). r=padenot, a=jcristau
      
      When an AudioCallbackDriver starts a fallback SystemClockDriver is running in
      its stead. The AudioTrack getting fed data from the input stream of the driver
      will get real data while the AudioCallbackDriver is running, and silence while
      the fallback driver is running.
      
      If the MediaStreamTrack representing the microphone source is part of a
      MediaStream being played by an HTMLMediaElement; and another MediaStreamTrack
      representing another source with a lower channel count than the microphone is
      part of another MediaStream being played by another HTMLMediaElement; then:
      1. We start the graph with the other source's output channel count, and a
         fallback driver.
      2. Once the audio driver has started, it adds data at a higher channel count
         than the graph's to its MediaTrack. The driver switches audio driver to
         match the new channel count.
      3. The new driver starts with a fallback driver, which adds silence to the
         track. Silence has no channel count, so the graph sees only the channel
         count of the other source and switches audio driver to match this.
      4. Go to 1.
      
      This patch fixes makes us memoize a previously returned max channel count for an
      AudioSegment for use when there is only null data (e.g., silence) present in the
      segment. This applies to step 3 above, where no audio driver would be switched
      because the graph still sees the mic's channel count.
      
      Differential Revision: https://phabricator.services.mozilla.com/D95931
      dd8dccb3
  24. 26 Oct, 2020 2 commits
  25. 22 Oct, 2020 1 commit
  26. 15 Oct, 2020 1 commit
  27. 26 Nov, 2020 2 commits
  28. 30 Nov, 2020 1 commit
  29. 26 Nov, 2020 1 commit
  30. 23 Nov, 2020 1 commit
  31. 02 Nov, 2020 1 commit
  32. 30 Oct, 2020 1 commit
  33. 29 Oct, 2020 1 commit
    • Jed Davis's avatar
      Bug 1673770 - Extend the handling of fstatat-as-fstat to sandboxes that don't... · d5e87f35
      Jed Davis authored
      Bug 1673770 - Extend the handling of fstatat-as-fstat to sandboxes that don't use a file broker. r=gcp, a=RyanVM
      
      The fix for bug 1660901, to handle the subset of fstatat that is
      equivalent to fstat, was incomplete: it was added to the existing
      hook for the file broker, so processes that don't use a broker (like
      GMP) didn't get the fix.  That wasn't a problem when the only use of
      that feature was in content processes via GTK, but now that glibc has
      reimplemented fstat that way, it's necessary for all processes.
      
      Differential Revision: https://phabricator.services.mozilla.com/D95108
      d5e87f35