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