2 <script src=
"../../resources/js-test.js"></script>
6 src: url(file:///no-such-font.ttf);
11 description('Unloaded web fonts should not report Resource Timing');
13 window
.jsTestIsAsync
= true;
15 function getDocumentFontFaces() {
17 document
.fonts
.forEach(function(face
) { faces
.push(face
); });
22 shouldBeEqualToString('getDocumentFontFaces()[0].status', 'unloaded');
23 entries
= performance
.getEntriesByName('file:///no-such-font.ttf');
24 shouldBe('entries.length', '0');
28 if (location
.hash
== '#check') {
29 setTimeout(verify
, 10);
31 location
.hash
= 'check';