2 <script src=
"../../resources/js-test.js"></script>
4 description('Tests that fontFace.load() promise is resolved when fontface object is unreachable from JS');
6 window
.jsTestIsAsync
= true;
8 var fontFace
= new FontFace('ahem', 'url(../../resources/Ahem.ttf)');
9 document
.fonts
.add(fontFace
);
10 fontFace
.load().then(function() {
11 debug("PASS load() promise resolved");