blob: 2bc1b9fce6e931c35c9cd0f52448a93945d10066 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
(function() {
var font = new FontFace("WebFont", "url('notarealfont')", {});
font.loaded;
font.load();
document.fonts.add(font);
})();
if (window.GCController)
GCController.collect();
document.fonts.forEach(function(font) {
if (font.family == "WebFont")
font.loaded;
});
</script>
This test makes sure that if we construct two JSFontFaces for the same FontFace, and call "loaded" on both of them, that there is no ASSERT.
</body>
</html>