| OLD | NEW |
| 1 CONSOLE WARNING: document.fonts.ready() method is going to be replaced with docu
ment.fonts.ready attribute in future releases. Please be prepared. For more help
, check https://code.google.com/p/chromium/issues/detail?id=392077#c3 . | |
| 2 Test download error cases. | 1 Test download error cases. |
| 3 | 2 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 4 |
| 6 | 5 |
| 7 PASS event.fontfaces.length is 1 | 6 PASS event.fontfaces.length is 1 |
| 8 PASS event.fontfaces[0].family is "myfont4" | 7 PASS event.fontfaces[0].family is "myfont4" |
| 9 PASS event.fontfaces.length is 4 | 8 PASS event.fontfaces.length is 4 |
| 10 PASS failedFonts is ['myfont1', 'myfont2', 'myfont3', 'myfont5'] | 9 PASS failedFonts is ['myfont1', 'myfont2', 'myfont3', 'myfont5'] |
| 11 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] | 10 PASS firedEvents is ['loading', 'loadingdone', 'loadingerror'] |
| 12 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 13 | 12 |
| 14 TEST COMPLETE | 13 TEST COMPLETE |
| 15 font1 | 14 font1 |
| 16 font2 | 15 font2 |
| 17 font3 | 16 font3 |
| 18 font4 | 17 font4 |
| 19 font5 | 18 font5 |
| OLD | NEW |