aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/mozilla/meta/MANIFEST.json9
-rw-r--r--tests/wpt/mozilla/tests/mozilla/canvas/toblob-then-change-size-crash.html8
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 2cf09181acc..e1817a3dacc 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -9,6 +9,15 @@
{}
]
],
+ "canvas": {
+ "toblob-then-change-size-crash.html": [
+ "355474b4832dde985a73baad925702bbb0cbc73f",
+ [
+ null,
+ {}
+ ]
+ ]
+ },
"datatransferitem-crash.html": [
"d11355ab38c1e99e0ba3e10d7dfed18bf26af60b",
[
diff --git a/tests/wpt/mozilla/tests/mozilla/canvas/toblob-then-change-size-crash.html b/tests/wpt/mozilla/tests/mozilla/canvas/toblob-then-change-size-crash.html
new file mode 100644
index 00000000000..355474b4832
--- /dev/null
+++ b/tests/wpt/mozilla/tests/mozilla/canvas/toblob-then-change-size-crash.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<!-- https://github.com/servo/servo/issues/36702 -->
+<canvas id="canvas"></canvas>
+<script>
+ canvas.toBlob(() => {});
+ canvas.width = 0;
+</script>
+