Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |