gecko-dev/dom/base/crashtests/1529203-1.html

18 строки
395 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<iframe></iframe>
<script>
function doIt() {
var doc = document.querySelector("iframe").contentDocument;
doc.open();
doc.write('<script>import("data:text/javascript,")</' + 'script>');
doc.close();
}
doIt();
setTimeout(() => {
doIt();
document.documentElement.removeAttribute("class");
}, 100);
</script>
</html>