blob: 91d55d8dc8aab946f3fff7a21619f8033522b66d [file] [log] [blame]
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
onload = () => {
let div0 = document.createElement('div');
let progress0 = document.createElement('progress');
div0.appendChild(progress0);
let document2 = new Document();
document2.appendChild(div0);
progress0.cloneNode();
let fontFace = new FontFace('a', 'url()');
let fontFaceSet = document2.fonts;
queueMicrotask(() => {
window.GCController?.collect();
fontFaceSet.add(fontFace);
document.write("Test passes if it does not crash.");
});
};
</script>