| OLD | NEW |
| 1 CONSOLE WARNING: Failed to decode downloaded font: data:application/x-truetype-f
ont, |
| 2 CONSOLE WARNING: Failed to decode downloaded font: data:application/x-truetype-f
ont, |
| 1 CONSOLE WARNING: Failed to decode downloaded font: invalidfont.png | 3 CONSOLE WARNING: Failed to decode downloaded font: invalidfont.png |
| 2 CONSOLE WARNING: OTS parsing error: invalid version tag | 4 CONSOLE WARNING: OTS parsing error: invalid version tag |
| 3 CONSOLE WARNING: Failed to decode downloaded font: data:application/x-truetype-f
ont, | |
| 4 CONSOLE WARNING: Failed to decode downloaded font: data:application/x-truetype-f
ont, | |
| 5 Test download error cases. | 5 Test download error cases. |
| 6 | 6 |
| 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 8 | 8 |
| 9 | 9 |
| 10 PASS event.fontfaces.length is 1 | 10 PASS event.fontfaces.length is 1 |
| 11 PASS event.fontfaces[0].family is "myfont4" | 11 PASS event.fontfaces[0].family is "myfont4" |
| 12 PASS event.fontfaces.length is 4 | 12 PASS event.fontfaces.length is 4 |
| 13 PASS failedFonts is ['myfont1', 'myfont2', 'myfont3', 'myfont5'] | 13 PASS failedFonts is ['myfont1', 'myfont2', 'myfont3', 'myfont5'] |
| 14 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] | 14 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] |
| 15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 16 | 16 |
| 17 TEST COMPLETE | 17 TEST COMPLETE |
| 18 | 18 |
| OLD | NEW |