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

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

Issue 2579513005: Expose FontFaceSetLoadEvent and add a constructor for it (Closed)
Patch Set: Fix compile err Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/FontFaceSetLoadEvent.idl » ('j') | 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 assert_equals(new FontFaceSetLoadEvent('type').fontfaces, undefined);
foolip 2016/12/15 16:37:45 Does this not fail? I would expect assert_array_eq
8 }, 'Test FontFaceSetLoadEvent constructor without FontFaceSetLoadEventInit dic tionary');
9
10 test(function() {
11 var ff = [ new FontFace('family', 'src') ];
12 assert_equals(new FontFaceSetLoadEvent('type', { fontfaces: ff }).fontfaces,
foolip 2016/12/15 16:37:45 I filed https://github.com/w3c/csswg-drafts/issues
13 ff);
14 }, 'Test FontFaceSetLoadEvent constructor with FontFaceSetLoadEventInit dictio nary');
15 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/FontFaceSetLoadEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698