summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1161366-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1161366-1.html')
-rw-r--r--layout/style/crashtests/1161366-1.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/style/crashtests/1161366-1.html b/layout/style/crashtests/1161366-1.html
new file mode 100644
index 0000000000..d4eacccdc9
--- /dev/null
+++ b/layout/style/crashtests/1161366-1.html
@@ -0,0 +1,7 @@
+<script>
+var f = new FontFace("x", "url(x.ttf)", { unicodeRange: "U+0041" });
+f.load();
+document.fonts.add(f);
+f = new FontFace("x", "url(x.ttf)", { unicodeRange: "U+0042" });
+f.load();
+</script>