Truly independent web browser
<!DOCTYPE html>
<html>
<style>
@font-face {
font-family: Foo;
src: url("./Foo.woff");
}
</style>
<script src="../include.js"></script>
<script>
promiseTest(async () => {
await document.fonts.ready.then(() => {
document.styleSheets[0].cssRules[0].style.src = 'url("./Bar.woff")';
println(document.fonts.size);
});
});
</script>
</html>