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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt

Issue 1481983002: Drop [LegacyInterfaceTypeChecking] where trivial in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests Created 5 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 Tests Set operations of FontFaceSet. 1 Tests Set operations of FontFaceSet.
2 2
3 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 ".
4 4
5 5
6 PASS document.fonts.size is 3 6 PASS document.fonts.size is 3
7 check forEach 7 check forEach
8 PASS callbackArgs[0] is an instance of FontFace 8 PASS callbackArgs[0] is an instance of FontFace
9 PASS callbackArgs[0] === callbackArgs[1] is true 9 PASS callbackArgs[0] === callbackArgs[1] is true
10 PASS callbackArgs[2] === document.fonts is true 10 PASS callbackArgs[2] === document.fonts is true
(...skipping 25 matching lines...) Expand all
36 PASS entry[0] === entry[1] is true 36 PASS entry[0] === entry[1] is true
37 PASS entry[0] === entry[1] is true 37 PASS entry[0] === entry[1] is true
38 PASS entry[0] === entry[1] is true 38 PASS entry[0] === entry[1] is true
39 PASS faces.length is 3 39 PASS faces.length is 3
40 PASS faces[0].family is "Font1" 40 PASS faces[0].family is "Font1"
41 PASS faces[1].family is "Font2" 41 PASS faces[1].family is "Font2"
42 PASS faces[2].family is "Font3" 42 PASS faces[2].family is "Font3"
43 PASS document.fonts.has(faces[0]) is true 43 PASS document.fonts.has(faces[0]) is true
44 PASS document.fonts.has(faces[1]) is true 44 PASS document.fonts.has(faces[1]) is true
45 PASS document.fonts.has(faces[2]) is true 45 PASS document.fonts.has(faces[2]) is true
46 PASS document.fonts.has(null) threw exception TypeError: Failed to execute 'has' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
47 PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'h as' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
48 PASS document.fonts.add(null) threw exception TypeError: Failed to execute 'add' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
49 PASS document.fonts.add("Font1") threw exception TypeError: Failed to execute 'a dd' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
50 PASS document.fonts.delete(null) threw exception TypeError: Failed to execute 'd elete' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
51 PASS document.fonts.delete("Font1") threw exception TypeError: Failed to execute 'delete' on 'FontFaceSet': parameter 1 is not of type 'FontFace'..
46 PASS document.fonts.has(nonCssConnectedFace) is false 52 PASS document.fonts.has(nonCssConnectedFace) is false
47 PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'h as' on 'FontFaceSet': The argument is not a FontFace..
48 PASS document.fonts.add(faces[0]) did not throw exception. 53 PASS document.fonts.add(faces[0]) did not throw exception.
49 PASS document.fonts.size is 3 54 PASS document.fonts.size is 3
50 PASS document.fonts.delete(faces[0]) is false 55 PASS document.fonts.delete(faces[0]) is false
51 PASS document.fonts.size is 3 56 PASS document.fonts.size is 3
52 PASS document.fonts.size is 4 57 PASS document.fonts.size is 4
53 PASS document.fonts.has(nonCssConnectedFace) is true 58 PASS document.fonts.has(nonCssConnectedFace) is true
54 PASS document.fonts.size is 4 59 PASS document.fonts.size is 4
55 PASS document.fonts.size is 3 60 PASS document.fonts.size is 3
56 PASS document.fonts.has(nonCssConnectedFace) is false 61 PASS document.fonts.has(nonCssConnectedFace) is false
57 PASS document.fonts.size is 3 62 PASS document.fonts.size is 3
58 PASS document.fonts.size is 4 63 PASS document.fonts.size is 4
59 PASS document.fonts.size is 3 64 PASS document.fonts.size is 3
60 PASS successfullyParsed is true 65 PASS successfullyParsed is true
61 66
62 TEST COMPLETE 67 TEST COMPLETE
63 68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698