shouldBeTrue("document.fonts.check('10px TestFont1')");
shouldBeTrue("document.fonts.check('10px TestFont2')");
shouldBeTrue("document.fonts.check('10px TestFont1, TestFont2')");
+ shouldBeTrue("document.fonts.check('10px Times')");
+ shouldBeTrue("document.fonts.check('10px TestFont1, Times')");
}
function onLoadingError(e) {
shouldBe('failedFonts', "['TestFont3', 'TestFont4']");
shouldBeFalse("document.fonts.check('10px TestFont3')");
shouldBeFalse("document.fonts.check('10px TestFont4')");
+ shouldBeFalse("document.fonts.check('10px TestFont4, Times')");
}
function finish() {