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

Unified Diff: LayoutTests/fast/css/fontfaceset-set-operations-expected.txt

Issue 137253005: [Font Load Events] Partial implementation of SetClass operations for FontFaceSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix callback arguments Created 6 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-set-operations.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
diff --git a/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt b/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12327a639d86c18f69d49d39a46a605f4687a405
--- /dev/null
+++ b/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt
@@ -0,0 +1,22 @@
+Tests Set operations of FontFaceSet.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.fonts.size is 3
+PASS callbackArgs[0] === callbackArgs[1] is true
+PASS callbackArgs[2] === document.fonts is true
+PASS thisValue === thisArg is true
+PASS faces.length is 3
+PASS faces[0].family is "Font1"
+PASS faces[1].family is "Font2"
+PASS faces[2].family is "Font3"
+PASS document.fonts.has(faces[0]) is true
+PASS document.fonts.has(faces[1]) is true
+PASS document.fonts.has(faces[2]) is true
+PASS document.fonts.has(new FontFace("MyFont", "local(Arial)", {})) is false
+PASS document.fonts.has("Font1") threw exception TypeError: Failed to execute 'has' on 'FontFaceSet': The argument is not a FontFace..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/css/fontfaceset-set-operations.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698