summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/mask/missing-mask.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/wr/wrench/reftests/mask/missing-mask.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/mask/missing-mask.yaml b/gfx/wr/wrench/reftests/mask/missing-mask.yaml
new file mode 100644
index 0000000000..124c2cd893
--- /dev/null
+++ b/gfx/wr/wrench/reftests/mask/missing-mask.yaml
@@ -0,0 +1,14 @@
+# Don't crash when supplied an invalid image key for the mask!
+---
+root:
+ items:
+ - type: clip
+ bounds: [0, 0, 95, 88]
+ image-mask:
+ image: invalid
+ rect: [0, 0, 35, 35]
+ repeat: false
+ items:
+ - type: rect
+ bounds: [0, 0, 95, 88]
+ color: blue