chromium/third_party/blink/web_tests/fast/canvas/invalid-set-font-crash.html

<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>

<script>
function runTest()
{
    var ctx = document.createElement("canvas").getContext("2d");
    ctx.font = "font-family: Helvetica; font-size: 48pt; font-color: #000000";
    ctx.fillText("Hello world", 10, 200);
}

async_test(t => {
    window.onload = function() {
        t.step(runTest);
        t.done();
    }
}, 'Verify that setting the font does not crash.');
</script>