1. 07 Dec, 2020 2 commits
  2. 04 Dec, 2020 1 commit
  3. 06 Dec, 2020 1 commit
  4. 04 Dec, 2020 2 commits
  5. 23 Nov, 2020 2 commits
  6. 09 Jun, 2020 1 commit
  7. 30 Nov, 2020 1 commit
  8. 01 Dec, 2020 1 commit
  9. 13 Nov, 2020 1 commit
  10. 16 Nov, 2020 1 commit
  11. 03 Dec, 2020 2 commits
  12. 20 Nov, 2020 1 commit
  13. 16 Nov, 2020 1 commit
  14. 13 Nov, 2020 1 commit
  15. 30 Nov, 2020 1 commit
  16. 19 Nov, 2020 1 commit
  17. 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
  18. 05 Nov, 2020 1 commit
  19. 02 Dec, 2020 1 commit
  20. 01 Dec, 2020 1 commit
  21. 03 Dec, 2020 1 commit
  22. 01 Dec, 2020 1 commit
  23. 18 Nov, 2020 1 commit
  24. 16 Nov, 2020 3 commits
  25. 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
  26. 26 Oct, 2020 2 commits
  27. 22 Oct, 2020 1 commit
  28. 15 Oct, 2020 1 commit
  29. 26 Nov, 2020 2 commits
  30. 30 Nov, 2020 1 commit
  31. 26 Nov, 2020 1 commit
  32. 23 Nov, 2020 1 commit