author Glenn Watson <>
Thu, 09 May 2019 21:23:58 +0000
changeset 532146 d8fa440167f565c4553fc09e55caceb6544e2d89
permissions -rw-r--r--
Bug 1524427 - Fix panic when clip mask is supplied with non-existent image key. r=kvark In some cases, Gecko supplies a display item with an image clip mask where the image itself does not exist in the resource cache. In these cases, WR would skip requesting the image, but would still try to fetch the image info during batching, causing a panic. This patch skips adding clip items to the batching pass if the image mask does not exist. It also adds support to wrench for a crash test when the image mask is invalid. Differential Revision:

# Don't crash when supplied an invalid image key for the mask!
    - type: rect
      bounds: [0, 0, 35, 35]
      color: blue