Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: LayoutTests/fast/css/fontfaceset-download-error-expected.txt

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-download-error.html ('k') | LayoutTests/fast/css/fontfaceset-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698