| Test load events for a font family consists of multiple @font-faces, including download error. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| PASS event.fontfaces.length is 1 |
| PASS event.fontfaces[0].unicodeRange is "U+0-10FFFF" |
| PASS event.fontfaces[0].status is "loaded" |
| PASS event.fontfaces.length is 1 |
| PASS event.fontfaces[0].unicodeRange is "U+61-7A" |
| PASS event.fontfaces[0].status is "error" |
| PASS document.fonts.check('10px TestFont', 'abc') is false |
| PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |