build/dumbmake-dependencies
author Andrew Osmond <aosmond@mozilla.com>
Tue, 24 Apr 2018 13:51:35 -0400
changeset 415325 1173dccd114e1c86047a6f01e341cf1c4ea8fe9c
parent 406874 af5fa4cbcf26422e4bb0693920c13db600b0ae84
permissions -rw-r--r--
Bug 1444537 - Part 3. Fix how redecode errors could cause animated image state inconsistencies. r=tnikkel We can discard frames from an animated image if the memory footprint exceeds the threshold. This will cause us to redecode frames on demand instead. However decoders can fail to produce the same results on subsequent runs due to differences in memory pressure, etc. If this happens our state can get inconsistent. In particular, if we keep failing on the first frame, we end up in an infinite loop on the decoder thread. Since we don't have the owning image to signal, as we had to release our reference to it after the first pass, we can do little but stop decoding. From the user's perspective, the animation will come to a stop.

toolkit/library
  dom
    ipc
    security/sandbox
  ipc
  netwerk/build
    netwerk
  storage/build
    storage
  xpcom
    chrome
  extensions
  docshell/build
    docshell
    uriloader
  modules
  widget
  gfx
  toolkit/components/build
    toolkit/components
  security/manager
    security/certverifier
      security/build
  accessible
  dom
  content
  layout
  editor
  parser
  js/src
    mfbt
  js/xpconnect
    js/xpconnect/loader
  view
  caps
  xpfe/appshell
  xpfe/components
  js
  toolkit
  rdf/build
  embedding
  hal
  image/build
    image
  intl/build
    intl
  media
  profile
  services
  startupcache
  devtools/platform
  devtools/server
  devtools/shared
browser/app
  browser/base
  browser/components
  devtools/client
  browser/locales
  browser/modules
  browser/themes
  toolkit
  toolkit/components
  toolkit/components/downloads
  toolkit/content
  toolkit/crashreporter
  toolkit/forgetaboutsite
  toolkit/identity
  toolkit/modules
  toolkit/mozapps/extensions
  toolkit/profile
  toolkit/themes
  toolkit/webapps