blob: b05f21b6d76514e96a076464c5af808f5bae696a [file] [edit]
<!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] -->
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
(function() {
var font = new FontFace("WebFont", "url('notarealfont')", {});
font.load();
})();
if (window.GCController)
GCController.collect();
</script>
<div style="font-family: WebFont;">This test makes sure that our failure load callback doesn't cause a crash if all the references to the FontFace have died. The test passes if there is no crash.</div>
</body>
</html>