Source code
Revision control
Copy as Markdown
Other Tools
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script>
'use strict';
test_driver.set_test_context(parent);
window.onload = async function() {
try {
await test_driver.bless('enable local font queries');
await self.queryLocalFonts();
parent.postMessage({ type: 'availability-result', enabled: true }, '*');
} catch (error) {
parent.postMessage({ type: 'availability-result', enabled: false }, '*');
}
}
</script>