Index: LayoutTests/web-animations-api/font-builder-crash.html |
diff --git a/LayoutTests/web-animations-api/font-builder-crash.html b/LayoutTests/web-animations-api/font-builder-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ca4566495b3b823dc8153dec136c4a98d4371dbf |
--- /dev/null |
+++ b/LayoutTests/web-animations-api/font-builder-crash.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<div id="target">This test passes if it does not crash.</div> |
+<script> |
+target.animate([ |
+ {fontSize: 'large', fontWeight: 'normal'}, |
+ {fontSize: 'small', fontWeight: 'bold'}, |
+], 1); |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+requestAnimationFrame(function() { |
+ testRunner.notifyDone(); |
+}); |
+</script> |