<!DOCTYPE html> | |
<script src="../../resources/js-test.js"></script> | |
<script> | |
description('Local fonts should not be rejected by CORS'); | |
if (window.testRunner) { | |
testRunner.setAllowFileAccessFromFileURLs(false); | |
} | |
window.jsTestIsAsync = true; | |
window.addEventListener('message', function(evt) { | |
debug(evt.data); | |
finishJSTest(); | |
}) | |
</script> | |
<iframe src="resources/font-face-local-file-frame.html"></iframe> |