Skip to content
Snippets Groups Projects
  1. Mar 23, 2017
    • Makoto Kato's avatar
      Bug 943287 - Part 2. Use ICU version of nsICollation on all platform. r=hsivonen · 80c217bb
      Makoto Kato authored
      nsICollation for macOS version uses ICU, so we should use it on all platform since nightly and aurora can use ICU on all platform.
      
      MozReview-Commit-ID: 4nTzDCjOQXJ
      
      --HG--
      rename : intl/locale/tests/unit/test_collation_mac_icu.js => intl/locale/tests/unit/test_collation.js
      extra : rebase_source : 3b47f9a521e79be929bb4c39d0c68b9438075e4c
      80c217bb
    • Makoto Kato's avatar
      Bug 943287 - Part 1. Rename nsCollation.cpp to nsCollationFactory.cpp. r=hsivonen · aa97ad58
      Makoto Kato authored
      nsCollation.cpp implements nsCollationFactory and nsCollation utils classes.
      To remove nsIPlatfromCharset dependency, I would like to remove nsCollaction utils class.  So at first, I would like to rename it to nsCollactionFactory.cpp. (then, nsICollation implementation will be nsCollation.cpp)
      
      MozReview-Commit-ID: FaG3vfzi9cl
      
      --HG--
      rename : intl/locale/nsCollation.cpp => intl/locale/nsCollationFactory.cpp
      rename : intl/locale/nsCollation.h => intl/locale/nsCollationFactory.h
      extra : rebase_source : 25eebf52634310891d1bbcc974635b5cc4b1c402
      aa97ad58
  2. Mar 24, 2017
    • L. David Baron's avatar
      Bug 1350149 - Make display-reflow print reflow status in more cases. r=dholbert · 7e875bb6
      L. David Baron authored
      This makes the display-reflow information for
      layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-4.html
      more clear, since it means we include previously-omitted
      inline-break-before statuses (not really inline in this case!), such as:
        status=[Complete=Y,NIF=N,Truncated=N,Break=B,FirstLetter=N]
      
      It was useful when debugging various tests for bug 1308876.
      
      MozReview-Commit-ID: AL38FH6wuOa
      
      --HG--
      extra : transplant_source : 15%21%86%3C%1B%5C%C5s%7C9%26%FEo%B5%20%F7%E6%E4x
      7e875bb6
    • Timothy Nikkel's avatar
      Bug 1343341. In FrameAnimator look up our frames once and pass them around. r=aosmond · 2776a4ad
      Timothy Nikkel authored
      The SurfaceCache can discard on any thread at any time. So we could be in the middle of advancing frames of a fully decoded animated image and then the frames could disappear out from under us.
      
      Making the code deal with that kind of a situation would make the logic very complicated. So instead just look up the frames once and pass them around, that way they never change during while we are advancing the frame.
      2776a4ad
  3. Mar 23, 2017
  4. Mar 22, 2017
  5. Mar 18, 2017
  6. Mar 21, 2017
  7. Mar 24, 2017
  8. Mar 17, 2017
  9. Mar 18, 2017
  10. Mar 24, 2017
  11. Mar 20, 2017
    • Kris Maglione's avatar
      Bug 1348442: Part 1 - Allow loading preloaded stylesheets asynchronously. r=heycam · dabd3270
      Kris Maglione authored
      These changes allow us to asynchronously load pre-loaded stylesheets, in a way
      that's similar to ChromeUtils.compileScript. The new method returns a Promise
      which resolves to the preloaded sheet once it's finished loading.
      
      This will allow us to remove the last remaining use of synchronous channels in
      moz-extension: URLs.
      
      MozReview-Commit-ID: 7J52ff93YKT
      
      --HG--
      extra : rebase_source : 20fa013cdc7f5fbedb5ce671ede17765a2abbac2
      dabd3270
  12. Mar 21, 2017
  13. Mar 24, 2017
    • Chris Pearce's avatar
      Bug 1315850 - Ask the GMPService for the GMP thread in GMPParent::ChildTerminated. r=gerald · 0901ad82
      Chris Pearce authored
      When we shutdown the browser while the GMPService is active we can end up
      leaking a GMPParent, GeckoMediaPluginServiceParent, and a Runnable. I tracked
      this down to the runnable dispatched to the GMP thread in
      GMPParent::ChildTerminated(). The dispatch of this runnable is failing as we
      are dispatching the runnable to a reference of the GMP thread which we have
      previously acquired, but that thread is now shutdown. So the dispatch fails,
      and if you look in nsThread::DispatchInternal() you'll see that we deliberately
      leak the runnable if dispatch fails! The runnable leaking means that the
      references it holds to the GMPParent and the GMP service parent leak.
      
      The solution in this patch is to not cache a reference to the GMP thread on the
      GMPParent; instead we re-request the GMP thread from the GMPService when we
      want it. This means that in the case where the browser is shutting down,
      GMPParent::GMPThread() will return null, and we'll not leak the runnable. We'll
      then follow the (hacky) shutdown path added in bug 1163239.
      
      We also need to change GMPParent::GMPThread() and GMPContentParent::GMPThread()
      to return a reference to the GMP thread with a refcount held on it, in order
      to ensure we don't race with the GMP service shutting down the GMP thread
      while we're trying to dispatch to in on shutdown.
      
      MozReview-Commit-ID: CXv9VZqTRzY
      
      --HG--
      extra : rebase_source : e507e48ee633cad8911287fb7296bbb1679a7bcb
      0901ad82
  14. Mar 14, 2017
  15. Mar 12, 2017
    • Chris Pearce's avatar
      Bug 1315850 - Rename DetailedPromise Status enum. r=gerald · e156a08c
      Chris Pearce authored
      X11.h #defines 'Status' and 'Failed' and 'Succeeded' which conflicts with
      the enum in DetailedPromise. So rename the 'Status' enum in DetailedPromise
      so that the build works on Linux.
      
      Some of my changes here caused DetailedPromise to be included in more
      places that it was before, which caused build failures on Linux.
      
      MozReview-Commit-ID: KV5xKixXR3J
      
      --HG--
      extra : rebase_source : ef6cab901d74b78f613660f263f5e453d6044536
      e156a08c
  16. Mar 09, 2017
  17. Mar 22, 2017
  18. Mar 09, 2017
  19. Mar 07, 2017
  20. Feb 14, 2017
  21. Mar 08, 2017
    • Chris Pearce's avatar
      Bug 1315850 - Implement video decoding through CDM. r=jya · 6f73601a
      Chris Pearce authored
      At this stage, I store video frames in memory in nsTArrays rather than in
      shmems just so we can get this working. Once this is working, I'll follow up
      with patches to switch to storing all large buffer traffic between the CDM and
      other processes in shmems.
      
      I'm not planning on preffing this new CDM path on until that's in place.
      
      MozReview-Commit-ID: LSTb42msWQS
      
      --HG--
      extra : rebase_source : b7f162515a1a32b2c344c11d0fa5c7004cec2e15
      6f73601a
  22. Mar 09, 2017
  23. Mar 13, 2017
    • Chris Pearce's avatar
      Bug 1315850 - Add threadsafe ChromiumCDMProxy::GetCDMParent. r=gerald · 33d324d5
      Chris Pearce authored
      The MediaKeys accesses the ChromiumCDMProxy on the main thread. But the
      ChromiumCDMVideoDecoder will need to access the ChromiumCDMProxy on the decode
      task queue in order to get a reference to the ChromiumCDMParent so that it can
      talk to the CDM (on the GMP thread).
      
      Additionally we'll need to shutdown the ChromiumCDMProxy, and if we do that
      on the main threrad while the ChromiumCDMVideoDecoder is trying to get the
      ChromiumCDMParent reference, we could hit thread safety issues.
      
      So we need to hold a lock while reading or writing from the ChromiumCDMProxy's
      reference to the ChromiumCDMParent. So add a GetCDMParent() function to the
      ChromiumCDMProxy which takes the lock while reading or writing the reference.
      
      This means that the caller will always get a valid reference. There is no guarantee
      that the ChromiumCDMParent isn't shutdown after the reference is taken; if that
      happens, the ChromiumCDMParent returned will fail on all operations.
      
      In a later patch in this series, the ChromiumCDMProxy will anull its reference
      to the ChromiumCDMParent on shutdown, and cause GetCDMParent to return null.
      So callers need to null check the return value of GetCDMParent.
      
      MozReview-Commit-ID: 4xL41YbwkxL
      
      --HG--
      extra : rebase_source : aa854e9d88965d7da60231d6f6a3912bf6ad2eeb
      33d324d5
  24. Mar 08, 2017
  25. Mar 09, 2017
  26. Dec 14, 2016
    • Chris Pearce's avatar
      Bug 1315850 - Add CDMProxy::AsChromiumCDMProxy(). r=gerald · c60d6c12
      Chris Pearce authored
      This means the EME PDM implementation can safely tell when a CDMProxy is a
      ChromiumCDMProxy, so we can create an appropriate MediaDataDecoder for it (in
      the next patch).
      
      MozReview-Commit-ID: CpL6QRa7SwJ
      
      --HG--
      extra : rebase_source : 3821c378c73067066f3cc67499680bdf546fb4f0
      c60d6c12
  27. Feb 19, 2017
  28. Mar 08, 2017
  29. Nov 30, 2016
  30. Mar 08, 2017
Loading