1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/remove-document-element-of-iframe-having-style-content.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
426 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Testcase for bug 643706 of Mozilla</title>
<script>
function boom() {
const iframe = document.querySelector("iframe");
const win = iframe.contentWindow;
win.document.designMode = 'on';
iframe.style.content = "'m'";
win.document.removeChild(win.document.documentElement)
}
</script>
</head>
<body onload="boom();"><iframe srcdoc=""></iframe></body>
</html>