Debian Codegraph @

testing/web-platform/mozilla/tests/fetch/fetchpriority/support/font-face-tests/load-font-face-from-script.h2.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>fetchpriority</title>
6 </head>
7 <body>
8 asdf
9 <script>
10 onload = function() {
11 const fontFace = new FontFace("dummy-font", "url(../resources/dummy.font)");
12 document.fonts.add(fontFace);
13 fontFace.load();
14 document.fonts.ready.then(() => opener.postMessage("ChildLoaded", "*"));
15 }
16 </script>
17 </body>
18 </html>