blob: 1a0fe8af90d361cf145f771295d28e3cdf46d9b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<html>
<body onkeypress='onKeyPress()'>
<a>This is test content</a>
<script>
var done = false;
var fonts;
var activated = false;
function onKeyPress() {
activated = true;
window.queryLocalFonts().then(f => { fonts = f; done = true; });
}
</script>
</body>
</html>
|