blob: f574a08c96501d6447df5e7ac07223bc32ef1c1b [file] [log] [blame]
<script>
onload = () => {
if (window.testRunner)
testRunner.dumpAsText();
let div0 = document.createElement('div');
document.body.appendChild(div0);
document.body.appendChild(document.createTextNode("Test passes if there is no crash."));
div0.append(document.createElementNS('http://www.w3.org/2000/svg', 'font-face'));
let shadowRoot = div0.attachShadow({mode: 'open'});
div0.remove();
shadowRoot.styleSheets;
queueMicrotask(() => {
GCController.collect();
});
};
</script>