summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/crash/iframe-dup.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/crash/iframe-dup.yaml')
-rw-r--r--gfx/wr/wrench/reftests/crash/iframe-dup.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/crash/iframe-dup.yaml b/gfx/wr/wrench/reftests/crash/iframe-dup.yaml
new file mode 100644
index 0000000000..792caba3c8
--- /dev/null
+++ b/gfx/wr/wrench/reftests/crash/iframe-dup.yaml
@@ -0,0 +1,21 @@
+# Ensure that a duplicated iframe reference doesn't cause a panic in WR
+---
+root:
+ items:
+ -
+ type: iframe
+ id: [1, 2]
+ bounds: [100, 100, 100, 100]
+ -
+ type: iframe
+ id: [1, 2]
+ bounds: [100, 100, 100, 100]
+
+pipelines:
+ -
+ id: [1, 2]
+ items:
+ -
+ type: "rect"
+ color: [255, 0, 0, 1]
+ bounds: [100, 100, 100, 100]