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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/fontfacesetloadevent-constructor.html

Issue 2841903002: Upstream FontFaceSetLoadEvent constructor test to wpt (Closed)
Patch Set: Add <link rel="help"> Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>FontFaceSetLoadEvent Constructor</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script>
6 test(function() {
7 var ff = [];
8 var e = new FontFaceSetLoadEvent('type');
9 assert_array_equals(e.fontfaces, ff);
10 assert_not_equals(e.fontfaces, ff);
11 }, 'Test FontFaceSetLoadEvent constructor without FontFaceSetLoadEventInit dic tionary');
12
13 test(function() {
14 var ff = [ new FontFace('family', 'src') ];
15 var e = new FontFaceSetLoadEvent('type', { fontfaces: ff });
16 assert_array_equals(e.fontfaces, ff);
17 assert_not_equals(e.fontfaces, ff);
18 }, 'Test FontFaceSetLoadEvent constructor with FontFaceSetLoadEventInit dictio nary');
19 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698